Skip to content

Instantly share code, notes, and snippets.

@tombuildsstuff
Created April 19, 2017 10:29
Show Gist options
  • Save tombuildsstuff/bea9b8a5ac35840b716c839555d4f4de to your computer and use it in GitHub Desktop.
Save tombuildsstuff/bea9b8a5ac35840b716c839555d4f4de to your computer and use it in GitHub Desktop.
11:27 $ git diff
diff --git a/models.go b/models.go
index 02539a1..848df9f 100755
--- a/models.go
+++ b/models.go
@@ -241,8 +241,8 @@ type NamespaceResource struct {
     autorest.Response `json:"-"`
     ID *string `json:"id,omitempty"`
     Name *string `json:"name,omitempty"`
-    Type *string `json:"type,omitempty"`
     Location *string `json:"location,omitempty"`
+    Type *string `json:"type,omitempty"`
     Tags *map[string]*string `json:"tags,omitempty"`
     Sku *Sku `json:"sku,omitempty"`
     *NamespaceProperties `json:"properties,omitempty"`
@@ -347,6 +347,7 @@ type QueueResource struct {
     autorest.Response `json:"-"`
     ID *string `json:"id,omitempty"`
     Name *string `json:"name,omitempty"`
+    Location *string `json:"location,omitempty"`
     Type *string `json:"type,omitempty"`
     *QueueProperties `json:"properties,omitempty"`
 }
@@ -361,6 +362,7 @@ type RegenerateKeysParameters struct {
 type Resource struct {
     ID *string `json:"id,omitempty"`
     Name *string `json:"name,omitempty"`
+    Location *string `json:"location,omitempty"`
     Type *string `json:"type,omitempty"`
 }

@@ -414,6 +416,7 @@ type SharedAccessAuthorizationRuleResource struct {
     autorest.Response `json:"-"`
     ID *string `json:"id,omitempty"`
     Name *string `json:"name,omitempty"`
+    Location *string `json:"location,omitempty"`
     Type *string `json:"type,omitempty"`
     *SharedAccessAuthorizationRuleProperties `json:"properties,omitempty"`
 }
@@ -477,6 +480,7 @@ type SubscriptionResource struct {
     autorest.Response `json:"-"`
     ID *string `json:"id,omitempty"`
     Name *string `json:"name,omitempty"`
+    Location *string `json:"location,omitempty"`
     Type *string `json:"type,omitempty"`
     *SubscriptionProperties `json:"properties,omitempty"`
 }
@@ -538,6 +542,7 @@ type TopicResource struct {
     autorest.Response `json:"-"`
     ID *string `json:"id,omitempty"`
     Name *string `json:"name,omitempty"`
+    Location *string `json:"location,omitempty"`
     Type *string `json:"type,omitempty"`
     *TopicProperties `json:"properties,omitempty"`
 }
@@ -546,8 +551,8 @@ type TopicResource struct {
 type TrackedResource struct {
     ID *string `json:"id,omitempty"`
     Name *string `json:"name,omitempty"`
-    Type *string `json:"type,omitempty"`
     Location *string `json:"location,omitempty"`
+    Type *string `json:"type,omitempty"`
     Tags *map[string]*string `json:"tags,omitempty"`
 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment