diff --git a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/AzureEntityResource.cs b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/AzureEntityResource.cs index 52f7c8cb20e50..c90cf262e434d 100644 --- a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/AzureEntityResource.cs +++ b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/AzureEntityResource.cs @@ -14,9 +14,12 @@ namespace Microsoft.Azure.Management.StorageSync.Models using System.Linq; /// - /// The resource model definition for a Azure Resource Manager resource - /// with an etag. + /// Entity Resource /// + /// + /// The resource model definition for an Azure Resource Manager resource + /// with an etag. + /// public partial class AzureEntityResource : Resource { /// @@ -30,12 +33,12 @@ public AzureEntityResource() /// /// Initializes a new instance of the AzureEntityResource class. /// - /// Fully qualified resource Id for the resource. Ex - + /// Fully qualified resource ID for the resource. Ex - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// The name of the resource - /// The type of the resource. Ex- - /// Microsoft.Compute/virtualMachines or - /// Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. + /// "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" /// Resource Etag. public AzureEntityResource(string id = default(string), string name = default(string), string type = default(string), string etag = default(string)) : base(id, name, type) diff --git a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/CloudEndpoint.cs b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/CloudEndpoint.cs index bf58ee11a55a7..4f92e6ce447fe 100644 --- a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/CloudEndpoint.cs +++ b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/CloudEndpoint.cs @@ -32,12 +32,12 @@ public CloudEndpoint() /// /// Initializes a new instance of the CloudEndpoint class. /// - /// Fully qualified resource Id for the resource. Ex - + /// Fully qualified resource ID for the resource. Ex - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// The name of the resource - /// The type of the resource. Ex- - /// Microsoft.Compute/virtualMachines or - /// Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. + /// "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" /// Storage Account Resource /// Id /// Azure file share name diff --git a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/CloudEndpointCreateParameters.cs b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/CloudEndpointCreateParameters.cs index 563933bf6192c..b907bf12a0ad2 100644 --- a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/CloudEndpointCreateParameters.cs +++ b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/CloudEndpointCreateParameters.cs @@ -34,12 +34,12 @@ public CloudEndpointCreateParameters() /// Initializes a new instance of the CloudEndpointCreateParameters /// class. /// - /// Fully qualified resource Id for the resource. Ex - + /// Fully qualified resource ID for the resource. Ex - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// The name of the resource - /// The type of the resource. Ex- - /// Microsoft.Compute/virtualMachines or - /// Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. + /// "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" /// Storage Account Resource /// Id /// Azure file share name diff --git a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/OperationEntity.cs b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/OperationEntity.cs index 9d4237608285e..d7c3c2e66d4e4 100644 --- a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/OperationEntity.cs +++ b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/OperationEntity.cs @@ -34,11 +34,14 @@ public OperationEntity() /// The operation supported by storage /// sync. /// The origin. - public OperationEntity(string name = default(string), OperationDisplayInfo display = default(OperationDisplayInfo), string origin = default(string)) + /// Properties of the operations + /// resource. + public OperationEntity(string name = default(string), OperationDisplayInfo display = default(OperationDisplayInfo), string origin = default(string), OperationProperties properties = default(OperationProperties)) { Name = name; Display = display; Origin = origin; + Properties = properties; CustomInit(); } @@ -65,5 +68,11 @@ public OperationEntity() [JsonProperty(PropertyName = "origin")] public string Origin { get; set; } + /// + /// Gets or sets properties of the operations resource. + /// + [JsonProperty(PropertyName = "properties")] + public OperationProperties Properties { get; set; } + } } diff --git a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/OperationProperties.cs b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/OperationProperties.cs new file mode 100644 index 0000000000000..9635e05da9bb7 --- /dev/null +++ b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/OperationProperties.cs @@ -0,0 +1,52 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.StorageSync.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Properties of the operations resource. + /// + public partial class OperationProperties + { + /// + /// Initializes a new instance of the OperationProperties class. + /// + public OperationProperties() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the OperationProperties class. + /// + /// Service specification for the + /// operations resource. + public OperationProperties(OperationResourceServiceSpecification serviceSpecification = default(OperationResourceServiceSpecification)) + { + ServiceSpecification = serviceSpecification; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets service specification for the operations resource. + /// + [JsonProperty(PropertyName = "serviceSpecification")] + public OperationResourceServiceSpecification ServiceSpecification { get; set; } + + } +} diff --git a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/OperationResourceMetricSpecification.cs b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/OperationResourceMetricSpecification.cs new file mode 100644 index 0000000000000..740399d9a015b --- /dev/null +++ b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/OperationResourceMetricSpecification.cs @@ -0,0 +1,107 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.StorageSync.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Operation Display Resource object. + /// + public partial class OperationResourceMetricSpecification + { + /// + /// Initializes a new instance of the + /// OperationResourceMetricSpecification class. + /// + public OperationResourceMetricSpecification() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// OperationResourceMetricSpecification class. + /// + /// Name of the metric. + /// Display name for the metric. + /// Display description for the + /// metric. + /// Unit for the metric. + /// Aggregation type for the + /// metric. + /// Fill gaps in the metric with + /// zero. + /// Dimensions for the metric + /// specification. + public OperationResourceMetricSpecification(string name = default(string), string displayName = default(string), string displayDescription = default(string), string unit = default(string), string aggregationType = default(string), bool? fillGapWithZero = default(bool?), IList dimensions = default(IList)) + { + Name = name; + DisplayName = displayName; + DisplayDescription = displayDescription; + Unit = unit; + AggregationType = aggregationType; + FillGapWithZero = fillGapWithZero; + Dimensions = dimensions; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets name of the metric. + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; set; } + + /// + /// Gets or sets display name for the metric. + /// + [JsonProperty(PropertyName = "displayName")] + public string DisplayName { get; set; } + + /// + /// Gets or sets display description for the metric. + /// + [JsonProperty(PropertyName = "displayDescription")] + public string DisplayDescription { get; set; } + + /// + /// Gets or sets unit for the metric. + /// + [JsonProperty(PropertyName = "unit")] + public string Unit { get; set; } + + /// + /// Gets or sets aggregation type for the metric. + /// + [JsonProperty(PropertyName = "aggregationType")] + public string AggregationType { get; set; } + + /// + /// Gets or sets fill gaps in the metric with zero. + /// + [JsonProperty(PropertyName = "fillGapWithZero")] + public bool? FillGapWithZero { get; set; } + + /// + /// Gets or sets dimensions for the metric specification. + /// + [JsonProperty(PropertyName = "dimensions")] + public IList Dimensions { get; set; } + + } +} diff --git a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/OperationResourceMetricSpecificationDimension.cs b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/OperationResourceMetricSpecificationDimension.cs new file mode 100644 index 0000000000000..4364cb19d14e3 --- /dev/null +++ b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/OperationResourceMetricSpecificationDimension.cs @@ -0,0 +1,70 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.StorageSync.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// OperationResourceMetricSpecificationDimension object. + /// + public partial class OperationResourceMetricSpecificationDimension + { + /// + /// Initializes a new instance of the + /// OperationResourceMetricSpecificationDimension class. + /// + public OperationResourceMetricSpecificationDimension() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// OperationResourceMetricSpecificationDimension class. + /// + /// Name of the dimension. + /// Display name of the dimensions. + /// Indicates metric should be + /// exported for Shoebox. + public OperationResourceMetricSpecificationDimension(string name = default(string), string displayName = default(string), bool? toBeExportedForShoebox = default(bool?)) + { + Name = name; + DisplayName = displayName; + ToBeExportedForShoebox = toBeExportedForShoebox; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets name of the dimension. + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; set; } + + /// + /// Gets or sets display name of the dimensions. + /// + [JsonProperty(PropertyName = "displayName")] + public string DisplayName { get; set; } + + /// + /// Gets or sets indicates metric should be exported for Shoebox. + /// + [JsonProperty(PropertyName = "toBeExportedForShoebox")] + public bool? ToBeExportedForShoebox { get; set; } + + } +} diff --git a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/OperationResourceServiceSpecification.cs b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/OperationResourceServiceSpecification.cs new file mode 100644 index 0000000000000..1fd1f3412e722 --- /dev/null +++ b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/OperationResourceServiceSpecification.cs @@ -0,0 +1,56 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.StorageSync.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Service specification. + /// + public partial class OperationResourceServiceSpecification + { + /// + /// Initializes a new instance of the + /// OperationResourceServiceSpecification class. + /// + public OperationResourceServiceSpecification() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// OperationResourceServiceSpecification class. + /// + /// List of metric + /// specifications. + public OperationResourceServiceSpecification(IList metricSpecifications = default(IList)) + { + MetricSpecifications = metricSpecifications; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets list of metric specifications. + /// + [JsonProperty(PropertyName = "metricSpecifications")] + public IList MetricSpecifications { get; set; } + + } +} diff --git a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/PrivateEndpointConnection.cs b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/PrivateEndpointConnection.cs index 67281d933cc4a..cad7829b7346a 100644 --- a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/PrivateEndpointConnection.cs +++ b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/PrivateEndpointConnection.cs @@ -35,12 +35,12 @@ public PrivateEndpointConnection() /// A collection of /// information about the state of the connection between service /// consumer and provider. - /// Fully qualified resource Id for the resource. Ex - + /// Fully qualified resource ID for the resource. Ex - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// The name of the resource - /// The type of the resource. Ex- - /// Microsoft.Compute/virtualMachines or - /// Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. + /// "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" /// The resource of private end /// point. /// The provisioning state of the diff --git a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/PrivateLinkResource.cs b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/PrivateLinkResource.cs index e6f7cef998e9c..a0ae8265eafa8 100644 --- a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/PrivateLinkResource.cs +++ b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/PrivateLinkResource.cs @@ -34,12 +34,12 @@ public PrivateLinkResource() /// /// Initializes a new instance of the PrivateLinkResource class. /// - /// Fully qualified resource Id for the resource. Ex - + /// Fully qualified resource ID for the resource. Ex - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// The name of the resource - /// The type of the resource. Ex- - /// Microsoft.Compute/virtualMachines or - /// Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. + /// "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" /// The private link resource group id. /// The private link resource required /// member names. diff --git a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/ProxyResource.cs b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/ProxyResource.cs index 58a9ed0f4ddcc..6e334e048b6dd 100644 --- a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/ProxyResource.cs +++ b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/ProxyResource.cs @@ -13,9 +13,12 @@ namespace Microsoft.Azure.Management.StorageSync.Models using System.Linq; /// - /// The resource model definition for a ARM proxy resource. It will have - /// everything other than required location and tags + /// Proxy Resource /// + /// + /// The resource model definition for a Azure Resource Manager proxy + /// resource. It will not have tags and a location + /// public partial class ProxyResource : Resource { /// @@ -29,12 +32,12 @@ public ProxyResource() /// /// Initializes a new instance of the ProxyResource class. /// - /// Fully qualified resource Id for the resource. Ex - + /// Fully qualified resource ID for the resource. Ex - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// The name of the resource - /// The type of the resource. Ex- - /// Microsoft.Compute/virtualMachines or - /// Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. + /// "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" public ProxyResource(string id = default(string), string name = default(string), string type = default(string)) : base(id, name, type) { diff --git a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/RegisteredServer.cs b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/RegisteredServer.cs index 804ee3481f262..47f03732b87bb 100644 --- a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/RegisteredServer.cs +++ b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/RegisteredServer.cs @@ -32,15 +32,20 @@ public RegisteredServer() /// /// Initializes a new instance of the RegisteredServer class. /// - /// Fully qualified resource Id for the resource. Ex - + /// Fully qualified resource ID for the resource. Ex - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// The name of the resource - /// The type of the resource. Ex- - /// Microsoft.Compute/virtualMachines or - /// Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. + /// "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" /// Registered Server /// Certificate /// Registered Server Agent Version + /// Registered Server Agent Version + /// Status. Possible values include: 'Ok', 'NearExpiry', 'Expired', + /// 'Blocked' + /// Registered Server Agent + /// Version Expiration Date /// Registered Server OS Version /// Registered Server /// Management Error Code @@ -67,11 +72,14 @@ public RegisteredServer() /// Telemetry Endpoint Uri /// Monitoring /// Configuration - public RegisteredServer(string id = default(string), string name = default(string), string type = default(string), string serverCertificate = default(string), string agentVersion = default(string), string serverOSVersion = default(string), int? serverManagementErrorCode = default(int?), string lastHeartBeat = default(string), string provisioningState = default(string), string serverRole = default(string), string clusterId = default(string), string clusterName = default(string), string serverId = default(string), string storageSyncServiceUid = default(string), string lastWorkflowId = default(string), string lastOperationName = default(string), string discoveryEndpointUri = default(string), string resourceLocation = default(string), string serviceLocation = default(string), string friendlyName = default(string), string managementEndpointUri = default(string), string monitoringEndpointUri = default(string), string monitoringConfiguration = default(string)) + /// Server name + public RegisteredServer(string id = default(string), string name = default(string), string type = default(string), string serverCertificate = default(string), string agentVersion = default(string), string agentVersionStatus = default(string), System.DateTime? agentVersionExpirationDate = default(System.DateTime?), string serverOSVersion = default(string), int? serverManagementErrorCode = default(int?), System.DateTime? lastHeartBeat = default(System.DateTime?), string provisioningState = default(string), string serverRole = default(string), string clusterId = default(string), string clusterName = default(string), string serverId = default(string), string storageSyncServiceUid = default(string), string lastWorkflowId = default(string), string lastOperationName = default(string), string discoveryEndpointUri = default(string), string resourceLocation = default(string), string serviceLocation = default(string), string friendlyName = default(string), string managementEndpointUri = default(string), string monitoringEndpointUri = default(string), string monitoringConfiguration = default(string), string serverName = default(string)) : base(id, name, type) { ServerCertificate = serverCertificate; AgentVersion = agentVersion; + AgentVersionStatus = agentVersionStatus; + AgentVersionExpirationDate = agentVersionExpirationDate; ServerOSVersion = serverOSVersion; ServerManagementErrorCode = serverManagementErrorCode; LastHeartBeat = lastHeartBeat; @@ -90,6 +98,7 @@ public RegisteredServer() ManagementEndpointUri = managementEndpointUri; MonitoringEndpointUri = monitoringEndpointUri; MonitoringConfiguration = monitoringConfiguration; + ServerName = serverName; CustomInit(); } @@ -110,6 +119,19 @@ public RegisteredServer() [JsonProperty(PropertyName = "properties.agentVersion")] public string AgentVersion { get; set; } + /// + /// Gets registered Server Agent Version Status. Possible values + /// include: 'Ok', 'NearExpiry', 'Expired', 'Blocked' + /// + [JsonProperty(PropertyName = "properties.agentVersionStatus")] + public string AgentVersionStatus { get; private set; } + + /// + /// Gets registered Server Agent Version Expiration Date + /// + [JsonProperty(PropertyName = "properties.agentVersionExpirationDate")] + public System.DateTime? AgentVersionExpirationDate { get; private set; } + /// /// Gets or sets registered Server OS Version /// @@ -117,22 +139,22 @@ public RegisteredServer() public string ServerOSVersion { get; set; } /// - /// Gets or sets registered Server Management Error Code + /// Gets registered Server Management Error Code /// [JsonProperty(PropertyName = "properties.serverManagementErrorCode")] - public int? ServerManagementErrorCode { get; set; } + public int? ServerManagementErrorCode { get; private set; } /// - /// Gets or sets registered Server last heart beat + /// Gets registered Server last heart beat /// [JsonProperty(PropertyName = "properties.lastHeartBeat")] - public string LastHeartBeat { get; set; } + public System.DateTime? LastHeartBeat { get; private set; } /// - /// Gets or sets registered Server Provisioning State + /// Gets registered Server Provisioning State /// [JsonProperty(PropertyName = "properties.provisioningState")] - public string ProvisioningState { get; set; } + public string ProvisioningState { get; private set; } /// /// Gets or sets registered Server serverRole @@ -159,40 +181,40 @@ public RegisteredServer() public string ServerId { get; set; } /// - /// Gets or sets registered Server storageSyncServiceUid + /// Gets registered Server storageSyncServiceUid /// [JsonProperty(PropertyName = "properties.storageSyncServiceUid")] - public string StorageSyncServiceUid { get; set; } + public string StorageSyncServiceUid { get; private set; } /// - /// Gets or sets registered Server lastWorkflowId + /// Gets registered Server lastWorkflowId /// [JsonProperty(PropertyName = "properties.lastWorkflowId")] - public string LastWorkflowId { get; set; } + public string LastWorkflowId { get; private set; } /// - /// Gets or sets resource Last Operation Name + /// Gets resource Last Operation Name /// [JsonProperty(PropertyName = "properties.lastOperationName")] - public string LastOperationName { get; set; } + public string LastOperationName { get; private set; } /// - /// Gets or sets resource discoveryEndpointUri + /// Gets resource discoveryEndpointUri /// [JsonProperty(PropertyName = "properties.discoveryEndpointUri")] - public string DiscoveryEndpointUri { get; set; } + public string DiscoveryEndpointUri { get; private set; } /// - /// Gets or sets resource Location + /// Gets resource Location /// [JsonProperty(PropertyName = "properties.resourceLocation")] - public string ResourceLocation { get; set; } + public string ResourceLocation { get; private set; } /// - /// Gets or sets service Location + /// Gets service Location /// [JsonProperty(PropertyName = "properties.serviceLocation")] - public string ServiceLocation { get; set; } + public string ServiceLocation { get; private set; } /// /// Gets or sets friendly Name @@ -201,22 +223,28 @@ public RegisteredServer() public string FriendlyName { get; set; } /// - /// Gets or sets management Endpoint Uri + /// Gets management Endpoint Uri /// [JsonProperty(PropertyName = "properties.managementEndpointUri")] - public string ManagementEndpointUri { get; set; } + public string ManagementEndpointUri { get; private set; } /// - /// Gets or sets telemetry Endpoint Uri + /// Gets telemetry Endpoint Uri /// [JsonProperty(PropertyName = "properties.monitoringEndpointUri")] - public string MonitoringEndpointUri { get; set; } + public string MonitoringEndpointUri { get; private set; } /// - /// Gets or sets monitoring Configuration + /// Gets monitoring Configuration /// [JsonProperty(PropertyName = "properties.monitoringConfiguration")] - public string MonitoringConfiguration { get; set; } + public string MonitoringConfiguration { get; private set; } + + /// + /// Gets server name + /// + [JsonProperty(PropertyName = "properties.serverName")] + public string ServerName { get; private set; } } } diff --git a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/RegisteredServerAgentVersionStatus.cs b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/RegisteredServerAgentVersionStatus.cs new file mode 100644 index 0000000000000..e4058423eaebb --- /dev/null +++ b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/RegisteredServerAgentVersionStatus.cs @@ -0,0 +1,24 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.StorageSync.Models +{ + + /// + /// Defines values for RegisteredServerAgentVersionStatus. + /// + public static class RegisteredServerAgentVersionStatus + { + public const string Ok = "Ok"; + public const string NearExpiry = "NearExpiry"; + public const string Expired = "Expired"; + public const string Blocked = "Blocked"; + } +} diff --git a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/RegisteredServerCreateParameters.cs b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/RegisteredServerCreateParameters.cs index b5fe9f27e3996..b1839dd2600a7 100644 --- a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/RegisteredServerCreateParameters.cs +++ b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/RegisteredServerCreateParameters.cs @@ -34,12 +34,12 @@ public RegisteredServerCreateParameters() /// Initializes a new instance of the RegisteredServerCreateParameters /// class. /// - /// Fully qualified resource Id for the resource. Ex - + /// Fully qualified resource ID for the resource. Ex - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// The name of the resource - /// The type of the resource. Ex- - /// Microsoft.Compute/virtualMachines or - /// Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. + /// "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" /// Registered Server /// Certificate /// Registered Server Agent Version diff --git a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/Resource.cs b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/Resource.cs index 1e0f81fa9f68d..4bedb103c39a2 100644 --- a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/Resource.cs +++ b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/Resource.cs @@ -15,6 +15,13 @@ namespace Microsoft.Azure.Management.StorageSync.Models using Newtonsoft.Json; using System.Linq; + /// + /// Resource + /// + /// + /// Common fields that are returned in the response for all Azure Resource + /// Manager resources + /// public partial class Resource : IResource { /// @@ -28,12 +35,12 @@ public Resource() /// /// Initializes a new instance of the Resource class. /// - /// Fully qualified resource Id for the resource. Ex - + /// Fully qualified resource ID for the resource. Ex - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// The name of the resource - /// The type of the resource. Ex- - /// Microsoft.Compute/virtualMachines or - /// Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. + /// "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" public Resource(string id = default(string), string name = default(string), string type = default(string)) { Id = id; @@ -48,7 +55,7 @@ public Resource() partial void CustomInit(); /// - /// Gets fully qualified resource Id for the resource. Ex - + /// Gets fully qualified resource ID for the resource. Ex - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// [JsonProperty(PropertyName = "id")] @@ -61,9 +68,9 @@ public Resource() public string Name { get; private set; } /// - /// Gets the type of the resource. Ex- - /// Microsoft.Compute/virtualMachines or - /// Microsoft.Storage/storageAccounts. + /// Gets the type of the resource. E.g. + /// "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" /// [JsonProperty(PropertyName = "type")] public string Type { get; private set; } diff --git a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/ServerEndpoint.cs b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/ServerEndpoint.cs index 8c8c4d30a4a97..cc0d431bd5aaf 100644 --- a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/ServerEndpoint.cs +++ b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/ServerEndpoint.cs @@ -32,12 +32,12 @@ public ServerEndpoint() /// /// Initializes a new instance of the ServerEndpoint class. /// - /// Fully qualified resource Id for the resource. Ex - + /// Fully qualified resource ID for the resource. Ex - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// The name of the resource - /// The type of the resource. Ex- - /// Microsoft.Compute/virtualMachines or - /// Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. + /// "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" /// Server Local path. /// Cloud Tiering. Possible values include: /// 'on', 'off' @@ -73,7 +73,8 @@ public ServerEndpoint() /// business models: link local cache to cloud behavior to pre-populate /// before local access. Possible values include: /// 'DownloadNewAndModifiedFiles', 'UpdateLocallyCachedFiles' - public ServerEndpoint(string id = default(string), string name = default(string), string type = default(string), string serverLocalPath = default(string), string cloudTiering = default(string), int? volumeFreeSpacePercent = default(int?), int? tierFilesOlderThanDays = default(int?), string friendlyName = default(string), string serverResourceId = default(string), string provisioningState = default(string), string lastWorkflowId = default(string), string lastOperationName = default(string), ServerEndpointSyncStatus syncStatus = default(ServerEndpointSyncStatus), string offlineDataTransfer = default(string), string offlineDataTransferStorageAccountResourceId = default(string), string offlineDataTransferStorageAccountTenantId = default(string), string offlineDataTransferShareName = default(string), ServerEndpointCloudTieringStatus cloudTieringStatus = default(ServerEndpointCloudTieringStatus), ServerEndpointRecallStatus recallStatus = default(ServerEndpointRecallStatus), string initialDownloadPolicy = default(string), string localCacheMode = default(string)) + /// Server name + public ServerEndpoint(string id = default(string), string name = default(string), string type = default(string), string serverLocalPath = default(string), string cloudTiering = default(string), int? volumeFreeSpacePercent = default(int?), int? tierFilesOlderThanDays = default(int?), string friendlyName = default(string), string serverResourceId = default(string), string provisioningState = default(string), string lastWorkflowId = default(string), string lastOperationName = default(string), ServerEndpointSyncStatus syncStatus = default(ServerEndpointSyncStatus), string offlineDataTransfer = default(string), string offlineDataTransferStorageAccountResourceId = default(string), string offlineDataTransferStorageAccountTenantId = default(string), string offlineDataTransferShareName = default(string), ServerEndpointCloudTieringStatus cloudTieringStatus = default(ServerEndpointCloudTieringStatus), ServerEndpointRecallStatus recallStatus = default(ServerEndpointRecallStatus), string initialDownloadPolicy = default(string), string localCacheMode = default(string), string serverName = default(string)) : base(id, name, type) { ServerLocalPath = serverLocalPath; @@ -94,6 +95,7 @@ public ServerEndpoint() RecallStatus = recallStatus; InitialDownloadPolicy = initialDownloadPolicy; LocalCacheMode = localCacheMode; + ServerName = serverName; CustomInit(); } @@ -218,6 +220,12 @@ public ServerEndpoint() [JsonProperty(PropertyName = "properties.localCacheMode")] public string LocalCacheMode { get; set; } + /// + /// Gets server name + /// + [JsonProperty(PropertyName = "properties.serverName")] + public string ServerName { get; private set; } + /// /// Validate the object. /// diff --git a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/ServerEndpointBackgroundDataDownloadActivity.cs b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/ServerEndpointBackgroundDataDownloadActivity.cs new file mode 100644 index 0000000000000..51781a4ae46e7 --- /dev/null +++ b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/ServerEndpointBackgroundDataDownloadActivity.cs @@ -0,0 +1,93 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.StorageSync.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Background data download activity object + /// + public partial class ServerEndpointBackgroundDataDownloadActivity + { + /// + /// Initializes a new instance of the + /// ServerEndpointBackgroundDataDownloadActivity class. + /// + public ServerEndpointBackgroundDataDownloadActivity() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// ServerEndpointBackgroundDataDownloadActivity class. + /// + /// Timestamp when properties were + /// updated + /// Progress percentage + /// Running count of bytes + /// downloaded + public ServerEndpointBackgroundDataDownloadActivity(System.DateTime? timestamp = default(System.DateTime?), int? percentProgress = default(int?), long? downloadedBytes = default(long?)) + { + Timestamp = timestamp; + PercentProgress = percentProgress; + DownloadedBytes = downloadedBytes; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets timestamp when properties were updated + /// + [JsonProperty(PropertyName = "timestamp")] + public System.DateTime? Timestamp { get; private set; } + + /// + /// Gets progress percentage + /// + [JsonProperty(PropertyName = "percentProgress")] + public int? PercentProgress { get; private set; } + + /// + /// Gets running count of bytes downloaded + /// + [JsonProperty(PropertyName = "downloadedBytes")] + public long? DownloadedBytes { get; private set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (PercentProgress > 100) + { + throw new ValidationException(ValidationRules.InclusiveMaximum, "PercentProgress", 100); + } + if (PercentProgress < 0) + { + throw new ValidationException(ValidationRules.InclusiveMinimum, "PercentProgress", 0); + } + if (DownloadedBytes < 0) + { + throw new ValidationException(ValidationRules.InclusiveMinimum, "DownloadedBytes", 0); + } + } + } +} diff --git a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/ServerEndpointCloudTieringStatus.cs b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/ServerEndpointCloudTieringStatus.cs index eb7e65652b10c..90773c511ef1c 100644 --- a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/ServerEndpointCloudTieringStatus.cs +++ b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/ServerEndpointCloudTieringStatus.cs @@ -33,7 +33,7 @@ public ServerEndpointCloudTieringStatus() /// /// Last updated timestamp /// Cloud tiering health state. Possible values - /// include: 'Healthy', 'Error' + /// include: 'Unavailable', 'Healthy', 'Error' /// The last updated timestamp /// of health state /// Last cloud tiering result @@ -77,7 +77,7 @@ public ServerEndpointCloudTieringStatus() /// /// Gets cloud tiering health state. Possible values include: - /// 'Healthy', 'Error' + /// 'Unavailable', 'Healthy', 'Error' /// [JsonProperty(PropertyName = "health")] public string Health { get; private set; } diff --git a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/ServerEndpointCreateParameters.cs b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/ServerEndpointCreateParameters.cs index a0f17956dfcc6..f4da4d589ef35 100644 --- a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/ServerEndpointCreateParameters.cs +++ b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/ServerEndpointCreateParameters.cs @@ -34,12 +34,12 @@ public ServerEndpointCreateParameters() /// Initializes a new instance of the ServerEndpointCreateParameters /// class. /// - /// Fully qualified resource Id for the resource. Ex - + /// Fully qualified resource ID for the resource. Ex - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// The name of the resource - /// The type of the resource. Ex- - /// Microsoft.Compute/virtualMachines or - /// Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. + /// "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" /// Server Local path. /// Cloud Tiering. Possible values include: /// 'on', 'off' diff --git a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/ServerEndpointHealthState.cs b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/ServerEndpointHealthState.cs new file mode 100644 index 0000000000000..201e8a19993fe --- /dev/null +++ b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/ServerEndpointHealthState.cs @@ -0,0 +1,23 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.StorageSync.Models +{ + + /// + /// Defines values for ServerEndpointHealthState. + /// + public static class ServerEndpointHealthState + { + public const string Unavailable = "Unavailable"; + public const string Healthy = "Healthy"; + public const string Error = "Error"; + } +} diff --git a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/ServerEndpointSyncActivityStatus.cs b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/ServerEndpointSyncActivityStatus.cs index a3691e846aa97..535d93f32d6c5 100644 --- a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/ServerEndpointSyncActivityStatus.cs +++ b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/ServerEndpointSyncActivityStatus.cs @@ -40,7 +40,10 @@ public ServerEndpointSyncActivityStatus() /// available) /// Applied bytes /// Total bytes (if available) - public ServerEndpointSyncActivityStatus(System.DateTime? timestamp = default(System.DateTime?), long? perItemErrorCount = default(long?), long? appliedItemCount = default(long?), long? totalItemCount = default(long?), long? appliedBytes = default(long?), long? totalBytes = default(long?)) + /// Sync mode. Possible values include: + /// 'Regular', 'NamespaceDownload', 'InitialUpload', 'SnapshotUpload', + /// 'InitialFullDownload' + public ServerEndpointSyncActivityStatus(System.DateTime? timestamp = default(System.DateTime?), long? perItemErrorCount = default(long?), long? appliedItemCount = default(long?), long? totalItemCount = default(long?), long? appliedBytes = default(long?), long? totalBytes = default(long?), string syncMode = default(string)) { Timestamp = timestamp; PerItemErrorCount = perItemErrorCount; @@ -48,6 +51,7 @@ public ServerEndpointSyncActivityStatus() TotalItemCount = totalItemCount; AppliedBytes = appliedBytes; TotalBytes = totalBytes; + SyncMode = syncMode; CustomInit(); } @@ -92,6 +96,14 @@ public ServerEndpointSyncActivityStatus() [JsonProperty(PropertyName = "totalBytes")] public long? TotalBytes { get; private set; } + /// + /// Gets sync mode. Possible values include: 'Regular', + /// 'NamespaceDownload', 'InitialUpload', 'SnapshotUpload', + /// 'InitialFullDownload' + /// + [JsonProperty(PropertyName = "syncMode")] + public string SyncMode { get; private set; } + /// /// Validate the object. /// diff --git a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/ServerEndpointSyncMode.cs b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/ServerEndpointSyncMode.cs new file mode 100644 index 0000000000000..30dc6e2747ee0 --- /dev/null +++ b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/ServerEndpointSyncMode.cs @@ -0,0 +1,25 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.StorageSync.Models +{ + + /// + /// Defines values for ServerEndpointSyncMode. + /// + public static class ServerEndpointSyncMode + { + public const string Regular = "Regular"; + public const string NamespaceDownload = "NamespaceDownload"; + public const string InitialUpload = "InitialUpload"; + public const string SnapshotUpload = "SnapshotUpload"; + public const string InitialFullDownload = "InitialFullDownload"; + } +} diff --git a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/ServerEndpointSyncSessionStatus.cs b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/ServerEndpointSyncSessionStatus.cs index 035cc563f8dd8..8043c4db8dfcc 100644 --- a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/ServerEndpointSyncSessionStatus.cs +++ b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/ServerEndpointSyncSessionStatus.cs @@ -46,7 +46,10 @@ public ServerEndpointSyncSessionStatus() /// files not syncing. /// Array of per-item errors coming /// from the last sync session. - public ServerEndpointSyncSessionStatus(int? lastSyncResult = default(int?), System.DateTime? lastSyncTimestamp = default(System.DateTime?), System.DateTime? lastSyncSuccessTimestamp = default(System.DateTime?), long? lastSyncPerItemErrorCount = default(long?), long? persistentFilesNotSyncingCount = default(long?), long? transientFilesNotSyncingCount = default(long?), IList filesNotSyncingErrors = default(IList)) + /// Sync mode. Possible values include: + /// 'Regular', 'NamespaceDownload', 'InitialUpload', 'SnapshotUpload', + /// 'InitialFullDownload' + public ServerEndpointSyncSessionStatus(int? lastSyncResult = default(int?), System.DateTime? lastSyncTimestamp = default(System.DateTime?), System.DateTime? lastSyncSuccessTimestamp = default(System.DateTime?), long? lastSyncPerItemErrorCount = default(long?), long? persistentFilesNotSyncingCount = default(long?), long? transientFilesNotSyncingCount = default(long?), IList filesNotSyncingErrors = default(IList), string lastSyncMode = default(string)) { LastSyncResult = lastSyncResult; LastSyncTimestamp = lastSyncTimestamp; @@ -55,6 +58,7 @@ public ServerEndpointSyncSessionStatus() PersistentFilesNotSyncingCount = persistentFilesNotSyncingCount; TransientFilesNotSyncingCount = transientFilesNotSyncingCount; FilesNotSyncingErrors = filesNotSyncingErrors; + LastSyncMode = lastSyncMode; CustomInit(); } @@ -105,6 +109,14 @@ public ServerEndpointSyncSessionStatus() [JsonProperty(PropertyName = "filesNotSyncingErrors")] public IList FilesNotSyncingErrors { get; private set; } + /// + /// Gets sync mode. Possible values include: 'Regular', + /// 'NamespaceDownload', 'InitialUpload', 'SnapshotUpload', + /// 'InitialFullDownload' + /// + [JsonProperty(PropertyName = "lastSyncMode")] + public string LastSyncMode { get; private set; } + /// /// Validate the object. /// diff --git a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/ServerEndpointSyncStatus.cs b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/ServerEndpointSyncStatus.cs index b58fdc63cd8f6..ae6d40f99129a 100644 --- a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/ServerEndpointSyncStatus.cs +++ b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/ServerEndpointSyncStatus.cs @@ -31,14 +31,11 @@ public ServerEndpointSyncStatus() /// Initializes a new instance of the ServerEndpointSyncStatus class. /// /// Download Health Status. Possible - /// values include: 'Healthy', 'Error', 'SyncBlockedForRestore', - /// 'SyncBlockedForChangeDetectionPostRestore', 'NoActivity' + /// values include: 'Unavailable', 'Healthy', 'Error' /// Upload Health Status. Possible values - /// include: 'Healthy', 'Error', 'SyncBlockedForRestore', - /// 'SyncBlockedForChangeDetectionPostRestore', 'NoActivity' + /// include: 'Unavailable', 'Healthy', 'Error' /// Combined Health Status. Possible - /// values include: 'Healthy', 'Error', 'SyncBlockedForRestore', - /// 'SyncBlockedForChangeDetectionPostRestore', 'NoActivity' + /// values include: 'Unavailable', 'Healthy', 'Error' /// Sync activity. Possible values include: /// 'Upload', 'Download', 'UploadAndDownload' /// Total count of @@ -51,7 +48,9 @@ public ServerEndpointSyncStatus() /// Offline Data Transfer /// State. Possible values include: 'InProgress', 'Stopping', /// 'NotRunning', 'Complete' - public ServerEndpointSyncStatus(string downloadHealth = default(string), string uploadHealth = default(string), string combinedHealth = default(string), string syncActivity = default(string), long? totalPersistentFilesNotSyncingCount = default(long?), System.DateTime? lastUpdatedTimestamp = default(System.DateTime?), ServerEndpointSyncSessionStatus uploadStatus = default(ServerEndpointSyncSessionStatus), ServerEndpointSyncSessionStatus downloadStatus = default(ServerEndpointSyncSessionStatus), ServerEndpointSyncActivityStatus uploadActivity = default(ServerEndpointSyncActivityStatus), ServerEndpointSyncActivityStatus downloadActivity = default(ServerEndpointSyncActivityStatus), string offlineDataTransferStatus = default(string)) + /// Background data + /// download activity + public ServerEndpointSyncStatus(string downloadHealth = default(string), string uploadHealth = default(string), string combinedHealth = default(string), string syncActivity = default(string), long? totalPersistentFilesNotSyncingCount = default(long?), System.DateTime? lastUpdatedTimestamp = default(System.DateTime?), ServerEndpointSyncSessionStatus uploadStatus = default(ServerEndpointSyncSessionStatus), ServerEndpointSyncSessionStatus downloadStatus = default(ServerEndpointSyncSessionStatus), ServerEndpointSyncActivityStatus uploadActivity = default(ServerEndpointSyncActivityStatus), ServerEndpointSyncActivityStatus downloadActivity = default(ServerEndpointSyncActivityStatus), string offlineDataTransferStatus = default(string), ServerEndpointBackgroundDataDownloadActivity backgroundDataDownloadActivity = default(ServerEndpointBackgroundDataDownloadActivity)) { DownloadHealth = downloadHealth; UploadHealth = uploadHealth; @@ -64,6 +63,7 @@ public ServerEndpointSyncStatus() UploadActivity = uploadActivity; DownloadActivity = downloadActivity; OfflineDataTransferStatus = offlineDataTransferStatus; + BackgroundDataDownloadActivity = backgroundDataDownloadActivity; CustomInit(); } @@ -73,25 +73,22 @@ public ServerEndpointSyncStatus() partial void CustomInit(); /// - /// Gets download Health Status. Possible values include: 'Healthy', - /// 'Error', 'SyncBlockedForRestore', - /// 'SyncBlockedForChangeDetectionPostRestore', 'NoActivity' + /// Gets download Health Status. Possible values include: + /// 'Unavailable', 'Healthy', 'Error' /// [JsonProperty(PropertyName = "downloadHealth")] public string DownloadHealth { get; private set; } /// - /// Gets upload Health Status. Possible values include: 'Healthy', - /// 'Error', 'SyncBlockedForRestore', - /// 'SyncBlockedForChangeDetectionPostRestore', 'NoActivity' + /// Gets upload Health Status. Possible values include: 'Unavailable', + /// 'Healthy', 'Error' /// [JsonProperty(PropertyName = "uploadHealth")] public string UploadHealth { get; private set; } /// - /// Gets combined Health Status. Possible values include: 'Healthy', - /// 'Error', 'SyncBlockedForRestore', - /// 'SyncBlockedForChangeDetectionPostRestore', 'NoActivity' + /// Gets combined Health Status. Possible values include: + /// 'Unavailable', 'Healthy', 'Error' /// [JsonProperty(PropertyName = "combinedHealth")] public string CombinedHealth { get; private set; } @@ -147,6 +144,12 @@ public ServerEndpointSyncStatus() [JsonProperty(PropertyName = "offlineDataTransferStatus")] public string OfflineDataTransferStatus { get; private set; } + /// + /// Gets background data download activity + /// + [JsonProperty(PropertyName = "backgroundDataDownloadActivity")] + public ServerEndpointBackgroundDataDownloadActivity BackgroundDataDownloadActivity { get; private set; } + /// /// Validate the object. /// @@ -175,6 +178,10 @@ public virtual void Validate() { DownloadActivity.Validate(); } + if (BackgroundDataDownloadActivity != null) + { + BackgroundDataDownloadActivity.Validate(); + } } } } diff --git a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/StorageSyncApiError.cs b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/StorageSyncApiError.cs index e5324e0e7cb0b..7b42581b4ed7c 100644 --- a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/StorageSyncApiError.cs +++ b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/StorageSyncApiError.cs @@ -33,12 +33,15 @@ public StorageSyncApiError() /// Error message of the given entry. /// Target of the given error entry. /// Error details of the given entry. - public StorageSyncApiError(string code = default(string), string message = default(string), string target = default(string), StorageSyncErrorDetails details = default(StorageSyncErrorDetails)) + /// Inner error details of the given + /// entry. + public StorageSyncApiError(string code = default(string), string message = default(string), string target = default(string), StorageSyncErrorDetails details = default(StorageSyncErrorDetails), StorageSyncInnerErrorDetails innerError = default(StorageSyncInnerErrorDetails)) { Code = code; Message = message; Target = target; Details = details; + InnerError = innerError; CustomInit(); } @@ -71,5 +74,11 @@ public StorageSyncApiError() [JsonProperty(PropertyName = "details")] public StorageSyncErrorDetails Details { get; set; } + /// + /// Gets or sets inner error details of the given entry. + /// + [JsonProperty(PropertyName = "innerError")] + public StorageSyncInnerErrorDetails InnerError { get; set; } + } } diff --git a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/StorageSyncErrorDetails.cs b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/StorageSyncErrorDetails.cs index 857e2a2e76100..31fc9e74213d1 100644 --- a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/StorageSyncErrorDetails.cs +++ b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/StorageSyncErrorDetails.cs @@ -32,11 +32,24 @@ public StorageSyncErrorDetails() /// Error code of the given entry. /// Error message of the given entry. /// Target of the given entry. - public StorageSyncErrorDetails(string code = default(string), string message = default(string), string target = default(string)) + /// Request URI of the given entry. + /// Exception type of the given + /// entry. + /// HTTP method of the given entry. + /// Hashed message of the given + /// entry. + /// HTTP error code of the given + /// entry. + public StorageSyncErrorDetails(string code = default(string), string message = default(string), string target = default(string), string requestUri = default(string), string exceptionType = default(string), string httpMethod = default(string), string hashedMessage = default(string), string httpErrorCode = default(string)) { Code = code; Message = message; Target = target; + RequestUri = requestUri; + ExceptionType = exceptionType; + HttpMethod = httpMethod; + HashedMessage = hashedMessage; + HttpErrorCode = httpErrorCode; CustomInit(); } @@ -63,5 +76,35 @@ public StorageSyncErrorDetails() [JsonProperty(PropertyName = "target")] public string Target { get; set; } + /// + /// Gets or sets request URI of the given entry. + /// + [JsonProperty(PropertyName = "requestUri")] + public string RequestUri { get; set; } + + /// + /// Gets or sets exception type of the given entry. + /// + [JsonProperty(PropertyName = "exceptionType")] + public string ExceptionType { get; set; } + + /// + /// Gets or sets HTTP method of the given entry. + /// + [JsonProperty(PropertyName = "httpMethod")] + public string HttpMethod { get; set; } + + /// + /// Gets or sets hashed message of the given entry. + /// + [JsonProperty(PropertyName = "hashedMessage")] + public string HashedMessage { get; set; } + + /// + /// Gets or sets HTTP error code of the given entry. + /// + [JsonProperty(PropertyName = "httpErrorCode")] + public string HttpErrorCode { get; set; } + } } diff --git a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/StorageSyncInnerErrorDetails.cs b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/StorageSyncInnerErrorDetails.cs new file mode 100644 index 0000000000000..36490c756f882 --- /dev/null +++ b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/StorageSyncInnerErrorDetails.cs @@ -0,0 +1,78 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.StorageSync.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Error Details object. + /// + public partial class StorageSyncInnerErrorDetails + { + /// + /// Initializes a new instance of the StorageSyncInnerErrorDetails + /// class. + /// + public StorageSyncInnerErrorDetails() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the StorageSyncInnerErrorDetails + /// class. + /// + /// Call stack of the error. + /// Error message of the error. + /// Exception of the inner error. + /// Call stack of the inner + /// error. + public StorageSyncInnerErrorDetails(string callStack = default(string), string message = default(string), string innerException = default(string), string innerExceptionCallStack = default(string)) + { + CallStack = callStack; + Message = message; + InnerException = innerException; + InnerExceptionCallStack = innerExceptionCallStack; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets call stack of the error. + /// + [JsonProperty(PropertyName = "callStack")] + public string CallStack { get; set; } + + /// + /// Gets or sets error message of the error. + /// + [JsonProperty(PropertyName = "message")] + public string Message { get; set; } + + /// + /// Gets or sets exception of the inner error. + /// + [JsonProperty(PropertyName = "innerException")] + public string InnerException { get; set; } + + /// + /// Gets or sets call stack of the inner error. + /// + [JsonProperty(PropertyName = "innerExceptionCallStack")] + public string InnerExceptionCallStack { get; set; } + + } +} diff --git a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/StorageSyncService.cs b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/StorageSyncService.cs index 9f0d60fb1226c..e2d5b2242a2f6 100644 --- a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/StorageSyncService.cs +++ b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/StorageSyncService.cs @@ -36,12 +36,12 @@ public StorageSyncService() /// /// The geo-location where the resource /// lives - /// Fully qualified resource Id for the resource. Ex - + /// Fully qualified resource ID for the resource. Ex - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// The name of the resource - /// The type of the resource. Ex- - /// Microsoft.Compute/virtualMachines or - /// Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. + /// "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" /// Resource tags. /// Incoming Traffic Policy. /// Possible values include: 'AllowAllTraffic', diff --git a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/SyncGroup.cs b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/SyncGroup.cs index c921a065530cf..a4ee961c39883 100644 --- a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/SyncGroup.cs +++ b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/SyncGroup.cs @@ -32,12 +32,12 @@ public SyncGroup() /// /// Initializes a new instance of the SyncGroup class. /// - /// Fully qualified resource Id for the resource. Ex - + /// Fully qualified resource ID for the resource. Ex - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// The name of the resource - /// The type of the resource. Ex- - /// Microsoft.Compute/virtualMachines or - /// Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. + /// "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" /// Unique Id /// Sync group status public SyncGroup(string id = default(string), string name = default(string), string type = default(string), string uniqueId = default(string), string syncGroupStatus = default(string)) diff --git a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/SyncGroupCreateParameters.cs b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/SyncGroupCreateParameters.cs index e62cc14143da8..c5c2f79de481e 100644 --- a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/SyncGroupCreateParameters.cs +++ b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/SyncGroupCreateParameters.cs @@ -29,12 +29,12 @@ public SyncGroupCreateParameters() /// /// Initializes a new instance of the SyncGroupCreateParameters class. /// - /// Fully qualified resource Id for the resource. Ex - + /// Fully qualified resource ID for the resource. Ex - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// The name of the resource - /// The type of the resource. Ex- - /// Microsoft.Compute/virtualMachines or - /// Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. + /// "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" /// The parameters used to create the sync /// group public SyncGroupCreateParameters(string id = default(string), string name = default(string), string type = default(string), object properties = default(object)) diff --git a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/TrackedResource.cs b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/TrackedResource.cs index 4f9d10b279a8a..51c8fd40ec0cc 100644 --- a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/TrackedResource.cs +++ b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/TrackedResource.cs @@ -17,8 +17,12 @@ namespace Microsoft.Azure.Management.StorageSync.Models using System.Linq; /// - /// The resource model definition for a ARM tracked top level resource + /// Tracked Resource /// + /// + /// The resource model definition for an Azure Resource Manager tracked top + /// level resource which has 'tags' and a 'location' + /// public partial class TrackedResource : Resource { /// @@ -34,12 +38,12 @@ public TrackedResource() /// /// The geo-location where the resource /// lives - /// Fully qualified resource Id for the resource. Ex - + /// Fully qualified resource ID for the resource. Ex - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// The name of the resource - /// The type of the resource. Ex- - /// Microsoft.Compute/virtualMachines or - /// Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. + /// "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" /// Resource tags. public TrackedResource(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary)) : base(id, name, type) diff --git a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/Workflow.cs b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/Workflow.cs index d624bec31cfe2..af9c3cbd77a36 100644 --- a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/Workflow.cs +++ b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/Models/Workflow.cs @@ -32,12 +32,12 @@ public Workflow() /// /// Initializes a new instance of the Workflow class. /// - /// Fully qualified resource Id for the resource. Ex - + /// Fully qualified resource ID for the resource. Ex - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// The name of the resource - /// The type of the resource. Ex- - /// Microsoft.Compute/virtualMachines or - /// Microsoft.Storage/storageAccounts. + /// The type of the resource. E.g. + /// "Microsoft.Compute/virtualMachines" or + /// "Microsoft.Storage/storageAccounts" /// last step name /// workflow status. Possible values include: /// 'active', 'expired', 'succeeded', 'aborted', 'failed' @@ -46,7 +46,11 @@ public Workflow() /// workflow steps /// workflow last operation /// identifier. - public Workflow(string id = default(string), string name = default(string), string type = default(string), string lastStepName = default(string), string status = default(string), string operation = default(string), string steps = default(string), string lastOperationId = default(string)) + /// workflow command name. + /// workflow created timestamp. + /// workflow last status + /// timestamp. + public Workflow(string id = default(string), string name = default(string), string type = default(string), string lastStepName = default(string), string status = default(string), string operation = default(string), string steps = default(string), string lastOperationId = default(string), string commandName = default(string), System.DateTime? createdTimestamp = default(System.DateTime?), System.DateTime? lastStatusTimestamp = default(System.DateTime?)) : base(id, name, type) { LastStepName = lastStepName; @@ -54,6 +58,9 @@ public Workflow() Operation = operation; Steps = steps; LastOperationId = lastOperationId; + CommandName = commandName; + CreatedTimestamp = createdTimestamp; + LastStatusTimestamp = lastStatusTimestamp; CustomInit(); } @@ -63,36 +70,54 @@ public Workflow() partial void CustomInit(); /// - /// Gets or sets last step name + /// Gets last step name /// [JsonProperty(PropertyName = "properties.lastStepName")] - public string LastStepName { get; set; } + public string LastStepName { get; private set; } /// - /// Gets or sets workflow status. Possible values include: 'active', - /// 'expired', 'succeeded', 'aborted', 'failed' + /// Gets workflow status. Possible values include: 'active', 'expired', + /// 'succeeded', 'aborted', 'failed' /// [JsonProperty(PropertyName = "properties.status")] - public string Status { get; set; } + public string Status { get; private set; } /// - /// Gets or sets operation direction. Possible values include: 'do', - /// 'undo', 'cancel' + /// Gets operation direction. Possible values include: 'do', 'undo', + /// 'cancel' /// [JsonProperty(PropertyName = "properties.operation")] - public string Operation { get; set; } + public string Operation { get; private set; } /// - /// Gets or sets workflow steps + /// Gets workflow steps /// [JsonProperty(PropertyName = "properties.steps")] - public string Steps { get; set; } + public string Steps { get; private set; } /// - /// Gets or sets workflow last operation identifier. + /// Gets workflow last operation identifier. /// [JsonProperty(PropertyName = "properties.lastOperationId")] - public string LastOperationId { get; set; } + public string LastOperationId { get; private set; } + + /// + /// Gets workflow command name. + /// + [JsonProperty(PropertyName = "properties.commandName")] + public string CommandName { get; private set; } + + /// + /// Gets workflow created timestamp. + /// + [JsonProperty(PropertyName = "properties.createdTimestamp")] + public System.DateTime? CreatedTimestamp { get; private set; } + + /// + /// Gets workflow last status timestamp. + /// + [JsonProperty(PropertyName = "properties.lastStatusTimestamp")] + public System.DateTime? LastStatusTimestamp { get; private set; } } } diff --git a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/SdkInfo_MicrosoftStorageSync.cs b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/SdkInfo_MicrosoftStorageSync.cs index c59e849fe53b4..977f652aef81a 100644 --- a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/SdkInfo_MicrosoftStorageSync.cs +++ b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/SdkInfo_MicrosoftStorageSync.cs @@ -19,29 +19,18 @@ public static IEnumerable> ApiInfo_MicrosoftStorag { return new Tuple[] { - new Tuple("StorageSync", "CloudEndpoints", "2020-03-01"), - new Tuple("StorageSync", "OperationStatus", "2020-03-01"), - new Tuple("StorageSync", "Operations", "2020-03-01"), - new Tuple("StorageSync", "PrivateEndpointConnections", "2020-03-01"), - new Tuple("StorageSync", "PrivateLinkResources", "2020-03-01"), - new Tuple("StorageSync", "RegisteredServers", "2020-03-01"), - new Tuple("StorageSync", "ServerEndpoints", "2020-03-01"), - new Tuple("StorageSync", "StorageSyncServices", "2020-03-01"), - new Tuple("StorageSync", "SyncGroups", "2020-03-01"), - new Tuple("StorageSync", "Workflows", "2020-03-01"), + new Tuple("StorageSync", "CloudEndpoints", "2020-09-01"), + new Tuple("StorageSync", "OperationStatus", "2020-09-01"), + new Tuple("StorageSync", "Operations", "2020-09-01"), + new Tuple("StorageSync", "PrivateEndpointConnections", "2020-09-01"), + new Tuple("StorageSync", "PrivateLinkResources", "2020-09-01"), + new Tuple("StorageSync", "RegisteredServers", "2020-09-01"), + new Tuple("StorageSync", "ServerEndpoints", "2020-09-01"), + new Tuple("StorageSync", "StorageSyncServices", "2020-09-01"), + new Tuple("StorageSync", "SyncGroups", "2020-09-01"), + new Tuple("StorageSync", "Workflows", "2020-09-01"), }.AsEnumerable(); } } - // BEGIN: Code Generation Metadata Section - public static readonly String AutoRestVersion = "v2"; - public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4413"; - public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/storagesync/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=C:\\Work\\ankushbindlish\\azure-sdk-for-net\\sdk"; - public static readonly String GithubForkName = "Azure"; - public static readonly String GithubBranchName = "master"; - public static readonly String GithubCommidId = "5e4f3618b867bda05421cd8250454374bde88680"; - public static readonly String CodeGenerationErrors = ""; - public static readonly String GithubRepoName = "azure-rest-api-specs"; - // END: Code Generation Metadata Section } } - diff --git a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/StorageSyncManagementClient.cs b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/StorageSyncManagementClient.cs index 5989ae25e4279..f68cbd0bc102f 100644 --- a/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/StorageSyncManagementClient.cs +++ b/sdk/storagesync/Microsoft.Azure.Management.StorageSync/src/Generated/StorageSyncManagementClient.cs @@ -376,7 +376,7 @@ private void Initialize() Workflows = new WorkflowsOperations(this); OperationStatus = new OperationStatusOperations(this); BaseUri = new System.Uri("https://management.azure.com"); - ApiVersion = "2020-03-01"; + ApiVersion = "2020-09-01"; AcceptLanguage = "en-US"; LongRunningOperationRetryTimeout = 30; GenerateClientRequestId = true;