diff --git a/src/SDKs/AnalysisServices/AnalysisServices.Tests/ScenarioTests/ServerOperationsTests.cs b/src/SDKs/AnalysisServices/AnalysisServices.Tests/ScenarioTests/ServerOperationsTests.cs index ca95d682a54d..efcf119b4b3c 100644 --- a/src/SDKs/AnalysisServices/AnalysisServices.Tests/ScenarioTests/ServerOperationsTests.cs +++ b/src/SDKs/AnalysisServices/AnalysisServices.Tests/ScenarioTests/ServerOperationsTests.cs @@ -337,6 +337,24 @@ public void CreateServerWithGatewayTest() Assert.Equal(listGatewayStatus.Status, Status.Live); + // Dissociate gateway. + client.Servers.DissociateGateway(AnalysisServicesTestUtilities.DefaultResourceGroup, AnalysisServicesTestUtilities.DefaultServerName); + + // List gateway status again. + try + { + listGatewayStatus = client.Servers.ListGatewayStatus(AnalysisServicesTestUtilities.DefaultResourceGroup, + AnalysisServicesTestUtilities.DefaultServerName); + } + catch (GatewayListStatusErrorException gatewayException) + { + Assert.Equal(HttpStatusCode.BadRequest, gatewayException.Response.StatusCode); + var errorResponse = gatewayException.Body.Error; + var expectedMessage = string.Format("A unified gateway is not associated with server {0}.", AnalysisServicesTestUtilities.DefaultServerName); + Assert.Equal("GatewayNotAssociated", errorResponse.Code); + Assert.Equal(expectedMessage, errorResponse.Message); + } + // delete the server with its old name, which should also succeed. client.Servers.Delete(AnalysisServicesTestUtilities.DefaultResourceGroup, AnalysisServicesTestUtilities.DefaultServerName); diff --git a/src/SDKs/AnalysisServices/AnalysisServices.Tests/SessionRecords/AnalysisServices.Tests.ScenarioTests.ServerOperationsTests/CreateServerWithGatewayTest.json b/src/SDKs/AnalysisServices/AnalysisServices.Tests/SessionRecords/AnalysisServices.Tests.ScenarioTests.ServerOperationsTests/CreateServerWithGatewayTest.json index 951ec68237c3..68829053fd5c 100644 --- a/src/SDKs/AnalysisServices/AnalysisServices.Tests/SessionRecords/AnalysisServices.Tests.ScenarioTests.ServerOperationsTests/CreateServerWithGatewayTest.json +++ b/src/SDKs/AnalysisServices/AnalysisServices.Tests/SessionRecords/AnalysisServices.Tests.ScenarioTests.ServerOperationsTests/CreateServerWithGatewayTest.json @@ -13,7 +13,7 @@ "558" ], "x-ms-client-request-id": [ - "22745789-cc45-4e1c-aedf-d2039ce7af9e" + "6b695a2e-f20c-412d-862d-e1a90f6c2bc3" ], "accept-language": [ "en-US" @@ -23,6 +23,219 @@ "Microsoft.Azure.Management.Analysis.AnalysisServicesManagementClient/2.0.0.0" ] }, + "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Provisioning\",\r\n \"state\": \"Provisioning\",\r\n \"serverFullName\": \"asazure://westus.asazure.windows.net/azsdktest\",\r\n \"managedMode\": 1,\r\n \"asAdministrators\": {\r\n \"members\": [\r\n \"asengsys@microsoft.com\"\r\n ]\r\n },\r\n \"backupBlobContainerUri\": \"https://aassdk1.blob.core.windows.net/azsdktest\",\r\n \"gatewayDetails\": {\r\n \"gatewayResourceId\": \"/subscriptions/ba59a556-5034-4bbb-80b4-4c37cf1083e9/resourceGroups/TestRG/providers/Microsoft.Web/connectionGateways/azsdktest\",\r\n \"gatewayObjectId\": \"04ebc615-4692-4449-b706-4183c73d6099\",\r\n \"dmtsClusterUri\": \"https://WABI-WEST-US-redirect.analysis.windows.net\"\r\n }\r\n },\r\n \"id\": \"/subscriptions/ba59a556-5034-4bbb-80b4-4c37cf1083e9/resourceGroups/TestRG/providers/Microsoft.AnalysisServices/servers/azsdktest\",\r\n \"name\": \"azsdktest\",\r\n \"type\": \"Microsoft.AnalysisServices/servers\",\r\n \"location\": \"West US\",\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "883" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 22 Sep 2017 16:57:33 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/ba59a556-5034-4bbb-80b4-4c37cf1083e9/providers/Microsoft.AnalysisServices/locations/westus/operationresults/B9AF0E36-2633-42E0-BCB6-AC47C5DD7EC4?api-version=2016-05-16" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/ba59a556-5034-4bbb-80b4-4c37cf1083e9/providers/Microsoft.AnalysisServices/locations/westus/operationstatuses/B9AF0E36-2633-42E0-BCB6-AC47C5DD7EC4?api-version=2016-05-16" + ], + "x-ms-request-id": [ + "154dfa50-9fcf-4a61-845c-d4e1812a025a" + ], + "x-ms-current-utc-date": [ + "9/22/2017 4:57:30 PM" + ], + "X-Frame-Options": [ + "deny" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-XSS-Protection": [ + "1; mode=block" + ], + "Content-Security-Policy": [ + "script-src 'self'" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "1a05fa44-83b9-4f3d-ba76-3e474edb9e82" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20170922T165733Z:1a05fa44-83b9-4f3d-ba76-3e474edb9e82" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/ba59a556-5034-4bbb-80b4-4c37cf1083e9/providers/Microsoft.AnalysisServices/locations/westus/operationstatuses/B9AF0E36-2633-42E0-BCB6-AC47C5DD7EC4?api-version=2016-05-16", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmE1OWE1NTYtNTAzNC00YmJiLTgwYjQtNGMzN2NmMTA4M2U5L3Byb3ZpZGVycy9NaWNyb3NvZnQuQW5hbHlzaXNTZXJ2aWNlcy9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnN0YXR1c2VzL0I5QUYwRTM2LTI2MzMtNDJFMC1CQ0I2LUFDNDdDNUREN0VDND9hcGktdmVyc2lvbj0yMDE2LTA1LTE2", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Analysis.AnalysisServicesManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/ba59a556-5034-4bbb-80b4-4c37cf1083e9/locations/westus/operationstatuses/B9AF0E36-2633-42E0-BCB6-AC47C5DD7EC4\",\r\n \"name\": \"B9AF0E36-2633-42E0-BCB6-AC47C5DD7EC4\",\r\n \"status\": \"Provisioning\",\r\n \"startTime\": \"2017-09-22T16:57:30.497Z\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 22 Sep 2017 16:58:03 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Frame-Options": [ + "deny" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-XSS-Protection": [ + "1; mode=block" + ], + "Content-Security-Policy": [ + "script-src 'self'" + ], + "x-ms-request-id": [ + "42f18592-f20f-4f97-b1c0-f0836b43f093" + ], + "x-ms-current-utc-date": [ + "9/22/2017 4:58:04 PM" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14969" + ], + "x-ms-correlation-request-id": [ + "4c692d1a-b213-4fb3-bdfc-62f9887908fa" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20170922T165803Z:4c692d1a-b213-4fb3-bdfc-62f9887908fa" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/ba59a556-5034-4bbb-80b4-4c37cf1083e9/providers/Microsoft.AnalysisServices/locations/westus/operationstatuses/B9AF0E36-2633-42E0-BCB6-AC47C5DD7EC4?api-version=2016-05-16", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmE1OWE1NTYtNTAzNC00YmJiLTgwYjQtNGMzN2NmMTA4M2U5L3Byb3ZpZGVycy9NaWNyb3NvZnQuQW5hbHlzaXNTZXJ2aWNlcy9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnN0YXR1c2VzL0I5QUYwRTM2LTI2MzMtNDJFMC1CQ0I2LUFDNDdDNUREN0VDND9hcGktdmVyc2lvbj0yMDE2LTA1LTE2", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Analysis.AnalysisServicesManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/ba59a556-5034-4bbb-80b4-4c37cf1083e9/locations/westus/operationstatuses/B9AF0E36-2633-42E0-BCB6-AC47C5DD7EC4\",\r\n \"name\": \"B9AF0E36-2633-42E0-BCB6-AC47C5DD7EC4\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2017-09-22T16:57:30.497Z\",\r\n \"endTime\": \"2017-09-22T16:58:17.74Z\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 22 Sep 2017 16:58:32 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Frame-Options": [ + "deny" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "X-XSS-Protection": [ + "1; mode=block" + ], + "Content-Security-Policy": [ + "script-src 'self'" + ], + "x-ms-request-id": [ + "5ee85356-a97e-4863-8ea8-16dbd08de5fa" + ], + "x-ms-current-utc-date": [ + "9/22/2017 4:58:34 PM" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14966" + ], + "x-ms-correlation-request-id": [ + "0d49d7a6-def9-49f4-9d04-9376fb6df0ef" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20170922T165833Z:0d49d7a6-def9-49f4-9d04-9376fb6df0ef" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/ba59a556-5034-4bbb-80b4-4c37cf1083e9/resourceGroups/TestRG/providers/Microsoft.AnalysisServices/servers/azsdktest?api-version=2017-07-14", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmE1OWE1NTYtNTAzNC00YmJiLTgwYjQtNGMzN2NmMTA4M2U5L3Jlc291cmNlR3JvdXBzL1Rlc3RSRy9wcm92aWRlcnMvTWljcm9zb2Z0LkFuYWx5c2lzU2VydmljZXMvc2VydmVycy9henNka3Rlc3Q/YXBpLXZlcnNpb249MjAxNy0wNy0xNA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Analysis.AnalysisServicesManagementClient/2.0.0.0" + ] + }, "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"state\": \"Succeeded\",\r\n \"serverFullName\": \"asazure://westus.asazure.windows.net/azsdktest\",\r\n \"managedMode\": 1,\r\n \"asAdministrators\": {\r\n \"members\": [\r\n \"asengsys@microsoft.com\"\r\n ]\r\n },\r\n \"backupBlobContainerUri\": \"https://aassdk1.blob.core.windows.net/azsdktest\",\r\n \"gatewayDetails\": {\r\n \"gatewayResourceId\": \"/subscriptions/ba59a556-5034-4bbb-80b4-4c37cf1083e9/resourceGroups/TestRG/providers/Microsoft.Web/connectionGateways/azsdktest\",\r\n \"gatewayObjectId\": \"04ebc615-4692-4449-b706-4183c73d6099\",\r\n \"dmtsClusterUri\": \"https://WABI-WEST-US-redirect.analysis.windows.net\"\r\n }\r\n },\r\n \"id\": \"/subscriptions/ba59a556-5034-4bbb-80b4-4c37cf1083e9/resourceGroups/TestRG/providers/Microsoft.AnalysisServices/servers/azsdktest\",\r\n \"name\": \"azsdktest\",\r\n \"type\": \"Microsoft.AnalysisServices/servers\",\r\n \"location\": \"West US\",\r\n \"sku\": {\r\n \"name\": \"S1\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"tags\": {\r\n \"key1\": \"value1\",\r\n \"key2\": \"value2\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ @@ -35,7 +248,7 @@ "no-cache" ], "Date": [ - "Tue, 22 Aug 2017 23:15:47 GMT" + "Fri, 22 Sep 2017 16:58:33 GMT" ], "Pragma": [ "no-cache" @@ -53,10 +266,10 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "a74f164a-6628-40c6-8539-15bb9296dc91" + "528298fd-df72-41e9-a98e-d74f283fe438" ], "x-ms-current-utc-date": [ - "8/22/2017 11:15:45 PM" + "9/22/2017 4:58:34 PM" ], "X-Frame-Options": [ "deny" @@ -70,14 +283,14 @@ "Content-Security-Policy": [ "script-src 'self'" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" + "x-ms-ratelimit-remaining-subscription-reads": [ + "14965" ], "x-ms-correlation-request-id": [ - "d5c6e165-63e7-4d9b-8112-6e1a144dfdb4" + "62b07584-e7dc-4921-85f9-f926fc8b2fdf" ], "x-ms-routing-request-id": [ - "WESTUS:20170822T231547Z:d5c6e165-63e7-4d9b-8112-6e1a144dfdb4" + "WESTUS2:20170922T165833Z:62b07584-e7dc-4921-85f9-f926fc8b2fdf" ] }, "StatusCode": 200 @@ -89,7 +302,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "24372fe5-da4f-45a2-a1d3-ba911e92e141" + "c937630c-1c72-4a14-a99f-83a607eacda4" ], "accept-language": [ "en-US" @@ -111,7 +324,7 @@ "no-cache" ], "Date": [ - "Tue, 22 Aug 2017 23:15:47 GMT" + "Fri, 22 Sep 2017 16:58:33 GMT" ], "Pragma": [ "no-cache" @@ -129,10 +342,10 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "781def04-1abb-4753-8298-ba98dc43b3a5" + "be71cc08-3682-4585-9101-20eb3eab3c70" ], "x-ms-current-utc-date": [ - "8/22/2017 11:15:47 PM" + "9/22/2017 4:58:34 PM" ], "X-Frame-Options": [ "deny" @@ -147,13 +360,13 @@ "script-src 'self'" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14999" + "14964" ], "x-ms-correlation-request-id": [ - "a4736760-ce3c-47eb-b6a0-5a7e171edf6f" + "f763e042-4c5e-4a83-b5a9-a924fbe501e7" ], "x-ms-routing-request-id": [ - "WESTUS:20170822T231547Z:a4736760-ce3c-47eb-b6a0-5a7e171edf6f" + "WESTUS2:20170922T165833Z:f763e042-4c5e-4a83-b5a9-a924fbe501e7" ] }, "StatusCode": 200 @@ -165,7 +378,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "089b582b-5de2-4e88-884b-8dcf667ca991" + "1cf75637-9a11-433a-ba07-691b5eb44cd1" ], "accept-language": [ "en-US" @@ -187,7 +400,7 @@ "no-cache" ], "Date": [ - "Tue, 22 Aug 2017 23:15:48 GMT" + "Fri, 22 Sep 2017 16:58:35 GMT" ], "Pragma": [ "no-cache" @@ -205,10 +418,10 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "01cba38b-b238-448b-83a3-dbd53c86878f" + "ec217820-45b9-43ef-a91a-dbe4fffa00ea" ], "x-ms-current-utc-date": [ - "8/22/2017 11:15:47 PM" + "9/22/2017 4:58:35 PM" ], "X-Frame-Options": [ "deny" @@ -226,22 +439,86 @@ "1198" ], "x-ms-correlation-request-id": [ - "cbabebea-4e80-4b51-9766-6fad805a226f" + "546c9b0c-f2e5-41d3-80f0-d76f6a9a136e" ], "x-ms-routing-request-id": [ - "WESTUS:20170822T231548Z:cbabebea-4e80-4b51-9766-6fad805a226f" + "WESTUS2:20170922T165835Z:546c9b0c-f2e5-41d3-80f0-d76f6a9a136e" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/ba59a556-5034-4bbb-80b4-4c37cf1083e9/resourceGroups/TestRG/providers/Microsoft.AnalysisServices/servers/azsdktest?api-version=2017-07-14", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmE1OWE1NTYtNTAzNC00YmJiLTgwYjQtNGMzN2NmMTA4M2U5L3Jlc291cmNlR3JvdXBzL1Rlc3RSRy9wcm92aWRlcnMvTWljcm9zb2Z0LkFuYWx5c2lzU2VydmljZXMvc2VydmVycy9henNka3Rlc3Q/YXBpLXZlcnNpb249MjAxNy0wNy0xNA==", - "RequestMethod": "DELETE", + "RequestUri": "/subscriptions/ba59a556-5034-4bbb-80b4-4c37cf1083e9/resourceGroups/TestRG/providers/Microsoft.AnalysisServices/servers/azsdktest/listGatewayStatus?api-version=2017-07-14", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmE1OWE1NTYtNTAzNC00YmJiLTgwYjQtNGMzN2NmMTA4M2U5L3Jlc291cmNlR3JvdXBzL1Rlc3RSRy9wcm92aWRlcnMvTWljcm9zb2Z0LkFuYWx5c2lzU2VydmljZXMvc2VydmVycy9henNka3Rlc3QvbGlzdEdhdGV3YXlTdGF0dXM/YXBpLXZlcnNpb249MjAxNy0wNy0xNA==", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9186e347-2191-4fa5-b1a3-d007e2ada0e3" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Analysis.AnalysisServicesManagementClient/2.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"GatewayNotAssociated\",\r\n \"subCode\": 0,\r\n \"message\": \"A unified gateway is not associated with server azsdktest.\",\r\n \"timeStamp\": \"2017-09-22T16:58:37.2420452Z\",\r\n \"httpStatusCode\": 400,\r\n \"details\": [\r\n {\r\n \"code\": \"RootActivityId\",\r\n \"message\": \"e1644919-66ed-4971-9b3f-db46d9964f2d\"\r\n },\r\n {\r\n \"code\": \"Param1\",\r\n \"message\": \"azsdktest\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "315" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 22 Sep 2017 16:58:35 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "e1644919-66ed-4971-9b3f-db46d9964f2d" + ], + "x-ms-current-utc-date": [ + "9/22/2017 4:58:37 PM" + ], + "x-ms-xmlaerror-extended": [ + "A unified gateway is not associated with server azsdktest." + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "46167765-46d1-48ad-86f0-9c8950d298c2" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20170922T165836Z:46167765-46d1-48ad-86f0-9c8950d298c2" + ] + }, + "StatusCode": 400 + }, + { + "RequestUri": "/subscriptions/ba59a556-5034-4bbb-80b4-4c37cf1083e9/resourceGroups/TestRG/providers/Microsoft.AnalysisServices/servers/azsdktest/dissociateGateway?api-version=2017-07-14", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmE1OWE1NTYtNTAzNC00YmJiLTgwYjQtNGMzN2NmMTA4M2U5L3Jlc291cmNlR3JvdXBzL1Rlc3RSRy9wcm92aWRlcnMvTWljcm9zb2Z0LkFuYWx5c2lzU2VydmljZXMvc2VydmVycy9henNka3Rlc3QvZGlzc29jaWF0ZUdhdGV3YXk/YXBpLXZlcnNpb249MjAxNy0wNy0xNA==", + "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "3ea076f6-daec-41b4-bb56-7f5205b86fae" + "f76a7867-cb5f-4029-abd8-c12c30a140cf" ], "accept-language": [ "en-US" @@ -263,28 +540,22 @@ "no-cache" ], "Date": [ - "Tue, 22 Aug 2017 23:15:49 GMT" + "Fri, 22 Sep 2017 16:58:35 GMT" ], "Pragma": [ "no-cache" ], - "Location": [ - "https://management.azure.com/subscriptions/ba59a556-5034-4bbb-80b4-4c37cf1083e9/providers/Microsoft.AnalysisServices/locations/westus/operationresults/0A84FADE-9027-4308-B8C8-B7F31283B7BF?api-version=2016-05-16" - ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/ba59a556-5034-4bbb-80b4-4c37cf1083e9/providers/Microsoft.AnalysisServices/locations/westus/operationstatuses/0A84FADE-9027-4308-B8C8-B7F31283B7BF?api-version=2016-05-16" - ], "x-ms-request-id": [ - "83cf51fb-e1a1-43d3-b0f8-d125353107d5" + "980015cc-2eb6-485e-9af1-5c2e4a3db9ad" ], "x-ms-current-utc-date": [ - "8/22/2017 11:15:47 PM" + "9/22/2017 4:58:37 PM" ], "X-Frame-Options": [ "deny" @@ -302,29 +573,35 @@ "1197" ], "x-ms-correlation-request-id": [ - "a2592c7c-61ef-403a-8109-88c37206b98a" + "7c4e6a24-ee04-4993-b9d0-1e2d72b9c3be" ], "x-ms-routing-request-id": [ - "WESTUS:20170822T231549Z:a2592c7c-61ef-403a-8109-88c37206b98a" + "WESTUS2:20170922T165836Z:7c4e6a24-ee04-4993-b9d0-1e2d72b9c3be" ] }, - "StatusCode": 202 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/ba59a556-5034-4bbb-80b4-4c37cf1083e9/providers/Microsoft.AnalysisServices/locations/westus/operationstatuses/0A84FADE-9027-4308-B8C8-B7F31283B7BF?api-version=2016-05-16", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmE1OWE1NTYtNTAzNC00YmJiLTgwYjQtNGMzN2NmMTA4M2U5L3Byb3ZpZGVycy9NaWNyb3NvZnQuQW5hbHlzaXNTZXJ2aWNlcy9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnN0YXR1c2VzLzBBODRGQURFLTkwMjctNDMwOC1COEM4LUI3RjMxMjgzQjdCRj9hcGktdmVyc2lvbj0yMDE2LTA1LTE2", - "RequestMethod": "GET", + "RequestUri": "/subscriptions/ba59a556-5034-4bbb-80b4-4c37cf1083e9/resourceGroups/TestRG/providers/Microsoft.AnalysisServices/servers/azsdktest?api-version=2017-07-14", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmE1OWE1NTYtNTAzNC00YmJiLTgwYjQtNGMzN2NmMTA4M2U5L3Jlc291cmNlR3JvdXBzL1Rlc3RSRy9wcm92aWRlcnMvTWljcm9zb2Z0LkFuYWx5c2lzU2VydmljZXMvc2VydmVycy9henNka3Rlc3Q/YXBpLXZlcnNpb249MjAxNy0wNy0xNA==", + "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { + "x-ms-client-request-id": [ + "f9c6b3af-3c18-4f9e-a457-9f03eda9326d" + ], + "accept-language": [ + "en-US" + ], "User-Agent": [ "FxVersion/4.6.25211.01", "Microsoft.Azure.Management.Analysis.AnalysisServicesManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/ba59a556-5034-4bbb-80b4-4c37cf1083e9/locations/westus/operationstatuses/0A84FADE-9027-4308-B8C8-B7F31283B7BF\",\r\n \"name\": \"0A84FADE-9027-4308-B8C8-B7F31283B7BF\",\r\n \"status\": \"Deleting\",\r\n \"startTime\": \"2017-08-22T23:15:48.013Z\"\r\n}", + "ResponseBody": "", "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" + "Content-Length": [ + "0" ], "Expires": [ "-1" @@ -333,23 +610,29 @@ "no-cache" ], "Date": [ - "Tue, 22 Aug 2017 23:16:19 GMT" + "Fri, 22 Sep 2017 16:58:36 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" + "Location": [ + "https://management.azure.com/subscriptions/ba59a556-5034-4bbb-80b4-4c37cf1083e9/providers/Microsoft.AnalysisServices/locations/westus/operationresults/79815F6D-A97B-49D3-8D16-910C10AB402D?api-version=2016-05-16" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/ba59a556-5034-4bbb-80b4-4c37cf1083e9/providers/Microsoft.AnalysisServices/locations/westus/operationstatuses/79815F6D-A97B-49D3-8D16-910C10AB402D?api-version=2016-05-16" + ], + "x-ms-request-id": [ + "7f72e228-0529-46be-a448-e8b8fe14dfac" + ], + "x-ms-current-utc-date": [ + "9/22/2017 4:58:37 PM" + ], "X-Frame-Options": [ "deny" ], @@ -362,27 +645,21 @@ "Content-Security-Policy": [ "script-src 'self'" ], - "x-ms-request-id": [ - "48ecbd76-9bfb-46f5-b888-59a9be33a022" - ], - "x-ms-current-utc-date": [ - "8/22/2017 11:16:19 PM" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14998" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" ], "x-ms-correlation-request-id": [ - "19d6937d-433f-4744-9e3d-d3cc580e65a0" + "cc3d631b-3433-4d43-92d8-de80406f88b2" ], "x-ms-routing-request-id": [ - "WESTUS:20170822T231619Z:19d6937d-433f-4744-9e3d-d3cc580e65a0" + "WESTUS2:20170922T165836Z:cc3d631b-3433-4d43-92d8-de80406f88b2" ] }, - "StatusCode": 200 + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/ba59a556-5034-4bbb-80b4-4c37cf1083e9/providers/Microsoft.AnalysisServices/locations/westus/operationstatuses/0A84FADE-9027-4308-B8C8-B7F31283B7BF?api-version=2016-05-16", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmE1OWE1NTYtNTAzNC00YmJiLTgwYjQtNGMzN2NmMTA4M2U5L3Byb3ZpZGVycy9NaWNyb3NvZnQuQW5hbHlzaXNTZXJ2aWNlcy9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnN0YXR1c2VzLzBBODRGQURFLTkwMjctNDMwOC1COEM4LUI3RjMxMjgzQjdCRj9hcGktdmVyc2lvbj0yMDE2LTA1LTE2", + "RequestUri": "/subscriptions/ba59a556-5034-4bbb-80b4-4c37cf1083e9/providers/Microsoft.AnalysisServices/locations/westus/operationstatuses/79815F6D-A97B-49D3-8D16-910C10AB402D?api-version=2016-05-16", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmE1OWE1NTYtNTAzNC00YmJiLTgwYjQtNGMzN2NmMTA4M2U5L3Byb3ZpZGVycy9NaWNyb3NvZnQuQW5hbHlzaXNTZXJ2aWNlcy9sb2NhdGlvbnMvd2VzdHVzL29wZXJhdGlvbnN0YXR1c2VzLzc5ODE1RjZELUE5N0ItNDlEMy04RDE2LTkxMEMxMEFCNDAyRD9hcGktdmVyc2lvbj0yMDE2LTA1LTE2", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -391,7 +668,7 @@ "Microsoft.Azure.Management.Analysis.AnalysisServicesManagementClient/2.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/ba59a556-5034-4bbb-80b4-4c37cf1083e9/locations/westus/operationstatuses/0A84FADE-9027-4308-B8C8-B7F31283B7BF\",\r\n \"name\": \"0A84FADE-9027-4308-B8C8-B7F31283B7BF\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2017-08-22T23:15:48.013Z\",\r\n \"endTime\": \"2017-08-22T23:16:22.907Z\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/ba59a556-5034-4bbb-80b4-4c37cf1083e9/locations/westus/operationstatuses/79815F6D-A97B-49D3-8D16-910C10AB402D\",\r\n \"name\": \"79815F6D-A97B-49D3-8D16-910C10AB402D\",\r\n \"status\": \"Succeeded\",\r\n \"startTime\": \"2017-09-22T16:58:36.21Z\",\r\n \"endTime\": \"2017-09-22T16:58:39.257Z\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -403,7 +680,7 @@ "no-cache" ], "Date": [ - "Tue, 22 Aug 2017 23:16:49 GMT" + "Fri, 22 Sep 2017 16:59:06 GMT" ], "Pragma": [ "no-cache" @@ -433,19 +710,19 @@ "script-src 'self'" ], "x-ms-request-id": [ - "2def6cf1-859b-48cc-9b11-185aa9b8ef97" + "03782c7a-5424-48d1-94c8-e0519185c1cd" ], "x-ms-current-utc-date": [ - "8/22/2017 11:16:49 PM" + "9/22/2017 4:59:08 PM" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14997" + "14962" ], "x-ms-correlation-request-id": [ - "5a35d56e-7b33-4aae-8fc7-ba96d3477f7d" + "c0a37ca6-3620-4cb7-a402-5d8ede68226c" ], "x-ms-routing-request-id": [ - "WESTUS:20170822T231649Z:5a35d56e-7b33-4aae-8fc7-ba96d3477f7d" + "WESTUS2:20170922T165906Z:c0a37ca6-3620-4cb7-a402-5d8ede68226c" ] }, "StatusCode": 200 @@ -457,7 +734,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "261c7c6b-a9ad-469d-933c-748eccc42d97" + "35805f13-d000-48f2-a61c-e0860fe888e9" ], "accept-language": [ "en-US" @@ -479,7 +756,7 @@ "no-cache" ], "Date": [ - "Tue, 22 Aug 2017 23:16:49 GMT" + "Fri, 22 Sep 2017 16:59:06 GMT" ], "Pragma": [ "no-cache" @@ -488,16 +765,16 @@ "Accept-Encoding" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14996" + "14961" ], "x-ms-request-id": [ - "a3e2a34d-2e41-4c22-bb99-b2a05fe423f0" + "3fde72c7-5c8e-40a1-80e6-6c7f005bae5d" ], "x-ms-correlation-request-id": [ - "a3e2a34d-2e41-4c22-bb99-b2a05fe423f0" + "3fde72c7-5c8e-40a1-80e6-6c7f005bae5d" ], "x-ms-routing-request-id": [ - "WESTUS:20170822T231650Z:a3e2a34d-2e41-4c22-bb99-b2a05fe423f0" + "WESTUS2:20170922T165907Z:3fde72c7-5c8e-40a1-80e6-6c7f005bae5d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" diff --git a/src/SDKs/AnalysisServices/Management.Analysis/Generated/IServersOperations.cs b/src/SDKs/AnalysisServices/Management.Analysis/Generated/IServersOperations.cs index 7803e31c8760..73b33418ba7e 100644 --- a/src/SDKs/AnalysisServices/Management.Analysis/Generated/IServersOperations.cs +++ b/src/SDKs/AnalysisServices/Management.Analysis/Generated/IServersOperations.cs @@ -315,6 +315,31 @@ public partial interface IServersOperations /// Task> ListGatewayStatusWithHttpMessagesAsync(string resourceGroupName, string serverName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// + /// Dissociates a Unified Gateway associated with the server. + /// + /// + /// The name of the Azure Resource group of which a given Analysis + /// Services server is part. This name must be at least 1 character in + /// length, and no more than 90. + /// + /// + /// The name of the Analysis Services server. It must be at least 3 + /// characters in length, and no more than 63. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task DissociateGatewayWithHttpMessagesAsync(string resourceGroupName, string serverName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// Provisions the specified Analysis Services server based on the /// configuration specified in the request. /// diff --git a/src/SDKs/AnalysisServices/Management.Analysis/Generated/ServersOperations.cs b/src/SDKs/AnalysisServices/Management.Analysis/Generated/ServersOperations.cs index 436399a5fc16..527dd373b880 100644 --- a/src/SDKs/AnalysisServices/Management.Analysis/Generated/ServersOperations.cs +++ b/src/SDKs/AnalysisServices/Management.Analysis/Generated/ServersOperations.cs @@ -1425,6 +1425,214 @@ internal ServersOperations(AnalysisServicesManagementClient client) return _result; } + /// + /// Dissociates a Unified Gateway associated with the server. + /// + /// + /// The name of the Azure Resource group of which a given Analysis Services + /// server is part. This name must be at least 1 character in length, and no + /// more than 90. + /// + /// + /// The name of the Analysis Services server. It must be at least 3 characters + /// in length, and no more than 63. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task DissociateGatewayWithHttpMessagesAsync(string resourceGroupName, string serverName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (resourceGroupName != null) + { + if (resourceGroupName.Length > 90) + { + throw new ValidationException(ValidationRules.MaxLength, "resourceGroupName", 90); + } + if (resourceGroupName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) + { + throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); + } + } + if (serverName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serverName"); + } + if (serverName != null) + { + if (serverName.Length > 63) + { + throw new ValidationException(ValidationRules.MaxLength, "serverName", 63); + } + if (serverName.Length < 3) + { + throw new ValidationException(ValidationRules.MinLength, "serverName", 3); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serverName, "^[a-z][a-z0-9]*$")) + { + throw new ValidationException(ValidationRules.Pattern, "serverName", "^[a-z][a-z0-9]*$"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serverName", serverName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "DissociateGateway", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AnalysisServices/servers/{serverName}/dissociateGateway").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serverName}", System.Uri.EscapeDataString(serverName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + /// /// Provisions the specified Analysis Services server based on the /// configuration specified in the request. diff --git a/src/SDKs/AnalysisServices/Management.Analysis/Generated/ServersOperationsExtensions.cs b/src/SDKs/AnalysisServices/Management.Analysis/Generated/ServersOperationsExtensions.cs index 4b0ca60553ce..1cc4c6feb646 100644 --- a/src/SDKs/AnalysisServices/Management.Analysis/Generated/ServersOperationsExtensions.cs +++ b/src/SDKs/AnalysisServices/Management.Analysis/Generated/ServersOperationsExtensions.cs @@ -492,6 +492,49 @@ public static GatewayListStatusLive ListGatewayStatus(this IServersOperations op } } + /// + /// Dissociates a Unified Gateway associated with the server. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the Azure Resource group of which a given Analysis Services + /// server is part. This name must be at least 1 character in length, and no + /// more than 90. + /// + /// + /// The name of the Analysis Services server. It must be at least 3 characters + /// in length, and no more than 63. + /// + public static void DissociateGateway(this IServersOperations operations, string resourceGroupName, string serverName) + { + operations.DissociateGatewayAsync(resourceGroupName, serverName).GetAwaiter().GetResult(); + } + + /// + /// Dissociates a Unified Gateway associated with the server. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the Azure Resource group of which a given Analysis Services + /// server is part. This name must be at least 1 character in length, and no + /// more than 90. + /// + /// + /// The name of the Analysis Services server. It must be at least 3 characters + /// in length, and no more than 63. + /// + /// + /// The cancellation token. + /// + public static async Task DissociateGatewayAsync(this IServersOperations operations, string resourceGroupName, string serverName, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.DissociateGatewayWithHttpMessagesAsync(resourceGroupName, serverName, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + /// /// Provisions the specified Analysis Services server based on the /// configuration specified in the request. diff --git a/src/SDKs/AnalysisServices/Management.Analysis/Microsoft.Azure.Management.Analysis.csproj b/src/SDKs/AnalysisServices/Management.Analysis/Microsoft.Azure.Management.Analysis.csproj index db61993cd81a..5975ff8628a0 100644 --- a/src/SDKs/AnalysisServices/Management.Analysis/Microsoft.Azure.Management.Analysis.csproj +++ b/src/SDKs/AnalysisServices/Management.Analysis/Microsoft.Azure.Management.Analysis.csproj @@ -3,7 +3,7 @@ Provides management capabilities for Azure Analysis Services accounts. Microsoft Azure Analysis Services Management Library - 2.0.0 + 2.0.1 Microsoft.Azure.Management.Analysis Microsoft.Azure.Management.Analysis Microsoft Azure resource management;asazure;REST HTTP client;azureofficial;windowsazureofficial;netcore451511 diff --git a/src/SDKs/AnalysisServices/Management.Analysis/Properties/AssemblyInfo.cs b/src/SDKs/AnalysisServices/Management.Analysis/Properties/AssemblyInfo.cs index 42a6908d5146..f52aba35af5c 100644 --- a/src/SDKs/AnalysisServices/Management.Analysis/Properties/AssemblyInfo.cs +++ b/src/SDKs/AnalysisServices/Management.Analysis/Properties/AssemblyInfo.cs @@ -9,8 +9,8 @@ [assembly: AssemblyTitle("Microsoft Azure Analysis Services Management Library")] [assembly: AssemblyDescription("Provides management functionality for Azure Analysis Services Resources.")] -[assembly: AssemblyVersion("2.0.0.0")] -[assembly: AssemblyFileVersion("2.0.0.0")] +[assembly: AssemblyVersion("2.0.1.0")] +[assembly: AssemblyFileVersion("2.0.1.0")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Microsoft")] [assembly: AssemblyProduct("Microsoft Azure .NET SDK")]