From ee7d0ab1360529dd06cf4d221fa9e69d3f1d0c6d Mon Sep 17 00:00:00 2001 From: jeffrey-ACE Date: Thu, 15 Mar 2018 13:07:39 -0700 Subject: [PATCH 1/5] regenerate the sdk since the swagger is updated --- .../Generated/Models/PartnerResponse.cs | 10 +++++++++- .../managementpartner_resource-manager.txt | Bin 330 -> 1232 bytes 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/SDKs/ManagementPartner/Management.ManagementPartner/Generated/Models/PartnerResponse.cs b/src/SDKs/ManagementPartner/Management.ManagementPartner/Generated/Models/PartnerResponse.cs index cceac8bd7e508..00c399b068222 100644 --- a/src/SDKs/ManagementPartner/Management.ManagementPartner/Generated/Models/PartnerResponse.cs +++ b/src/SDKs/ManagementPartner/Management.ManagementPartner/Generated/Models/PartnerResponse.cs @@ -37,6 +37,7 @@ public PartnerResponse() /// Identifier of the partner /// Name of the partner /// This is the partner id + /// This is the partner name /// This is the tenant id. /// This is the object id. /// This is the version. @@ -48,12 +49,13 @@ public PartnerResponse() /// include: 'Active', 'Deleted' /// Type of resource. /// "Microsoft.ManagementPartner/partners" - public PartnerResponse(int? etag = default(int?), string id = default(string), string name = default(string), string partnerId = default(string), string tenantId = default(string), string objectId = default(string), string version = default(string), System.DateTime? updatedTime = default(System.DateTime?), System.DateTime? createdTime = default(System.DateTime?), string state = default(string), string type = default(string)) + public PartnerResponse(int? etag = default(int?), string id = default(string), string name = default(string), string partnerId = default(string), string partnerName = default(string), string tenantId = default(string), string objectId = default(string), string version = default(string), System.DateTime? updatedTime = default(System.DateTime?), System.DateTime? createdTime = default(System.DateTime?), string state = default(string), string type = default(string)) { Etag = etag; Id = id; Name = name; PartnerId = partnerId; + PartnerName = partnerName; TenantId = tenantId; ObjectId = objectId; Version = version; @@ -93,6 +95,12 @@ public PartnerResponse() [JsonProperty(PropertyName = "properties.partnerId")] public string PartnerId { get; set; } + /// + /// Gets or sets this is the partner name + /// + [JsonProperty(PropertyName = "properties.partnerName")] + public string PartnerName { get; set; } + /// /// Gets or sets this is the tenant id. /// diff --git a/src/SDKs/_metadata/managementpartner_resource-manager.txt b/src/SDKs/_metadata/managementpartner_resource-manager.txt index 7774b97dc3f4150926479b41d6c85c75e7a987af..66f4f1a1b03cf2dfa4014e4055d0ac73596cb7e6 100644 GIT binary patch literal 1232 zcmZ{kPjAye5XI+giSOVm2itY2)1*?RmQsNPTmsyDz;V(hw26&v5b)uF-`llYr%`2P zy*oR9-g`67zrWY^%T`v}59@4WJG-^eF5RiJIX5l#ko(HEJOv(03pj6i$J{GAv;<4Y zt+G_s^l@?T7up(oXEoW*@J*<);k?FwK^C7qq3$0nicZKi?4yT#5!RZ>h&(l3CGUg` z_tadl6F%Wx5s^IjZ0v@Zk~=Z1VBkG>SZ?v%^4mFd1#umFAMaUI4pE6M>iPR9Rgg!4 z4$2U-F3}+35w0~i4JZ#SLcg>-)(B)3=$EeIxm}}9jtX=8$a}1SkMRBtal+W)Bej*G zWgqk8>>BFl_Q~GZdsbinr>oHR{LhJy8bf!5SzK zy5LRwLqa|7 zuDEMPI`r(E3bp%o8vG6;y)IX9&*@)ForX2HZ;snNyGx>LW=r!^aGsO9peO#nBS+(! wlk$9JHX`0n{}nD^9iv$6lsQ2WDG}HQmvfj&>Pn!L*v`6Xi7~l> zJ|{O8mw&M%z30N{3?CF?5mB&UDuf-JOECrXp2F|2xD0AK7Rxxj(Y#E(_jj0Z8Xd02 lzD(Ay@XR@2NxOW0E4S6Qk>CBeYGVKZ From ff2d8316de4c59d10c228eb87c25b1c83743730f Mon Sep 17 00:00:00 2001 From: jeffrey-ACE Date: Fri, 16 Mar 2018 14:44:34 -0700 Subject: [PATCH 2/5] Bump up managementpartner sdk version and change the package release notes --- .../Microsoft.Azure.Management.ManagementPartner.csproj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SDKs/ManagementPartner/Management.ManagementPartner/Microsoft.Azure.Management.ManagementPartner.csproj b/src/SDKs/ManagementPartner/Management.ManagementPartner/Microsoft.Azure.Management.ManagementPartner.csproj index 68739d392c0ab..7b630b6e0ef23 100644 --- a/src/SDKs/ManagementPartner/Management.ManagementPartner/Microsoft.Azure.Management.ManagementPartner.csproj +++ b/src/SDKs/ManagementPartner/Management.ManagementPartner/Microsoft.Azure.Management.ManagementPartner.csproj @@ -5,12 +5,12 @@ Microsoft.Azure.Management.ManagementPartner - Microsoft.Azure.Management.Gsm Library + Microsoft.Azure.Management.ManagementPartner Library Microsoft.Azure.Management.ManagementPartner - 1.0.0-preview + 1.1.0-preview ManagementPartner;;;; - + From c441fa076d678f685ba71ba4b9b5b8d381c62be0 Mon Sep 17 00:00:00 2001 From: jeffrey-ACE Date: Mon, 19 Mar 2018 13:54:39 -0700 Subject: [PATCH 3/5] rerun generate.cmd to generate sdk --- .../managementpartner_resource-manager.txt | Bin 1232 -> 1330 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/src/SDKs/_metadata/managementpartner_resource-manager.txt b/src/SDKs/_metadata/managementpartner_resource-manager.txt index 66f4f1a1b03cf2dfa4014e4055d0ac73596cb7e6..608bfd23e1a778a2bc7116220390f219741e59b5 100644 GIT binary patch delta 209 zcmZXO%MHRX5JZP?Kt!SkDu^(@kOsKrz?}=RG2)L%L_{4lf}jx^pckGcI3a7iJ3DVJ zzuJ%ZK8;$Ly6UTU%cFPhHIdOmBY73F8fqYi&oqWHS|S^0(iHYL4@rs(WavCExM$s* xH8zRns&wS+RMM{i4(JSAQ4^h*8$MApDXDAn3;dSU;R{{4|M#r+1`q}SNdpl0 From 92d98e4bd18288eb981457726905187d333d62b7 Mon Sep 17 00:00:00 2001 From: jeffrey-ACE Date: Mon, 19 Mar 2018 14:10:41 -0700 Subject: [PATCH 4/5] Add generate.ps1 script and run it --- .../Management.ManagementPartner/generate.ps1 | 1 + .../managementpartner_resource-manager.txt | Bin 1330 -> 1406 bytes 2 files changed, 1 insertion(+) create mode 100644 src/SDKs/ManagementPartner/Management.ManagementPartner/generate.ps1 diff --git a/src/SDKs/ManagementPartner/Management.ManagementPartner/generate.ps1 b/src/SDKs/ManagementPartner/Management.ManagementPartner/generate.ps1 new file mode 100644 index 0000000000000..2f30458c56af5 --- /dev/null +++ b/src/SDKs/ManagementPartner/Management.ManagementPartner/generate.ps1 @@ -0,0 +1 @@ +powershell.exe -ExecutionPolicy Bypass -NoLogo -NonInteractive -NoProfile -File "$(split-path $SCRIPT:MyInvocation.MyCommand.Path -parent)\..\..\..\..\tools\generateTool.ps1" -ResourceProvider "managementpartner/resource-manager" -SdkDirectory "$(split-path $SCRIPT:MyInvocation.MyCommand.Path -parent)" -PowershellInvoker -AutoRestVersion "latest" \ No newline at end of file diff --git a/src/SDKs/_metadata/managementpartner_resource-manager.txt b/src/SDKs/_metadata/managementpartner_resource-manager.txt index 608bfd23e1a778a2bc7116220390f219741e59b5..ce86f1726b86d8a2e0bbdd4de9a67c4045d4ba09 100644 GIT binary patch delta 157 zcmdnQ^^a@A0mj^7h9ZV!h8Tum1{VfzhGHPgmm!fM4~WwlQW20L(8R!TNAsI*qGq^B#GXzi8WyKT0GM!`+NM^`oNMYb&;DurU0YneQ From 2f48058f58eddc7014b4734446d30a1b88ab674f Mon Sep 17 00:00:00 2001 From: jeffrey-ACE Date: Mon, 19 Mar 2018 16:24:40 -0700 Subject: [PATCH 5/5] remove sdkDirectory argument in generate.ps1 script --- .../Management.ManagementPartner/generate.ps1 | 2 +- .../managementpartner_resource-manager.txt | Bin 1406 -> 1332 bytes 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SDKs/ManagementPartner/Management.ManagementPartner/generate.ps1 b/src/SDKs/ManagementPartner/Management.ManagementPartner/generate.ps1 index 2f30458c56af5..9e3d91890a8dc 100644 --- a/src/SDKs/ManagementPartner/Management.ManagementPartner/generate.ps1 +++ b/src/SDKs/ManagementPartner/Management.ManagementPartner/generate.ps1 @@ -1 +1 @@ -powershell.exe -ExecutionPolicy Bypass -NoLogo -NonInteractive -NoProfile -File "$(split-path $SCRIPT:MyInvocation.MyCommand.Path -parent)\..\..\..\..\tools\generateTool.ps1" -ResourceProvider "managementpartner/resource-manager" -SdkDirectory "$(split-path $SCRIPT:MyInvocation.MyCommand.Path -parent)" -PowershellInvoker -AutoRestVersion "latest" \ No newline at end of file +powershell.exe -ExecutionPolicy Bypass -NoLogo -NonInteractive -NoProfile -File "$(split-path $SCRIPT:MyInvocation.MyCommand.Path -parent)\..\..\..\..\tools\generateTool.ps1" -ResourceProvider "managementpartner/resource-manager" -PowershellInvoker -AutoRestVersion "latest" \ No newline at end of file diff --git a/src/SDKs/_metadata/managementpartner_resource-manager.txt b/src/SDKs/_metadata/managementpartner_resource-manager.txt index ce86f1726b86d8a2e0bbdd4de9a67c4045d4ba09..583ca418795527677490eac66d455dabc66a7d2a 100644 GIT binary patch delta 150 zcmeyzwS{ZL0Y>E#hI}B*VJK#ZVbBA@7$B>NAsI*qGq^B#gTyE6GG+4`GgvVgF+fOz z$xE3o`kOPDGng_MFqip1 Vm?0IYA`Ph85UeA4^HJuVi~z%K8&LoN delta 210 zcmdnO^^a@A0mjLf7=@yJ84?-tfH<8Yl_3|1^B77P0)YG?Ae{%~7cs;zU{j-qRTM?% zhKyhP+6d>P{!HmHOD3c1r j$v~C?P}Ur%7A6joF$eNMDnYC?pb04q#+$2|cQOJ1@c}89