diff --git a/eng/Packages.Data.props b/eng/Packages.Data.props index e09d471b2f91b..ffb2ba4221079 100644 --- a/eng/Packages.Data.props +++ b/eng/Packages.Data.props @@ -152,7 +152,7 @@ All should have PrivateAssets="All" set so they don't become package dependencies --> - + diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/api/Azure.ResourceManager.AppConfiguration.netstandard2.0.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/api/Azure.ResourceManager.AppConfiguration.netstandard2.0.cs index 908b2178efa08..29755593d074c 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/api/Azure.ResourceManager.AppConfiguration.netstandard2.0.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/api/Azure.ResourceManager.AppConfiguration.netstandard2.0.cs @@ -186,9 +186,9 @@ public AppConfigurationSku(string name) { } } public partial class CheckNameAvailabilityParameters { - public CheckNameAvailabilityParameters(string name, Azure.ResourceManager.AppConfiguration.Models.ConfigurationResourceType type) { } + public CheckNameAvailabilityParameters(string name, Azure.ResourceManager.AppConfiguration.Models.ConfigurationResourceType resourceType) { } public string Name { get { throw null; } } - public Azure.ResourceManager.AppConfiguration.Models.ConfigurationResourceType Type { get { throw null; } } + public Azure.ResourceManager.AppConfiguration.Models.ConfigurationResourceType ResourceType { get { throw null; } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ConfigurationResourceType : System.IEquatable diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/ConfigurationStoreData.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/ConfigurationStoreData.cs index 0833558c5594a..a9a382566ef27 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/ConfigurationStoreData.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/ConfigurationStoreData.cs @@ -34,7 +34,7 @@ public ConfigurationStoreData(AzureLocation location, AppConfigurationSku sku) : /// Initializes a new instance of ConfigurationStoreData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -46,7 +46,7 @@ public ConfigurationStoreData(AzureLocation location, AppConfigurationSku sku) : /// The encryption settings of the configuration store. /// The list of private endpoint connections that are set up for this resource. /// Control permission for data plane traffic coming from public networks while private endpoint is enabled. - internal ConfigurationStoreData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, ManagedServiceIdentity identity, AppConfigurationSku sku, ProvisioningState? provisioningState, DateTimeOffset? creationDate, string endpoint, Models.EncryptionProperties encryption, IReadOnlyList privateEndpointConnections, PublicNetworkAccess? publicNetworkAccess) : base(id, name, type, systemData, tags, location) + internal ConfigurationStoreData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ManagedServiceIdentity identity, AppConfigurationSku sku, ProvisioningState? provisioningState, DateTimeOffset? creationDate, string endpoint, Models.EncryptionProperties encryption, IReadOnlyList privateEndpointConnections, PublicNetworkAccess? publicNetworkAccess) : base(id, name, resourceType, systemData, tags, location) { Identity = identity; Sku = sku; diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/CheckNameAvailabilityParameters.Serialization.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/CheckNameAvailabilityParameters.Serialization.cs index 8594e9878a969..be4698b7a1351 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/CheckNameAvailabilityParameters.Serialization.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/CheckNameAvailabilityParameters.Serialization.cs @@ -18,7 +18,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("name"); writer.WriteStringValue(Name); writer.WritePropertyName("type"); - writer.WriteStringValue(Type.ToString()); + writer.WriteStringValue(ResourceType.ToString()); writer.WriteEndObject(); } } diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/CheckNameAvailabilityParameters.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/CheckNameAvailabilityParameters.cs index f8be33d659582..531f7eb0d9f4b 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/CheckNameAvailabilityParameters.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/CheckNameAvailabilityParameters.cs @@ -14,9 +14,9 @@ public partial class CheckNameAvailabilityParameters { /// Initializes a new instance of CheckNameAvailabilityParameters. /// The name to check for availability. - /// The resource type to check for name availability. + /// The resource type to check for name availability. /// is null. - public CheckNameAvailabilityParameters(string name, ConfigurationResourceType type) + public CheckNameAvailabilityParameters(string name, ConfigurationResourceType resourceType) { if (name == null) { @@ -24,12 +24,12 @@ public CheckNameAvailabilityParameters(string name, ConfigurationResourceType ty } Name = name; - Type = type; + ResourceType = resourceType; } /// The name to check for availability. public string Name { get; } /// The resource type to check for name availability. - public ConfigurationResourceType Type { get; } + public ConfigurationResourceType ResourceType { get; } } } diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/PrivateEndpointConnectionReference.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/PrivateEndpointConnectionReference.cs index 18e3e62df358e..94ab545157c8c 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/PrivateEndpointConnectionReference.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/Models/PrivateEndpointConnectionReference.cs @@ -22,12 +22,12 @@ internal PrivateEndpointConnectionReference() /// Initializes a new instance of PrivateEndpointConnectionReference. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The provisioning status of the private endpoint connection. /// The resource of private endpoint. /// A collection of information about the state of the connection between service consumer and provider. - internal PrivateEndpointConnectionReference(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, ProvisioningState? provisioningState, WritableSubResource privateEndpoint, PrivateLinkServiceConnectionState privateLinkServiceConnectionState) : base(id, name, type, systemData) + internal PrivateEndpointConnectionReference(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, ProvisioningState? provisioningState, WritableSubResource privateEndpoint, PrivateLinkServiceConnectionState privateLinkServiceConnectionState) : base(id, name, resourceType, systemData) { ProvisioningState = provisioningState; PrivateEndpoint = privateEndpoint; diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/PrivateEndpointConnectionData.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/PrivateEndpointConnectionData.cs index 359060ca6e1f0..1b4caf55a585b 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/PrivateEndpointConnectionData.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/PrivateEndpointConnectionData.cs @@ -23,12 +23,12 @@ public PrivateEndpointConnectionData() /// Initializes a new instance of PrivateEndpointConnectionData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The provisioning status of the private endpoint connection. /// The resource of private endpoint. /// A collection of information about the state of the connection between service consumer and provider. - internal PrivateEndpointConnectionData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, ProvisioningState? provisioningState, WritableSubResource privateEndpoint, PrivateLinkServiceConnectionState privateLinkServiceConnectionState) : base(id, name, type, systemData) + internal PrivateEndpointConnectionData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, ProvisioningState? provisioningState, WritableSubResource privateEndpoint, PrivateLinkServiceConnectionState privateLinkServiceConnectionState) : base(id, name, resourceType, systemData) { ProvisioningState = provisioningState; PrivateEndpoint = privateEndpoint; diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/PrivateLinkResourceData.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/PrivateLinkResourceData.cs index b562b2aa8a324..a587c998465ed 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/PrivateLinkResourceData.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/src/Generated/PrivateLinkResourceData.cs @@ -24,12 +24,12 @@ internal PrivateLinkResourceData() /// Initializes a new instance of PrivateLinkResourceData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The private link resource group id. /// The private link resource required member names. /// The list of required DNS zone names of the private link resource. - internal PrivateLinkResourceData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string groupId, IReadOnlyList requiredMembers, IReadOnlyList requiredZoneNames) : base(id, name, type, systemData) + internal PrivateLinkResourceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string groupId, IReadOnlyList requiredMembers, IReadOnlyList requiredZoneNames) : base(id, name, resourceType, systemData) { GroupId = groupId; RequiredMembers = requiredMembers; diff --git a/sdk/azurestackhci/Azure.ResourceManager.StackHCI/src/Generated/ArcExtensionData.cs b/sdk/azurestackhci/Azure.ResourceManager.StackHCI/src/Generated/ArcExtensionData.cs index b8f7cfa9bdbe8..8be84f582e096 100644 --- a/sdk/azurestackhci/Azure.ResourceManager.StackHCI/src/Generated/ArcExtensionData.cs +++ b/sdk/azurestackhci/Azure.ResourceManager.StackHCI/src/Generated/ArcExtensionData.cs @@ -25,7 +25,7 @@ public ArcExtensionData() /// Initializes a new instance of ArcExtensionData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Provisioning state of the Extension proxy resource. /// Aggregate state of Arc Extensions across the nodes in this HCI cluster. @@ -43,7 +43,7 @@ public ArcExtensionData() /// The identity that last modified the resource. /// The type of identity that last modified the resource. /// The timestamp of resource last modification (UTC). - internal ArcExtensionData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, ProvisioningState? provisioningState, ExtensionAggregateState? aggregateState, IReadOnlyList perNodeExtensionDetails, string forceUpdateTag, string publisher, string typePropertiesExtensionParametersType, string typeHandlerVersion, bool? autoUpgradeMinorVersion, object settings, object protectedSettings, string createdBy, Models.CreatedByType? createdByType, DateTimeOffset? createdAt, string lastModifiedBy, Models.CreatedByType? lastModifiedByType, DateTimeOffset? lastModifiedAt) : base(id, name, type, systemData) + internal ArcExtensionData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, ProvisioningState? provisioningState, ExtensionAggregateState? aggregateState, IReadOnlyList perNodeExtensionDetails, string forceUpdateTag, string publisher, string typePropertiesExtensionParametersType, string typeHandlerVersion, bool? autoUpgradeMinorVersion, object settings, object protectedSettings, string createdBy, Models.CreatedByType? createdByType, DateTimeOffset? createdAt, string lastModifiedBy, Models.CreatedByType? lastModifiedByType, DateTimeOffset? lastModifiedAt) : base(id, name, resourceType, systemData) { ProvisioningState = provisioningState; AggregateState = aggregateState; diff --git a/sdk/azurestackhci/Azure.ResourceManager.StackHCI/src/Generated/ArcSettingData.cs b/sdk/azurestackhci/Azure.ResourceManager.StackHCI/src/Generated/ArcSettingData.cs index 63022a5a1887b..44ec519874ae9 100644 --- a/sdk/azurestackhci/Azure.ResourceManager.StackHCI/src/Generated/ArcSettingData.cs +++ b/sdk/azurestackhci/Azure.ResourceManager.StackHCI/src/Generated/ArcSettingData.cs @@ -25,7 +25,7 @@ public ArcSettingData() /// Initializes a new instance of ArcSettingData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Provisioning state of the ArcSetting proxy resource. /// The resource group that hosts the Arc agents, ie. Hybrid Compute Machine resources. @@ -37,7 +37,7 @@ public ArcSettingData() /// The identity that last modified the resource. /// The type of identity that last modified the resource. /// The timestamp of resource last modification (UTC). - internal ArcSettingData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, ProvisioningState? provisioningState, string arcInstanceResourceGroup, ArcSettingAggregateState? aggregateState, IReadOnlyList perNodeDetails, string createdBy, Models.CreatedByType? createdByType, DateTimeOffset? createdAt, string lastModifiedBy, Models.CreatedByType? lastModifiedByType, DateTimeOffset? lastModifiedAt) : base(id, name, type, systemData) + internal ArcSettingData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, ProvisioningState? provisioningState, string arcInstanceResourceGroup, ArcSettingAggregateState? aggregateState, IReadOnlyList perNodeDetails, string createdBy, Models.CreatedByType? createdByType, DateTimeOffset? createdAt, string lastModifiedBy, Models.CreatedByType? lastModifiedByType, DateTimeOffset? lastModifiedAt) : base(id, name, resourceType, systemData) { ProvisioningState = provisioningState; ArcInstanceResourceGroup = arcInstanceResourceGroup; diff --git a/sdk/azurestackhci/Azure.ResourceManager.StackHCI/src/Generated/HciClusterData.cs b/sdk/azurestackhci/Azure.ResourceManager.StackHCI/src/Generated/HciClusterData.cs index 19595baab4228..d04472aed481f 100644 --- a/sdk/azurestackhci/Azure.ResourceManager.StackHCI/src/Generated/HciClusterData.cs +++ b/sdk/azurestackhci/Azure.ResourceManager.StackHCI/src/Generated/HciClusterData.cs @@ -25,7 +25,7 @@ public HciClusterData(AzureLocation location) : base(location) /// Initializes a new instance of HciClusterData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -48,7 +48,7 @@ public HciClusterData(AzureLocation location) : base(location) /// The identity that last modified the resource. /// The type of identity that last modified the resource. /// The timestamp of resource last modification (UTC). - internal HciClusterData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, ProvisioningState? provisioningState, HciClusterStatus? status, string cloudId, string cloudManagementEndpoint, string aadClientId, string aadTenantId, ClusterDesiredProperties desiredProperties, ClusterReportedProperties reportedProperties, float? trialDaysRemaining, string billingModel, DateTimeOffset? registrationTimestamp, DateTimeOffset? lastSyncTimestamp, DateTimeOffset? lastBillingTimestamp, string createdBy, Models.CreatedByType? createdByType, DateTimeOffset? createdAt, string lastModifiedBy, Models.CreatedByType? lastModifiedByType, DateTimeOffset? lastModifiedAt) : base(id, name, type, systemData, tags, location) + internal HciClusterData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ProvisioningState? provisioningState, HciClusterStatus? status, string cloudId, string cloudManagementEndpoint, string aadClientId, string aadTenantId, ClusterDesiredProperties desiredProperties, ClusterReportedProperties reportedProperties, float? trialDaysRemaining, string billingModel, DateTimeOffset? registrationTimestamp, DateTimeOffset? lastSyncTimestamp, DateTimeOffset? lastBillingTimestamp, string createdBy, Models.CreatedByType? createdByType, DateTimeOffset? createdAt, string lastModifiedBy, Models.CreatedByType? lastModifiedByType, DateTimeOffset? lastModifiedAt) : base(id, name, resourceType, systemData, tags, location) { ProvisioningState = provisioningState; Status = status; diff --git a/sdk/azurestackhci/Azure.ResourceManager.StackHCI/src/Generated/Models/ErrorResponse.Serialization.cs b/sdk/azurestackhci/Azure.ResourceManager.StackHCI/src/Generated/Models/ErrorResponse.Serialization.cs new file mode 100644 index 0000000000000..68a41ceae802b --- /dev/null +++ b/sdk/azurestackhci/Azure.ResourceManager.StackHCI/src/Generated/Models/ErrorResponse.Serialization.cs @@ -0,0 +1,35 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Text.Json; +using Azure.Core; +using Azure.ResourceManager.Models; + +namespace Azure.ResourceManager.StackHCI.Models +{ + internal partial class ErrorResponse + { + internal static ErrorResponse DeserializeErrorResponse(JsonElement element) + { + Optional error = default; + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("error")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + error = JsonSerializer.Deserialize(property.Value.ToString()); + continue; + } + } + return new ErrorResponse(error); + } + } +} diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Common/Generated/Models/ErrorResponse.cs b/sdk/azurestackhci/Azure.ResourceManager.StackHCI/src/Generated/Models/ErrorResponse.cs similarity index 71% rename from sdk/resourcemanager/Azure.ResourceManager/src/Common/Generated/Models/ErrorResponse.cs rename to sdk/azurestackhci/Azure.ResourceManager.StackHCI/src/Generated/Models/ErrorResponse.cs index 7d8c6ce478438..af5410b926f5a 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Common/Generated/Models/ErrorResponse.cs +++ b/sdk/azurestackhci/Azure.ResourceManager.StackHCI/src/Generated/Models/ErrorResponse.cs @@ -5,29 +5,26 @@ #nullable disable -using Azure.ResourceManager.Core; +using Azure.ResourceManager.Models; -namespace Azure.ResourceManager.Models +namespace Azure.ResourceManager.StackHCI.Models { /// Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). - [PropertyReferenceType] - public partial class ErrorResponse + internal partial class ErrorResponse { /// Initializes a new instance of ErrorResponse. - [InitializationConstructor] - public ErrorResponse() + internal ErrorResponse() { } /// Initializes a new instance of ErrorResponse. /// The error object. - [SerializationConstructor] internal ErrorResponse(ErrorDetail error) { Error = error; } /// The error object. - public ErrorDetail Error { get; set; } + public ErrorDetail Error { get; } } } diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/api/Azure.ResourceManager.Cdn.netstandard2.0.cs b/sdk/cdn/Azure.ResourceManager.Cdn/api/Azure.ResourceManager.Cdn.netstandard2.0.cs index 3bd57682e22eb..ec2319053a6f9 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/api/Azure.ResourceManager.Cdn.netstandard2.0.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/api/Azure.ResourceManager.Cdn.netstandard2.0.cs @@ -1030,7 +1030,7 @@ public partial class CheckNameAvailabilityInput { public CheckNameAvailabilityInput(string name) { } public string Name { get { throw null; } } - public string Type { get { throw null; } } + public string ResourceType { get { throw null; } } } public partial class CheckNameAvailabilityOutput { diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdCustomDomainData.cs b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdCustomDomainData.cs index fea7ca38b7850..ac8c01b7c3764 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdCustomDomainData.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdCustomDomainData.cs @@ -23,7 +23,7 @@ public AfdCustomDomainData() /// Initializes a new instance of AfdCustomDomainData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The configuration specifying how to enable HTTPS for the domain - using AzureFrontDoor managed certificate or user's own certificate. If not specified, enabling ssl uses AzureFrontDoor managed certificate by default. /// Resource reference to the Azure DNS zone. @@ -32,7 +32,7 @@ public AfdCustomDomainData() /// Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step. DCV stands for DomainControlValidation. /// The host name of the domain. Must be a domain name. /// Values the customer needs to validate domain ownership. - internal AfdCustomDomainData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, AfdCustomDomainHttpsParameters tlsSettings, WritableSubResource azureDnsZone, AfdProvisioningState? provisioningState, DeploymentStatus? deploymentStatus, DomainValidationState? domainValidationState, string hostName, DomainValidationProperties validationProperties) : base(id, name, type, systemData) + internal AfdCustomDomainData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, AfdCustomDomainHttpsParameters tlsSettings, WritableSubResource azureDnsZone, AfdProvisioningState? provisioningState, DeploymentStatus? deploymentStatus, DomainValidationState? domainValidationState, string hostName, DomainValidationProperties validationProperties) : base(id, name, resourceType, systemData) { TlsSettings = tlsSettings; AzureDnsZone = azureDnsZone; diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdEndpointData.cs b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdEndpointData.cs index 27af353c2d9fd..7a653404103de 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdEndpointData.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdEndpointData.cs @@ -24,7 +24,7 @@ public AfdEndpointData(AzureLocation location) : base(location) /// Initializes a new instance of AfdEndpointData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -33,7 +33,7 @@ public AfdEndpointData(AzureLocation location) : base(location) /// Provisioning status. /// /// The host name of the endpoint structured as {endpointName}.{DNSZone}, e.g. contoso.azureedge.net. - internal AfdEndpointData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, int? originResponseTimeoutSeconds, EnabledState? enabledState, AfdProvisioningState? provisioningState, DeploymentStatus? deploymentStatus, string hostName) : base(id, name, type, systemData, tags, location) + internal AfdEndpointData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, int? originResponseTimeoutSeconds, EnabledState? enabledState, AfdProvisioningState? provisioningState, DeploymentStatus? deploymentStatus, string hostName) : base(id, name, resourceType, systemData, tags, location) { OriginResponseTimeoutSeconds = originResponseTimeoutSeconds; EnabledState = enabledState; diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdOriginData.cs b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdOriginData.cs index fb41857e7dc7d..8613b80740acf 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdOriginData.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdOriginData.cs @@ -23,7 +23,7 @@ public AfdOriginData() /// Initializes a new instance of AfdOriginData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Resource reference to the Azure origin resource. /// The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint. @@ -36,7 +36,7 @@ public AfdOriginData() /// Whether to enable health probes to be made against backends defined under backendPools. Health probes can only be disabled if there is a single enabled backend in single enabled backend pool. /// Provisioning status. /// - internal AfdOriginData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, WritableSubResource azureOrigin, string hostName, int? httpPort, int? httpsPort, string originHostHeader, int? priority, int? weight, object sharedPrivateLinkResource, EnabledState? enabledState, AfdProvisioningState? provisioningState, DeploymentStatus? deploymentStatus) : base(id, name, type, systemData) + internal AfdOriginData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, WritableSubResource azureOrigin, string hostName, int? httpPort, int? httpsPort, string originHostHeader, int? priority, int? weight, object sharedPrivateLinkResource, EnabledState? enabledState, AfdProvisioningState? provisioningState, DeploymentStatus? deploymentStatus) : base(id, name, resourceType, systemData) { AzureOrigin = azureOrigin; HostName = hostName; diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdOriginGroupData.cs b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdOriginGroupData.cs index 1ccf1f336ad21..9cb2065020571 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdOriginGroupData.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdOriginGroupData.cs @@ -22,7 +22,7 @@ public AfdOriginGroupData() /// Initializes a new instance of AfdOriginGroupData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Load balancing settings for a backend pool. /// Health probe settings to the origin that is used to determine the health of the origin. @@ -31,7 +31,7 @@ public AfdOriginGroupData() /// Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled'. /// Provisioning status. /// - internal AfdOriginGroupData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, LoadBalancingSettingsParameters loadBalancingSettings, HealthProbeParameters healthProbeSettings, int? trafficRestorationTimeToHealedOrNewEndpointsInMinutes, ResponseBasedOriginErrorDetectionParameters responseBasedAfdOriginErrorDetectionSettings, EnabledState? sessionAffinityState, AfdProvisioningState? provisioningState, DeploymentStatus? deploymentStatus) : base(id, name, type, systemData) + internal AfdOriginGroupData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, LoadBalancingSettingsParameters loadBalancingSettings, HealthProbeParameters healthProbeSettings, int? trafficRestorationTimeToHealedOrNewEndpointsInMinutes, ResponseBasedOriginErrorDetectionParameters responseBasedAfdOriginErrorDetectionSettings, EnabledState? sessionAffinityState, AfdProvisioningState? provisioningState, DeploymentStatus? deploymentStatus) : base(id, name, resourceType, systemData) { LoadBalancingSettings = loadBalancingSettings; HealthProbeSettings = healthProbeSettings; diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdRouteData.cs b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdRouteData.cs index 7cca3f9859226..75a42bad673c3 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdRouteData.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdRouteData.cs @@ -28,7 +28,7 @@ public AfdRouteData() /// Initializes a new instance of AfdRouteData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Domains referenced by this endpoint. /// A reference to the origin group. @@ -44,7 +44,7 @@ public AfdRouteData() /// Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'. /// Provisioning status. /// - internal AfdRouteData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IList customDomains, WritableSubResource originGroup, string originPath, IList ruleSets, IList supportedProtocols, IList patternsToMatch, object compressionSettings, AfdQueryStringCachingBehavior? queryStringCachingBehavior, ForwardingProtocol? forwardingProtocol, LinkToDefaultDomain? linkToDefaultDomain, HttpsRedirect? httpsRedirect, EnabledState? enabledState, AfdProvisioningState? provisioningState, DeploymentStatus? deploymentStatus) : base(id, name, type, systemData) + internal AfdRouteData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IList customDomains, WritableSubResource originGroup, string originPath, IList ruleSets, IList supportedProtocols, IList patternsToMatch, object compressionSettings, AfdQueryStringCachingBehavior? queryStringCachingBehavior, ForwardingProtocol? forwardingProtocol, LinkToDefaultDomain? linkToDefaultDomain, HttpsRedirect? httpsRedirect, EnabledState? enabledState, AfdProvisioningState? provisioningState, DeploymentStatus? deploymentStatus) : base(id, name, resourceType, systemData) { CustomDomains = customDomains; OriginGroup = originGroup; diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdRuleData.cs b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdRuleData.cs index dc4e9554dc61c..2968d70c02b68 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdRuleData.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdRuleData.cs @@ -25,7 +25,7 @@ public AfdRuleData() /// Initializes a new instance of AfdRuleData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The order in which the rules are applied for the endpoint. Possible values {0,1,2,3,………}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied. /// A list of conditions that must be matched for the actions to be executed. @@ -33,7 +33,7 @@ public AfdRuleData() /// If this rule is a match should the rules engine continue running the remaining rules or stop. If not present, defaults to Continue. /// Provisioning status. /// - internal AfdRuleData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, int? order, IList conditions, IList actions, MatchProcessingBehavior? matchProcessingBehavior, AfdProvisioningState? provisioningState, DeploymentStatus? deploymentStatus) : base(id, name, type, systemData) + internal AfdRuleData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, int? order, IList conditions, IList actions, MatchProcessingBehavior? matchProcessingBehavior, AfdProvisioningState? provisioningState, DeploymentStatus? deploymentStatus) : base(id, name, resourceType, systemData) { Order = order; Conditions = conditions; diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdRuleSetData.cs b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdRuleSetData.cs index 950ceffe67b17..59ab444ab49e7 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdRuleSetData.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdRuleSetData.cs @@ -22,11 +22,11 @@ public AfdRuleSetData() /// Initializes a new instance of AfdRuleSetData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Provisioning status. /// - internal AfdRuleSetData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, AfdProvisioningState? provisioningState, DeploymentStatus? deploymentStatus) : base(id, name, type, systemData) + internal AfdRuleSetData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, AfdProvisioningState? provisioningState, DeploymentStatus? deploymentStatus) : base(id, name, resourceType, systemData) { ProvisioningState = provisioningState; DeploymentStatus = deploymentStatus; diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdSecretData.cs b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdSecretData.cs index 66f6b28b182e4..1f8f950d0b517 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdSecretData.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdSecretData.cs @@ -22,12 +22,12 @@ public AfdSecretData() /// Initializes a new instance of AfdSecretData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Provisioning status. /// /// object which contains secret parameters. - internal AfdSecretData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, AfdProvisioningState? provisioningState, DeploymentStatus? deploymentStatus, SecretParameters parameters) : base(id, name, type, systemData) + internal AfdSecretData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, AfdProvisioningState? provisioningState, DeploymentStatus? deploymentStatus, SecretParameters parameters) : base(id, name, resourceType, systemData) { ProvisioningState = provisioningState; DeploymentStatus = deploymentStatus; @@ -41,14 +41,14 @@ internal AfdSecretData(ResourceIdentifier id, string name, ResourceType type, Sy /// object which contains secret parameters. internal SecretParameters Parameters { get; set; } /// The type of the Secret to create. - internal SecretType ParametersType + internal SecretType ParametersSecretType { - get => Parameters is null ? default : Parameters.Type; + get => Parameters is null ? default : Parameters.SecretType; set { if (Parameters is null) Parameters = new SecretParameters(); - Parameters.Type = value; + Parameters.SecretType = value; } } } diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdSecurityPolicyData.cs b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdSecurityPolicyData.cs index 6b12ba5a81d2f..fe13580fad461 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdSecurityPolicyData.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/AfdSecurityPolicyData.cs @@ -22,12 +22,12 @@ public AfdSecurityPolicyData() /// Initializes a new instance of AfdSecurityPolicyData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Provisioning status. /// /// object which contains security policy parameters. - internal AfdSecurityPolicyData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, AfdProvisioningState? provisioningState, DeploymentStatus? deploymentStatus, SecurityPolicyParameters parameters) : base(id, name, type, systemData) + internal AfdSecurityPolicyData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, AfdProvisioningState? provisioningState, DeploymentStatus? deploymentStatus, SecurityPolicyParameters parameters) : base(id, name, resourceType, systemData) { ProvisioningState = provisioningState; DeploymentStatus = deploymentStatus; @@ -41,14 +41,14 @@ internal AfdSecurityPolicyData(ResourceIdentifier id, string name, ResourceType /// object which contains security policy parameters. internal SecurityPolicyParameters Parameters { get; set; } /// The type of the Security policy to create. - internal SecurityPolicyType ParametersType + internal SecurityPolicyType ParametersSecurityPolicyType { - get => Parameters is null ? default : Parameters.Type; + get => Parameters is null ? default : Parameters.SecurityPolicyType; set { if (Parameters is null) Parameters = new SecurityPolicyParameters(); - Parameters.Type = value; + Parameters.SecurityPolicyType = value; } } } diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/CdnCustomDomainData.cs b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/CdnCustomDomainData.cs index 6b1f5b1620efc..cee65063d7546 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/CdnCustomDomainData.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/CdnCustomDomainData.cs @@ -22,7 +22,7 @@ public CdnCustomDomainData() /// Initializes a new instance of CdnCustomDomainData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The host name of the custom domain. Must be a domain name. /// Resource status of the custom domain. @@ -30,7 +30,7 @@ public CdnCustomDomainData() /// Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step. /// Special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China. /// Provisioning status of the custom domain. - internal CdnCustomDomainData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string hostName, CustomDomainResourceState? resourceState, CustomHttpsProvisioningState? customHttpsProvisioningState, CustomHttpsProvisioningSubstate? customHttpsProvisioningSubstate, string validationData, string provisioningState) : base(id, name, type, systemData) + internal CdnCustomDomainData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string hostName, CustomDomainResourceState? resourceState, CustomHttpsProvisioningState? customHttpsProvisioningState, CustomHttpsProvisioningSubstate? customHttpsProvisioningSubstate, string validationData, string provisioningState) : base(id, name, resourceType, systemData) { HostName = hostName; ResourceState = resourceState; diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/CdnEndpointData.cs b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/CdnEndpointData.cs index ca70daad84e59..99a177ed592f3 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/CdnEndpointData.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/CdnEndpointData.cs @@ -29,7 +29,7 @@ public CdnEndpointData(AzureLocation location) : base(location) /// Initializes a new instance of CdnEndpointData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -52,7 +52,7 @@ public CdnEndpointData(AzureLocation location) : base(location) /// The origin groups comprising of origins that are used for load balancing the traffic based on availability. /// Resource status of the endpoint. /// Provisioning status of the endpoint. - internal CdnEndpointData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, string originPath, IList contentTypesToCompress, string originHostHeader, bool? isCompressionEnabled, bool? isHttpAllowed, bool? isHttpsAllowed, QueryStringCachingBehavior? queryStringCachingBehavior, OptimizationType? optimizationType, string probePath, IList geoFilters, EndpointPropertiesUpdateParametersDefaultOriginGroup defaultOriginGroup, IList urlSigningKeys, EndpointPropertiesUpdateParametersDeliveryPolicy deliveryPolicy, EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink webApplicationFirewallPolicyLink, string hostName, IList origins, IList originGroups, EndpointResourceState? resourceState, string provisioningState) : base(id, name, type, systemData, tags, location) + internal CdnEndpointData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string originPath, IList contentTypesToCompress, string originHostHeader, bool? isCompressionEnabled, bool? isHttpAllowed, bool? isHttpsAllowed, QueryStringCachingBehavior? queryStringCachingBehavior, OptimizationType? optimizationType, string probePath, IList geoFilters, EndpointPropertiesUpdateParametersDefaultOriginGroup defaultOriginGroup, IList urlSigningKeys, EndpointPropertiesUpdateParametersDeliveryPolicy deliveryPolicy, EndpointPropertiesUpdateParametersWebApplicationFirewallPolicyLink webApplicationFirewallPolicyLink, string hostName, IList origins, IList originGroups, EndpointResourceState? resourceState, string provisioningState) : base(id, name, resourceType, systemData, tags, location) { OriginPath = originPath; ContentTypesToCompress = contentTypesToCompress; diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/CdnOriginData.cs b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/CdnOriginData.cs index e018f5cf43605..3f9e9a1f5aa83 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/CdnOriginData.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/CdnOriginData.cs @@ -22,7 +22,7 @@ public CdnOriginData() /// Initializes a new instance of CdnOriginData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The address of the origin. Domain names, IPv4 addresses, and IPv6 addresses are supported.This should be unique across all origins in an endpoint. /// The value of the HTTP port. Must be between 1 and 65535. @@ -38,7 +38,7 @@ public CdnOriginData() /// Resource status of the origin. /// Provisioning status of the origin. /// The approval status for the connection to the Private Link. - internal CdnOriginData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string hostName, int? httpPort, int? httpsPort, string originHostHeader, int? priority, int? weight, bool? enabled, string privateLinkAlias, string privateLinkResourceId, string privateLinkLocation, string privateLinkApprovalMessage, OriginResourceState? resourceState, string provisioningState, PrivateEndpointStatus? privateEndpointStatus) : base(id, name, type, systemData) + internal CdnOriginData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string hostName, int? httpPort, int? httpsPort, string originHostHeader, int? priority, int? weight, bool? enabled, string privateLinkAlias, string privateLinkResourceId, string privateLinkLocation, string privateLinkApprovalMessage, OriginResourceState? resourceState, string provisioningState, PrivateEndpointStatus? privateEndpointStatus) : base(id, name, resourceType, systemData) { HostName = hostName; HttpPort = httpPort; diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/CdnOriginGroupData.cs b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/CdnOriginGroupData.cs index b680ecf5025f5..573000d2c70a0 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/CdnOriginGroupData.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/CdnOriginGroupData.cs @@ -25,7 +25,7 @@ public CdnOriginGroupData() /// Initializes a new instance of CdnOriginGroupData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Health probe settings to the origin that is used to determine the health of the origin. /// The source of the content being delivered via CDN within given origin group. @@ -33,7 +33,7 @@ public CdnOriginGroupData() /// The JSON object that contains the properties to determine origin health using real requests/responses. This property is currently not supported. /// Resource status of the origin group. /// Provisioning status of the origin group. - internal CdnOriginGroupData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, HealthProbeParameters healthProbeSettings, IList origins, int? trafficRestorationTimeToHealedOrNewEndpointsInMinutes, ResponseBasedOriginErrorDetectionParameters responseBasedOriginErrorDetectionSettings, OriginGroupResourceState? resourceState, string provisioningState) : base(id, name, type, systemData) + internal CdnOriginGroupData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, HealthProbeParameters healthProbeSettings, IList origins, int? trafficRestorationTimeToHealedOrNewEndpointsInMinutes, ResponseBasedOriginErrorDetectionParameters responseBasedOriginErrorDetectionSettings, OriginGroupResourceState? resourceState, string provisioningState) : base(id, name, resourceType, systemData) { HealthProbeSettings = healthProbeSettings; Origins = origins; diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/CdnWebApplicationFirewallPolicyData.cs b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/CdnWebApplicationFirewallPolicyData.cs index 0efd931302354..47797fb2504f9 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/CdnWebApplicationFirewallPolicyData.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/CdnWebApplicationFirewallPolicyData.cs @@ -35,7 +35,7 @@ public CdnWebApplicationFirewallPolicyData(AzureLocation location, CdnSku sku) : /// Initializes a new instance of CdnWebApplicationFirewallPolicyData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -48,7 +48,7 @@ public CdnWebApplicationFirewallPolicyData(AzureLocation location, CdnSku sku) : /// Describes Azure CDN endpoints associated with this Web Application Firewall policy. /// Provisioning state of the WebApplicationFirewallPolicy. /// Resource status of the policy. - internal CdnWebApplicationFirewallPolicyData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, string etag, CdnSku sku, PolicySettings policySettings, RateLimitRuleList rateLimitSettings, CustomRuleList customSettings, ManagedRuleSetList managedRules, IReadOnlyList endpointLinks, ProvisioningState? provisioningState, PolicyResourceState? resourceState) : base(id, name, type, systemData, tags, location) + internal CdnWebApplicationFirewallPolicyData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string etag, CdnSku sku, PolicySettings policySettings, RateLimitRuleList rateLimitSettings, CustomRuleList customSettings, ManagedRuleSetList managedRules, IReadOnlyList endpointLinks, ProvisioningState? provisioningState, PolicyResourceState? resourceState) : base(id, name, resourceType, systemData, tags, location) { Etag = etag; Sku = sku; diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/CheckNameAvailabilityInput.Serialization.cs b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/CheckNameAvailabilityInput.Serialization.cs index 11ef58fddae18..0703cc742a710 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/CheckNameAvailabilityInput.Serialization.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/CheckNameAvailabilityInput.Serialization.cs @@ -18,7 +18,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("name"); writer.WriteStringValue(Name); writer.WritePropertyName("type"); - writer.WriteStringValue(Type); + writer.WriteStringValue(ResourceType); writer.WriteEndObject(); } } diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/CheckNameAvailabilityInput.cs b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/CheckNameAvailabilityInput.cs index 04a11fb34131d..22e0b4ed58fcf 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/CheckNameAvailabilityInput.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/CheckNameAvailabilityInput.cs @@ -23,12 +23,12 @@ public CheckNameAvailabilityInput(string name) } Name = name; - Type = "Microsoft.Cdn/Profiles/Endpoints"; + ResourceType = "Microsoft.Cdn/Profiles/Endpoints"; } /// The resource name to validate. public string Name { get; } /// The type of the resource whose name is to be validated. - public string Type { get; } + public string ResourceType { get; } } } diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/CustomerCertificateParameters.Serialization.cs b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/CustomerCertificateParameters.Serialization.cs index 7c53db72f7e2b..d90455d0c8352 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/CustomerCertificateParameters.Serialization.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/CustomerCertificateParameters.Serialization.cs @@ -44,7 +44,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WriteEndArray(); } writer.WritePropertyName("type"); - writer.WriteStringValue(Type.ToString()); + writer.WriteStringValue(SecretType.ToString()); writer.WriteEndObject(); } diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/CustomerCertificateParameters.cs b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/CustomerCertificateParameters.cs index 36108e1886bc5..2dbfd8ff1a2d7 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/CustomerCertificateParameters.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/CustomerCertificateParameters.cs @@ -27,24 +27,24 @@ public CustomerCertificateParameters(WritableSubResource secretSource) SecretSource = secretSource; SubjectAlternativeNames = new ChangeTrackingList(); - Type = SecretType.CustomerCertificate; + SecretType = SecretType.CustomerCertificate; } /// Initializes a new instance of CustomerCertificateParameters. - /// The type of the Secret to create. + /// The type of the Secret to create. /// Resource reference to the KV secret. /// Version of the secret to be used. /// Certificate issuing authority. /// Whether to use the latest version for the certificate. /// The list of SANs. - internal CustomerCertificateParameters(SecretType type, WritableSubResource secretSource, string secretVersion, string certificateAuthority, bool? useLatestVersion, IList subjectAlternativeNames) : base(type) + internal CustomerCertificateParameters(SecretType secretType, WritableSubResource secretSource, string secretVersion, string certificateAuthority, bool? useLatestVersion, IList subjectAlternativeNames) : base(secretType) { SecretSource = secretSource; SecretVersion = secretVersion; CertificateAuthority = certificateAuthority; UseLatestVersion = useLatestVersion; SubjectAlternativeNames = subjectAlternativeNames; - Type = type; + SecretType = secretType; } /// Resource reference to the KV secret. diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/EdgeNode.cs b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/EdgeNode.cs index fcd36c52fad64..cb548ee980c94 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/EdgeNode.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/EdgeNode.cs @@ -23,10 +23,10 @@ public EdgeNode() /// Initializes a new instance of EdgeNode. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// List of ip address groups. - internal EdgeNode(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IList ipAddressGroups) : base(id, name, type, systemData) + internal EdgeNode(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IList ipAddressGroups) : base(id, name, resourceType, systemData) { IPAddressGroups = ipAddressGroups; } diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/ManagedCertificateParameters.Serialization.cs b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/ManagedCertificateParameters.Serialization.cs index 4b256b7aec116..f4cbc6048784d 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/ManagedCertificateParameters.Serialization.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/ManagedCertificateParameters.Serialization.cs @@ -16,7 +16,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); writer.WritePropertyName("type"); - writer.WriteStringValue(Type.ToString()); + writer.WriteStringValue(SecretType.ToString()); writer.WriteEndObject(); } diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/ManagedCertificateParameters.cs b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/ManagedCertificateParameters.cs index b502f47401085..888fc70dd65b4 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/ManagedCertificateParameters.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/ManagedCertificateParameters.cs @@ -13,14 +13,14 @@ internal partial class ManagedCertificateParameters : SecretParameters /// Initializes a new instance of ManagedCertificateParameters. public ManagedCertificateParameters() { - Type = SecretType.ManagedCertificate; + SecretType = SecretType.ManagedCertificate; } /// Initializes a new instance of ManagedCertificateParameters. - /// The type of the Secret to create. - internal ManagedCertificateParameters(SecretType type) : base(type) + /// The type of the Secret to create. + internal ManagedCertificateParameters(SecretType secretType) : base(secretType) { - Type = type; + SecretType = secretType; } } } diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/ManagedRuleSetDefinition.cs b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/ManagedRuleSetDefinition.cs index 82fa3e169443f..3b7d8f497f17c 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/ManagedRuleSetDefinition.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/ManagedRuleSetDefinition.cs @@ -23,14 +23,14 @@ public ManagedRuleSetDefinition() /// Initializes a new instance of ManagedRuleSetDefinition. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy. /// Provisioning state of the managed rule set. /// Type of the managed rule set. /// Version of the managed rule set type. /// Rule groups of the managed rule set. - internal ManagedRuleSetDefinition(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, CdnSku sku, string provisioningState, string ruleSetType, string ruleSetVersion, IReadOnlyList ruleGroups) : base(id, name, type, systemData) + internal ManagedRuleSetDefinition(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, CdnSku sku, string provisioningState, string ruleSetType, string ruleSetVersion, IReadOnlyList ruleGroups) : base(id, name, resourceType, systemData) { Sku = sku; ProvisioningState = provisioningState; diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecretParameters.Serialization.cs b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecretParameters.Serialization.cs index 2c404440ccf2b..dd5c358019c8e 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecretParameters.Serialization.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecretParameters.Serialization.cs @@ -16,7 +16,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); writer.WritePropertyName("type"); - writer.WriteStringValue(Type.ToString()); + writer.WriteStringValue(SecretType.ToString()); writer.WriteEndObject(); } diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecretParameters.cs b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecretParameters.cs index ec496c32cb7fb..4c88cb1234d2c 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecretParameters.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecretParameters.cs @@ -16,13 +16,13 @@ public SecretParameters() } /// Initializes a new instance of SecretParameters. - /// The type of the Secret to create. - internal SecretParameters(SecretType type) + /// The type of the Secret to create. + internal SecretParameters(SecretType secretType) { - Type = type; + SecretType = secretType; } /// The type of the Secret to create. - internal SecretType Type { get; set; } + internal SecretType SecretType { get; set; } } } diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecretProperties.cs b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecretProperties.cs index e69a335cd2959..aa806070e1c04 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecretProperties.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecretProperties.cs @@ -18,14 +18,14 @@ public SecretProperties() /// object which contains secret parameters. internal SecretParameters Parameters { get; set; } /// The type of the Secret to create. - internal SecretType ParametersType + internal SecretType ParametersSecretType { - get => Parameters is null ? default : Parameters.Type; + get => Parameters is null ? default : Parameters.SecretType; set { if (Parameters is null) Parameters = new SecretParameters(); - Parameters.Type = value; + Parameters.SecretType = value; } } } diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecurityPolicyParameters.Serialization.cs b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecurityPolicyParameters.Serialization.cs index 982e7e30056b6..a1283bb831ded 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecurityPolicyParameters.Serialization.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecurityPolicyParameters.Serialization.cs @@ -16,7 +16,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); writer.WritePropertyName("type"); - writer.WriteStringValue(Type.ToString()); + writer.WriteStringValue(SecurityPolicyType.ToString()); writer.WriteEndObject(); } diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecurityPolicyParameters.cs b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecurityPolicyParameters.cs index addb15f64aca6..4d14f515c8301 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecurityPolicyParameters.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecurityPolicyParameters.cs @@ -16,13 +16,13 @@ public SecurityPolicyParameters() } /// Initializes a new instance of SecurityPolicyParameters. - /// The type of the Security policy to create. - internal SecurityPolicyParameters(SecurityPolicyType type) + /// The type of the Security policy to create. + internal SecurityPolicyParameters(SecurityPolicyType securityPolicyType) { - Type = type; + SecurityPolicyType = securityPolicyType; } /// The type of the Security policy to create. - internal SecurityPolicyType Type { get; set; } + internal SecurityPolicyType SecurityPolicyType { get; set; } } } diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecurityPolicyWebApplicationFirewallParameters.Serialization.cs b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecurityPolicyWebApplicationFirewallParameters.Serialization.cs index 8ac31bc67f3ff..b0f7015fe62cc 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecurityPolicyWebApplicationFirewallParameters.Serialization.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecurityPolicyWebApplicationFirewallParameters.Serialization.cs @@ -33,7 +33,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WriteEndArray(); } writer.WritePropertyName("type"); - writer.WriteStringValue(Type.ToString()); + writer.WriteStringValue(SecurityPolicyType.ToString()); writer.WriteEndObject(); } diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecurityPolicyWebApplicationFirewallParameters.cs b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecurityPolicyWebApplicationFirewallParameters.cs index 0f42849511f45..6abf45f0a8134 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecurityPolicyWebApplicationFirewallParameters.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/SecurityPolicyWebApplicationFirewallParameters.cs @@ -18,18 +18,18 @@ public partial class SecurityPolicyWebApplicationFirewallParameters : SecurityPo public SecurityPolicyWebApplicationFirewallParameters() { Associations = new ChangeTrackingList(); - Type = SecurityPolicyType.WebApplicationFirewall; + SecurityPolicyType = SecurityPolicyType.WebApplicationFirewall; } /// Initializes a new instance of SecurityPolicyWebApplicationFirewallParameters. - /// The type of the Security policy to create. + /// The type of the Security policy to create. /// Resource ID. /// Waf associations. - internal SecurityPolicyWebApplicationFirewallParameters(SecurityPolicyType type, WritableSubResource wafPolicy, IList associations) : base(type) + internal SecurityPolicyWebApplicationFirewallParameters(SecurityPolicyType securityPolicyType, WritableSubResource wafPolicy, IList associations) : base(securityPolicyType) { WafPolicy = wafPolicy; Associations = associations; - Type = type; + SecurityPolicyType = securityPolicyType; } /// Resource ID. diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/UrlSigningKeyParameters.Serialization.cs b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/UrlSigningKeyParameters.Serialization.cs index a7a9a27fae4d1..5532df6b13dd7 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/UrlSigningKeyParameters.Serialization.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/UrlSigningKeyParameters.Serialization.cs @@ -25,7 +25,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WriteStringValue(SecretVersion); } writer.WritePropertyName("type"); - writer.WriteStringValue(Type.ToString()); + writer.WriteStringValue(SecretType.ToString()); writer.WriteEndObject(); } diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/UrlSigningKeyParameters.cs b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/UrlSigningKeyParameters.cs index d4be4bb35f4bc..9a41ba7e099f4 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/UrlSigningKeyParameters.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/Models/UrlSigningKeyParameters.cs @@ -31,20 +31,20 @@ public UrlSigningKeyParameters(string keyId, WritableSubResource secretSource) KeyId = keyId; SecretSource = secretSource; - Type = SecretType.UrlSigningKey; + SecretType = SecretType.UrlSigningKey; } /// Initializes a new instance of UrlSigningKeyParameters. - /// The type of the Secret to create. + /// The type of the Secret to create. /// Defines the customer defined key Id. This id will exist in the incoming request to indicate the key used to form the hash. /// Resource reference to the KV secret. /// Version of the secret to be used. - internal UrlSigningKeyParameters(SecretType type, string keyId, WritableSubResource secretSource, string secretVersion) : base(type) + internal UrlSigningKeyParameters(SecretType secretType, string keyId, WritableSubResource secretSource, string secretVersion) : base(secretType) { KeyId = keyId; SecretSource = secretSource; SecretVersion = secretVersion; - Type = type; + SecretType = secretType; } /// Defines the customer defined key Id. This id will exist in the incoming request to indicate the key used to form the hash. diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/ProfileData.cs b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/ProfileData.cs index 7a0bfa72a2020..33e609eb0dd3d 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/ProfileData.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/src/Generated/ProfileData.cs @@ -33,7 +33,7 @@ public ProfileData(AzureLocation location, CdnSku sku) : base(location) /// Initializes a new instance of ProfileData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -41,7 +41,7 @@ public ProfileData(AzureLocation location, CdnSku sku) : base(location) /// Resource status of the profile. /// Provisioning status of the profile. /// The Id of the frontdoor. - internal ProfileData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, CdnSku sku, ProfileResourceState? resourceState, string provisioningState, string frontdoorId) : base(id, name, type, systemData, tags, location) + internal ProfileData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, CdnSku sku, ProfileResourceState? resourceState, string provisioningState, string frontdoorId) : base(id, name, resourceType, systemData, tags, location) { Sku = sku; ResourceState = resourceState; diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/tests/Helper/ResourceDataHelper.cs b/sdk/cdn/Azure.ResourceManager.Cdn/tests/Helper/ResourceDataHelper.cs index 495fd72152663..5296451c44f69 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/tests/Helper/ResourceDataHelper.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/tests/Helper/ResourceDataHelper.cs @@ -154,7 +154,7 @@ public static void AssertValidProfile(Profile model, Profile getResult) { Assert.AreEqual(model.Data.Name, getResult.Data.Name); Assert.AreEqual(model.Data.Id, getResult.Data.Id); - Assert.AreEqual(model.Data.Type, getResult.Data.Type); + Assert.AreEqual(model.Data.ResourceType, getResult.Data.ResourceType); Assert.AreEqual(model.Data.Sku.Name, getResult.Data.Sku.Name); Assert.AreEqual(model.Data.ResourceState, getResult.Data.ResourceState); Assert.AreEqual(model.Data.ProvisioningState, getResult.Data.ProvisioningState); @@ -172,7 +172,7 @@ public static void AssertValidEndpoint(CdnEndpoint model, CdnEndpoint getResult) { Assert.AreEqual(model.Data.Name, getResult.Data.Name); Assert.AreEqual(model.Data.Id, getResult.Data.Id); - Assert.AreEqual(model.Data.Type, getResult.Data.Type); + Assert.AreEqual(model.Data.ResourceType, getResult.Data.ResourceType); Assert.AreEqual(model.Data.OriginPath, getResult.Data.OriginPath); Assert.AreEqual(model.Data.OriginHostHeader, getResult.Data.OriginHostHeader); Assert.AreEqual(model.Data.IsCompressionEnabled, getResult.Data.IsCompressionEnabled); @@ -198,7 +198,7 @@ public static void AssertValidAfdEndpoint(AfdEndpoint model, AfdEndpoint getResu { Assert.AreEqual(model.Data.Name, getResult.Data.Name); Assert.AreEqual(model.Data.Id, getResult.Data.Id); - Assert.AreEqual(model.Data.Type, getResult.Data.Type); + Assert.AreEqual(model.Data.ResourceType, getResult.Data.ResourceType); Assert.AreEqual(model.Data.OriginResponseTimeoutSeconds, getResult.Data.OriginResponseTimeoutSeconds); Assert.AreEqual(model.Data.EnabledState, getResult.Data.EnabledState); Assert.AreEqual(model.Data.ProvisioningState, getResult.Data.ProvisioningState); @@ -221,7 +221,7 @@ public static void AssertValidOrigin(CdnOrigin model, CdnOrigin getResult) { Assert.AreEqual(model.Data.Name, getResult.Data.Name); Assert.AreEqual(model.Data.Id, getResult.Data.Id); - Assert.AreEqual(model.Data.Type, getResult.Data.Type); + Assert.AreEqual(model.Data.ResourceType, getResult.Data.ResourceType); Assert.AreEqual(model.Data.HostName, getResult.Data.HostName); Assert.AreEqual(model.Data.HttpPort, getResult.Data.HttpPort); Assert.AreEqual(model.Data.HttpsPort, getResult.Data.HttpsPort); @@ -250,7 +250,7 @@ public static void AssertValidAfdOrigin(AfdOrigin model, AfdOrigin getResult) { Assert.AreEqual(model.Data.Name, getResult.Data.Name); Assert.AreEqual(model.Data.Id, getResult.Data.Id); - Assert.AreEqual(model.Data.Type, getResult.Data.Type); + Assert.AreEqual(model.Data.ResourceType, getResult.Data.ResourceType); if (model.Data.AzureOrigin != null || getResult.Data.AzureOrigin != null) { Assert.NotNull(model.Data.AzureOrigin); @@ -279,7 +279,7 @@ public static void AssertValidOriginGroup(CdnOriginGroup model, CdnOriginGroup g { Assert.AreEqual(model.Data.Name, getResult.Data.Name); Assert.AreEqual(model.Data.Id, getResult.Data.Id); - Assert.AreEqual(model.Data.Type, getResult.Data.Type); + Assert.AreEqual(model.Data.ResourceType, getResult.Data.ResourceType); if (model.Data.HealthProbeSettings != null || getResult.Data.HealthProbeSettings != null) { Assert.NotNull(model.Data.HealthProbeSettings); @@ -312,7 +312,7 @@ public static void AssertValidAfdOriginGroup(AfdOriginGroup model, AfdOriginGrou { Assert.AreEqual(model.Data.Name, getResult.Data.Name); Assert.AreEqual(model.Data.Id, getResult.Data.Id); - Assert.AreEqual(model.Data.Type, getResult.Data.Type); + Assert.AreEqual(model.Data.ResourceType, getResult.Data.ResourceType); if (model.Data.LoadBalancingSettings != null || getResult.Data.LoadBalancingSettings != null) { Assert.NotNull(model.Data.LoadBalancingSettings); @@ -348,7 +348,7 @@ public static void AssertValidCustomDomain(CdnCustomDomain model, CdnCustomDomai { Assert.AreEqual(model.Data.Name, getResult.Data.Name); Assert.AreEqual(model.Data.Id, getResult.Data.Id); - Assert.AreEqual(model.Data.Type, getResult.Data.Type); + Assert.AreEqual(model.Data.ResourceType, getResult.Data.ResourceType); Assert.AreEqual(model.Data.HostName, getResult.Data.HostName); Assert.AreEqual(model.Data.ResourceState, getResult.Data.ResourceState); Assert.AreEqual(model.Data.CustomHttpsProvisioningState, getResult.Data.CustomHttpsProvisioningState); @@ -361,7 +361,7 @@ public static void AssertValidAfdCustomDomain(AfdCustomDomain model, AfdCustomDo { Assert.AreEqual(model.Data.Name, getResult.Data.Name); Assert.AreEqual(model.Data.Id, getResult.Data.Id); - Assert.AreEqual(model.Data.Type, getResult.Data.Type); + Assert.AreEqual(model.Data.ResourceType, getResult.Data.ResourceType); Assert.AreEqual(model.Data.TlsSettings.CertificateType, getResult.Data.TlsSettings.CertificateType); Assert.AreEqual(model.Data.TlsSettings.MinimumTlsVersion, getResult.Data.TlsSettings.MinimumTlsVersion); if (model.Data.TlsSettings.Secret != null || getResult.Data.TlsSettings.Secret != null) @@ -399,7 +399,7 @@ public static void AssertValidAfdRuleSet(AfdRuleSet model, AfdRuleSet getResult) { Assert.AreEqual(model.Data.Name, getResult.Data.Name); Assert.AreEqual(model.Data.Id, getResult.Data.Id); - Assert.AreEqual(model.Data.Type, getResult.Data.Type); + Assert.AreEqual(model.Data.ResourceType, getResult.Data.ResourceType); Assert.AreEqual(model.Data.ProvisioningState, getResult.Data.ProvisioningState); Assert.AreEqual(model.Data.DeploymentStatus, getResult.Data.DeploymentStatus); } @@ -408,7 +408,7 @@ public static void AssertValidAfdRule(AfdRule model, AfdRule getResult) { Assert.AreEqual(model.Data.Name, getResult.Data.Name); Assert.AreEqual(model.Data.Id, getResult.Data.Id); - Assert.AreEqual(model.Data.Type, getResult.Data.Type); + Assert.AreEqual(model.Data.ResourceType, getResult.Data.ResourceType); Assert.AreEqual(model.Data.Order, getResult.Data.Order); Assert.AreEqual(model.Data.Conditions.Count, getResult.Data.Conditions.Count); for (int i = 0; i < model.Data.Conditions.Count; ++i) @@ -434,7 +434,7 @@ public static void AssertValidAfdRoute(AfdRoute model, AfdRoute getResult) { Assert.AreEqual(model.Data.Name, getResult.Data.Name); Assert.AreEqual(model.Data.Id, getResult.Data.Id); - Assert.AreEqual(model.Data.Type, getResult.Data.Type); + Assert.AreEqual(model.Data.ResourceType, getResult.Data.ResourceType); Assert.AreEqual(model.Data.CustomDomains.Count, getResult.Data.CustomDomains.Count); for (int i = 0; i < model.Data.CustomDomains.Count; ++i) { @@ -475,10 +475,10 @@ public static void AssertValidAfdSecurityPolicy(AfdSecurityPolicy model, AfdSecu { Assert.AreEqual(model.Data.Name, getResult.Data.Name); Assert.AreEqual(model.Data.Id, getResult.Data.Id); - Assert.AreEqual(model.Data.Type, getResult.Data.Type); + Assert.AreEqual(model.Data.ResourceType, getResult.Data.ResourceType); Assert.AreEqual(model.Data.ProvisioningState, getResult.Data.ProvisioningState); Assert.AreEqual(model.Data.DeploymentStatus, getResult.Data.DeploymentStatus); - Assert.AreEqual(model.Data.Parameters.Type, getResult.Data.Parameters.Type); + Assert.AreEqual(model.Data.Parameters.SecurityPolicyType, getResult.Data.Parameters.SecurityPolicyType); } public static void AssertAfdSecurityPolicyUpdate(AfdSecurityPolicy updatedSecurityPolicy, PatchableAfdSecurityPolicyData updateOptions) @@ -491,7 +491,7 @@ public static void AssertValidPolicy(CdnWebApplicationFirewallPolicy model, CdnW { Assert.AreEqual(model.Data.Name, getResult.Data.Name); Assert.AreEqual(model.Data.Id, getResult.Data.Id); - Assert.AreEqual(model.Data.Type, getResult.Data.Type); + Assert.AreEqual(model.Data.ResourceType, getResult.Data.ResourceType); Assert.AreEqual(model.Data.Etag, getResult.Data.Etag); Assert.AreEqual(model.Data.Sku.Name, getResult.Data.Sku.Name); Assert.AreEqual(model.Data.ProvisioningState, getResult.Data.ProvisioningState); @@ -510,10 +510,10 @@ public static void AssertValidAfdSecret(AfdSecret model, AfdSecret getResult) { Assert.AreEqual(model.Data.Name, getResult.Data.Name); Assert.AreEqual(model.Data.Id, getResult.Data.Id); - Assert.AreEqual(model.Data.Type, getResult.Data.Type); + Assert.AreEqual(model.Data.ResourceType, getResult.Data.ResourceType); Assert.AreEqual(model.Data.ProvisioningState, getResult.Data.ProvisioningState); Assert.AreEqual(model.Data.DeploymentStatus, getResult.Data.DeploymentStatus); - Assert.AreEqual(model.Data.Parameters.Type, getResult.Data.Parameters.Type); + Assert.AreEqual(model.Data.Parameters.SecretType, getResult.Data.Parameters.SecretType); Assert.AreEqual(((CustomerCertificateParameters)model.Data.Parameters).SecretVersion, ((CustomerCertificateParameters)getResult.Data.Parameters).SecretVersion); Assert.AreEqual(((CustomerCertificateParameters)model.Data.Parameters).CertificateAuthority, ((CustomerCertificateParameters)getResult.Data.Parameters).CertificateAuthority); Assert.AreEqual(((CustomerCertificateParameters)model.Data.Parameters).UseLatestVersion, ((CustomerCertificateParameters)getResult.Data.Parameters).UseLatestVersion); diff --git a/sdk/cdn/Azure.ResourceManager.Cdn/tests/Scenario/ManagedRuleSetOperationsTests.cs b/sdk/cdn/Azure.ResourceManager.Cdn/tests/Scenario/ManagedRuleSetOperationsTests.cs index 491afdfe30bdd..2b4263dd454c5 100644 --- a/sdk/cdn/Azure.ResourceManager.Cdn/tests/Scenario/ManagedRuleSetOperationsTests.cs +++ b/sdk/cdn/Azure.ResourceManager.Cdn/tests/Scenario/ManagedRuleSetOperationsTests.cs @@ -25,7 +25,7 @@ public async Task List() await foreach (var tempManagedRuleSetDefinition in subscription.GetManagedRuleSetsAsync()) { count++; - Assert.AreEqual(tempManagedRuleSetDefinition.Type, new ResourceType("Microsoft.Cdn/CdnWebApplicationFirewallManagedRuleSets")); + Assert.AreEqual(tempManagedRuleSetDefinition.ResourceType, new ResourceType("Microsoft.Cdn/CdnWebApplicationFirewallManagedRuleSets")); } Assert.AreEqual(count, 1); } diff --git a/sdk/communication/Azure.ResourceManager.Communication/api/Azure.ResourceManager.Communication.netstandard2.0.cs b/sdk/communication/Azure.ResourceManager.Communication/api/Azure.ResourceManager.Communication.netstandard2.0.cs index ccf38fd1fd30b..cf87c9af5c4e6 100644 --- a/sdk/communication/Azure.ResourceManager.Communication/api/Azure.ResourceManager.Communication.netstandard2.0.cs +++ b/sdk/communication/Azure.ResourceManager.Communication/api/Azure.ResourceManager.Communication.netstandard2.0.cs @@ -108,9 +108,9 @@ internal NameAvailability() { } } public partial class NameAvailabilityOptions { - public NameAvailabilityOptions(string type, string name) { } + public NameAvailabilityOptions(string resourceType, string name) { } public string Name { get { throw null; } } - public string Type { get { throw null; } } + public string ResourceType { get { throw null; } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ProvisioningState : System.IEquatable diff --git a/sdk/communication/Azure.ResourceManager.Communication/src/Generated/CommunicationServiceData.cs b/sdk/communication/Azure.ResourceManager.Communication/src/Generated/CommunicationServiceData.cs index d2f354ebdf1e4..9e6c047d8af63 100644 --- a/sdk/communication/Azure.ResourceManager.Communication/src/Generated/CommunicationServiceData.cs +++ b/sdk/communication/Azure.ResourceManager.Communication/src/Generated/CommunicationServiceData.cs @@ -24,7 +24,7 @@ public CommunicationServiceData() /// Initializes a new instance of CommunicationServiceData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Provisioning state of the resource. /// FQDN of the CommunicationService instance. @@ -34,7 +34,7 @@ public CommunicationServiceData() /// The immutable resource Id of the communication service. /// The Azure location where the CommunicationService is running. /// Tags of the service which is a list of key value pairs that describe the resource. - internal CommunicationServiceData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, ProvisioningState? provisioningState, string hostName, string dataLocation, string notificationHubId, string version, string immutableResourceId, string location, IDictionary tags) : base(id, name, type, systemData) + internal CommunicationServiceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, ProvisioningState? provisioningState, string hostName, string dataLocation, string notificationHubId, string version, string immutableResourceId, string location, IDictionary tags) : base(id, name, resourceType, systemData) { ProvisioningState = provisioningState; HostName = hostName; diff --git a/sdk/communication/Azure.ResourceManager.Communication/src/Generated/Models/ErrorResponse.Serialization.cs b/sdk/communication/Azure.ResourceManager.Communication/src/Generated/Models/ErrorResponse.Serialization.cs new file mode 100644 index 0000000000000..7195f1831fd58 --- /dev/null +++ b/sdk/communication/Azure.ResourceManager.Communication/src/Generated/Models/ErrorResponse.Serialization.cs @@ -0,0 +1,35 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Text.Json; +using Azure.Core; +using Azure.ResourceManager.Models; + +namespace Azure.ResourceManager.Communication.Models +{ + internal partial class ErrorResponse + { + internal static ErrorResponse DeserializeErrorResponse(JsonElement element) + { + Optional error = default; + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("error")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + error = JsonSerializer.Deserialize(property.Value.ToString()); + continue; + } + } + return new ErrorResponse(error); + } + } +} diff --git a/sdk/communication/Azure.ResourceManager.Communication/src/Generated/Models/ErrorResponse.cs b/sdk/communication/Azure.ResourceManager.Communication/src/Generated/Models/ErrorResponse.cs new file mode 100644 index 0000000000000..6a81138e46fc6 --- /dev/null +++ b/sdk/communication/Azure.ResourceManager.Communication/src/Generated/Models/ErrorResponse.cs @@ -0,0 +1,30 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using Azure.ResourceManager.Models; + +namespace Azure.ResourceManager.Communication.Models +{ + /// Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). + internal partial class ErrorResponse + { + /// Initializes a new instance of ErrorResponse. + internal ErrorResponse() + { + } + + /// Initializes a new instance of ErrorResponse. + /// The error object. + internal ErrorResponse(ErrorDetail error) + { + Error = error; + } + + /// The error object. + public ErrorDetail Error { get; } + } +} diff --git a/sdk/communication/Azure.ResourceManager.Communication/src/Generated/Models/NameAvailabilityOptions.Serialization.cs b/sdk/communication/Azure.ResourceManager.Communication/src/Generated/Models/NameAvailabilityOptions.Serialization.cs index c6cde0a28d2f4..f45e5d094a934 100644 --- a/sdk/communication/Azure.ResourceManager.Communication/src/Generated/Models/NameAvailabilityOptions.Serialization.cs +++ b/sdk/communication/Azure.ResourceManager.Communication/src/Generated/Models/NameAvailabilityOptions.Serialization.cs @@ -16,7 +16,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); writer.WritePropertyName("type"); - writer.WriteStringValue(Type); + writer.WriteStringValue(ResourceType); writer.WritePropertyName("name"); writer.WriteStringValue(Name); writer.WriteEndObject(); diff --git a/sdk/communication/Azure.ResourceManager.Communication/src/Generated/Models/NameAvailabilityOptions.cs b/sdk/communication/Azure.ResourceManager.Communication/src/Generated/Models/NameAvailabilityOptions.cs index 0a2d4bb4dc80b..ae9afd1c6cb54 100644 --- a/sdk/communication/Azure.ResourceManager.Communication/src/Generated/Models/NameAvailabilityOptions.cs +++ b/sdk/communication/Azure.ResourceManager.Communication/src/Generated/Models/NameAvailabilityOptions.cs @@ -13,26 +13,26 @@ namespace Azure.ResourceManager.Communication.Models public partial class NameAvailabilityOptions { /// Initializes a new instance of NameAvailabilityOptions. - /// The resource type. Should be always "Microsoft.Communication/CommunicationServices". + /// The resource type. Should be always "Microsoft.Communication/CommunicationServices". /// The CommunicationService name to validate. e.g."my-CommunicationService-name-here". - /// or is null. - public NameAvailabilityOptions(string type, string name) + /// or is null. + public NameAvailabilityOptions(string resourceType, string name) { - if (type == null) + if (resourceType == null) { - throw new ArgumentNullException(nameof(type)); + throw new ArgumentNullException(nameof(resourceType)); } if (name == null) { throw new ArgumentNullException(nameof(name)); } - Type = type; + ResourceType = resourceType; Name = name; } /// The resource type. Should be always "Microsoft.Communication/CommunicationServices". - public string Type { get; } + public string ResourceType { get; } /// The CommunicationService name to validate. e.g."my-CommunicationService-name-here". public string Name { get; } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/api/Azure.ResourceManager.Compute.netstandard2.0.cs b/sdk/compute/Azure.ResourceManager.Compute/api/Azure.ResourceManager.Compute.netstandard2.0.cs index 191d10e6d28b6..8673ef8c975ca 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/api/Azure.ResourceManager.Compute.netstandard2.0.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/api/Azure.ResourceManager.Compute.netstandard2.0.cs @@ -1948,9 +1948,9 @@ public VirtualMachineScaleSetExtensionData() { } public System.Collections.Generic.IList ProvisionAfterExtensions { get { throw null; } } public string ProvisioningState { get { throw null; } } public string Publisher { get { throw null; } set { } } + public string ResourceType { get { throw null; } } public object Settings { get { throw null; } set { } } public bool? SuppressFailures { get { throw null; } set { } } - public string Type { get { throw null; } } public string TypeHandlerVersion { get { throw null; } set { } } public string TypePropertiesType { get { throw null; } set { } } } @@ -2148,9 +2148,9 @@ public VirtualMachineScaleSetVmExtensionData() { } public object ProtectedSettings { get { throw null; } set { } } public string ProvisioningState { get { throw null; } } public string Publisher { get { throw null; } set { } } + public string ResourceType { get { throw null; } } public object Settings { get { throw null; } set { } } public bool? SuppressFailures { get { throw null; } set { } } - public string Type { get { throw null; } } public string TypeHandlerVersion { get { throw null; } set { } } public string TypePropertiesType { get { throw null; } set { } } } @@ -2324,6 +2324,7 @@ public partial class CloudServiceExtensionProperties { public CloudServiceExtensionProperties() { } public bool? AutoUpgradeMinorVersion { get { throw null; } set { } } + public string CloudServiceExtensionPropertiesType { get { throw null; } set { } } public string ForceUpdateTag { get { throw null; } set { } } public string ProtectedSettings { get { throw null; } set { } } public Azure.ResourceManager.Compute.Models.CloudServiceVaultAndSecretReference ProtectedSettingsFromKeyVault { get { throw null; } set { } } @@ -2331,7 +2332,6 @@ public CloudServiceExtensionProperties() { } public string Publisher { get { throw null; } set { } } public System.Collections.Generic.IList RolesAppliedTo { get { throw null; } } public string Settings { get { throw null; } set { } } - public string Type { get { throw null; } set { } } public string TypeHandlerVersion { get { throw null; } set { } } } public partial class CloudServiceInstanceView @@ -2811,7 +2811,7 @@ public partial class Encryption { public Encryption() { } public string DiskEncryptionSetId { get { throw null; } set { } } - public Azure.ResourceManager.Compute.Models.EncryptionType? Type { get { throw null; } set { } } + public Azure.ResourceManager.Compute.Models.EncryptionType? EncryptionType { get { throw null; } set { } } } public partial class EncryptionImages { @@ -2912,8 +2912,8 @@ public EncryptionSettingsElement() { } public partial class ExtendedLocation { public ExtendedLocation() { } + public Azure.ResourceManager.Compute.Models.ExtendedLocationTypes? ExtendedLocationType { get { throw null; } set { } } public string Name { get { throw null; } set { } } - public Azure.ResourceManager.Compute.Models.ExtendedLocationTypes? Type { get { throw null; } set { } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ExtendedLocationType : System.IEquatable @@ -3914,8 +3914,8 @@ public PatchableVirtualMachineExtensionData() { } public string Publisher { get { throw null; } set { } } public object Settings { get { throw null; } set { } } public bool? SuppressFailures { get { throw null; } set { } } - public string Type { get { throw null; } set { } } public string TypeHandlerVersion { get { throw null; } set { } } + public string VirtualMachineExtensionType { get { throw null; } set { } } } public partial class PatchableVirtualMachineScaleSetData : Azure.ResourceManager.Compute.Models.UpdateResource { @@ -3944,9 +3944,9 @@ public PatchableVirtualMachineScaleSetExtensionData() { } public System.Collections.Generic.IList ProvisionAfterExtensions { get { throw null; } } public string ProvisioningState { get { throw null; } } public string Publisher { get { throw null; } set { } } + public string ResourceType { get { throw null; } } public object Settings { get { throw null; } set { } } public bool? SuppressFailures { get { throw null; } set { } } - public string Type { get { throw null; } } public string TypeHandlerVersion { get { throw null; } set { } } public string TypePropertiesType { get { throw null; } set { } } } @@ -3959,11 +3959,11 @@ public PatchableVirtualMachineScaleSetVmExtensionData() { } public string Name { get { throw null; } } public object ProtectedSettings { get { throw null; } set { } } public string Publisher { get { throw null; } set { } } + public string ResourceType { get { throw null; } } public object Settings { get { throw null; } set { } } public bool? SuppressFailures { get { throw null; } set { } } - public string Type { get { throw null; } } public string TypeHandlerVersion { get { throw null; } set { } } - public string TypePropertiesType { get { throw null; } set { } } + public string VirtualMachineExtensionType { get { throw null; } set { } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct PatchAssessmentState : System.IEquatable @@ -4048,7 +4048,7 @@ public partial class PirCommunityGalleryResource internal PirCommunityGalleryResource() { } public string Location { get { throw null; } } public string Name { get { throw null; } } - public string Type { get { throw null; } } + public string ResourceType { get { throw null; } } public string UniqueId { get { throw null; } } } public partial class PirResource @@ -4372,8 +4372,8 @@ public partial class ResourceSkuLocationInfo { internal ResourceSkuLocationInfo() { } public System.Collections.Generic.IReadOnlyList ExtendedLocations { get { throw null; } } + public Azure.ResourceManager.Compute.Models.ExtendedLocationType? ExtendedLocationType { get { throw null; } } public string Location { get { throw null; } } - public Azure.ResourceManager.Compute.Models.ExtendedLocationType? Type { get { throw null; } } public System.Collections.Generic.IReadOnlyList ZoneDetails { get { throw null; } } public System.Collections.Generic.IReadOnlyList Zones { get { throw null; } } } @@ -4387,8 +4387,8 @@ public partial class ResourceSkuRestrictions { internal ResourceSkuRestrictions() { } public Azure.ResourceManager.Compute.Models.ResourceSkuRestrictionsReasonCode? ReasonCode { get { throw null; } } + public Azure.ResourceManager.Compute.Models.ResourceSkuRestrictionsType? ResourceSkuRestrictionsType { get { throw null; } } public Azure.ResourceManager.Compute.Models.ResourceSkuRestrictionInfo RestrictionInfo { get { throw null; } } - public Azure.ResourceManager.Compute.Models.ResourceSkuRestrictionsType? Type { get { throw null; } } public System.Collections.Generic.IReadOnlyList Values { get { throw null; } } } public enum ResourceSkuRestrictionsReasonCode @@ -4573,7 +4573,7 @@ internal RunCommandParameterDefinition() { } public string DefaultValue { get { throw null; } } public string Name { get { throw null; } } public bool? Required { get { throw null; } } - public string Type { get { throw null; } } + public string RunCommandParameterDefinitionType { get { throw null; } } } public partial class RunCommandResult { @@ -4664,7 +4664,7 @@ public partial class SharingProfileGroup { public SharingProfileGroup() { } public System.Collections.Generic.IList Ids { get { throw null; } } - public Azure.ResourceManager.Compute.Models.SharingProfileGroupTypes? Type { get { throw null; } set { } } + public Azure.ResourceManager.Compute.Models.SharingProfileGroupTypes? SharingProfileGroupType { get { throw null; } set { } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct SharingProfileGroupTypes : System.IEquatable @@ -4879,7 +4879,7 @@ public partial class UpgradeOperationHistoricalStatusInfo internal UpgradeOperationHistoricalStatusInfo() { } public string Location { get { throw null; } } public Azure.ResourceManager.Compute.Models.UpgradeOperationHistoricalStatusInfoProperties Properties { get { throw null; } } - public string Type { get { throw null; } } + public string UpgradeOperationHistoricalStatusInfoType { get { throw null; } } } public partial class UpgradeOperationHistoricalStatusInfoProperties { @@ -5005,8 +5005,8 @@ public partial class VirtualMachineExtensionHandlerInstanceView { internal VirtualMachineExtensionHandlerInstanceView() { } public Azure.ResourceManager.Compute.Models.InstanceViewStatus Status { get { throw null; } } - public string Type { get { throw null; } } public string TypeHandlerVersion { get { throw null; } } + public string VirtualMachineExtensionHandlerInstanceViewType { get { throw null; } } } public partial class VirtualMachineExtensionInstanceView { @@ -5014,8 +5014,8 @@ public VirtualMachineExtensionInstanceView() { } public string Name { get { throw null; } set { } } public System.Collections.Generic.IList Statuses { get { throw null; } } public System.Collections.Generic.IList Substatuses { get { throw null; } } - public string Type { get { throw null; } set { } } public string TypeHandlerVersion { get { throw null; } set { } } + public string VirtualMachineExtensionInstanceViewType { get { throw null; } set { } } } public partial class VirtualMachineImage : Azure.ResourceManager.Compute.Models.VirtualMachineImageResource { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/AvailabilitySetData.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/AvailabilitySetData.cs index 6ae4a385292ce..8647d48897c26 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/AvailabilitySetData.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/AvailabilitySetData.cs @@ -27,7 +27,7 @@ public AvailabilitySetData(AzureLocation location) : base(location) /// Initializes a new instance of AvailabilitySetData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -37,7 +37,7 @@ public AvailabilitySetData(AzureLocation location) : base(location) /// A list of references to all virtual machines in the availability set. /// Specifies information about the proximity placement group that the availability set should be assigned to. <br><br>Minimum api-version: 2018-04-01. /// The resource status information. - internal AvailabilitySetData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, ComputeSku sku, int? platformUpdateDomainCount, int? platformFaultDomainCount, IList virtualMachines, WritableSubResource proximityPlacementGroup, IReadOnlyList statuses) : base(id, name, type, systemData, tags, location) + internal AvailabilitySetData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ComputeSku sku, int? platformUpdateDomainCount, int? platformFaultDomainCount, IList virtualMachines, WritableSubResource proximityPlacementGroup, IReadOnlyList statuses) : base(id, name, resourceType, systemData, tags, location) { Sku = sku; PlatformUpdateDomainCount = platformUpdateDomainCount; diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CapacityReservationData.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CapacityReservationData.cs index fffd4bf14584c..b33677124770c 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CapacityReservationData.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CapacityReservationData.cs @@ -36,7 +36,7 @@ public CapacityReservationData(AzureLocation location, ComputeSku sku) : base(lo /// Initializes a new instance of CapacityReservationData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -47,7 +47,7 @@ public CapacityReservationData(AzureLocation location, ComputeSku sku) : base(lo /// The date time when the capacity reservation was last updated. /// The provisioning state, which only appears in the response. /// The Capacity reservation instance view. - internal CapacityReservationData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, ComputeSku sku, IList zones, string reservationId, IReadOnlyList virtualMachinesAssociated, DateTimeOffset? provisioningTime, string provisioningState, CapacityReservationInstanceView instanceView) : base(id, name, type, systemData, tags, location) + internal CapacityReservationData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ComputeSku sku, IList zones, string reservationId, IReadOnlyList virtualMachinesAssociated, DateTimeOffset? provisioningTime, string provisioningState, CapacityReservationInstanceView instanceView) : base(id, name, resourceType, systemData, tags, location) { Sku = sku; Zones = zones; diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CapacityReservationGroupData.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CapacityReservationGroupData.cs index 6da82e9c05a9c..c13cf4975094b 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CapacityReservationGroupData.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CapacityReservationGroupData.cs @@ -28,7 +28,7 @@ public CapacityReservationGroupData(AzureLocation location) : base(location) /// Initializes a new instance of CapacityReservationGroupData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -36,7 +36,7 @@ public CapacityReservationGroupData(AzureLocation location) : base(location) /// A list of all capacity reservation resource ids that belong to capacity reservation group. /// A list of references to all virtual machines associated to the capacity reservation group. /// The capacity reservation group instance view which has the list of instance views for all the capacity reservations that belong to the capacity reservation group. - internal CapacityReservationGroupData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, IList zones, IReadOnlyList capacityReservations, IReadOnlyList virtualMachinesAssociated, CapacityReservationGroupInstanceView instanceView) : base(id, name, type, systemData, tags, location) + internal CapacityReservationGroupData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, IList zones, IReadOnlyList capacityReservations, IReadOnlyList virtualMachinesAssociated, CapacityReservationGroupInstanceView instanceView) : base(id, name, resourceType, systemData, tags, location) { Zones = zones; CapacityReservations = capacityReservations; diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceData.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceData.cs index ff124a2aa4910..ecfea746be9cd 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceData.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceData.cs @@ -24,12 +24,12 @@ public CloudServiceData(AzureLocation location) : base(location) /// Initializes a new instance of CloudServiceData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. /// Cloud service properties. - internal CloudServiceData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, CloudServiceProperties properties) : base(id, name, type, systemData, tags, location) + internal CloudServiceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, CloudServiceProperties properties) : base(id, name, resourceType, systemData, tags, location) { Properties = properties; } diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceRoleData.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceRoleData.cs index 8945a3dca044b..8afee7dd4e2d1 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceRoleData.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/CloudServiceRoleData.cs @@ -22,12 +22,12 @@ internal CloudServiceRoleData() /// Initializes a new instance of CloudServiceRoleData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Resource location. /// Describes the cloud service role sku. /// - internal CloudServiceRoleData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string location, CloudServiceRoleSku sku, CloudServiceRoleProperties properties) : base(id, name, type, systemData) + internal CloudServiceRoleData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string location, CloudServiceRoleSku sku, CloudServiceRoleProperties properties) : base(id, name, resourceType, systemData) { Location = location; Sku = sku; diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostData.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostData.cs index ff723e16e9773..be3d55434a01e 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostData.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostData.cs @@ -35,7 +35,7 @@ public DedicatedHostData(AzureLocation location, ComputeSku sku) : base(location /// Initializes a new instance of DedicatedHostData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -48,7 +48,7 @@ public DedicatedHostData(AzureLocation location, ComputeSku sku) : base(location /// The date when the host was first provisioned. /// The provisioning state, which only appears in the response. /// The dedicated host instance view. - internal DedicatedHostData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, ComputeSku sku, int? platformFaultDomain, bool? autoReplaceOnFailure, string hostId, IReadOnlyList virtualMachines, DedicatedHostLicenseTypes? licenseType, DateTimeOffset? provisioningTime, string provisioningState, DedicatedHostInstanceView instanceView) : base(id, name, type, systemData, tags, location) + internal DedicatedHostData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ComputeSku sku, int? platformFaultDomain, bool? autoReplaceOnFailure, string hostId, IReadOnlyList virtualMachines, DedicatedHostLicenseTypes? licenseType, DateTimeOffset? provisioningTime, string provisioningState, DedicatedHostInstanceView instanceView) : base(id, name, resourceType, systemData, tags, location) { Sku = sku; PlatformFaultDomain = platformFaultDomain; diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostGroupData.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostGroupData.cs index bd3fd3efe25b9..10745ff0acb5d 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostGroupData.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DedicatedHostGroupData.cs @@ -27,7 +27,7 @@ public DedicatedHostGroupData(AzureLocation location) : base(location) /// Initializes a new instance of DedicatedHostGroupData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -36,7 +36,7 @@ public DedicatedHostGroupData(AzureLocation location) : base(location) /// A list of references to all dedicated hosts in the dedicated host group. /// The dedicated host group instance view, which has the list of instance view of the dedicated hosts under the dedicated host group. /// Specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'false' when not provided. <br><br>Minimum api-version: 2020-06-01. - internal DedicatedHostGroupData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, IList zones, int? platformFaultDomainCount, IReadOnlyList hosts, DedicatedHostGroupInstanceView instanceView, bool? supportAutomaticPlacement) : base(id, name, type, systemData, tags, location) + internal DedicatedHostGroupData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, IList zones, int? platformFaultDomainCount, IReadOnlyList hosts, DedicatedHostGroupInstanceView instanceView, bool? supportAutomaticPlacement) : base(id, name, resourceType, systemData, tags, location) { Zones = zones; PlatformFaultDomainCount = platformFaultDomainCount; diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskAccessData.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskAccessData.cs index f14d43e8427a9..aa0fc9d318a75 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskAccessData.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskAccessData.cs @@ -26,7 +26,7 @@ public DiskAccessData(AzureLocation location) : base(location) /// Initializes a new instance of DiskAccessData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -34,7 +34,7 @@ public DiskAccessData(AzureLocation location) : base(location) /// A readonly collection of private endpoint connections created on the disk. Currently only one endpoint connection is supported. /// The disk access resource provisioning state. /// The time when the disk access was created. - internal DiskAccessData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, ExtendedLocation extendedLocation, IReadOnlyList privateEndpointConnections, string provisioningState, DateTimeOffset? timeCreated) : base(id, name, type, systemData, tags, location) + internal DiskAccessData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ExtendedLocation extendedLocation, IReadOnlyList privateEndpointConnections, string provisioningState, DateTimeOffset? timeCreated) : base(id, name, resourceType, systemData, tags, location) { ExtendedLocation = extendedLocation; PrivateEndpointConnections = privateEndpointConnections; diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskData.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskData.cs index 23cfd7a8401a0..bbb9a418c60fb 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskData.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskData.cs @@ -28,7 +28,7 @@ public DiskData(AzureLocation location) : base(location) /// Initializes a new instance of DiskData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -65,7 +65,7 @@ public DiskData(AzureLocation location) : base(location) /// Contains the security related information for the resource. /// Percentage complete for the background copy when a resource is created via the CopyStart operation. /// Policy for controlling export on the disk. - internal DiskData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, string managedBy, IReadOnlyList managedByExtended, DiskSku sku, IList zones, ExtendedLocation extendedLocation, DateTimeOffset? timeCreated, OperatingSystemTypes? osType, HyperVGeneration? hyperVGeneration, DiskPurchasePlan purchasePlan, SupportedCapabilities supportedCapabilities, CreationData creationData, int? diskSizeGB, long? diskSizeBytes, string uniqueId, EncryptionSettingsCollection encryptionSettingsCollection, string provisioningState, long? diskIopsReadWrite, long? diskMBpsReadWrite, long? diskIopsReadOnly, long? diskMBpsReadOnly, DiskState? diskState, Encryption encryption, int? maxShares, IReadOnlyList shareInfo, NetworkAccessPolicy? networkAccessPolicy, string diskAccessId, string tier, bool? burstingEnabled, PropertyUpdatesInProgress propertyUpdatesInProgress, bool? supportsHibernation, DiskSecurityProfile securityProfile, float? completionPercent, PublicNetworkAccess? publicNetworkAccess) : base(id, name, type, systemData, tags, location) + internal DiskData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string managedBy, IReadOnlyList managedByExtended, DiskSku sku, IList zones, ExtendedLocation extendedLocation, DateTimeOffset? timeCreated, OperatingSystemTypes? osType, HyperVGeneration? hyperVGeneration, DiskPurchasePlan purchasePlan, SupportedCapabilities supportedCapabilities, CreationData creationData, int? diskSizeGB, long? diskSizeBytes, string uniqueId, EncryptionSettingsCollection encryptionSettingsCollection, string provisioningState, long? diskIopsReadWrite, long? diskMBpsReadWrite, long? diskIopsReadOnly, long? diskMBpsReadOnly, DiskState? diskState, Encryption encryption, int? maxShares, IReadOnlyList shareInfo, NetworkAccessPolicy? networkAccessPolicy, string diskAccessId, string tier, bool? burstingEnabled, PropertyUpdatesInProgress propertyUpdatesInProgress, bool? supportsHibernation, DiskSecurityProfile securityProfile, float? completionPercent, PublicNetworkAccess? publicNetworkAccess) : base(id, name, resourceType, systemData, tags, location) { ManagedBy = managedBy; ManagedByExtended = managedByExtended; diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskEncryptionSetData.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskEncryptionSetData.cs index 7a100ab62449f..c5cbb3c3194ea 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskEncryptionSetData.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskEncryptionSetData.cs @@ -26,7 +26,7 @@ public DiskEncryptionSetData(AzureLocation location) : base(location) /// Initializes a new instance of DiskEncryptionSetData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -38,7 +38,7 @@ public DiskEncryptionSetData(AzureLocation location) : base(location) /// Set this flag to true to enable auto-updating of this disk encryption set to the latest key version. /// The time when the active key of this disk encryption set was updated. /// The error that was encountered during auto-key rotation. If an error is present, then auto-key rotation will not be attempted until the error on this disk encryption set is fixed. - internal DiskEncryptionSetData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, SystemAssignedServiceIdentity identity, DiskEncryptionSetType? encryptionType, KeyForDiskEncryptionSet activeKey, IReadOnlyList previousKeys, string provisioningState, bool? rotationToLatestKeyVersionEnabled, DateTimeOffset? lastKeyRotationTimestamp, ApiError autoKeyRotationError) : base(id, name, type, systemData, tags, location) + internal DiskEncryptionSetData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, SystemAssignedServiceIdentity identity, DiskEncryptionSetType? encryptionType, KeyForDiskEncryptionSet activeKey, IReadOnlyList previousKeys, string provisioningState, bool? rotationToLatestKeyVersionEnabled, DateTimeOffset? lastKeyRotationTimestamp, ApiError autoKeyRotationError) : base(id, name, resourceType, systemData, tags, location) { Identity = identity; EncryptionType = encryptionType; diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskRestorePointData.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskRestorePointData.cs index 9a6bfdfa91e8b..eaa8306f56f65 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskRestorePointData.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/DiskRestorePointData.cs @@ -23,7 +23,7 @@ internal DiskRestorePointData() /// Initializes a new instance of DiskRestorePointData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The timestamp of restorePoint creation. /// arm id of source disk or source disk restore point. @@ -41,7 +41,7 @@ internal DiskRestorePointData() /// Percentage complete for the background copy of disk restore point when source resource is from a different region. /// Replication state of disk restore point when source resource is from a different region. /// Location of source disk or source disk restore point when source resource is from a different region. - internal DiskRestorePointData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, DateTimeOffset? timeCreated, string sourceResourceId, OperatingSystemTypes? osType, HyperVGeneration? hyperVGeneration, DiskPurchasePlan purchasePlan, SupportedCapabilities supportedCapabilities, string familyId, string sourceUniqueId, Encryption encryption, bool? supportsHibernation, NetworkAccessPolicy? networkAccessPolicy, PublicNetworkAccess? publicNetworkAccess, string diskAccessId, float? completionPercent, string replicationState, string sourceResourceLocation) : base(id, name, type, systemData) + internal DiskRestorePointData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, DateTimeOffset? timeCreated, string sourceResourceId, OperatingSystemTypes? osType, HyperVGeneration? hyperVGeneration, DiskPurchasePlan purchasePlan, SupportedCapabilities supportedCapabilities, string familyId, string sourceUniqueId, Encryption encryption, bool? supportsHibernation, NetworkAccessPolicy? networkAccessPolicy, PublicNetworkAccess? publicNetworkAccess, string diskAccessId, float? completionPercent, string replicationState, string sourceResourceLocation) : base(id, name, resourceType, systemData) { TimeCreated = timeCreated; SourceResourceId = sourceResourceId; diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryApplicationData.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryApplicationData.cs index 06554f4f90436..6693c6765b1a2 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryApplicationData.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryApplicationData.cs @@ -25,7 +25,7 @@ public GalleryApplicationData(AzureLocation location) : base(location) /// Initializes a new instance of GalleryApplicationData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -35,7 +35,7 @@ public GalleryApplicationData(AzureLocation location) : base(location) /// The release note uri. /// The end of life date of the gallery Application Definition. This property can be used for decommissioning purposes. This property is updatable. /// This property allows you to specify the supported type of the OS that application is built for. <br><br> Possible values are: <br><br> **Windows** <br><br> **Linux**. - internal GalleryApplicationData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, string description, string eula, Uri privacyStatementUri, Uri releaseNoteUri, DateTimeOffset? endOfLifeDate, OperatingSystemTypes? supportedOSType) : base(id, name, type, systemData, tags, location) + internal GalleryApplicationData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string description, string eula, Uri privacyStatementUri, Uri releaseNoteUri, DateTimeOffset? endOfLifeDate, OperatingSystemTypes? supportedOSType) : base(id, name, resourceType, systemData, tags, location) { Description = description; Eula = eula; diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryApplicationVersionData.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryApplicationVersionData.cs index 06b55a86ac5eb..05f0ee5b2117d 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryApplicationVersionData.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryApplicationVersionData.cs @@ -24,14 +24,14 @@ public GalleryApplicationVersionData(AzureLocation location) : base(location) /// Initializes a new instance of GalleryApplicationVersionData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. /// The publishing profile of a gallery image version. /// The provisioning state, which only appears in the response. /// This is the replication status of the gallery image version. - internal GalleryApplicationVersionData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, GalleryApplicationVersionPublishingProfile publishingProfile, GalleryApplicationVersionPropertiesProvisioningState? provisioningState, ReplicationStatus replicationStatus) : base(id, name, type, systemData, tags, location) + internal GalleryApplicationVersionData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, GalleryApplicationVersionPublishingProfile publishingProfile, GalleryApplicationVersionPropertiesProvisioningState? provisioningState, ReplicationStatus replicationStatus) : base(id, name, resourceType, systemData, tags, location) { PublishingProfile = publishingProfile; ProvisioningState = provisioningState; diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryData.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryData.cs index ccebd13adbfa1..cb514bed3846f 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryData.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryData.cs @@ -24,7 +24,7 @@ public GalleryData(AzureLocation location) : base(location) /// Initializes a new instance of GalleryData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -33,7 +33,7 @@ public GalleryData(AzureLocation location) : base(location) /// The provisioning state, which only appears in the response. /// Profile for gallery sharing to subscription or tenant. /// Contains information about the soft deletion policy of the gallery. - internal GalleryData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, string description, GalleryIdentifier identifier, GalleryPropertiesProvisioningState? provisioningState, SharingProfile sharingProfile, SoftDeletePolicy softDeletePolicy) : base(id, name, type, systemData, tags, location) + internal GalleryData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string description, GalleryIdentifier identifier, GalleryPropertiesProvisioningState? provisioningState, SharingProfile sharingProfile, SoftDeletePolicy softDeletePolicy) : base(id, name, resourceType, systemData, tags, location) { Description = description; Identifier = identifier; diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryImageData.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryImageData.cs index 11dda35f38df5..576a6f4033d28 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryImageData.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryImageData.cs @@ -26,7 +26,7 @@ public GalleryImageData(AzureLocation location) : base(location) /// Initializes a new instance of GalleryImageData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -44,7 +44,7 @@ public GalleryImageData(AzureLocation location) : base(location) /// Describes the gallery image definition purchase plan. This is used by marketplace images. /// The provisioning state, which only appears in the response. /// A list of gallery image features. - internal GalleryImageData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, string description, string eula, Uri privacyStatementUri, Uri releaseNoteUri, OperatingSystemTypes? osType, OperatingSystemStateTypes? osState, HyperVGeneration? hyperVGeneration, DateTimeOffset? endOfLifeDate, GalleryImageIdentifier identifier, RecommendedMachineConfiguration recommended, Disallowed disallowed, ImagePurchasePlan purchasePlan, GalleryImagePropertiesProvisioningState? provisioningState, IList features) : base(id, name, type, systemData, tags, location) + internal GalleryImageData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string description, string eula, Uri privacyStatementUri, Uri releaseNoteUri, OperatingSystemTypes? osType, OperatingSystemStateTypes? osState, HyperVGeneration? hyperVGeneration, DateTimeOffset? endOfLifeDate, GalleryImageIdentifier identifier, RecommendedMachineConfiguration recommended, Disallowed disallowed, ImagePurchasePlan purchasePlan, GalleryImagePropertiesProvisioningState? provisioningState, IList features) : base(id, name, resourceType, systemData, tags, location) { Description = description; Eula = eula; diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryImageVersionData.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryImageVersionData.cs index a9f1861e90788..145b346fa90ff 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryImageVersionData.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/GalleryImageVersionData.cs @@ -24,7 +24,7 @@ public GalleryImageVersionData(AzureLocation location) : base(location) /// Initializes a new instance of GalleryImageVersionData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -32,7 +32,7 @@ public GalleryImageVersionData(AzureLocation location) : base(location) /// The provisioning state, which only appears in the response. /// This is the storage profile of a Gallery Image Version. /// This is the replication status of the gallery image version. - internal GalleryImageVersionData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, GalleryImageVersionPublishingProfile publishingProfile, GalleryImageVersionPropertiesProvisioningState? provisioningState, GalleryImageVersionStorageProfile storageProfile, ReplicationStatus replicationStatus) : base(id, name, type, systemData, tags, location) + internal GalleryImageVersionData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, GalleryImageVersionPublishingProfile publishingProfile, GalleryImageVersionPropertiesProvisioningState? provisioningState, GalleryImageVersionStorageProfile storageProfile, ReplicationStatus replicationStatus) : base(id, name, resourceType, systemData, tags, location) { PublishingProfile = publishingProfile; ProvisioningState = provisioningState; diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ImageData.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ImageData.cs index 14532006c7db9..edc9bdeb7a22b 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ImageData.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ImageData.cs @@ -25,7 +25,7 @@ public ImageData(AzureLocation location) : base(location) /// Initializes a new instance of ImageData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -34,7 +34,7 @@ public ImageData(AzureLocation location) : base(location) /// Specifies the storage settings for the virtual machine disks. /// The provisioning state. /// Specifies the HyperVGenerationType of the VirtualMachine created from the image. From API Version 2019-03-01 if the image source is a blob, then we need the user to specify the value, if the source is managed resource like disk or snapshot, we may require the user to specify the property if we cannot deduce it from the source managed resource. - internal ImageData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, Models.ExtendedLocation extendedLocation, WritableSubResource sourceVirtualMachine, ImageStorageProfile storageProfile, string provisioningState, HyperVGenerationTypes? hyperVGeneration) : base(id, name, type, systemData, tags, location) + internal ImageData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, Models.ExtendedLocation extendedLocation, WritableSubResource sourceVirtualMachine, ImageStorageProfile storageProfile, string provisioningState, HyperVGenerationTypes? hyperVGeneration) : base(id, name, resourceType, systemData, tags, location) { ExtendedLocation = extendedLocation; SourceVirtualMachine = sourceVirtualMachine; diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/CloudServiceExtensionProperties.Serialization.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/CloudServiceExtensionProperties.Serialization.cs index b1490a76cb51e..26b34916084e1 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/CloudServiceExtensionProperties.Serialization.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/CloudServiceExtensionProperties.Serialization.cs @@ -21,10 +21,10 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("publisher"); writer.WriteStringValue(Publisher); } - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(CloudServiceExtensionPropertiesType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type); + writer.WriteStringValue(CloudServiceExtensionPropertiesType); } if (Optional.IsDefined(TypeHandlerVersion)) { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/CloudServiceExtensionProperties.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/CloudServiceExtensionProperties.cs index 6a0669ae0860d..8065806bcf970 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/CloudServiceExtensionProperties.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/CloudServiceExtensionProperties.cs @@ -21,7 +21,7 @@ public CloudServiceExtensionProperties() /// Initializes a new instance of CloudServiceExtensionProperties. /// The name of the extension handler publisher. - /// Specifies the type of the extension. + /// Specifies the type of the extension. /// Specifies the version of the extension. Specifies the version of the extension. If this element is not specified or an asterisk (*) is used as the value, the latest version of the extension is used. If the value is specified with a major version number and an asterisk as the minor version number (X.), the latest minor version of the specified major version is selected. If a major version number and a minor version number are specified (X.Y), the specific extension version is selected. If a version is specified, an auto-upgrade is performed on the role instance. /// Explicitly specify whether platform can automatically upgrade typeHandlerVersion to higher minor versions when they become available. /// Public settings for the extension. For JSON extensions, this is the JSON settings for the extension. For XML Extension (like RDP), this is the XML setting for the extension. @@ -36,10 +36,10 @@ public CloudServiceExtensionProperties() /// /// The provisioning state, which only appears in the response. /// Optional list of roles to apply this extension. If property is not specified or '*' is specified, extension is applied to all roles in the cloud service. - internal CloudServiceExtensionProperties(string publisher, string type, string typeHandlerVersion, bool? autoUpgradeMinorVersion, string settings, string protectedSettings, CloudServiceVaultAndSecretReference protectedSettingsFromKeyVault, string forceUpdateTag, string provisioningState, IList rolesAppliedTo) + internal CloudServiceExtensionProperties(string publisher, string cloudServiceExtensionPropertiesType, string typeHandlerVersion, bool? autoUpgradeMinorVersion, string settings, string protectedSettings, CloudServiceVaultAndSecretReference protectedSettingsFromKeyVault, string forceUpdateTag, string provisioningState, IList rolesAppliedTo) { Publisher = publisher; - Type = type; + CloudServiceExtensionPropertiesType = cloudServiceExtensionPropertiesType; TypeHandlerVersion = typeHandlerVersion; AutoUpgradeMinorVersion = autoUpgradeMinorVersion; Settings = settings; @@ -53,7 +53,7 @@ internal CloudServiceExtensionProperties(string publisher, string type, string t /// The name of the extension handler publisher. public string Publisher { get; set; } /// Specifies the type of the extension. - public string Type { get; set; } + public string CloudServiceExtensionPropertiesType { get; set; } /// Specifies the version of the extension. Specifies the version of the extension. If this element is not specified or an asterisk (*) is used as the value, the latest version of the extension is used. If the value is specified with a major version number and an asterisk as the minor version number (X.), the latest minor version of the specified major version is selected. If a major version number and a minor version number are specified (X.Y), the specific extension version is selected. If a version is specified, an auto-upgrade is performed on the role instance. public string TypeHandlerVersion { get; set; } /// Explicitly specify whether platform can automatically upgrade typeHandlerVersion to higher minor versions when they become available. diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/CommunityGallery.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/CommunityGallery.cs index 7c2c5322d03fb..059755c6e7929 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/CommunityGallery.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/CommunityGallery.cs @@ -18,9 +18,9 @@ internal CommunityGallery() /// Initializes a new instance of CommunityGallery. /// Resource name. /// Resource location. - /// Resource type. + /// Resource type. /// The unique id of this community gallery. - internal CommunityGallery(string name, string location, string type, string uniqueId) : base(name, location, type, uniqueId) + internal CommunityGallery(string name, string location, string resourceType, string uniqueId) : base(name, location, resourceType, uniqueId) { } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/CommunityGalleryImage.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/CommunityGalleryImage.cs index 96a53670b6f05..3e15f53b3d1ba 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/CommunityGalleryImage.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/CommunityGalleryImage.cs @@ -23,7 +23,7 @@ internal CommunityGalleryImage() /// Initializes a new instance of CommunityGalleryImage. /// Resource name. /// Resource location. - /// Resource type. + /// Resource type. /// The unique id of this community gallery. /// This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image. <br><br> Possible values are: <br><br> **Windows** <br><br> **Linux**. /// This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'. @@ -34,7 +34,7 @@ internal CommunityGalleryImage() /// The hypervisor generation of the Virtual Machine. Applicable to OS disks only. /// A list of gallery image features. /// Describes the gallery image definition purchase plan. This is used by marketplace images. - internal CommunityGalleryImage(string name, string location, string type, string uniqueId, OperatingSystemTypes? osType, OperatingSystemStateTypes? osState, DateTimeOffset? endOfLifeDate, GalleryImageIdentifier identifier, RecommendedMachineConfiguration recommended, Disallowed disallowed, HyperVGeneration? hyperVGeneration, IReadOnlyList features, ImagePurchasePlan purchasePlan) : base(name, location, type, uniqueId) + internal CommunityGalleryImage(string name, string location, string resourceType, string uniqueId, OperatingSystemTypes? osType, OperatingSystemStateTypes? osState, DateTimeOffset? endOfLifeDate, GalleryImageIdentifier identifier, RecommendedMachineConfiguration recommended, Disallowed disallowed, HyperVGeneration? hyperVGeneration, IReadOnlyList features, ImagePurchasePlan purchasePlan) : base(name, location, resourceType, uniqueId) { OSType = osType; OSState = osState; diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/CommunityGalleryImageVersion.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/CommunityGalleryImageVersion.cs index 821c25277990f..ca499d8664ca6 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/CommunityGalleryImageVersion.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/CommunityGalleryImageVersion.cs @@ -20,11 +20,11 @@ internal CommunityGalleryImageVersion() /// Initializes a new instance of CommunityGalleryImageVersion. /// Resource name. /// Resource location. - /// Resource type. + /// Resource type. /// The unique id of this community gallery. /// The published date of the gallery image version Definition. This property can be used for decommissioning purposes. This property is updatable. /// The end of life date of the gallery image version Definition. This property can be used for decommissioning purposes. This property is updatable. - internal CommunityGalleryImageVersion(string name, string location, string type, string uniqueId, DateTimeOffset? publishedDate, DateTimeOffset? endOfLifeDate) : base(name, location, type, uniqueId) + internal CommunityGalleryImageVersion(string name, string location, string resourceType, string uniqueId, DateTimeOffset? publishedDate, DateTimeOffset? endOfLifeDate) : base(name, location, resourceType, uniqueId) { PublishedDate = publishedDate; EndOfLifeDate = endOfLifeDate; diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/Encryption.Serialization.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/Encryption.Serialization.cs index 86b78d1823010..731b47df426de 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/Encryption.Serialization.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/Encryption.Serialization.cs @@ -20,10 +20,10 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("diskEncryptionSetId"); writer.WriteStringValue(DiskEncryptionSetId); } - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(EncryptionType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type.Value.ToString()); + writer.WriteStringValue(EncryptionType.Value.ToString()); } writer.WriteEndObject(); } diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/Encryption.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/Encryption.cs index 7076374053260..8258dc8be21ce 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/Encryption.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/Encryption.cs @@ -17,16 +17,16 @@ public Encryption() /// Initializes a new instance of Encryption. /// ResourceId of the disk encryption set to use for enabling encryption at rest. - /// The type of key used to encrypt the data of the disk. - internal Encryption(string diskEncryptionSetId, EncryptionType? type) + /// The type of key used to encrypt the data of the disk. + internal Encryption(string diskEncryptionSetId, EncryptionType? encryptionType) { DiskEncryptionSetId = diskEncryptionSetId; - Type = type; + EncryptionType = encryptionType; } /// ResourceId of the disk encryption set to use for enabling encryption at rest. public string DiskEncryptionSetId { get; set; } /// The type of key used to encrypt the data of the disk. - public EncryptionType? Type { get; set; } + public EncryptionType? EncryptionType { get; set; } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/ExtendedLocation.Serialization.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/ExtendedLocation.Serialization.cs index 2ce16fbde7c26..189811bf109da 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/ExtendedLocation.Serialization.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/ExtendedLocation.Serialization.cs @@ -20,10 +20,10 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("name"); writer.WriteStringValue(Name); } - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(ExtendedLocationType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type.Value.ToString()); + writer.WriteStringValue(ExtendedLocationType.Value.ToString()); } writer.WriteEndObject(); } diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/ExtendedLocation.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/ExtendedLocation.cs index 766d56f1e2d20..48d48373be16b 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/ExtendedLocation.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/ExtendedLocation.cs @@ -17,16 +17,16 @@ public ExtendedLocation() /// Initializes a new instance of ExtendedLocation. /// The name of the extended location. - /// The type of the extended location. - internal ExtendedLocation(string name, ExtendedLocationTypes? type) + /// The type of the extended location. + internal ExtendedLocation(string name, ExtendedLocationTypes? extendedLocationType) { Name = name; - Type = type; + ExtendedLocationType = extendedLocationType; } /// The name of the extended location. public string Name { get; set; } /// The type of the extended location. - public ExtendedLocationTypes? Type { get; set; } + public ExtendedLocationTypes? ExtendedLocationType { get; set; } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/PatchableVirtualMachineExtensionData.Serialization.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/PatchableVirtualMachineExtensionData.Serialization.cs index ed433accb2073..c739f1a6d5d02 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/PatchableVirtualMachineExtensionData.Serialization.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/PatchableVirtualMachineExtensionData.Serialization.cs @@ -38,10 +38,10 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("publisher"); writer.WriteStringValue(Publisher); } - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(VirtualMachineExtensionType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type); + writer.WriteStringValue(VirtualMachineExtensionType); } if (Optional.IsDefined(TypeHandlerVersion)) { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/PatchableVirtualMachineExtensionData.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/PatchableVirtualMachineExtensionData.cs index 6ca8cb7f3ed62..6d68284655696 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/PatchableVirtualMachineExtensionData.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/PatchableVirtualMachineExtensionData.cs @@ -20,7 +20,7 @@ public PatchableVirtualMachineExtensionData() /// The name of the extension handler publisher. public string Publisher { get; set; } /// Specifies the type of the extension; an example is "CustomScriptExtension". - public string Type { get; set; } + public string VirtualMachineExtensionType { get; set; } /// Specifies the version of the script handler. public string TypeHandlerVersion { get; set; } /// Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/PatchableVirtualMachineScaleSetExtensionData.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/PatchableVirtualMachineScaleSetExtensionData.cs index 3e416cc737c19..942a717dbc189 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/PatchableVirtualMachineScaleSetExtensionData.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/PatchableVirtualMachineScaleSetExtensionData.cs @@ -22,7 +22,7 @@ public PatchableVirtualMachineScaleSetExtensionData() /// Initializes a new instance of PatchableVirtualMachineScaleSetExtensionData. /// Resource Id. /// The name of the extension. - /// Resource type. + /// Resource type. /// If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed. /// The name of the extension handler publisher. /// Specifies the type of the extension; an example is "CustomScriptExtension". @@ -34,10 +34,10 @@ public PatchableVirtualMachineScaleSetExtensionData() /// The provisioning state, which only appears in the response. /// Collection of extension names after which this extension needs to be provisioned. /// Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false. - internal PatchableVirtualMachineScaleSetExtensionData(string id, string name, string type, string forceUpdateTag, string publisher, string typePropertiesType, string typeHandlerVersion, bool? autoUpgradeMinorVersion, bool? enableAutomaticUpgrade, object settings, object protectedSettings, string provisioningState, IList provisionAfterExtensions, bool? suppressFailures) : base(id) + internal PatchableVirtualMachineScaleSetExtensionData(string id, string name, string resourceType, string forceUpdateTag, string publisher, string typePropertiesType, string typeHandlerVersion, bool? autoUpgradeMinorVersion, bool? enableAutomaticUpgrade, object settings, object protectedSettings, string provisioningState, IList provisionAfterExtensions, bool? suppressFailures) : base(id) { Name = name; - Type = type; + ResourceType = resourceType; ForceUpdateTag = forceUpdateTag; Publisher = publisher; TypePropertiesType = typePropertiesType; @@ -54,7 +54,7 @@ internal PatchableVirtualMachineScaleSetExtensionData(string id, string name, st /// The name of the extension. public string Name { get; } /// Resource type. - public string Type { get; } + public string ResourceType { get; } /// If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed. public string ForceUpdateTag { get; set; } /// The name of the extension handler publisher. diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/PatchableVirtualMachineScaleSetVmExtensionData.Serialization.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/PatchableVirtualMachineScaleSetVmExtensionData.Serialization.cs index 9afffe36b9c82..ae12dd58bb469 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/PatchableVirtualMachineScaleSetVmExtensionData.Serialization.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/PatchableVirtualMachineScaleSetVmExtensionData.Serialization.cs @@ -27,10 +27,10 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("publisher"); writer.WriteStringValue(Publisher); } - if (Optional.IsDefined(TypePropertiesType)) + if (Optional.IsDefined(VirtualMachineExtensionType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(TypePropertiesType); + writer.WriteStringValue(VirtualMachineExtensionType); } if (Optional.IsDefined(TypeHandlerVersion)) { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/PatchableVirtualMachineScaleSetVmExtensionData.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/PatchableVirtualMachineScaleSetVmExtensionData.cs index 2eb766d1d30cd..a07dc2fa6f850 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/PatchableVirtualMachineScaleSetVmExtensionData.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/PatchableVirtualMachineScaleSetVmExtensionData.cs @@ -18,23 +18,23 @@ public PatchableVirtualMachineScaleSetVmExtensionData() /// Initializes a new instance of PatchableVirtualMachineScaleSetVmExtensionData. /// Resource Id. /// The name of the extension. - /// Resource type. + /// Resource type. /// How the extension handler should be forced to update even if the extension configuration has not changed. /// The name of the extension handler publisher. - /// Specifies the type of the extension; an example is "CustomScriptExtension". + /// Specifies the type of the extension; an example is "CustomScriptExtension". /// Specifies the version of the script handler. /// Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. /// Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available. /// Json formatted public settings for the extension. /// The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. /// Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false. - internal PatchableVirtualMachineScaleSetVmExtensionData(string id, string name, string type, string forceUpdateTag, string publisher, string typePropertiesType, string typeHandlerVersion, bool? autoUpgradeMinorVersion, bool? enableAutomaticUpgrade, object settings, object protectedSettings, bool? suppressFailures) : base(id) + internal PatchableVirtualMachineScaleSetVmExtensionData(string id, string name, string resourceType, string forceUpdateTag, string publisher, string virtualMachineExtensionType, string typeHandlerVersion, bool? autoUpgradeMinorVersion, bool? enableAutomaticUpgrade, object settings, object protectedSettings, bool? suppressFailures) : base(id) { Name = name; - Type = type; + ResourceType = resourceType; ForceUpdateTag = forceUpdateTag; Publisher = publisher; - TypePropertiesType = typePropertiesType; + VirtualMachineExtensionType = virtualMachineExtensionType; TypeHandlerVersion = typeHandlerVersion; AutoUpgradeMinorVersion = autoUpgradeMinorVersion; EnableAutomaticUpgrade = enableAutomaticUpgrade; @@ -46,13 +46,13 @@ internal PatchableVirtualMachineScaleSetVmExtensionData(string id, string name, /// The name of the extension. public string Name { get; } /// Resource type. - public string Type { get; } + public string ResourceType { get; } /// How the extension handler should be forced to update even if the extension configuration has not changed. public string ForceUpdateTag { get; set; } /// The name of the extension handler publisher. public string Publisher { get; set; } /// Specifies the type of the extension; an example is "CustomScriptExtension". - public string TypePropertiesType { get; set; } + public string VirtualMachineExtensionType { get; set; } /// Specifies the version of the script handler. public string TypeHandlerVersion { get; set; } /// Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/PirCommunityGalleryResource.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/PirCommunityGalleryResource.cs index b32a79268972f..e2e6fb6fb8eac 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/PirCommunityGalleryResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/PirCommunityGalleryResource.cs @@ -18,13 +18,13 @@ internal PirCommunityGalleryResource() /// Initializes a new instance of PirCommunityGalleryResource. /// Resource name. /// Resource location. - /// Resource type. + /// Resource type. /// The unique id of this community gallery. - internal PirCommunityGalleryResource(string name, string location, string type, string uniqueId) + internal PirCommunityGalleryResource(string name, string location, string resourceType, string uniqueId) { Name = name; Location = location; - Type = type; + ResourceType = resourceType; UniqueId = uniqueId; } @@ -33,7 +33,7 @@ internal PirCommunityGalleryResource(string name, string location, string type, /// Resource location. public string Location { get; } /// Resource type. - public string Type { get; } + public string ResourceType { get; } /// The unique id of this community gallery. public string UniqueId { get; } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/PrivateLinkResource.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/PrivateLinkResource.cs index 6feb2dc9f2769..deff11d856a77 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/PrivateLinkResource.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/PrivateLinkResource.cs @@ -24,12 +24,12 @@ internal PrivateLinkResource() /// Initializes a new instance of PrivateLinkResource. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The private link resource group id. /// The private link resource required member names. /// The private link resource DNS zone name. - internal PrivateLinkResource(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string groupId, IReadOnlyList requiredMembers, IReadOnlyList requiredZoneNames) : base(id, name, type, systemData) + internal PrivateLinkResource(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string groupId, IReadOnlyList requiredMembers, IReadOnlyList requiredZoneNames) : base(id, name, resourceType, systemData) { GroupId = groupId; RequiredMembers = requiredMembers; diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/ResourceSkuLocationInfo.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/ResourceSkuLocationInfo.cs index 5936111e872e2..1e8866374320d 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/ResourceSkuLocationInfo.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/ResourceSkuLocationInfo.cs @@ -26,14 +26,14 @@ internal ResourceSkuLocationInfo() /// List of availability zones where the SKU is supported. /// Details of capabilities available to a SKU in specific zones. /// The names of extended locations. - /// The type of the extended location. - internal ResourceSkuLocationInfo(string location, IReadOnlyList zones, IReadOnlyList zoneDetails, IReadOnlyList extendedLocations, ExtendedLocationType? type) + /// The type of the extended location. + internal ResourceSkuLocationInfo(string location, IReadOnlyList zones, IReadOnlyList zoneDetails, IReadOnlyList extendedLocations, ExtendedLocationType? extendedLocationType) { Location = location; Zones = zones; ZoneDetails = zoneDetails; ExtendedLocations = extendedLocations; - Type = type; + ExtendedLocationType = extendedLocationType; } /// Location of the SKU. @@ -45,6 +45,6 @@ internal ResourceSkuLocationInfo(string location, IReadOnlyList zones, I /// The names of extended locations. public IReadOnlyList ExtendedLocations { get; } /// The type of the extended location. - public ExtendedLocationType? Type { get; } + public ExtendedLocationType? ExtendedLocationType { get; } } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/ResourceSkuRestrictions.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/ResourceSkuRestrictions.cs index 54ee32c479c77..af6931e0e1e0f 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/ResourceSkuRestrictions.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/ResourceSkuRestrictions.cs @@ -20,20 +20,20 @@ internal ResourceSkuRestrictions() } /// Initializes a new instance of ResourceSkuRestrictions. - /// The type of restrictions. + /// The type of restrictions. /// The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted. /// The information about the restriction where the SKU cannot be used. /// The reason for restriction. - internal ResourceSkuRestrictions(ResourceSkuRestrictionsType? type, IReadOnlyList values, ResourceSkuRestrictionInfo restrictionInfo, ResourceSkuRestrictionsReasonCode? reasonCode) + internal ResourceSkuRestrictions(ResourceSkuRestrictionsType? resourceSkuRestrictionsType, IReadOnlyList values, ResourceSkuRestrictionInfo restrictionInfo, ResourceSkuRestrictionsReasonCode? reasonCode) { - Type = type; + ResourceSkuRestrictionsType = resourceSkuRestrictionsType; Values = values; RestrictionInfo = restrictionInfo; ReasonCode = reasonCode; } /// The type of restrictions. - public ResourceSkuRestrictionsType? Type { get; } + public ResourceSkuRestrictionsType? ResourceSkuRestrictionsType { get; } /// The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted. public IReadOnlyList Values { get; } /// The information about the restriction where the SKU cannot be used. diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/RunCommandParameterDefinition.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/RunCommandParameterDefinition.cs index 6c9cbb792676a..917366fab61f0 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/RunCommandParameterDefinition.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/RunCommandParameterDefinition.cs @@ -14,32 +14,32 @@ public partial class RunCommandParameterDefinition { /// Initializes a new instance of RunCommandParameterDefinition. /// The run command parameter name. - /// The run command parameter type. - /// or is null. - internal RunCommandParameterDefinition(string name, string type) + /// The run command parameter type. + /// or is null. + internal RunCommandParameterDefinition(string name, string runCommandParameterDefinitionType) { if (name == null) { throw new ArgumentNullException(nameof(name)); } - if (type == null) + if (runCommandParameterDefinitionType == null) { - throw new ArgumentNullException(nameof(type)); + throw new ArgumentNullException(nameof(runCommandParameterDefinitionType)); } Name = name; - Type = type; + RunCommandParameterDefinitionType = runCommandParameterDefinitionType; } /// Initializes a new instance of RunCommandParameterDefinition. /// The run command parameter name. - /// The run command parameter type. + /// The run command parameter type. /// The run command parameter default value. /// The run command parameter required. - internal RunCommandParameterDefinition(string name, string type, string defaultValue, bool? required) + internal RunCommandParameterDefinition(string name, string runCommandParameterDefinitionType, string defaultValue, bool? required) { Name = name; - Type = type; + RunCommandParameterDefinitionType = runCommandParameterDefinitionType; DefaultValue = defaultValue; Required = required; } @@ -47,7 +47,7 @@ internal RunCommandParameterDefinition(string name, string type, string defaultV /// The run command parameter name. public string Name { get; } /// The run command parameter type. - public string Type { get; } + public string RunCommandParameterDefinitionType { get; } /// The run command parameter default value. public string DefaultValue { get; } /// The run command parameter required. diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/SharingProfileGroup.Serialization.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/SharingProfileGroup.Serialization.cs index e07a25083f181..369aab1c43382 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/SharingProfileGroup.Serialization.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/SharingProfileGroup.Serialization.cs @@ -16,10 +16,10 @@ public partial class SharingProfileGroup : IUtf8JsonSerializable void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(SharingProfileGroupType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type.Value.ToString()); + writer.WriteStringValue(SharingProfileGroupType.Value.ToString()); } if (Optional.IsCollectionDefined(Ids)) { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/SharingProfileGroup.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/SharingProfileGroup.cs index a00b6f6fc6069..fe011cbe7b7ff 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/SharingProfileGroup.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/SharingProfileGroup.cs @@ -20,16 +20,16 @@ public SharingProfileGroup() } /// Initializes a new instance of SharingProfileGroup. - /// This property allows you to specify the type of sharing group. <br><br> Possible values are: <br><br> **Subscriptions** <br><br> **AADTenants**. + /// This property allows you to specify the type of sharing group. <br><br> Possible values are: <br><br> **Subscriptions** <br><br> **AADTenants**. /// A list of subscription/tenant ids the gallery is aimed to be shared to. - internal SharingProfileGroup(SharingProfileGroupTypes? type, IList ids) + internal SharingProfileGroup(SharingProfileGroupTypes? sharingProfileGroupType, IList ids) { - Type = type; + SharingProfileGroupType = sharingProfileGroupType; Ids = ids; } /// This property allows you to specify the type of sharing group. <br><br> Possible values are: <br><br> **Subscriptions** <br><br> **AADTenants**. - public SharingProfileGroupTypes? Type { get; set; } + public SharingProfileGroupTypes? SharingProfileGroupType { get; set; } /// A list of subscription/tenant ids the gallery is aimed to be shared to. public IList Ids { get; } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/UpgradeOperationHistoricalStatusInfo.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/UpgradeOperationHistoricalStatusInfo.cs index 6fc3696398dd6..19d9d9aeec9bb 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/UpgradeOperationHistoricalStatusInfo.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/UpgradeOperationHistoricalStatusInfo.cs @@ -17,19 +17,19 @@ internal UpgradeOperationHistoricalStatusInfo() /// Initializes a new instance of UpgradeOperationHistoricalStatusInfo. /// Information about the properties of the upgrade operation. - /// Resource type. + /// Resource type. /// Resource location. - internal UpgradeOperationHistoricalStatusInfo(UpgradeOperationHistoricalStatusInfoProperties properties, string type, string location) + internal UpgradeOperationHistoricalStatusInfo(UpgradeOperationHistoricalStatusInfoProperties properties, string upgradeOperationHistoricalStatusInfoType, string location) { Properties = properties; - Type = type; + UpgradeOperationHistoricalStatusInfoType = upgradeOperationHistoricalStatusInfoType; Location = location; } /// Information about the properties of the upgrade operation. public UpgradeOperationHistoricalStatusInfoProperties Properties { get; } /// Resource type. - public string Type { get; } + public string UpgradeOperationHistoricalStatusInfoType { get; } /// Resource location. public string Location { get; } } diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/VirtualMachineExtensionHandlerInstanceView.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/VirtualMachineExtensionHandlerInstanceView.cs index 3f281cf0ef517..db8c3e70e5bbb 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/VirtualMachineExtensionHandlerInstanceView.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/VirtualMachineExtensionHandlerInstanceView.cs @@ -16,18 +16,18 @@ internal VirtualMachineExtensionHandlerInstanceView() } /// Initializes a new instance of VirtualMachineExtensionHandlerInstanceView. - /// Specifies the type of the extension; an example is "CustomScriptExtension". + /// Specifies the type of the extension; an example is "CustomScriptExtension". /// Specifies the version of the script handler. /// The extension handler status. - internal VirtualMachineExtensionHandlerInstanceView(string type, string typeHandlerVersion, InstanceViewStatus status) + internal VirtualMachineExtensionHandlerInstanceView(string virtualMachineExtensionHandlerInstanceViewType, string typeHandlerVersion, InstanceViewStatus status) { - Type = type; + VirtualMachineExtensionHandlerInstanceViewType = virtualMachineExtensionHandlerInstanceViewType; TypeHandlerVersion = typeHandlerVersion; Status = status; } /// Specifies the type of the extension; an example is "CustomScriptExtension". - public string Type { get; } + public string VirtualMachineExtensionHandlerInstanceViewType { get; } /// Specifies the version of the script handler. public string TypeHandlerVersion { get; } /// The extension handler status. diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/VirtualMachineExtensionInstanceView.Serialization.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/VirtualMachineExtensionInstanceView.Serialization.cs index dbad86cf7d6f5..6e46d0eed0daa 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/VirtualMachineExtensionInstanceView.Serialization.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/VirtualMachineExtensionInstanceView.Serialization.cs @@ -21,10 +21,10 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("name"); writer.WriteStringValue(Name); } - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(VirtualMachineExtensionInstanceViewType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type); + writer.WriteStringValue(VirtualMachineExtensionInstanceViewType); } if (Optional.IsDefined(TypeHandlerVersion)) { diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/VirtualMachineExtensionInstanceView.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/VirtualMachineExtensionInstanceView.cs index 298d59a76955b..0a213bfec5a79 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/VirtualMachineExtensionInstanceView.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/Models/VirtualMachineExtensionInstanceView.cs @@ -22,14 +22,14 @@ public VirtualMachineExtensionInstanceView() /// Initializes a new instance of VirtualMachineExtensionInstanceView. /// The virtual machine extension name. - /// Specifies the type of the extension; an example is "CustomScriptExtension". + /// Specifies the type of the extension; an example is "CustomScriptExtension". /// Specifies the version of the script handler. /// The resource status information. /// The resource status information. - internal VirtualMachineExtensionInstanceView(string name, string type, string typeHandlerVersion, IList substatuses, IList statuses) + internal VirtualMachineExtensionInstanceView(string name, string virtualMachineExtensionInstanceViewType, string typeHandlerVersion, IList substatuses, IList statuses) { Name = name; - Type = type; + VirtualMachineExtensionInstanceViewType = virtualMachineExtensionInstanceViewType; TypeHandlerVersion = typeHandlerVersion; Substatuses = substatuses; Statuses = statuses; @@ -38,7 +38,7 @@ internal VirtualMachineExtensionInstanceView(string name, string type, string ty /// The virtual machine extension name. public string Name { get; set; } /// Specifies the type of the extension; an example is "CustomScriptExtension". - public string Type { get; set; } + public string VirtualMachineExtensionInstanceViewType { get; set; } /// Specifies the version of the script handler. public string TypeHandlerVersion { get; set; } /// The resource status information. diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/OSFamilyData.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/OSFamilyData.cs index 2277129e49e96..bbb0b5ede7e59 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/OSFamilyData.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/OSFamilyData.cs @@ -22,11 +22,11 @@ internal OSFamilyData() /// Initializes a new instance of OSFamilyData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Resource location. /// OS family properties. - internal OSFamilyData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string location, OSFamilyProperties properties) : base(id, name, type, systemData) + internal OSFamilyData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string location, OSFamilyProperties properties) : base(id, name, resourceType, systemData) { Location = location; Properties = properties; diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/OSVersionData.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/OSVersionData.cs index 60355fc8d194f..eeca4e8d90b28 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/OSVersionData.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/OSVersionData.cs @@ -22,11 +22,11 @@ internal OSVersionData() /// Initializes a new instance of OSVersionData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Resource location. /// OS version properties. - internal OSVersionData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string location, OSVersionProperties properties) : base(id, name, type, systemData) + internal OSVersionData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string location, OSVersionProperties properties) : base(id, name, resourceType, systemData) { Location = location; Properties = properties; diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/PrivateEndpointConnectionData.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/PrivateEndpointConnectionData.cs index 1f6a8408897aa..dd1765efffdfc 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/PrivateEndpointConnectionData.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/PrivateEndpointConnectionData.cs @@ -23,12 +23,12 @@ public PrivateEndpointConnectionData() /// Initializes a new instance of PrivateEndpointConnectionData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The resource of private end point. /// A collection of information about the state of the connection between DiskAccess and Virtual Network. /// The provisioning state of the private endpoint connection resource. - internal PrivateEndpointConnectionData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, Resources.Models.SubResource privateEndpoint, PrivateLinkServiceConnectionState privateLinkServiceConnectionState, PrivateEndpointConnectionProvisioningState? provisioningState) : base(id, name, type, systemData) + internal PrivateEndpointConnectionData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, Resources.Models.SubResource privateEndpoint, PrivateLinkServiceConnectionState privateLinkServiceConnectionState, PrivateEndpointConnectionProvisioningState? provisioningState) : base(id, name, resourceType, systemData) { PrivateEndpoint = privateEndpoint; PrivateLinkServiceConnectionState = privateLinkServiceConnectionState; diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ProximityPlacementGroupData.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ProximityPlacementGroupData.cs index 654fd83507526..327439a914c6b 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ProximityPlacementGroupData.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/ProximityPlacementGroupData.cs @@ -27,7 +27,7 @@ public ProximityPlacementGroupData(AzureLocation location) : base(location) /// Initializes a new instance of ProximityPlacementGroupData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -36,7 +36,7 @@ public ProximityPlacementGroupData(AzureLocation location) : base(location) /// A list of references to all virtual machine scale sets in the proximity placement group. /// A list of references to all availability sets in the proximity placement group. /// Describes colocation status of the Proximity Placement Group. - internal ProximityPlacementGroupData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, ProximityPlacementGroupType? proximityPlacementGroupType, IReadOnlyList virtualMachines, IReadOnlyList virtualMachineScaleSets, IReadOnlyList availabilitySets, InstanceViewStatus colocationStatus) : base(id, name, type, systemData, tags, location) + internal ProximityPlacementGroupData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ProximityPlacementGroupType? proximityPlacementGroupType, IReadOnlyList virtualMachines, IReadOnlyList virtualMachineScaleSets, IReadOnlyList availabilitySets, InstanceViewStatus colocationStatus) : base(id, name, resourceType, systemData, tags, location) { ProximityPlacementGroupType = proximityPlacementGroupType; VirtualMachines = virtualMachines; diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestorePointData.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestorePointData.cs index a57d4dc4db6ac..20e3f7a22c037 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestorePointData.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestorePointData.cs @@ -26,14 +26,14 @@ public RestorePointData() /// Initializes a new instance of RestorePointData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// List of disk resource ids that the customer wishes to exclude from the restore point. If no disks are specified, all disks will be included. /// Gets the details of the VM captured at the time of the restore point creation. /// Gets the provisioning state of the restore point. /// Gets the consistency mode for the restore point. Please refer to https://aka.ms/RestorePoints for more details. /// Gets the creation time of the restore point. - internal RestorePointData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IList excludeDisks, RestorePointSourceMetadata sourceMetadata, string provisioningState, ConsistencyModeTypes? consistencyMode, DateTimeOffset? timeCreated) : base(id, name, type, systemData) + internal RestorePointData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IList excludeDisks, RestorePointSourceMetadata sourceMetadata, string provisioningState, ConsistencyModeTypes? consistencyMode, DateTimeOffset? timeCreated) : base(id, name, resourceType, systemData) { ExcludeDisks = excludeDisks; SourceMetadata = sourceMetadata; diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestorePointGroupData.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestorePointGroupData.cs index 0b1770f6e8903..4110603111fd4 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestorePointGroupData.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RestorePointGroupData.cs @@ -25,7 +25,7 @@ public RestorePointGroupData(AzureLocation location) : base(location) /// Initializes a new instance of RestorePointGroupData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -33,7 +33,7 @@ public RestorePointGroupData(AzureLocation location) : base(location) /// The provisioning state of the restore point collection. /// The unique id of the restore point collection. /// A list containing all restore points created under this restore point collection. - internal RestorePointGroupData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, RestorePointCollectionSourceProperties source, string provisioningState, string restorePointCollectionId, IReadOnlyList restorePoints) : base(id, name, type, systemData, tags, location) + internal RestorePointGroupData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, RestorePointCollectionSourceProperties source, string provisioningState, string restorePointCollectionId, IReadOnlyList restorePoints) : base(id, name, resourceType, systemData, tags, location) { Source = source; ProvisioningState = provisioningState; diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RoleInstanceData.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RoleInstanceData.cs index 01ba792099aad..3de66ccb5e73a 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RoleInstanceData.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/RoleInstanceData.cs @@ -24,13 +24,13 @@ internal RoleInstanceData() /// Initializes a new instance of RoleInstanceData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Resource Location. /// Resource tags. /// /// - internal RoleInstanceData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string location, IReadOnlyDictionary tags, InstanceSku sku, RoleInstanceProperties properties) : base(id, name, type, systemData) + internal RoleInstanceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string location, IReadOnlyDictionary tags, InstanceSku sku, RoleInstanceProperties properties) : base(id, name, resourceType, systemData) { Location = location; Tags = tags; diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/SnapshotData.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/SnapshotData.cs index 4a94859e2bd0d..cde7ee5e13d96 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/SnapshotData.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/SnapshotData.cs @@ -25,7 +25,7 @@ public SnapshotData(AzureLocation location) : base(location) /// Initializes a new instance of SnapshotData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -52,7 +52,7 @@ public SnapshotData(AzureLocation location) : base(location) /// Indicates the OS on a snapshot supports hibernation. /// Policy for controlling export on the disk. /// Percentage complete for the background copy when a resource is created via the CopyStart operation. - internal SnapshotData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, string managedBy, SnapshotSku sku, ExtendedLocation extendedLocation, DateTimeOffset? timeCreated, OperatingSystemTypes? osType, HyperVGeneration? hyperVGeneration, DiskPurchasePlan purchasePlan, SupportedCapabilities supportedCapabilities, CreationData creationData, int? diskSizeGB, long? diskSizeBytes, DiskState? diskState, string uniqueId, EncryptionSettingsCollection encryptionSettingsCollection, string provisioningState, bool? incremental, Encryption encryption, NetworkAccessPolicy? networkAccessPolicy, string diskAccessId, DiskSecurityProfile securityProfile, bool? supportsHibernation, PublicNetworkAccess? publicNetworkAccess, float? completionPercent) : base(id, name, type, systemData, tags, location) + internal SnapshotData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string managedBy, SnapshotSku sku, ExtendedLocation extendedLocation, DateTimeOffset? timeCreated, OperatingSystemTypes? osType, HyperVGeneration? hyperVGeneration, DiskPurchasePlan purchasePlan, SupportedCapabilities supportedCapabilities, CreationData creationData, int? diskSizeGB, long? diskSizeBytes, DiskState? diskState, string uniqueId, EncryptionSettingsCollection encryptionSettingsCollection, string provisioningState, bool? incremental, Encryption encryption, NetworkAccessPolicy? networkAccessPolicy, string diskAccessId, DiskSecurityProfile securityProfile, bool? supportsHibernation, PublicNetworkAccess? publicNetworkAccess, float? completionPercent) : base(id, name, resourceType, systemData, tags, location) { ManagedBy = managedBy; Sku = sku; diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/SshPublicKeyData.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/SshPublicKeyData.cs index 3ed0c30ce913d..05fac6d076eb0 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/SshPublicKeyData.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/SshPublicKeyData.cs @@ -23,12 +23,12 @@ public SshPublicKeyData(AzureLocation location) : base(location) /// Initializes a new instance of SshPublicKeyData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. /// SSH public key used to authenticate to a virtual machine through ssh. If this property is not initially provided when the resource is created, the publicKey property will be populated when generateKeyPair is called. If the public key is provided upon resource creation, the provided public key needs to be at least 2048-bit and in ssh-rsa format. - internal SshPublicKeyData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, string publicKey) : base(id, name, type, systemData, tags, location) + internal SshPublicKeyData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string publicKey) : base(id, name, resourceType, systemData, tags, location) { PublicKey = publicKey; } diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineData.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineData.cs index 9ad4f5966f57d..d02ab48d0f562 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineData.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineData.cs @@ -27,7 +27,7 @@ public VirtualMachineData(AzureLocation location) : base(location) /// Initializes a new instance of VirtualMachineData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -61,7 +61,7 @@ public VirtualMachineData(AzureLocation location) : base(location) /// UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here. <br><br>Minimum api-version: 2021-03-01. /// Specifies information about the capacity reservation that is used to allocate virtual machine. <br><br>Minimum api-version: 2021-04-01. /// Specifies the gallery applications that should be made available to the VM/VMSS. - internal VirtualMachineData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, ComputePlan plan, IReadOnlyList resources, ManagedServiceIdentity identity, IList zones, Models.ExtendedLocation extendedLocation, HardwareProfile hardwareProfile, StorageProfile storageProfile, AdditionalCapabilities additionalCapabilities, OSProfile osProfile, NetworkProfile networkProfile, SecurityProfile securityProfile, DiagnosticsProfile diagnosticsProfile, WritableSubResource availabilitySet, WritableSubResource virtualMachineScaleSet, WritableSubResource proximityPlacementGroup, VirtualMachinePriorityTypes? priority, VirtualMachineEvictionPolicyTypes? evictionPolicy, BillingProfile billingProfile, WritableSubResource host, WritableSubResource hostGroup, string provisioningState, VirtualMachineInstanceView instanceView, string licenseType, string vmId, string extensionsTimeBudget, int? platformFaultDomain, ScheduledEventsProfile scheduledEventsProfile, string userData, CapacityReservationProfile capacityReservation, ApplicationProfile applicationProfile) : base(id, name, type, systemData, tags, location) + internal VirtualMachineData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ComputePlan plan, IReadOnlyList resources, ManagedServiceIdentity identity, IList zones, Models.ExtendedLocation extendedLocation, HardwareProfile hardwareProfile, StorageProfile storageProfile, AdditionalCapabilities additionalCapabilities, OSProfile osProfile, NetworkProfile networkProfile, SecurityProfile securityProfile, DiagnosticsProfile diagnosticsProfile, WritableSubResource availabilitySet, WritableSubResource virtualMachineScaleSet, WritableSubResource proximityPlacementGroup, VirtualMachinePriorityTypes? priority, VirtualMachineEvictionPolicyTypes? evictionPolicy, BillingProfile billingProfile, WritableSubResource host, WritableSubResource hostGroup, string provisioningState, VirtualMachineInstanceView instanceView, string licenseType, string vmId, string extensionsTimeBudget, int? platformFaultDomain, ScheduledEventsProfile scheduledEventsProfile, string userData, CapacityReservationProfile capacityReservation, ApplicationProfile applicationProfile) : base(id, name, resourceType, systemData, tags, location) { Plan = plan; Resources = resources; diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineExtensionData.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineExtensionData.cs index 5a568b188ddab..53ea7c5f95ddf 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineExtensionData.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineExtensionData.cs @@ -24,7 +24,7 @@ public VirtualMachineExtensionData(AzureLocation location) : base(location) /// Initializes a new instance of VirtualMachineExtensionData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -39,7 +39,7 @@ public VirtualMachineExtensionData(AzureLocation location) : base(location) /// The provisioning state, which only appears in the response. /// The virtual machine extension instance view. /// Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false. - internal VirtualMachineExtensionData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, string forceUpdateTag, string publisher, string typePropertiesType, string typeHandlerVersion, bool? autoUpgradeMinorVersion, bool? enableAutomaticUpgrade, object settings, object protectedSettings, string provisioningState, VirtualMachineExtensionInstanceView instanceView, bool? suppressFailures) : base(id, name, type, systemData, tags, location) + internal VirtualMachineExtensionData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string forceUpdateTag, string publisher, string typePropertiesType, string typeHandlerVersion, bool? autoUpgradeMinorVersion, bool? enableAutomaticUpgrade, object settings, object protectedSettings, string provisioningState, VirtualMachineExtensionInstanceView instanceView, bool? suppressFailures) : base(id, name, resourceType, systemData, tags, location) { ForceUpdateTag = forceUpdateTag; Publisher = publisher; diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineExtensionImageData.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineExtensionImageData.cs index 35bc25bbb0b50..6c071361f93c1 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineExtensionImageData.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineExtensionImageData.cs @@ -23,7 +23,7 @@ public VirtualMachineExtensionImageData(AzureLocation location) : base(location) /// Initializes a new instance of VirtualMachineExtensionImageData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -32,7 +32,7 @@ public VirtualMachineExtensionImageData(AzureLocation location) : base(location) /// The schema defined by publisher, where extension consumers should provide settings in a matching schema. /// Whether the extension can be used on xRP VMScaleSets. By default existing extensions are usable on scalesets, but there might be cases where a publisher wants to explicitly indicate the extension is only enabled for CRP VMs but not VMSS. /// Whether the handler can support multiple extensions. - internal VirtualMachineExtensionImageData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, string operatingSystem, string computeRole, string handlerSchema, bool? vmScaleSetEnabled, bool? supportsMultipleExtensions) : base(id, name, type, systemData, tags, location) + internal VirtualMachineExtensionImageData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string operatingSystem, string computeRole, string handlerSchema, bool? vmScaleSetEnabled, bool? supportsMultipleExtensions) : base(id, name, resourceType, systemData, tags, location) { OperatingSystem = operatingSystem; ComputeRole = computeRole; diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineRunCommandData.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineRunCommandData.cs index 915ac2564c8ea..905e14517a990 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineRunCommandData.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineRunCommandData.cs @@ -27,7 +27,7 @@ public VirtualMachineRunCommandData(AzureLocation location) : base(location) /// Initializes a new instance of VirtualMachineRunCommandData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -42,7 +42,7 @@ public VirtualMachineRunCommandData(AzureLocation location) : base(location) /// Specifies the Azure storage blob where script error stream will be uploaded. /// The provisioning state, which only appears in the response. /// The virtual machine run command instance view. - internal VirtualMachineRunCommandData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, VirtualMachineRunCommandScriptSource source, IList parameters, IList protectedParameters, bool? asyncExecution, string runAsUser, string runAsPassword, int? timeoutInSeconds, Uri outputBlobUri, Uri errorBlobUri, string provisioningState, VirtualMachineRunCommandInstanceView instanceView) : base(id, name, type, systemData, tags, location) + internal VirtualMachineRunCommandData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, VirtualMachineRunCommandScriptSource source, IList parameters, IList protectedParameters, bool? asyncExecution, string runAsUser, string runAsPassword, int? timeoutInSeconds, Uri outputBlobUri, Uri errorBlobUri, string provisioningState, VirtualMachineRunCommandInstanceView instanceView) : base(id, name, resourceType, systemData, tags, location) { Source = source; Parameters = parameters; diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetData.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetData.cs index 64fce37767222..1ebc063d3b226 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetData.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetData.cs @@ -26,7 +26,7 @@ public VirtualMachineScaleSetData(AzureLocation location) : base(location) /// Initializes a new instance of VirtualMachineScaleSetData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -51,7 +51,7 @@ public VirtualMachineScaleSetData(AzureLocation location) : base(location) /// Specifies the policies applied when scaling in Virtual Machines in the Virtual Machine Scale Set. /// Specifies the orchestration mode for the virtual machine scale set. /// Specifies the Spot Restore properties for the virtual machine scale set. - internal VirtualMachineScaleSetData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, ComputeSku sku, ComputePlan plan, ManagedServiceIdentity identity, IList zones, Models.ExtendedLocation extendedLocation, UpgradePolicy upgradePolicy, AutomaticRepairsPolicy automaticRepairsPolicy, VirtualMachineScaleSetVmProfile virtualMachineProfile, string provisioningState, bool? overprovision, bool? doNotRunExtensionsOnOverprovisionedVms, string uniqueId, bool? singlePlacementGroup, bool? zoneBalance, int? platformFaultDomainCount, WritableSubResource proximityPlacementGroup, WritableSubResource hostGroup, AdditionalCapabilities additionalCapabilities, ScaleInPolicy scaleInPolicy, OrchestrationMode? orchestrationMode, SpotRestorePolicy spotRestorePolicy) : base(id, name, type, systemData, tags, location) + internal VirtualMachineScaleSetData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ComputeSku sku, ComputePlan plan, ManagedServiceIdentity identity, IList zones, Models.ExtendedLocation extendedLocation, UpgradePolicy upgradePolicy, AutomaticRepairsPolicy automaticRepairsPolicy, VirtualMachineScaleSetVmProfile virtualMachineProfile, string provisioningState, bool? overprovision, bool? doNotRunExtensionsOnOverprovisionedVms, string uniqueId, bool? singlePlacementGroup, bool? zoneBalance, int? platformFaultDomainCount, WritableSubResource proximityPlacementGroup, WritableSubResource hostGroup, AdditionalCapabilities additionalCapabilities, ScaleInPolicy scaleInPolicy, OrchestrationMode? orchestrationMode, SpotRestorePolicy spotRestorePolicy) : base(id, name, resourceType, systemData, tags, location) { Sku = sku; Plan = plan; diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetExtensionData.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetExtensionData.cs index b7c0444f17cae..b460370046b01 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetExtensionData.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetExtensionData.cs @@ -23,7 +23,7 @@ public VirtualMachineScaleSetExtensionData() /// Initializes a new instance of VirtualMachineScaleSetExtensionData. /// Resource Id. /// The name of the extension. - /// Resource type. + /// Resource type. /// If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed. /// The name of the extension handler publisher. /// Specifies the type of the extension; an example is "CustomScriptExtension". @@ -35,10 +35,10 @@ public VirtualMachineScaleSetExtensionData() /// The provisioning state, which only appears in the response. /// Collection of extension names after which this extension needs to be provisioned. /// Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false. - internal VirtualMachineScaleSetExtensionData(string id, string name, string type, string forceUpdateTag, string publisher, string typePropertiesType, string typeHandlerVersion, bool? autoUpgradeMinorVersion, bool? enableAutomaticUpgrade, object settings, object protectedSettings, string provisioningState, IList provisionAfterExtensions, bool? suppressFailures) : base(id) + internal VirtualMachineScaleSetExtensionData(string id, string name, string resourceType, string forceUpdateTag, string publisher, string typePropertiesType, string typeHandlerVersion, bool? autoUpgradeMinorVersion, bool? enableAutomaticUpgrade, object settings, object protectedSettings, string provisioningState, IList provisionAfterExtensions, bool? suppressFailures) : base(id) { Name = name; - Type = type; + ResourceType = resourceType; ForceUpdateTag = forceUpdateTag; Publisher = publisher; TypePropertiesType = typePropertiesType; @@ -55,7 +55,7 @@ internal VirtualMachineScaleSetExtensionData(string id, string name, string type /// The name of the extension. public string Name { get; set; } /// Resource type. - public string Type { get; } + public string ResourceType { get; } /// If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed. public string ForceUpdateTag { get; set; } /// The name of the extension handler publisher. diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetRollingUpgradeData.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetRollingUpgradeData.cs index 9290f45c89517..a36b13b516a46 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetRollingUpgradeData.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetRollingUpgradeData.cs @@ -24,7 +24,7 @@ public VirtualMachineScaleSetRollingUpgradeData(AzureLocation location) : base(l /// Initializes a new instance of VirtualMachineScaleSetRollingUpgradeData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -32,7 +32,7 @@ public VirtualMachineScaleSetRollingUpgradeData(AzureLocation location) : base(l /// Information about the current running state of the overall upgrade. /// Information about the number of virtual machine instances in each upgrade state. /// Error details for this upgrade, if there are any. - internal VirtualMachineScaleSetRollingUpgradeData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, RollingUpgradePolicy policy, RollingUpgradeRunningStatus runningStatus, RollingUpgradeProgressInfo progress, ApiError error) : base(id, name, type, systemData, tags, location) + internal VirtualMachineScaleSetRollingUpgradeData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, RollingUpgradePolicy policy, RollingUpgradeRunningStatus runningStatus, RollingUpgradeProgressInfo progress, ApiError error) : base(id, name, resourceType, systemData, tags, location) { Policy = policy; RunningStatus = runningStatus; diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetVmData.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetVmData.cs index e20f6e55f8c0f..b69cc45709b95 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetVmData.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetVmData.cs @@ -27,7 +27,7 @@ public VirtualMachineScaleSetVmData(AzureLocation location) : base(location) /// Initializes a new instance of VirtualMachineScaleSetVmData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -53,7 +53,7 @@ public VirtualMachineScaleSetVmData(AzureLocation location) : base(location) /// Specifies whether the model applied to the virtual machine is the model of the virtual machine scale set or the customized model for the virtual machine. /// Specifies the protection policy of the virtual machine. /// UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here. <br><br>Minimum api-version: 2021-03-01. - internal VirtualMachineScaleSetVmData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, string instanceId, ComputeSku sku, ComputePlan plan, IReadOnlyList resources, IReadOnlyList zones, bool? latestModelApplied, string vmId, VirtualMachineScaleSetVmInstanceView instanceView, HardwareProfile hardwareProfile, StorageProfile storageProfile, AdditionalCapabilities additionalCapabilities, OSProfile osProfile, SecurityProfile securityProfile, NetworkProfile networkProfile, VirtualMachineScaleSetVmNetworkProfileConfiguration networkProfileConfiguration, DiagnosticsProfile diagnosticsProfile, WritableSubResource availabilitySet, string provisioningState, string licenseType, string modelDefinitionApplied, VirtualMachineScaleSetVmProtectionPolicy protectionPolicy, string userData) : base(id, name, type, systemData, tags, location) + internal VirtualMachineScaleSetVmData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string instanceId, ComputeSku sku, ComputePlan plan, IReadOnlyList resources, IReadOnlyList zones, bool? latestModelApplied, string vmId, VirtualMachineScaleSetVmInstanceView instanceView, HardwareProfile hardwareProfile, StorageProfile storageProfile, AdditionalCapabilities additionalCapabilities, OSProfile osProfile, SecurityProfile securityProfile, NetworkProfile networkProfile, VirtualMachineScaleSetVmNetworkProfileConfiguration networkProfileConfiguration, DiagnosticsProfile diagnosticsProfile, WritableSubResource availabilitySet, string provisioningState, string licenseType, string modelDefinitionApplied, VirtualMachineScaleSetVmProtectionPolicy protectionPolicy, string userData) : base(id, name, resourceType, systemData, tags, location) { InstanceId = instanceId; Sku = sku; diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetVmExtensionData.cs b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetVmExtensionData.cs index 09f364acefb4a..75b98bc402b86 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetVmExtensionData.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/src/Generated/VirtualMachineScaleSetVmExtensionData.cs @@ -20,7 +20,7 @@ public VirtualMachineScaleSetVmExtensionData() /// Initializes a new instance of VirtualMachineScaleSetVmExtensionData. /// Resource Id. /// The name of the extension. - /// Resource type. + /// Resource type. /// How the extension handler should be forced to update even if the extension configuration has not changed. /// The name of the extension handler publisher. /// Specifies the type of the extension; an example is "CustomScriptExtension". @@ -32,10 +32,10 @@ public VirtualMachineScaleSetVmExtensionData() /// The provisioning state, which only appears in the response. /// The virtual machine extension instance view. /// Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false. - internal VirtualMachineScaleSetVmExtensionData(string id, string name, string type, string forceUpdateTag, string publisher, string typePropertiesType, string typeHandlerVersion, bool? autoUpgradeMinorVersion, bool? enableAutomaticUpgrade, object settings, object protectedSettings, string provisioningState, VirtualMachineExtensionInstanceView instanceView, bool? suppressFailures) : base(id) + internal VirtualMachineScaleSetVmExtensionData(string id, string name, string resourceType, string forceUpdateTag, string publisher, string typePropertiesType, string typeHandlerVersion, bool? autoUpgradeMinorVersion, bool? enableAutomaticUpgrade, object settings, object protectedSettings, string provisioningState, VirtualMachineExtensionInstanceView instanceView, bool? suppressFailures) : base(id) { Name = name; - Type = type; + ResourceType = resourceType; ForceUpdateTag = forceUpdateTag; Publisher = publisher; TypePropertiesType = typePropertiesType; @@ -52,7 +52,7 @@ internal VirtualMachineScaleSetVmExtensionData(string id, string name, string ty /// The name of the extension. public string Name { get; } /// Resource type. - public string Type { get; } + public string ResourceType { get; } /// How the extension handler should be forced to update even if the extension configuration has not changed. public string ForceUpdateTag { get; set; } /// The name of the extension handler publisher. diff --git a/sdk/compute/Azure.ResourceManager.Compute/src/autorest.md b/sdk/compute/Azure.ResourceManager.Compute/src/autorest.md index 478d0bc3f0672..c5087f3f58217 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/src/autorest.md +++ b/sdk/compute/Azure.ResourceManager.Compute/src/autorest.md @@ -97,4 +97,10 @@ directive: - from: compute.json where: $.definitions.VirtualMachineInstallPatchesParameters.properties.maximumDuration transform: $["format"] = "duration" + - from: compute.json + where: $.definitions.VirtualMachineExtensionUpdateProperties.properties.type + transform: $["x-ms-client-name"] = "VirtualMachineExtensionType" + - from: communityGallery.json + where: $.definitions.PirCommunityGalleryResource.properties.type + transform: $["x-ms-client-name"] = "ResourceType" ``` diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/Helpers/ResourceDataHelper.cs b/sdk/compute/Azure.ResourceManager.Compute/tests/Helpers/ResourceDataHelper.cs index a4b25534119cc..d76972c4d830f 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/tests/Helpers/ResourceDataHelper.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/Helpers/ResourceDataHelper.cs @@ -30,7 +30,7 @@ public static void AssertTrackedResource(TrackedResourceData r1, TrackedResource { Assert.AreEqual(r1.Name, r2.Name); Assert.AreEqual(r1.Id, r2.Id); - Assert.AreEqual(r1.Type, r2.Type); + Assert.AreEqual(r1.ResourceType, r2.ResourceType); Assert.AreEqual(r1.Location, r2.Location); Assert.AreEqual(r1.Tags, r2.Tags); } @@ -113,7 +113,7 @@ public static void AssertDisk(DiskData disk1, DiskData disk2) Assert.AreEqual(disk1.DiskSizeGB, disk2.DiskSizeGB); Assert.AreEqual(disk1.ManagedBy, disk2.ManagedBy); Assert.AreEqual(disk1.Encryption?.DiskEncryptionSetId, disk2.Encryption?.DiskEncryptionSetId); - Assert.AreEqual(disk1.Encryption?.Type, disk2.Encryption?.Type); + Assert.AreEqual(disk1.Encryption?.EncryptionType, disk2.Encryption?.EncryptionType); Assert.AreEqual(disk1.CreationData?.CreateOption, disk2.CreationData?.CreateOption); Assert.AreEqual(disk1.CreationData?.ImageReference?.Id, disk2.CreationData?.ImageReference?.Id); Assert.AreEqual(disk1.CreationData?.ImageReference?.Lun, disk2.CreationData?.ImageReference?.Lun); diff --git a/sdk/compute/Azure.ResourceManager.Compute/tests/Scenario/VirtualMachineManagedIdentityTests.cs b/sdk/compute/Azure.ResourceManager.Compute/tests/Scenario/VirtualMachineManagedIdentityTests.cs index aeb9dfbed2f40..25d440a57bc8f 100644 --- a/sdk/compute/Azure.ResourceManager.Compute/tests/Scenario/VirtualMachineManagedIdentityTests.cs +++ b/sdk/compute/Azure.ResourceManager.Compute/tests/Scenario/VirtualMachineManagedIdentityTests.cs @@ -41,7 +41,7 @@ public async Task CreateVmWithSystemAssignedIdentity() var lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, vmName, input); VirtualMachine virtualMachine = lro.Value; Assert.AreEqual(vmName, virtualMachine.Data.Name); - Assert.AreEqual(ManagedServiceIdentityType.SystemAssigned, virtualMachine.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.SystemAssigned, virtualMachine.Data.Identity.ManagedServiceIdentityType); Assert.IsEmpty(virtualMachine.Data.Identity.UserAssignedIdentities); Assert.NotNull(virtualMachine.Data.Identity.PrincipalId); Assert.NotNull(virtualMachine.Data.Identity.TenantId); @@ -61,7 +61,7 @@ public async Task CreateVmWithUserAssignedIdentity() var lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, vmName, input); VirtualMachine virtualMachine = lro.Value; Assert.AreEqual(vmName, virtualMachine.Data.Name); - Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, virtualMachine.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, virtualMachine.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(virtualMachine.Data.Identity.UserAssignedIdentities.Count, 1); Assert.Null(virtualMachine.Data.Identity.PrincipalId); Assert.NotNull(virtualMachine.Data.Identity.UserAssignedIdentities[userAssignedIdentity.Id.ToString()].PrincipalId); @@ -81,7 +81,7 @@ public async Task CreateVmWithSystemAndUserAssignedIdentity() var lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, vmName, input); VirtualMachine virtualMachine = lro.Value; Assert.AreEqual(vmName, virtualMachine.Data.Name); - Assert.AreEqual(ManagedServiceIdentityType.SystemAssignedUserAssigned, virtualMachine.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.SystemAssignedUserAssigned, virtualMachine.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(virtualMachine.Data.Identity.UserAssignedIdentities.Count, 1); Assert.NotNull(virtualMachine.Data.Identity.PrincipalId); Assert.NotNull(virtualMachine.Data.Identity.UserAssignedIdentities[userAssignedIdentity.Id.ToString()].PrincipalId); @@ -106,7 +106,7 @@ public async Task UpdateVmIdentityFromNoneToSystem() }; lro = await virtualMachine.UpdateAsync(WaitUntil.Completed, updateOptions); VirtualMachine updatedVM = lro.Value; - Assert.AreEqual(ManagedServiceIdentityType.SystemAssigned, updatedVM.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.SystemAssigned, updatedVM.Data.Identity.ManagedServiceIdentityType); Assert.IsEmpty(updatedVM.Data.Identity.UserAssignedIdentities); Assert.NotNull(updatedVM.Data.Identity.PrincipalId); Assert.NotNull(updatedVM.Data.Identity.TenantId); @@ -134,7 +134,7 @@ public async Task UpdateVmIdentityFromNoneToUser() }; lro = await virtualMachine.UpdateAsync(WaitUntil.Completed, updateOptions); VirtualMachine updatedVM = lro.Value; - Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, updatedVM.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, updatedVM.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(updatedVM.Data.Identity.UserAssignedIdentities.Count, 1); Assert.Null(updatedVM.Data.Identity.PrincipalId); Assert.NotNull(updatedVM.Data.Identity.UserAssignedIdentities[userAssignedIdentity.Id.ToString()].PrincipalId); @@ -162,7 +162,7 @@ public async Task UpdateVmIdentityFromNoneToSystemAndUser() }; lro = await virtualMachine.UpdateAsync(WaitUntil.Completed, updateOptions); VirtualMachine updatedVM = lro.Value; - Assert.AreEqual(ManagedServiceIdentityType.SystemAssignedUserAssigned, updatedVM.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.SystemAssignedUserAssigned, updatedVM.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(updatedVM.Data.Identity.UserAssignedIdentities.Count, 1); Assert.NotNull(updatedVM.Data.Identity.PrincipalId); Assert.NotNull(updatedVM.Data.Identity.UserAssignedIdentities[userAssignedIdentity.Id.ToString()].PrincipalId); @@ -180,7 +180,7 @@ public async Task UpdateVmIdentityFromSystemToNone() var lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, vmName, input); VirtualMachine virtualMachine = lro.Value; Assert.AreEqual(vmName, virtualMachine.Data.Name); - Assert.AreEqual(ManagedServiceIdentityType.SystemAssigned, virtualMachine.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.SystemAssigned, virtualMachine.Data.Identity.ManagedServiceIdentityType); Assert.IsEmpty(virtualMachine.Data.Identity.UserAssignedIdentities); Assert.NotNull(virtualMachine.Data.Identity.PrincipalId); Assert.NotNull(virtualMachine.Data.Identity.TenantId); @@ -207,7 +207,7 @@ public async Task UpdateVmIdentityFromSystemToUser() var lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, vmName, input); VirtualMachine virtualMachine = lro.Value; Assert.AreEqual(vmName, virtualMachine.Data.Name); - Assert.AreEqual(ManagedServiceIdentityType.SystemAssigned, virtualMachine.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.SystemAssigned, virtualMachine.Data.Identity.ManagedServiceIdentityType); Assert.IsEmpty(virtualMachine.Data.Identity.UserAssignedIdentities); Assert.NotNull(virtualMachine.Data.Identity.PrincipalId); Assert.NotNull(virtualMachine.Data.Identity.TenantId); @@ -221,7 +221,7 @@ public async Task UpdateVmIdentityFromSystemToUser() }; lro = await virtualMachine.UpdateAsync(WaitUntil.Completed, updateOptions); VirtualMachine updatedVM = lro.Value; - Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, updatedVM.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, updatedVM.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(updatedVM.Data.Identity.UserAssignedIdentities.Count, 1); Assert.Null(updatedVM.Data.Identity.PrincipalId); Assert.NotNull(updatedVM.Data.Identity.UserAssignedIdentities[userAssignedIdentity.Id.ToString()].PrincipalId); @@ -239,7 +239,7 @@ public async Task UpdateVmIdentityFromSystemToSystemUser() var lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, vmName, input); VirtualMachine virtualMachine = lro.Value; Assert.AreEqual(vmName, virtualMachine.Data.Name); - Assert.AreEqual(ManagedServiceIdentityType.SystemAssigned, virtualMachine.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.SystemAssigned, virtualMachine.Data.Identity.ManagedServiceIdentityType); Assert.IsEmpty(virtualMachine.Data.Identity.UserAssignedIdentities); Assert.NotNull(virtualMachine.Data.Identity.PrincipalId); Assert.NotNull(virtualMachine.Data.Identity.TenantId); @@ -253,7 +253,7 @@ public async Task UpdateVmIdentityFromSystemToSystemUser() }; lro = await virtualMachine.UpdateAsync(WaitUntil.Completed, updateOptions); VirtualMachine updatedVM = lro.Value; - Assert.AreEqual(ManagedServiceIdentityType.SystemAssignedUserAssigned, updatedVM.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.SystemAssignedUserAssigned, updatedVM.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(updatedVM.Data.Identity.UserAssignedIdentities.Count, 1); Assert.NotNull(updatedVM.Data.Identity.PrincipalId); Assert.NotNull(updatedVM.Data.Identity.UserAssignedIdentities[userAssignedIdentity.Id.ToString()].PrincipalId); @@ -273,7 +273,7 @@ public async Task UpdateVmIdentityFromUserToNone() var lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, vmName, input); VirtualMachine virtualMachine = lro.Value; Assert.AreEqual(vmName, virtualMachine.Data.Name); - Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, virtualMachine.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, virtualMachine.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(virtualMachine.Data.Identity.UserAssignedIdentities.Count, 1); Assert.Null(virtualMachine.Data.Identity.PrincipalId); Assert.NotNull(virtualMachine.Data.Identity.UserAssignedIdentities[userAssignedIdentity.Id.ToString()].PrincipalId); @@ -302,7 +302,7 @@ public async Task UpdateVmIdentityFromUserToSystem() var lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, vmName, input); VirtualMachine virtualMachine = lro.Value; Assert.AreEqual(vmName, virtualMachine.Data.Name); - Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, virtualMachine.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, virtualMachine.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(virtualMachine.Data.Identity.UserAssignedIdentities.Count, 1); Assert.Null(virtualMachine.Data.Identity.PrincipalId); Assert.NotNull(virtualMachine.Data.Identity.UserAssignedIdentities[userAssignedIdentity.Id.ToString()].PrincipalId); @@ -313,7 +313,7 @@ public async Task UpdateVmIdentityFromUserToSystem() }; lro = await virtualMachine.UpdateAsync(WaitUntil.Completed, updateOptions); VirtualMachine updatedVM = lro.Value; - Assert.AreEqual(ManagedServiceIdentityType.SystemAssigned, updatedVM.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.SystemAssigned, updatedVM.Data.Identity.ManagedServiceIdentityType); Assert.IsEmpty(updatedVM.Data.Identity.UserAssignedIdentities); Assert.NotNull(updatedVM.Data.Identity.PrincipalId); Assert.NotNull(updatedVM.Data.Identity.TenantId); @@ -333,7 +333,7 @@ public async Task UpdateVmIdentityFromUserToSystemUser() var lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, vmName, input); VirtualMachine virtualMachine = lro.Value; Assert.AreEqual(vmName, virtualMachine.Data.Name); - Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, virtualMachine.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, virtualMachine.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(virtualMachine.Data.Identity.UserAssignedIdentities.Count, 1); Assert.Null(virtualMachine.Data.Identity.PrincipalId); Assert.NotNull(virtualMachine.Data.Identity.UserAssignedIdentities[userAssignedIdentity.Id.ToString()].PrincipalId); @@ -345,7 +345,7 @@ public async Task UpdateVmIdentityFromUserToSystemUser() }; lro = await virtualMachine.UpdateAsync(WaitUntil.Completed, updateOptions); VirtualMachine updatedVM = lro.Value; - Assert.AreEqual(ManagedServiceIdentityType.SystemAssignedUserAssigned, updatedVM.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.SystemAssignedUserAssigned, updatedVM.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(updatedVM.Data.Identity.UserAssignedIdentities.Count, 1); Assert.NotNull(updatedVM.Data.Identity.PrincipalId); Assert.NotNull(updatedVM.Data.Identity.UserAssignedIdentities[userAssignedIdentity.Id.ToString()].PrincipalId); @@ -365,7 +365,7 @@ public async Task UpdateVmIdentityFromUserToTwoUsers() var lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, vmName, input); VirtualMachine virtualMachine = lro.Value; Assert.AreEqual(vmName, virtualMachine.Data.Name); - Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, virtualMachine.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, virtualMachine.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(virtualMachine.Data.Identity.UserAssignedIdentities.Count, 1); Assert.Null(virtualMachine.Data.Identity.PrincipalId); Assert.NotNull(virtualMachine.Data.Identity.UserAssignedIdentities[userAssignedIdentity.Id.ToString()].PrincipalId); @@ -380,7 +380,7 @@ public async Task UpdateVmIdentityFromUserToTwoUsers() }; lro = await virtualMachine.UpdateAsync(WaitUntil.Completed, updateOptions); VirtualMachine updatedVM = lro.Value; - Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, updatedVM.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, updatedVM.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(updatedVM.Data.Identity.UserAssignedIdentities.Count, 2); Assert.Null(updatedVM.Data.Identity.PrincipalId); Assert.NotNull(updatedVM.Data.Identity.UserAssignedIdentities[userAssignedIdentity.Id.ToString()].PrincipalId); @@ -402,7 +402,7 @@ public async Task UpdateVmIdentityToRemoveUser() var lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, vmName, input); VirtualMachine virtualMachine = lro.Value; Assert.AreEqual(vmName, virtualMachine.Data.Name); - Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, virtualMachine.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, virtualMachine.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(virtualMachine.Data.Identity.UserAssignedIdentities.Count, 1); Assert.Null(virtualMachine.Data.Identity.PrincipalId); Assert.NotNull(virtualMachine.Data.Identity.UserAssignedIdentities[userAssignedIdentity.Id.ToString()].PrincipalId); @@ -435,7 +435,7 @@ public async Task UpdateVmIdentityFromTwoUsersToOneUser() var lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, vmName, input); VirtualMachine virtualMachine = lro.Value; Assert.AreEqual(vmName, virtualMachine.Data.Name); - Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, virtualMachine.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, virtualMachine.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(virtualMachine.Data.Identity.UserAssignedIdentities.Count, 2); Assert.Null(virtualMachine.Data.Identity.PrincipalId); Assert.NotNull(virtualMachine.Data.Identity.UserAssignedIdentities[userAssignedIdentity1.Id.ToString()].PrincipalId); @@ -450,7 +450,7 @@ public async Task UpdateVmIdentityFromTwoUsersToOneUser() }; lro = await virtualMachine.UpdateAsync(WaitUntil.Completed, updateOptions); VirtualMachine updatedVM = lro.Value; - Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, updatedVM.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, updatedVM.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(updatedVM.Data.Identity.UserAssignedIdentities.Count, 1); Assert.Null(updatedVM.Data.Identity.PrincipalId); Assert.IsFalse(updatedVM.Data.Identity.UserAssignedIdentities.ContainsKey(userAssignedIdentity1.Id.ToString())); @@ -471,7 +471,7 @@ public async Task UpdateVmIdentityFromSystemUserToNone() var lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, vmName, input); VirtualMachine virtualMachine = lro.Value; Assert.AreEqual(vmName, virtualMachine.Data.Name); - Assert.AreEqual(ManagedServiceIdentityType.SystemAssignedUserAssigned, virtualMachine.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.SystemAssignedUserAssigned, virtualMachine.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(virtualMachine.Data.Identity.UserAssignedIdentities.Count, 1); Assert.NotNull(virtualMachine.Data.Identity.PrincipalId); Assert.NotNull(virtualMachine.Data.Identity.UserAssignedIdentities[userAssignedIdentity.Id.ToString()].PrincipalId); @@ -500,7 +500,7 @@ public async Task UpdateVmIdentityFromSystemUserToSystem() var lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, vmName, input); VirtualMachine virtualMachine = lro.Value; Assert.AreEqual(vmName, virtualMachine.Data.Name); - Assert.AreEqual(ManagedServiceIdentityType.SystemAssignedUserAssigned, virtualMachine.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.SystemAssignedUserAssigned, virtualMachine.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(virtualMachine.Data.Identity.UserAssignedIdentities.Count, 1); Assert.NotNull(virtualMachine.Data.Identity.PrincipalId); Assert.NotNull(virtualMachine.Data.Identity.UserAssignedIdentities[userAssignedIdentity.Id.ToString()].PrincipalId); @@ -511,7 +511,7 @@ public async Task UpdateVmIdentityFromSystemUserToSystem() }; lro = await virtualMachine.UpdateAsync(WaitUntil.Completed, updateOptions); VirtualMachine updatedVM = lro.Value; - Assert.AreEqual(ManagedServiceIdentityType.SystemAssigned, updatedVM.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.SystemAssigned, updatedVM.Data.Identity.ManagedServiceIdentityType); Assert.IsEmpty(updatedVM.Data.Identity.UserAssignedIdentities); Assert.NotNull(updatedVM.Data.Identity.PrincipalId); Assert.NotNull(updatedVM.Data.Identity.TenantId); @@ -531,7 +531,7 @@ public async Task UpdateVmIdentityFromSystemUserToUser() var lro = await collection.CreateOrUpdateAsync(WaitUntil.Completed, vmName, input); VirtualMachine virtualMachine = lro.Value; Assert.AreEqual(vmName, virtualMachine.Data.Name); - Assert.AreEqual(ManagedServiceIdentityType.SystemAssignedUserAssigned, virtualMachine.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.SystemAssignedUserAssigned, virtualMachine.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(virtualMachine.Data.Identity.UserAssignedIdentities.Count, 1); Assert.NotNull(virtualMachine.Data.Identity.PrincipalId); Assert.NotNull(virtualMachine.Data.Identity.UserAssignedIdentities[userAssignedIdentity.Id.ToString()].PrincipalId); @@ -542,7 +542,7 @@ public async Task UpdateVmIdentityFromSystemUserToUser() }; lro = await virtualMachine.UpdateAsync(WaitUntil.Completed, updateOptions); VirtualMachine updatedVM = lro.Value; - Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, updatedVM.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, updatedVM.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(updatedVM.Data.Identity.UserAssignedIdentities.Count, 1); Assert.Null(updatedVM.Data.Identity.PrincipalId); Assert.NotNull(updatedVM.Data.Identity.UserAssignedIdentities[userAssignedIdentity.Id.ToString()].PrincipalId); diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/api/Azure.ResourceManager.ConnectedVMwarevSphere.netstandard2.0.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/api/Azure.ResourceManager.ConnectedVMwarevSphere.netstandard2.0.cs index f6bb458ef2b74..78d9a3b96398e 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/api/Azure.ResourceManager.ConnectedVMwarevSphere.netstandard2.0.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/api/Azure.ResourceManager.ConnectedVMwarevSphere.netstandard2.0.cs @@ -174,12 +174,12 @@ public MachineExtensionData(Azure.Core.AzureLocation location) : base (default(A public bool? AutoUpgradeMinorVersion { get { throw null; } set { } } public string ForceUpdateTag { get { throw null; } set { } } public Azure.ResourceManager.ConnectedVMwarevSphere.Models.MachineExtensionPropertiesInstanceView InstanceView { get { throw null; } set { } } + public string MachineExtensionType { get { throw null; } set { } } public object ProtectedSettings { get { throw null; } set { } } public string ProvisioningState { get { throw null; } } public string Publisher { get { throw null; } set { } } public object Settings { get { throw null; } set { } } public string TypeHandlerVersion { get { throw null; } set { } } - public string TypePropertiesType { get { throw null; } set { } } } public static partial class ResourceGroupExtensions { @@ -731,8 +731,8 @@ internal ErrorDetail() { } public partial class ExtendedLocation { public ExtendedLocation() { } + public string ExtendedLocationType { get { throw null; } set { } } public string Name { get { throw null; } set { } } - public string Type { get { throw null; } set { } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct FirmwareType : System.IEquatable @@ -825,9 +825,9 @@ public HardwareProfile() { } public partial class MachineExtensionInstanceView { public MachineExtensionInstanceView() { } + public string MachineExtensionInstanceViewType { get { throw null; } } public string Name { get { throw null; } } public Azure.ResourceManager.ConnectedVMwarevSphere.Models.MachineExtensionInstanceViewStatus Status { get { throw null; } set { } } - public string Type { get { throw null; } } public string TypeHandlerVersion { get { throw null; } } } public partial class MachineExtensionInstanceViewStatus @@ -944,10 +944,10 @@ public partial class PatchableMachineExtensionData : Azure.ResourceManager.Conne public PatchableMachineExtensionData() { } public bool? AutoUpgradeMinorVersion { get { throw null; } set { } } public string ForceUpdateTag { get { throw null; } set { } } + public string MachineExtensionType { get { throw null; } set { } } public object ProtectedSettings { get { throw null; } set { } } public string Publisher { get { throw null; } set { } } public object Settings { get { throw null; } set { } } - public string Type { get { throw null; } set { } } public string TypeHandlerVersion { get { throw null; } set { } } } public partial class PatchableVirtualMachineData @@ -1039,9 +1039,9 @@ internal ResourceStatus() { } public System.DateTimeOffset? LastUpdatedAt { get { throw null; } } public string Message { get { throw null; } } public string Reason { get { throw null; } } + public string ResourceStatusType { get { throw null; } } public string Severity { get { throw null; } } public string Status { get { throw null; } } - public string Type { get { throw null; } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ScsiControllerType : System.IEquatable @@ -1149,9 +1149,9 @@ public partial class VirtualScsiController internal VirtualScsiController() { } public int? BusNumber { get { throw null; } } public int? ControllerKey { get { throw null; } } + public Azure.ResourceManager.ConnectedVMwarevSphere.Models.ScsiControllerType? ScsiControllerType { get { throw null; } } public int? ScsiCtlrUnitNumber { get { throw null; } } public Azure.ResourceManager.ConnectedVMwarevSphere.Models.VirtualScsiSharing? Sharing { get { throw null; } } - public Azure.ResourceManager.ConnectedVMwarevSphere.Models.ScsiControllerType? Type { get { throw null; } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct VirtualScsiSharing : System.IEquatable diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/GuestAgentData.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/GuestAgentData.cs index f8870a80c1d8a..d9854383f8235 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/GuestAgentData.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/GuestAgentData.cs @@ -24,7 +24,7 @@ public GuestAgentData() /// Initializes a new instance of GuestAgentData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Gets or sets a unique identifier for this resource. /// Username / Password Credentials to provision guest agent. @@ -34,7 +34,7 @@ public GuestAgentData() /// Gets the name of the corresponding resource in Kubernetes. /// The resource status information. /// Gets or sets the provisioning state. - internal GuestAgentData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string uuid, GuestCredential credentials, HttpProxyConfiguration httpProxyConfig, ProvisioningAction? provisioningAction, string status, string customResourceName, IReadOnlyList statuses, string provisioningState) : base(id, name, type, systemData) + internal GuestAgentData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string uuid, GuestCredential credentials, HttpProxyConfiguration httpProxyConfig, ProvisioningAction? provisioningAction, string status, string customResourceName, IReadOnlyList statuses, string provisioningState) : base(id, name, resourceType, systemData) { Uuid = uuid; Credentials = credentials; diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/HybridIdentityMetadataData.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/HybridIdentityMetadataData.cs index aa7420c1d3593..ee433701da8c3 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/HybridIdentityMetadataData.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/HybridIdentityMetadataData.cs @@ -21,13 +21,13 @@ public HybridIdentityMetadataData() /// Initializes a new instance of HybridIdentityMetadataData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Gets or sets the Vm Id. /// Gets or sets the Public Key. /// The identity of the resource. /// Gets or sets the provisioning state. - internal HybridIdentityMetadataData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string vmId, string publicKey, SystemAssignedServiceIdentity identity, string provisioningState) : base(id, name, type, systemData) + internal HybridIdentityMetadataData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string vmId, string publicKey, SystemAssignedServiceIdentity identity, string provisioningState) : base(id, name, resourceType, systemData) { VmId = vmId; PublicKey = publicKey; diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/InventoryItemData.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/InventoryItemData.cs index ff0b4adf9ad3c..78efadebacb2a 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/InventoryItemData.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/InventoryItemData.cs @@ -24,7 +24,7 @@ public InventoryItemData(InventoryType inventoryType) /// Initializes a new instance of InventoryItemData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value. /// They inventory type. @@ -32,7 +32,7 @@ public InventoryItemData(InventoryType inventoryType) /// Gets or sets the MoRef (Managed Object Reference) ID for the inventory item. /// Gets or sets the vCenter Managed Object name for the inventory item. /// Gets or sets the provisioning state. - internal InventoryItemData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, InventoryType inventoryType, string managedResourceId, string moRefId, string moName, string provisioningState) : base(id, name, type, systemData) + internal InventoryItemData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, InventoryType inventoryType, string managedResourceId, string moRefId, string moName, string provisioningState) : base(id, name, resourceType, systemData) { Kind = kind; InventoryType = inventoryType; diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/MachineExtensionData.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/MachineExtensionData.cs index d37db91a3a416..a4cf03189a8d3 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/MachineExtensionData.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/MachineExtensionData.cs @@ -24,24 +24,24 @@ public MachineExtensionData(AzureLocation location) : base(location) /// Initializes a new instance of MachineExtensionData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. /// How the extension handler should be forced to update even if the extension configuration has not changed. /// The name of the extension handler publisher. - /// Specifies the type of the extension; an example is "CustomScriptExtension". + /// Specifies the type of the extension; an example is "CustomScriptExtension". /// Specifies the version of the script handler. /// Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. /// Json formatted public settings for the extension. /// The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. /// The provisioning state, which only appears in the response. /// The machine extension instance view. - internal MachineExtensionData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, string forceUpdateTag, string publisher, string typePropertiesType, string typeHandlerVersion, bool? autoUpgradeMinorVersion, object settings, object protectedSettings, string provisioningState, MachineExtensionPropertiesInstanceView instanceView) : base(id, name, type, systemData, tags, location) + internal MachineExtensionData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string forceUpdateTag, string publisher, string machineExtensionType, string typeHandlerVersion, bool? autoUpgradeMinorVersion, object settings, object protectedSettings, string provisioningState, MachineExtensionPropertiesInstanceView instanceView) : base(id, name, resourceType, systemData, tags, location) { ForceUpdateTag = forceUpdateTag; Publisher = publisher; - TypePropertiesType = typePropertiesType; + MachineExtensionType = machineExtensionType; TypeHandlerVersion = typeHandlerVersion; AutoUpgradeMinorVersion = autoUpgradeMinorVersion; Settings = settings; @@ -55,7 +55,7 @@ internal MachineExtensionData(ResourceIdentifier id, string name, ResourceType t /// The name of the extension handler publisher. public string Publisher { get; set; } /// Specifies the type of the extension; an example is "CustomScriptExtension". - public string TypePropertiesType { get; set; } + public string MachineExtensionType { get; set; } /// Specifies the version of the script handler. public string TypeHandlerVersion { get; set; } /// Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/Models/ExtendedLocation.Serialization.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/Models/ExtendedLocation.Serialization.cs index 5271f5757735a..4f83ee48917fb 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/Models/ExtendedLocation.Serialization.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/Models/ExtendedLocation.Serialization.cs @@ -15,10 +15,10 @@ public partial class ExtendedLocation : IUtf8JsonSerializable void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(ExtendedLocationType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type); + writer.WriteStringValue(ExtendedLocationType); } if (Optional.IsDefined(Name)) { diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/Models/ExtendedLocation.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/Models/ExtendedLocation.cs index 90fd3a26b4149..4bba822b8b4e0 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/Models/ExtendedLocation.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/Models/ExtendedLocation.cs @@ -16,16 +16,16 @@ public ExtendedLocation() } /// Initializes a new instance of ExtendedLocation. - /// The extended location type. + /// The extended location type. /// The extended location name. - internal ExtendedLocation(string type, string name) + internal ExtendedLocation(string extendedLocationType, string name) { - Type = type; + ExtendedLocationType = extendedLocationType; Name = name; } /// The extended location type. - public string Type { get; set; } + public string ExtendedLocationType { get; set; } /// The extended location name. public string Name { get; set; } } diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/Models/MachineExtensionData.Serialization.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/Models/MachineExtensionData.Serialization.cs index 2bb57fb247821..9d46793c4d019 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/Models/MachineExtensionData.Serialization.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/Models/MachineExtensionData.Serialization.cs @@ -40,10 +40,10 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("publisher"); writer.WriteStringValue(Publisher); } - if (Optional.IsDefined(TypePropertiesType)) + if (Optional.IsDefined(MachineExtensionType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(TypePropertiesType); + writer.WriteStringValue(MachineExtensionType); } if (Optional.IsDefined(TypeHandlerVersion)) { diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/Models/MachineExtensionInstanceView.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/Models/MachineExtensionInstanceView.cs index 5f26336754c68..baa33fc3251cc 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/Models/MachineExtensionInstanceView.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/Models/MachineExtensionInstanceView.cs @@ -17,13 +17,13 @@ public MachineExtensionInstanceView() /// Initializes a new instance of MachineExtensionInstanceView. /// The machine extension name. - /// Specifies the type of the extension; an example is "CustomScriptExtension". + /// Specifies the type of the extension; an example is "CustomScriptExtension". /// Specifies the version of the script handler. /// Instance view status. - internal MachineExtensionInstanceView(string name, string type, string typeHandlerVersion, MachineExtensionInstanceViewStatus status) + internal MachineExtensionInstanceView(string name, string machineExtensionInstanceViewType, string typeHandlerVersion, MachineExtensionInstanceViewStatus status) { Name = name; - Type = type; + MachineExtensionInstanceViewType = machineExtensionInstanceViewType; TypeHandlerVersion = typeHandlerVersion; Status = status; } @@ -31,7 +31,7 @@ internal MachineExtensionInstanceView(string name, string type, string typeHandl /// The machine extension name. public string Name { get; } /// Specifies the type of the extension; an example is "CustomScriptExtension". - public string Type { get; } + public string MachineExtensionInstanceViewType { get; } /// Specifies the version of the script handler. public string TypeHandlerVersion { get; } /// Instance view status. diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/Models/MachineExtensionPropertiesInstanceView.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/Models/MachineExtensionPropertiesInstanceView.cs index 3550f5f5744e6..9b3b90e4abf89 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/Models/MachineExtensionPropertiesInstanceView.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/Models/MachineExtensionPropertiesInstanceView.cs @@ -17,10 +17,10 @@ public MachineExtensionPropertiesInstanceView() /// Initializes a new instance of MachineExtensionPropertiesInstanceView. /// The machine extension name. - /// Specifies the type of the extension; an example is "CustomScriptExtension". + /// Specifies the type of the extension; an example is "CustomScriptExtension". /// Specifies the version of the script handler. /// Instance view status. - internal MachineExtensionPropertiesInstanceView(string name, string type, string typeHandlerVersion, MachineExtensionInstanceViewStatus status) : base(name, type, typeHandlerVersion, status) + internal MachineExtensionPropertiesInstanceView(string name, string machineExtensionInstanceViewType, string typeHandlerVersion, MachineExtensionInstanceViewStatus status) : base(name, machineExtensionInstanceViewType, typeHandlerVersion, status) { } } diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/Models/PatchableMachineExtensionData.Serialization.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/Models/PatchableMachineExtensionData.Serialization.cs index 2469a3b54bc82..b3d6912cc970e 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/Models/PatchableMachineExtensionData.Serialization.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/Models/PatchableMachineExtensionData.Serialization.cs @@ -38,10 +38,10 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("publisher"); writer.WriteStringValue(Publisher); } - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(MachineExtensionType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type); + writer.WriteStringValue(MachineExtensionType); } if (Optional.IsDefined(TypeHandlerVersion)) { diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/Models/PatchableMachineExtensionData.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/Models/PatchableMachineExtensionData.cs index 063e62be4e10b..9619fbcfab2b5 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/Models/PatchableMachineExtensionData.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/Models/PatchableMachineExtensionData.cs @@ -20,7 +20,7 @@ public PatchableMachineExtensionData() /// The name of the extension handler publisher. public string Publisher { get; set; } /// Specifies the type of the extension; an example is "CustomScriptExtension". - public string Type { get; set; } + public string MachineExtensionType { get; set; } /// Specifies the version of the script handler. public string TypeHandlerVersion { get; set; } /// Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/Models/ResourceStatus.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/Models/ResourceStatus.cs index 14c8a0871632b..0c9129f6b1030 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/Models/ResourceStatus.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/Models/ResourceStatus.cs @@ -18,15 +18,15 @@ internal ResourceStatus() } /// Initializes a new instance of ResourceStatus. - /// The type of the condition. + /// The type of the condition. /// Status of the condition. /// The reason for the condition's status. /// A human readable message indicating details about the status. /// Severity with which to treat failures of this type of condition. /// The last update time for this condition. - internal ResourceStatus(string type, string status, string reason, string message, string severity, DateTimeOffset? lastUpdatedAt) + internal ResourceStatus(string resourceStatusType, string status, string reason, string message, string severity, DateTimeOffset? lastUpdatedAt) { - Type = type; + ResourceStatusType = resourceStatusType; Status = status; Reason = reason; Message = message; @@ -35,7 +35,7 @@ internal ResourceStatus(string type, string status, string reason, string messag } /// The type of the condition. - public string Type { get; } + public string ResourceStatusType { get; } /// Status of the condition. public string Status { get; } /// The reason for the condition's status. diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/Models/VirtualScsiController.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/Models/VirtualScsiController.cs index 87b274989f5fe..f18f245245247 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/Models/VirtualScsiController.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/Models/VirtualScsiController.cs @@ -16,14 +16,14 @@ internal VirtualScsiController() } /// Initializes a new instance of VirtualScsiController. - /// Gets or sets the controller type. + /// Gets or sets the controller type. /// Gets or sets the key of the controller. /// Gets or sets the bus number of the controller. /// Gets or sets the SCSI controller unit number. /// Gets or sets the sharing mode. - internal VirtualScsiController(ScsiControllerType? type, int? controllerKey, int? busNumber, int? scsiCtlrUnitNumber, VirtualScsiSharing? sharing) + internal VirtualScsiController(ScsiControllerType? scsiControllerType, int? controllerKey, int? busNumber, int? scsiCtlrUnitNumber, VirtualScsiSharing? sharing) { - Type = type; + ScsiControllerType = scsiControllerType; ControllerKey = controllerKey; BusNumber = busNumber; ScsiCtlrUnitNumber = scsiCtlrUnitNumber; @@ -31,7 +31,7 @@ internal VirtualScsiController(ScsiControllerType? type, int? controllerKey, int } /// Gets or sets the controller type. - public ScsiControllerType? Type { get; } + public ScsiControllerType? ScsiControllerType { get; } /// Gets or sets the key of the controller. public int? ControllerKey { get; } /// Gets or sets the bus number of the controller. diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/ResourcePoolData.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/ResourcePoolData.cs index aa6ce2d9d9640..f6ecae241784f 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/ResourcePoolData.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/ResourcePoolData.cs @@ -25,7 +25,7 @@ public ResourcePoolData(AzureLocation location) : base(location) /// Initializes a new instance of ResourcePoolData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -63,7 +63,7 @@ public ResourcePoolData(AzureLocation location) : base(location) /// Gets the name of the corresponding resource in Kubernetes. /// The resource status information. /// Gets or sets the provisioning state. - internal ResourcePoolData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, ExtendedLocation extendedLocation, string kind, string uuid, string vCenterId, string moRefId, string inventoryItemId, string moName, string cpuSharesLevel, long? cpuReservationMHz, long? cpuLimitMHz, string memSharesLevel, long? memReservationMB, long? memLimitMB, string customResourceName, IReadOnlyList statuses, string provisioningState) : base(id, name, type, systemData, tags, location) + internal ResourcePoolData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ExtendedLocation extendedLocation, string kind, string uuid, string vCenterId, string moRefId, string inventoryItemId, string moName, string cpuSharesLevel, long? cpuReservationMHz, long? cpuLimitMHz, string memSharesLevel, long? memReservationMB, long? memLimitMB, string customResourceName, IReadOnlyList statuses, string provisioningState) : base(id, name, resourceType, systemData, tags, location) { ExtendedLocation = extendedLocation; Kind = kind; diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/VCenterData.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/VCenterData.cs index fe7a8fcd0f9da..3424695dae023 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/VCenterData.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/VCenterData.cs @@ -34,7 +34,7 @@ public VCenterData(AzureLocation location, string fqdn) : base(location) /// Initializes a new instance of VCenterData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -50,7 +50,7 @@ public VCenterData(AzureLocation location, string fqdn) : base(location) /// Username / Password Credentials to connect to vcenter. /// The resource status information. /// Gets or sets the provisioning state. - internal VCenterData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, ExtendedLocation extendedLocation, string kind, string uuid, string fqdn, int? port, string version, string instanceUuid, string connectionStatus, string customResourceName, VICredential credentials, IReadOnlyList statuses, string provisioningState) : base(id, name, type, systemData, tags, location) + internal VCenterData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ExtendedLocation extendedLocation, string kind, string uuid, string fqdn, int? port, string version, string instanceUuid, string connectionStatus, string customResourceName, VICredential credentials, IReadOnlyList statuses, string provisioningState) : base(id, name, resourceType, systemData, tags, location) { ExtendedLocation = extendedLocation; Kind = kind; diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/VMwareClusterData.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/VMwareClusterData.cs index 3e9ad89d51a82..64161ce0c41f7 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/VMwareClusterData.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/VMwareClusterData.cs @@ -27,7 +27,7 @@ public VMwareClusterData(AzureLocation location) : base(location) /// Initializes a new instance of VMwareClusterData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -43,7 +43,7 @@ public VMwareClusterData(AzureLocation location) : base(location) /// Gets or sets the datastore ARM ids. /// Gets or sets the network ARM ids. /// Gets or sets the provisioning state. - internal VMwareClusterData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, ExtendedLocation extendedLocation, string kind, string uuid, string vCenterId, string moRefId, string inventoryItemId, string moName, IReadOnlyList statuses, string customResourceName, IReadOnlyList datastoreIds, IReadOnlyList networkIds, string provisioningState) : base(id, name, type, systemData, tags, location) + internal VMwareClusterData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ExtendedLocation extendedLocation, string kind, string uuid, string vCenterId, string moRefId, string inventoryItemId, string moName, IReadOnlyList statuses, string customResourceName, IReadOnlyList datastoreIds, IReadOnlyList networkIds, string provisioningState) : base(id, name, resourceType, systemData, tags, location) { ExtendedLocation = extendedLocation; Kind = kind; diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/VMwareDatastoreData.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/VMwareDatastoreData.cs index cb478cdff625a..0ddac0b0fd759 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/VMwareDatastoreData.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/VMwareDatastoreData.cs @@ -25,7 +25,7 @@ public VMwareDatastoreData(AzureLocation location) : base(location) /// Initializes a new instance of VMwareDatastoreData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -39,7 +39,7 @@ public VMwareDatastoreData(AzureLocation location) : base(location) /// The resource status information. /// Gets the name of the corresponding resource in Kubernetes. /// Provisioning state of the resource. - internal VMwareDatastoreData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, ExtendedLocation extendedLocation, string kind, string uuid, string vCenterId, string moRefId, string inventoryItemId, string moName, IReadOnlyList statuses, string customResourceName, ProvisioningState? provisioningState) : base(id, name, type, systemData, tags, location) + internal VMwareDatastoreData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ExtendedLocation extendedLocation, string kind, string uuid, string vCenterId, string moRefId, string inventoryItemId, string moName, IReadOnlyList statuses, string customResourceName, ProvisioningState? provisioningState) : base(id, name, resourceType, systemData, tags, location) { ExtendedLocation = extendedLocation; Kind = kind; diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/VMwareHostData.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/VMwareHostData.cs index efac12e82ede6..18586bac82733 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/VMwareHostData.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/VMwareHostData.cs @@ -25,7 +25,7 @@ public VMwareHostData(AzureLocation location) : base(location) /// Initializes a new instance of VMwareHostData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -39,7 +39,7 @@ public VMwareHostData(AzureLocation location) : base(location) /// The resource status information. /// Gets the name of the corresponding resource in Kubernetes. /// Gets or sets the provisioning state. - internal VMwareHostData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, ExtendedLocation extendedLocation, string kind, string uuid, string vCenterId, string moRefId, string inventoryItemId, string moName, IReadOnlyList statuses, string customResourceName, string provisioningState) : base(id, name, type, systemData, tags, location) + internal VMwareHostData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ExtendedLocation extendedLocation, string kind, string uuid, string vCenterId, string moRefId, string inventoryItemId, string moName, IReadOnlyList statuses, string customResourceName, string provisioningState) : base(id, name, resourceType, systemData, tags, location) { ExtendedLocation = extendedLocation; Kind = kind; diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/VirtualMachineData.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/VirtualMachineData.cs index 0f88dac640621..23fd4fb7744ed 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/VirtualMachineData.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/VirtualMachineData.cs @@ -25,7 +25,7 @@ public VirtualMachineData(AzureLocation location) : base(location) /// Initializes a new instance of VirtualMachineData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -57,7 +57,7 @@ public VirtualMachineData(AzureLocation location) : base(location) /// The resource status information. /// Gets or sets the provisioning state. /// Gets or sets a unique identifier for the vm resource. - internal VirtualMachineData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, ExtendedLocation extendedLocation, string kind, SystemAssignedServiceIdentity identity, string resourcePoolId, string templateId, string vCenterId, PlacementProfile placementProfile, OSProfile osProfile, HardwareProfile hardwareProfile, NetworkProfile networkProfile, StorageProfile storageProfile, GuestAgentProfile guestAgentProfile, string moRefId, string inventoryItemId, string moName, string folderPath, string instanceUuid, string smbiosUuid, FirmwareType? firmwareType, string powerState, string customResourceName, string uuid, IReadOnlyList statuses, string provisioningState, string vmId) : base(id, name, type, systemData, tags, location) + internal VirtualMachineData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ExtendedLocation extendedLocation, string kind, SystemAssignedServiceIdentity identity, string resourcePoolId, string templateId, string vCenterId, PlacementProfile placementProfile, OSProfile osProfile, HardwareProfile hardwareProfile, NetworkProfile networkProfile, StorageProfile storageProfile, GuestAgentProfile guestAgentProfile, string moRefId, string inventoryItemId, string moName, string folderPath, string instanceUuid, string smbiosUuid, FirmwareType? firmwareType, string powerState, string customResourceName, string uuid, IReadOnlyList statuses, string provisioningState, string vmId) : base(id, name, resourceType, systemData, tags, location) { ExtendedLocation = extendedLocation; Kind = kind; diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/VirtualMachineTemplateData.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/VirtualMachineTemplateData.cs index e15b5f9106639..861ca89bccd8a 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/VirtualMachineTemplateData.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/VirtualMachineTemplateData.cs @@ -27,7 +27,7 @@ public VirtualMachineTemplateData(AzureLocation location) : base(location) /// Initializes a new instance of VirtualMachineTemplateData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -58,7 +58,7 @@ public VirtualMachineTemplateData(AzureLocation location) : base(location) /// Firmware type. /// The resource status information. /// Gets or sets the provisioning state. - internal VirtualMachineTemplateData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, ExtendedLocation extendedLocation, string kind, string uuid, string vCenterId, string moRefId, string inventoryItemId, string moName, int? memorySizeMB, int? numCpus, int? numCoresPerSocket, OSType? osType, string osName, string folderPath, IReadOnlyList networkInterfaces, IReadOnlyList disks, string customResourceName, string toolsVersionStatus, string toolsVersion, FirmwareType? firmwareType, IReadOnlyList statuses, string provisioningState) : base(id, name, type, systemData, tags, location) + internal VirtualMachineTemplateData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ExtendedLocation extendedLocation, string kind, string uuid, string vCenterId, string moRefId, string inventoryItemId, string moName, int? memorySizeMB, int? numCpus, int? numCoresPerSocket, OSType? osType, string osName, string folderPath, IReadOnlyList networkInterfaces, IReadOnlyList disks, string customResourceName, string toolsVersionStatus, string toolsVersion, FirmwareType? firmwareType, IReadOnlyList statuses, string provisioningState) : base(id, name, resourceType, systemData, tags, location) { ExtendedLocation = extendedLocation; Kind = kind; diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/VirtualNetworkData.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/VirtualNetworkData.cs index c1c4dee37877a..cff5cc53eede9 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/VirtualNetworkData.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/VirtualNetworkData.cs @@ -25,7 +25,7 @@ public VirtualNetworkData(AzureLocation location) : base(location) /// Initializes a new instance of VirtualNetworkData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -39,7 +39,7 @@ public VirtualNetworkData(AzureLocation location) : base(location) /// Gets the name of the corresponding resource in Kubernetes. /// The resource status information. /// Gets or sets the provisioning state. - internal VirtualNetworkData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, ExtendedLocation extendedLocation, string kind, string uuid, string vCenterId, string moRefId, string inventoryItemId, string moName, string customResourceName, IReadOnlyList statuses, string provisioningState) : base(id, name, type, systemData, tags, location) + internal VirtualNetworkData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ExtendedLocation extendedLocation, string kind, string uuid, string vCenterId, string moRefId, string inventoryItemId, string moName, string customResourceName, IReadOnlyList statuses, string provisioningState) : base(id, name, resourceType, systemData, tags, location) { ExtendedLocation = extendedLocation; Kind = kind; diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/autorest.md b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/autorest.md index c6e41cbbb113a..c7efa01676385 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/autorest.md +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/autorest.md @@ -43,4 +43,10 @@ directive: - rename-model: from: Host to: VMwareHost + - from: connectedvmware.json + where: $.definitions.MachineExtensionUpdateProperties.properties.type + transform: $["x-ms-client-name"] = "MachineExtensionType" + - from: connectedvmware.json + where: $.definitions.MachineExtensionProperties.properties.type + transform: $["x-ms-client-name"] = "MachineExtensionType" ``` diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/tests/tests/Tests/ClusterTests.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/tests/tests/Tests/ClusterTests.cs index d3818d5d9d04f..5b25c5cd2772e 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/tests/tests/Tests/ClusterTests.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/tests/tests/Tests/ClusterTests.cs @@ -30,7 +30,7 @@ public async Task CreateDelete() var _extendedLocation = new ExtendedLocation() { Name = CustomLocationId, - Type = EXTENDED_LOCATION_TYPE + ExtendedLocationType = EXTENDED_LOCATION_TYPE }; var clusterBody = new VMwareClusterData(DefaultLocation); clusterBody.MoRefId = "domain-c7"; @@ -51,7 +51,7 @@ public async Task Get() var _extendedLocation = new ExtendedLocation() { Name = CustomLocationId, - Type = EXTENDED_LOCATION_TYPE + ExtendedLocationType = EXTENDED_LOCATION_TYPE }; var clusterBody = new VMwareClusterData(DefaultLocation); clusterBody.MoRefId = "domain-c7"; @@ -75,7 +75,7 @@ public async Task Exists() var _extendedLocation = new ExtendedLocation() { Name = CustomLocationId, - Type = EXTENDED_LOCATION_TYPE + ExtendedLocationType = EXTENDED_LOCATION_TYPE }; var clusterBody = new VMwareClusterData(DefaultLocation); clusterBody.MoRefId = "domain-c7"; @@ -99,7 +99,7 @@ public async Task GetAll() var _extendedLocation = new ExtendedLocation() { Name = CustomLocationId, - Type = EXTENDED_LOCATION_TYPE + ExtendedLocationType = EXTENDED_LOCATION_TYPE }; var clusterBody = new VMwareClusterData(DefaultLocation); clusterBody.MoRefId = "domain-c7"; @@ -126,7 +126,7 @@ public async Task GetAllInSubscription() var _extendedLocation = new ExtendedLocation() { Name = CustomLocationId, - Type = EXTENDED_LOCATION_TYPE + ExtendedLocationType = EXTENDED_LOCATION_TYPE }; var clusterBody = new VMwareClusterData(DefaultLocation); clusterBody.MoRefId = "domain-c7"; diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/tests/tests/Tests/DatastoreTests.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/tests/tests/Tests/DatastoreTests.cs index 1ccda39bc19ea..da2726e2c5d09 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/tests/tests/Tests/DatastoreTests.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/tests/tests/Tests/DatastoreTests.cs @@ -30,7 +30,7 @@ public async Task CreateDelete() var _extendedLocation = new ExtendedLocation() { Name = CustomLocationId, - Type = EXTENDED_LOCATION_TYPE + ExtendedLocationType = EXTENDED_LOCATION_TYPE }; var datastoreBody = new VMwareDatastoreData(DefaultLocation); datastoreBody.MoRefId = "datastore-11"; @@ -51,7 +51,7 @@ public async Task Get() var _extendedLocation = new ExtendedLocation() { Name = CustomLocationId, - Type = EXTENDED_LOCATION_TYPE + ExtendedLocationType = EXTENDED_LOCATION_TYPE }; var datastoreBody = new VMwareDatastoreData(DefaultLocation); datastoreBody.MoRefId = "datastore-11"; @@ -75,7 +75,7 @@ public async Task Exists() var _extendedLocation = new ExtendedLocation() { Name = CustomLocationId, - Type = EXTENDED_LOCATION_TYPE + ExtendedLocationType = EXTENDED_LOCATION_TYPE }; var datastoreBody = new VMwareDatastoreData(DefaultLocation); datastoreBody.MoRefId = "datastore-11"; @@ -99,7 +99,7 @@ public async Task GetAll() var _extendedLocation = new ExtendedLocation() { Name = CustomLocationId, - Type = EXTENDED_LOCATION_TYPE + ExtendedLocationType = EXTENDED_LOCATION_TYPE }; var datastoreBody = new VMwareDatastoreData(DefaultLocation); datastoreBody.MoRefId = "datastore-11"; @@ -126,7 +126,7 @@ public async Task GetAllInSubscription() var _extendedLocation = new ExtendedLocation() { Name = CustomLocationId, - Type = EXTENDED_LOCATION_TYPE + ExtendedLocationType = EXTENDED_LOCATION_TYPE }; var datastoreBody = new VMwareDatastoreData(DefaultLocation); datastoreBody.MoRefId = "datastore-11"; diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/tests/tests/Tests/HostTests.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/tests/tests/Tests/HostTests.cs index 0b991b11e549c..d1d04809fa243 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/tests/tests/Tests/HostTests.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/tests/tests/Tests/HostTests.cs @@ -30,7 +30,7 @@ public async Task CreateDelete() var _extendedLocation = new ExtendedLocation() { Name = CustomLocationId, - Type = EXTENDED_LOCATION_TYPE + ExtendedLocationType = EXTENDED_LOCATION_TYPE }; var hostBody = new VMwareHostData(DefaultLocation); hostBody.MoRefId = "host-112923"; @@ -51,7 +51,7 @@ public async Task Get() var _extendedLocation = new ExtendedLocation() { Name = CustomLocationId, - Type = EXTENDED_LOCATION_TYPE + ExtendedLocationType = EXTENDED_LOCATION_TYPE }; var hostBody = new VMwareHostData(DefaultLocation); hostBody.MoRefId = "host-27"; @@ -75,7 +75,7 @@ public async Task Exists() var _extendedLocation = new ExtendedLocation() { Name = CustomLocationId, - Type = EXTENDED_LOCATION_TYPE + ExtendedLocationType = EXTENDED_LOCATION_TYPE }; var hostBody = new VMwareHostData(DefaultLocation); hostBody.MoRefId = "host-111894"; @@ -99,7 +99,7 @@ public async Task GetAll() var _extendedLocation = new ExtendedLocation() { Name = CustomLocationId, - Type = EXTENDED_LOCATION_TYPE + ExtendedLocationType = EXTENDED_LOCATION_TYPE }; var hostBody = new VMwareHostData(DefaultLocation); hostBody.MoRefId = "host-33"; @@ -126,7 +126,7 @@ public async Task GetAllInSubscription() var _extendedLocation = new ExtendedLocation() { Name = CustomLocationId, - Type = EXTENDED_LOCATION_TYPE + ExtendedLocationType = EXTENDED_LOCATION_TYPE }; var hostBody = new VMwareHostData(DefaultLocation); hostBody.MoRefId = "host-111900"; diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/tests/tests/Tests/ResourcePoolTests.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/tests/tests/Tests/ResourcePoolTests.cs index 31a37f7f70cd7..540cc43c2f34d 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/tests/tests/Tests/ResourcePoolTests.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/tests/tests/Tests/ResourcePoolTests.cs @@ -30,7 +30,7 @@ public async Task CreateDelete() var _extendedLocation = new ExtendedLocation() { Name = CustomLocationId, - Type = EXTENDED_LOCATION_TYPE + ExtendedLocationType = EXTENDED_LOCATION_TYPE }; var resourcePoolBody = new ResourcePoolData(DefaultLocation); resourcePoolBody.MoRefId = "resgroup-87733"; @@ -51,7 +51,7 @@ public async Task Get() var _extendedLocation = new ExtendedLocation() { Name = CustomLocationId, - Type = EXTENDED_LOCATION_TYPE + ExtendedLocationType = EXTENDED_LOCATION_TYPE }; var resourcePoolBody = new ResourcePoolData(DefaultLocation); resourcePoolBody.MoRefId = "resgroup-87735"; @@ -75,7 +75,7 @@ public async Task Exists() var _extendedLocation = new ExtendedLocation() { Name = CustomLocationId, - Type = EXTENDED_LOCATION_TYPE + ExtendedLocationType = EXTENDED_LOCATION_TYPE }; var resourcePoolBody = new ResourcePoolData(DefaultLocation); resourcePoolBody.MoRefId = "resgroup-87730"; @@ -99,7 +99,7 @@ public async Task GetAll() var _extendedLocation = new ExtendedLocation() { Name = CustomLocationId, - Type = EXTENDED_LOCATION_TYPE + ExtendedLocationType = EXTENDED_LOCATION_TYPE }; var resourcePoolBody = new ResourcePoolData(DefaultLocation); resourcePoolBody.MoRefId = "resgroup-119001"; @@ -126,7 +126,7 @@ public async Task GetAllInSubscription() var _extendedLocation = new ExtendedLocation() { Name = CustomLocationId, - Type = EXTENDED_LOCATION_TYPE + ExtendedLocationType = EXTENDED_LOCATION_TYPE }; var resourcePoolBody = new ResourcePoolData(DefaultLocation); resourcePoolBody.MoRefId = "resgroup-89261"; diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/tests/tests/Tests/VirtualMachineTemplateTests.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/tests/tests/Tests/VirtualMachineTemplateTests.cs index 647559f19512e..b9edc72d3b939 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/tests/tests/Tests/VirtualMachineTemplateTests.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/tests/tests/Tests/VirtualMachineTemplateTests.cs @@ -30,7 +30,7 @@ public async Task CreateDelete() var _extendedLocation = new ExtendedLocation() { Name = CustomLocationId, - Type = EXTENDED_LOCATION_TYPE + ExtendedLocationType = EXTENDED_LOCATION_TYPE }; var virtualMachineTemplateBody = new VirtualMachineTemplateData(DefaultLocation); virtualMachineTemplateBody.MoRefId = "vm-70"; @@ -51,7 +51,7 @@ public async Task Get() var _extendedLocation = new ExtendedLocation() { Name = CustomLocationId, - Type = EXTENDED_LOCATION_TYPE + ExtendedLocationType = EXTENDED_LOCATION_TYPE }; var virtualMachineTemplateBody = new VirtualMachineTemplateData(DefaultLocation); virtualMachineTemplateBody.MoRefId = "vm-74"; @@ -75,7 +75,7 @@ public async Task Exists() var _extendedLocation = new ExtendedLocation() { Name = CustomLocationId, - Type = EXTENDED_LOCATION_TYPE + ExtendedLocationType = EXTENDED_LOCATION_TYPE }; var virtualMachineTemplateBody = new VirtualMachineTemplateData(DefaultLocation); virtualMachineTemplateBody.MoRefId = "vm-72"; @@ -99,7 +99,7 @@ public async Task GetAll() var _extendedLocation = new ExtendedLocation() { Name = CustomLocationId, - Type = EXTENDED_LOCATION_TYPE + ExtendedLocationType = EXTENDED_LOCATION_TYPE }; var virtualMachineTemplateBody = new VirtualMachineTemplateData(DefaultLocation); virtualMachineTemplateBody.MoRefId = "vm-11788"; @@ -126,7 +126,7 @@ public async Task GetAllInSubscription() var _extendedLocation = new ExtendedLocation() { Name = CustomLocationId, - Type = EXTENDED_LOCATION_TYPE + ExtendedLocationType = EXTENDED_LOCATION_TYPE }; var virtualMachineTemplateBody = new VirtualMachineTemplateData(DefaultLocation); virtualMachineTemplateBody.MoRefId = "vm-75"; diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/tests/tests/Tests/VirtualMachineTests.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/tests/tests/Tests/VirtualMachineTests.cs index 4a6a62b618e4d..feeb6074e071b 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/tests/tests/Tests/VirtualMachineTests.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/tests/tests/Tests/VirtualMachineTests.cs @@ -30,7 +30,7 @@ public async Task CreateDelete() var _extendedLocation = new ExtendedLocation() { Name = CustomLocationId, - Type = EXTENDED_LOCATION_TYPE + ExtendedLocationType = EXTENDED_LOCATION_TYPE }; var _placementProfile = new PlacementProfile() { @@ -56,7 +56,7 @@ public async Task Get() var _extendedLocation = new ExtendedLocation() { Name = CustomLocationId, - Type = EXTENDED_LOCATION_TYPE + ExtendedLocationType = EXTENDED_LOCATION_TYPE }; var _placementProfile = new PlacementProfile() { @@ -85,7 +85,7 @@ public async Task Exists() var _extendedLocation = new ExtendedLocation() { Name = CustomLocationId, - Type = EXTENDED_LOCATION_TYPE + ExtendedLocationType = EXTENDED_LOCATION_TYPE }; var _placementProfile = new PlacementProfile() { @@ -114,7 +114,7 @@ public async Task GetAll() var _extendedLocation = new ExtendedLocation() { Name = CustomLocationId, - Type = EXTENDED_LOCATION_TYPE + ExtendedLocationType = EXTENDED_LOCATION_TYPE }; var _placementProfile = new PlacementProfile() { diff --git a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/tests/tests/Tests/VirtualNetworkTests.cs b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/tests/tests/Tests/VirtualNetworkTests.cs index c54602549fa88..24a3f3425115d 100644 --- a/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/tests/tests/Tests/VirtualNetworkTests.cs +++ b/sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/tests/tests/Tests/VirtualNetworkTests.cs @@ -29,7 +29,7 @@ public async Task CreateDelete() var _extendedLocation = new ExtendedLocation() { Name = CustomLocationId, - Type = EXTENDED_LOCATION_TYPE + ExtendedLocationType = EXTENDED_LOCATION_TYPE }; var vnetBody = new VirtualNetworkData(DefaultLocation); vnetBody.MoRefId = "network-o61"; @@ -50,7 +50,7 @@ public async Task Get() var _extendedLocation = new ExtendedLocation() { Name = CustomLocationId, - Type = EXTENDED_LOCATION_TYPE + ExtendedLocationType = EXTENDED_LOCATION_TYPE }; var vnetBody = new VirtualNetworkData(DefaultLocation); vnetBody.MoRefId = "network-o25797"; @@ -74,7 +74,7 @@ public async Task Exists() var _extendedLocation = new ExtendedLocation() { Name = CustomLocationId, - Type = EXTENDED_LOCATION_TYPE + ExtendedLocationType = EXTENDED_LOCATION_TYPE }; var vnetBody = new VirtualNetworkData(DefaultLocation); vnetBody.MoRefId = "network-o114814"; @@ -98,7 +98,7 @@ public async Task GetAll() var _extendedLocation = new ExtendedLocation() { Name = CustomLocationId, - Type = EXTENDED_LOCATION_TYPE + ExtendedLocationType = EXTENDED_LOCATION_TYPE }; var vnetBody = new VirtualNetworkData(DefaultLocation); vnetBody.MoRefId = "network-o2286"; @@ -125,7 +125,7 @@ public async Task GetAllInSubscription() var _extendedLocation = new ExtendedLocation() { Name = CustomLocationId, - Type = EXTENDED_LOCATION_TYPE + ExtendedLocationType = EXTENDED_LOCATION_TYPE }; var vnetBody = new VirtualNetworkData(DefaultLocation); vnetBody.MoRefId = "network-o85628"; diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/api/Azure.ResourceManager.CosmosDB.netstandard2.0.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/api/Azure.ResourceManager.CosmosDB.netstandard2.0.cs index cc6f3b97e41d2..795a96d96bd96 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/api/Azure.ResourceManager.CosmosDB.netstandard2.0.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/api/Azure.ResourceManager.CosmosDB.netstandard2.0.cs @@ -1350,8 +1350,8 @@ internal CassandraClusterPublicStatusDataCentersItem() { } public partial class CassandraColumn { public CassandraColumn() { } + public string CassandraColumnType { get { throw null; } set { } } public string Name { get { throw null; } set { } } - public string Type { get { throw null; } set { } } } public partial class CassandraKeyspaceCreateUpdateData : Azure.ResourceManager.Models.TrackedResourceData { diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/CassandraKeyspaceData.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/CassandraKeyspaceData.cs index ef6c6a47ab7f7..d0e87d86f93b0 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/CassandraKeyspaceData.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/CassandraKeyspaceData.cs @@ -24,13 +24,13 @@ public CassandraKeyspaceData(AzureLocation location) : base(location) /// Initializes a new instance of CassandraKeyspaceData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. /// /// - internal CassandraKeyspaceData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, CassandraKeyspacePropertiesResource resource, CassandraKeyspacePropertiesOptions options) : base(id, name, type, systemData, tags, location) + internal CassandraKeyspaceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, CassandraKeyspacePropertiesResource resource, CassandraKeyspacePropertiesOptions options) : base(id, name, resourceType, systemData, tags, location) { Resource = resource; Options = options; diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/CassandraTableData.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/CassandraTableData.cs index e693d81d95539..d92cd57f8bcda 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/CassandraTableData.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/CassandraTableData.cs @@ -24,13 +24,13 @@ public CassandraTableData(AzureLocation location) : base(location) /// Initializes a new instance of CassandraTableData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. /// /// - internal CassandraTableData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, CassandraTablePropertiesResource resource, CassandraTablePropertiesOptions options) : base(id, name, type, systemData, tags, location) + internal CassandraTableData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, CassandraTablePropertiesResource resource, CassandraTablePropertiesOptions options) : base(id, name, resourceType, systemData, tags, location) { Resource = resource; Options = options; diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/ClusterResourceData.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/ClusterResourceData.cs index dc2b64f072e8d..6e165c90616dd 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/ClusterResourceData.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/ClusterResourceData.cs @@ -24,13 +24,13 @@ public ClusterResourceData(AzureLocation location) : base(location) /// Initializes a new instance of ClusterResourceData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. /// Identity for the resource. /// Properties of a managed Cassandra cluster. - internal ClusterResourceData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, SystemAssignedServiceIdentity identity, ClusterResourceProperties properties) : base(id, name, type, systemData, tags, location, identity) + internal ClusterResourceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, SystemAssignedServiceIdentity identity, ClusterResourceProperties properties) : base(id, name, resourceType, systemData, tags, location, identity) { Properties = properties; } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/CosmosDBLocationData.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/CosmosDBLocationData.cs index 0d3fe501daa06..865ce135b3e43 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/CosmosDBLocationData.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/CosmosDBLocationData.cs @@ -22,10 +22,10 @@ public CosmosDBLocationData() /// Initializes a new instance of CosmosDBLocationData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Cosmos DB location metadata. - internal CosmosDBLocationData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, LocationProperties properties) : base(id, name, type, systemData) + internal CosmosDBLocationData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, LocationProperties properties) : base(id, name, resourceType, systemData) { Properties = properties; } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/CosmosTableData.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/CosmosTableData.cs index d6b178f1868ed..1b8834d1b895d 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/CosmosTableData.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/CosmosTableData.cs @@ -24,13 +24,13 @@ public CosmosTableData(AzureLocation location) : base(location) /// Initializes a new instance of CosmosTableData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. /// /// - internal CosmosTableData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, CosmosTablePropertiesResource resource, CosmosTablePropertiesOptions options) : base(id, name, type, systemData, tags, location) + internal CosmosTableData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, CosmosTablePropertiesResource resource, CosmosTablePropertiesOptions options) : base(id, name, resourceType, systemData, tags, location) { Resource = resource; Options = options; diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/DataCenterResourceData.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/DataCenterResourceData.cs index cff815a1552a4..5fa1e0ab56817 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/DataCenterResourceData.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/DataCenterResourceData.cs @@ -22,10 +22,10 @@ public DataCenterResourceData() /// Initializes a new instance of DataCenterResourceData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Properties of a managed Cassandra data center. - internal DataCenterResourceData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, DataCenterResourceProperties properties) : base(id, name, type, systemData) + internal DataCenterResourceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, DataCenterResourceProperties properties) : base(id, name, resourceType, systemData) { Properties = properties; } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/DatabaseAccountData.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/DatabaseAccountData.cs index 04e4b0f2bc111..6724e86234057 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/DatabaseAccountData.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/DatabaseAccountData.cs @@ -36,7 +36,7 @@ public DatabaseAccountData(AzureLocation location) : base(location) /// Initializes a new instance of DatabaseAccountData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -76,7 +76,7 @@ public DatabaseAccountData(AzureLocation location) : base(location) /// An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account. /// Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication. /// The object that represents all properties related to capacity enforcement on an account. - internal DatabaseAccountData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, DatabaseAccountKind? kind, ManagedServiceIdentity identity, string provisioningState, string documentEndpoint, string databaseAccountOfferType, IList ipRules, bool? isVirtualNetworkFilterEnabled, bool? enableAutomaticFailover, ConsistencyPolicy consistencyPolicy, IList capabilities, IReadOnlyList writeLocations, IReadOnlyList readLocations, IReadOnlyList locations, IReadOnlyList failoverPolicies, IList virtualNetworkRules, IReadOnlyList privateEndpointConnections, bool? enableMultipleWriteLocations, bool? enableCassandraConnector, ConnectorOffer? connectorOffer, bool? disableKeyBasedMetadataWriteAccess, Uri keyVaultKeyUri, string defaultIdentity, PublicNetworkAccess? publicNetworkAccess, bool? enableFreeTier, ApiProperties apiProperties, bool? enableAnalyticalStorage, AnalyticalStorageConfiguration analyticalStorageConfiguration, string instanceId, CreateMode? createMode, RestoreParameters restoreParameters, BackupPolicy backupPolicy, IList cors, NetworkAclBypass? networkAclBypass, IList networkAclBypassResourceIds, bool? disableLocalAuth, Capacity capacity) : base(id, name, type, systemData, tags, location) + internal DatabaseAccountData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, DatabaseAccountKind? kind, ManagedServiceIdentity identity, string provisioningState, string documentEndpoint, string databaseAccountOfferType, IList ipRules, bool? isVirtualNetworkFilterEnabled, bool? enableAutomaticFailover, ConsistencyPolicy consistencyPolicy, IList capabilities, IReadOnlyList writeLocations, IReadOnlyList readLocations, IReadOnlyList locations, IReadOnlyList failoverPolicies, IList virtualNetworkRules, IReadOnlyList privateEndpointConnections, bool? enableMultipleWriteLocations, bool? enableCassandraConnector, ConnectorOffer? connectorOffer, bool? disableKeyBasedMetadataWriteAccess, Uri keyVaultKeyUri, string defaultIdentity, PublicNetworkAccess? publicNetworkAccess, bool? enableFreeTier, ApiProperties apiProperties, bool? enableAnalyticalStorage, AnalyticalStorageConfiguration analyticalStorageConfiguration, string instanceId, CreateMode? createMode, RestoreParameters restoreParameters, BackupPolicy backupPolicy, IList cors, NetworkAclBypass? networkAclBypass, IList networkAclBypassResourceIds, bool? disableLocalAuth, Capacity capacity) : base(id, name, resourceType, systemData, tags, location) { Kind = kind; Identity = identity; diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/GremlinDatabaseData.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/GremlinDatabaseData.cs index f9d4115f4172b..9426bf114240e 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/GremlinDatabaseData.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/GremlinDatabaseData.cs @@ -24,13 +24,13 @@ public GremlinDatabaseData(AzureLocation location) : base(location) /// Initializes a new instance of GremlinDatabaseData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. /// /// - internal GremlinDatabaseData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, GremlinDatabasePropertiesResource resource, GremlinDatabasePropertiesOptions options) : base(id, name, type, systemData, tags, location) + internal GremlinDatabaseData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, GremlinDatabasePropertiesResource resource, GremlinDatabasePropertiesOptions options) : base(id, name, resourceType, systemData, tags, location) { Resource = resource; Options = options; diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/GremlinGraphData.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/GremlinGraphData.cs index 355ee1d19f2a6..3639b5497108f 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/GremlinGraphData.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/GremlinGraphData.cs @@ -24,13 +24,13 @@ public GremlinGraphData(AzureLocation location) : base(location) /// Initializes a new instance of GremlinGraphData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. /// /// - internal GremlinGraphData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, GremlinGraphPropertiesResource resource, GremlinGraphPropertiesOptions options) : base(id, name, type, systemData, tags, location) + internal GremlinGraphData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, GremlinGraphPropertiesResource resource, GremlinGraphPropertiesOptions options) : base(id, name, resourceType, systemData, tags, location) { Resource = resource; Options = options; diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/BackupPolicy.Serialization.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/BackupPolicy.Serialization.cs index aa60f1beb12dd..d0183acecde46 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/BackupPolicy.Serialization.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/BackupPolicy.Serialization.cs @@ -16,7 +16,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); writer.WritePropertyName("type"); - writer.WriteStringValue(Type.ToString()); + writer.WriteStringValue(BackupPolicyType.ToString()); if (Optional.IsDefined(MigrationState)) { writer.WritePropertyName("migrationState"); diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/BackupPolicy.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/BackupPolicy.cs index 2d356dcbc3c9f..9605aabdaeb16 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/BackupPolicy.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/BackupPolicy.cs @@ -16,16 +16,16 @@ public BackupPolicy() } /// Initializes a new instance of BackupPolicy. - /// Describes the mode of backups. + /// Describes the mode of backups. /// The object representing the state of the migration between the backup policies. - internal BackupPolicy(BackupPolicyType type, BackupPolicyMigrationState migrationState) + internal BackupPolicy(BackupPolicyType backupPolicyType, BackupPolicyMigrationState migrationState) { - Type = type; + BackupPolicyType = backupPolicyType; MigrationState = migrationState; } /// Describes the mode of backups. - internal BackupPolicyType Type { get; set; } + internal BackupPolicyType BackupPolicyType { get; set; } /// The object representing the state of the migration between the backup policies. public BackupPolicyMigrationState MigrationState { get; set; } } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/CassandraColumn.Serialization.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/CassandraColumn.Serialization.cs index 9415b192c7799..942066ee43c8b 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/CassandraColumn.Serialization.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/CassandraColumn.Serialization.cs @@ -20,10 +20,10 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("name"); writer.WriteStringValue(Name); } - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(CassandraColumnType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type); + writer.WriteStringValue(CassandraColumnType); } writer.WriteEndObject(); } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/CassandraColumn.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/CassandraColumn.cs index 26449842a6691..dd4cc84863375 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/CassandraColumn.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/CassandraColumn.cs @@ -17,16 +17,16 @@ public CassandraColumn() /// Initializes a new instance of CassandraColumn. /// Name of the Cosmos DB Cassandra table column. - /// Type of the Cosmos DB Cassandra table column. - internal CassandraColumn(string name, string type) + /// Type of the Cosmos DB Cassandra table column. + internal CassandraColumn(string name, string cassandraColumnType) { Name = name; - Type = type; + CassandraColumnType = cassandraColumnType; } /// Name of the Cosmos DB Cassandra table column. public string Name { get; set; } /// Type of the Cosmos DB Cassandra table column. - public string Type { get; set; } + public string CassandraColumnType { get; set; } } } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/CassandraKeyspaceCreateUpdateData.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/CassandraKeyspaceCreateUpdateData.cs index 817e5736f8db8..c723b312155c7 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/CassandraKeyspaceCreateUpdateData.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/CassandraKeyspaceCreateUpdateData.cs @@ -32,13 +32,13 @@ public CassandraKeyspaceCreateUpdateData(AzureLocation location, CassandraKeyspa /// Initializes a new instance of CassandraKeyspaceCreateUpdateData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. /// The standard JSON format of a Cassandra keyspace. /// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. - internal CassandraKeyspaceCreateUpdateData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, CassandraKeyspaceResource resource, CreateUpdateOptions options) : base(id, name, type, systemData, tags, location) + internal CassandraKeyspaceCreateUpdateData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, CassandraKeyspaceResource resource, CreateUpdateOptions options) : base(id, name, resourceType, systemData, tags, location) { Resource = resource; Options = options; diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/CassandraTableCreateUpdateData.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/CassandraTableCreateUpdateData.cs index 16bde03f8ba77..e9811cb8688c0 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/CassandraTableCreateUpdateData.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/CassandraTableCreateUpdateData.cs @@ -32,13 +32,13 @@ public CassandraTableCreateUpdateData(AzureLocation location, CassandraTableReso /// Initializes a new instance of CassandraTableCreateUpdateData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. /// The standard JSON format of a Cassandra table. /// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. - internal CassandraTableCreateUpdateData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, CassandraTableResource resource, CreateUpdateOptions options) : base(id, name, type, systemData, tags, location) + internal CassandraTableCreateUpdateData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, CassandraTableResource resource, CreateUpdateOptions options) : base(id, name, resourceType, systemData, tags, location) { Resource = resource; Options = options; diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/ContinuousModeBackupPolicy.Serialization.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/ContinuousModeBackupPolicy.Serialization.cs index 7622d8e23bc71..f47e30576bf47 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/ContinuousModeBackupPolicy.Serialization.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/ContinuousModeBackupPolicy.Serialization.cs @@ -16,7 +16,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); writer.WritePropertyName("type"); - writer.WriteStringValue(Type.ToString()); + writer.WriteStringValue(BackupPolicyType.ToString()); if (Optional.IsDefined(MigrationState)) { writer.WritePropertyName("migrationState"); diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/ContinuousModeBackupPolicy.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/ContinuousModeBackupPolicy.cs index 6e2ab2122c3c1..b818287849411 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/ContinuousModeBackupPolicy.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/ContinuousModeBackupPolicy.cs @@ -13,15 +13,15 @@ public partial class ContinuousModeBackupPolicy : BackupPolicy /// Initializes a new instance of ContinuousModeBackupPolicy. public ContinuousModeBackupPolicy() { - Type = BackupPolicyType.Continuous; + BackupPolicyType = BackupPolicyType.Continuous; } /// Initializes a new instance of ContinuousModeBackupPolicy. - /// Describes the mode of backups. + /// Describes the mode of backups. /// The object representing the state of the migration between the backup policies. - internal ContinuousModeBackupPolicy(BackupPolicyType type, BackupPolicyMigrationState migrationState) : base(type, migrationState) + internal ContinuousModeBackupPolicy(BackupPolicyType backupPolicyType, BackupPolicyMigrationState migrationState) : base(backupPolicyType, migrationState) { - Type = type; + BackupPolicyType = backupPolicyType; } } } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/DatabaseAccountCreateUpdateData.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/DatabaseAccountCreateUpdateData.cs index 2317c1cef6609..03bf2ea3df794 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/DatabaseAccountCreateUpdateData.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/DatabaseAccountCreateUpdateData.cs @@ -39,7 +39,7 @@ public DatabaseAccountCreateUpdateData(AzureLocation location, IEnumerable Initializes a new instance of DatabaseAccountCreateUpdateData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -72,7 +72,7 @@ public DatabaseAccountCreateUpdateData(AzureLocation location, IEnumerable Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication. /// Parameters to indicate the information about the restore. /// The object that represents all properties related to capacity enforcement on an account. - internal DatabaseAccountCreateUpdateData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, DatabaseAccountKind? kind, ManagedServiceIdentity identity, ConsistencyPolicy consistencyPolicy, IList locations, string databaseAccountOfferType, IList ipRules, bool? isVirtualNetworkFilterEnabled, bool? enableAutomaticFailover, IList capabilities, IList virtualNetworkRules, bool? enableMultipleWriteLocations, bool? enableCassandraConnector, ConnectorOffer? connectorOffer, bool? disableKeyBasedMetadataWriteAccess, Uri keyVaultKeyUri, string defaultIdentity, PublicNetworkAccess? publicNetworkAccess, bool? enableFreeTier, ApiProperties apiProperties, bool? enableAnalyticalStorage, AnalyticalStorageConfiguration analyticalStorageConfiguration, CreateMode? createMode, BackupPolicy backupPolicy, IList cors, NetworkAclBypass? networkAclBypass, IList networkAclBypassResourceIds, bool? disableLocalAuth, RestoreParameters restoreParameters, Capacity capacity) : base(id, name, type, systemData, tags, location) + internal DatabaseAccountCreateUpdateData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, DatabaseAccountKind? kind, ManagedServiceIdentity identity, ConsistencyPolicy consistencyPolicy, IList locations, string databaseAccountOfferType, IList ipRules, bool? isVirtualNetworkFilterEnabled, bool? enableAutomaticFailover, IList capabilities, IList virtualNetworkRules, bool? enableMultipleWriteLocations, bool? enableCassandraConnector, ConnectorOffer? connectorOffer, bool? disableKeyBasedMetadataWriteAccess, Uri keyVaultKeyUri, string defaultIdentity, PublicNetworkAccess? publicNetworkAccess, bool? enableFreeTier, ApiProperties apiProperties, bool? enableAnalyticalStorage, AnalyticalStorageConfiguration analyticalStorageConfiguration, CreateMode? createMode, BackupPolicy backupPolicy, IList cors, NetworkAclBypass? networkAclBypass, IList networkAclBypassResourceIds, bool? disableLocalAuth, RestoreParameters restoreParameters, Capacity capacity) : base(id, name, resourceType, systemData, tags, location) { Kind = kind; Identity = identity; diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/GremlinDatabaseCreateUpdateData.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/GremlinDatabaseCreateUpdateData.cs index c253e2d10a7d2..8434e3f3e0e64 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/GremlinDatabaseCreateUpdateData.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/GremlinDatabaseCreateUpdateData.cs @@ -32,13 +32,13 @@ public GremlinDatabaseCreateUpdateData(AzureLocation location, GremlinDatabaseRe /// Initializes a new instance of GremlinDatabaseCreateUpdateData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. /// The standard JSON format of a Gremlin database. /// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. - internal GremlinDatabaseCreateUpdateData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, GremlinDatabaseResource resource, CreateUpdateOptions options) : base(id, name, type, systemData, tags, location) + internal GremlinDatabaseCreateUpdateData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, GremlinDatabaseResource resource, CreateUpdateOptions options) : base(id, name, resourceType, systemData, tags, location) { Resource = resource; Options = options; diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/GremlinGraphCreateUpdateData.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/GremlinGraphCreateUpdateData.cs index 9d84eb349f739..5b69d60f86596 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/GremlinGraphCreateUpdateData.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/GremlinGraphCreateUpdateData.cs @@ -32,13 +32,13 @@ public GremlinGraphCreateUpdateData(AzureLocation location, GremlinGraphResource /// Initializes a new instance of GremlinGraphCreateUpdateData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. /// The standard JSON format of a Gremlin graph. /// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. - internal GremlinGraphCreateUpdateData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, GremlinGraphResource resource, CreateUpdateOptions options) : base(id, name, type, systemData, tags, location) + internal GremlinGraphCreateUpdateData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, GremlinGraphResource resource, CreateUpdateOptions options) : base(id, name, resourceType, systemData, tags, location) { Resource = resource; Options = options; diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/ManagedCassandraARMResourceProperties.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/ManagedCassandraARMResourceProperties.cs index 9aaee19fb8ee2..0020104075cbd 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/ManagedCassandraARMResourceProperties.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/ManagedCassandraARMResourceProperties.cs @@ -23,12 +23,12 @@ public ManagedCassandraARMResourceProperties(AzureLocation location) : base(loca /// Initializes a new instance of ManagedCassandraARMResourceProperties. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. /// Identity for the resource. - internal ManagedCassandraARMResourceProperties(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, SystemAssignedServiceIdentity identity) : base(id, name, type, systemData, tags, location) + internal ManagedCassandraARMResourceProperties(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, SystemAssignedServiceIdentity identity) : base(id, name, resourceType, systemData, tags, location) { Identity = identity; } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/MongoDBCollectionCreateUpdateData.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/MongoDBCollectionCreateUpdateData.cs index 4955cf46f7224..9bf5e5fc667a7 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/MongoDBCollectionCreateUpdateData.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/MongoDBCollectionCreateUpdateData.cs @@ -32,13 +32,13 @@ public MongoDBCollectionCreateUpdateData(AzureLocation location, MongoDBCollecti /// Initializes a new instance of MongoDBCollectionCreateUpdateData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. /// The standard JSON format of a MongoDB collection. /// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. - internal MongoDBCollectionCreateUpdateData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, MongoDBCollectionResource resource, CreateUpdateOptions options) : base(id, name, type, systemData, tags, location) + internal MongoDBCollectionCreateUpdateData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, MongoDBCollectionResource resource, CreateUpdateOptions options) : base(id, name, resourceType, systemData, tags, location) { Resource = resource; Options = options; diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/MongoDBDatabaseCreateUpdateData.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/MongoDBDatabaseCreateUpdateData.cs index f3baf7d1d8986..64e7228e1809b 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/MongoDBDatabaseCreateUpdateData.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/MongoDBDatabaseCreateUpdateData.cs @@ -32,13 +32,13 @@ public MongoDBDatabaseCreateUpdateData(AzureLocation location, MongoDBDatabaseRe /// Initializes a new instance of MongoDBDatabaseCreateUpdateData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. /// The standard JSON format of a MongoDB database. /// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. - internal MongoDBDatabaseCreateUpdateData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, MongoDBDatabaseResource resource, CreateUpdateOptions options) : base(id, name, type, systemData, tags, location) + internal MongoDBDatabaseCreateUpdateData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, MongoDBDatabaseResource resource, CreateUpdateOptions options) : base(id, name, resourceType, systemData, tags, location) { Resource = resource; Options = options; diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/PeriodicModeBackupPolicy.Serialization.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/PeriodicModeBackupPolicy.Serialization.cs index 257fa9086a808..1ae1f43688983 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/PeriodicModeBackupPolicy.Serialization.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/PeriodicModeBackupPolicy.Serialization.cs @@ -21,7 +21,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WriteObjectValue(PeriodicModeProperties); } writer.WritePropertyName("type"); - writer.WriteStringValue(Type.ToString()); + writer.WriteStringValue(BackupPolicyType.ToString()); if (Optional.IsDefined(MigrationState)) { writer.WritePropertyName("migrationState"); diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/PeriodicModeBackupPolicy.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/PeriodicModeBackupPolicy.cs index f2273096ff2d3..464ff63bbe7c7 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/PeriodicModeBackupPolicy.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/PeriodicModeBackupPolicy.cs @@ -13,17 +13,17 @@ public partial class PeriodicModeBackupPolicy : BackupPolicy /// Initializes a new instance of PeriodicModeBackupPolicy. public PeriodicModeBackupPolicy() { - Type = BackupPolicyType.Periodic; + BackupPolicyType = BackupPolicyType.Periodic; } /// Initializes a new instance of PeriodicModeBackupPolicy. - /// Describes the mode of backups. + /// Describes the mode of backups. /// The object representing the state of the migration between the backup policies. /// Configuration values for periodic mode backup. - internal PeriodicModeBackupPolicy(BackupPolicyType type, BackupPolicyMigrationState migrationState, PeriodicModeProperties periodicModeProperties) : base(type, migrationState) + internal PeriodicModeBackupPolicy(BackupPolicyType backupPolicyType, BackupPolicyMigrationState migrationState, PeriodicModeProperties periodicModeProperties) : base(backupPolicyType, migrationState) { PeriodicModeProperties = periodicModeProperties; - Type = type; + BackupPolicyType = backupPolicyType; } /// Configuration values for periodic mode backup. diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/RestorableMongodbCollection.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/RestorableMongodbCollection.cs index 281d95cb803f6..e20a8a5328113 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/RestorableMongodbCollection.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/RestorableMongodbCollection.cs @@ -21,10 +21,10 @@ internal RestorableMongodbCollection() /// Initializes a new instance of RestorableMongodbCollection. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The resource of an Azure Cosmos DB MongoDB collection event. - internal RestorableMongodbCollection(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, RestorableMongodbCollectionPropertiesResource resource) : base(id, name, type, systemData) + internal RestorableMongodbCollection(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, RestorableMongodbCollectionPropertiesResource resource) : base(id, name, resourceType, systemData) { Resource = resource; } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/RestorableMongodbDatabase.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/RestorableMongodbDatabase.cs index 882832b8ee6d0..c0c98a75209be 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/RestorableMongodbDatabase.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/RestorableMongodbDatabase.cs @@ -21,10 +21,10 @@ internal RestorableMongodbDatabase() /// Initializes a new instance of RestorableMongodbDatabase. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The resource of an Azure Cosmos DB MongoDB database event. - internal RestorableMongodbDatabase(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, RestorableMongodbDatabasePropertiesResource resource) : base(id, name, type, systemData) + internal RestorableMongodbDatabase(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, RestorableMongodbDatabasePropertiesResource resource) : base(id, name, resourceType, systemData) { Resource = resource; } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/RestorableSqlContainer.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/RestorableSqlContainer.cs index 65973416246a4..18aae8cbcd460 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/RestorableSqlContainer.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/RestorableSqlContainer.cs @@ -21,10 +21,10 @@ internal RestorableSqlContainer() /// Initializes a new instance of RestorableSqlContainer. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The resource of an Azure Cosmos DB SQL container event. - internal RestorableSqlContainer(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, RestorableSqlContainerPropertiesResource resource) : base(id, name, type, systemData) + internal RestorableSqlContainer(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, RestorableSqlContainerPropertiesResource resource) : base(id, name, resourceType, systemData) { Resource = resource; } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/RestorableSqlDatabase.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/RestorableSqlDatabase.cs index 4f1d916430e31..42073ae1282a4 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/RestorableSqlDatabase.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/RestorableSqlDatabase.cs @@ -21,10 +21,10 @@ internal RestorableSqlDatabase() /// Initializes a new instance of RestorableSqlDatabase. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The resource of an Azure Cosmos DB SQL database event. - internal RestorableSqlDatabase(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, RestorableSqlDatabasePropertiesResource resource) : base(id, name, type, systemData) + internal RestorableSqlDatabase(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, RestorableSqlDatabasePropertiesResource resource) : base(id, name, resourceType, systemData) { Resource = resource; } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/SqlContainerCreateUpdateData.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/SqlContainerCreateUpdateData.cs index fc443781e5b16..0f1e3a075e921 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/SqlContainerCreateUpdateData.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/SqlContainerCreateUpdateData.cs @@ -32,13 +32,13 @@ public SqlContainerCreateUpdateData(AzureLocation location, SqlContainerResource /// Initializes a new instance of SqlContainerCreateUpdateData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. /// The standard JSON format of a container. /// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. - internal SqlContainerCreateUpdateData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, SqlContainerResource resource, CreateUpdateOptions options) : base(id, name, type, systemData, tags, location) + internal SqlContainerCreateUpdateData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, SqlContainerResource resource, CreateUpdateOptions options) : base(id, name, resourceType, systemData, tags, location) { Resource = resource; Options = options; diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/SqlDatabaseCreateUpdateData.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/SqlDatabaseCreateUpdateData.cs index ab4f36c9f6c53..8c2ace47c22e3 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/SqlDatabaseCreateUpdateData.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/SqlDatabaseCreateUpdateData.cs @@ -32,13 +32,13 @@ public SqlDatabaseCreateUpdateData(AzureLocation location, SqlDatabaseResource r /// Initializes a new instance of SqlDatabaseCreateUpdateData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. /// The standard JSON format of a SQL database. /// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. - internal SqlDatabaseCreateUpdateData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, SqlDatabaseResource resource, CreateUpdateOptions options) : base(id, name, type, systemData, tags, location) + internal SqlDatabaseCreateUpdateData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, SqlDatabaseResource resource, CreateUpdateOptions options) : base(id, name, resourceType, systemData, tags, location) { Resource = resource; Options = options; diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/SqlStoredProcedureCreateUpdateData.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/SqlStoredProcedureCreateUpdateData.cs index 75afc0d5b5799..1db908714c0b8 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/SqlStoredProcedureCreateUpdateData.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/SqlStoredProcedureCreateUpdateData.cs @@ -32,13 +32,13 @@ public SqlStoredProcedureCreateUpdateData(AzureLocation location, SqlStoredProce /// Initializes a new instance of SqlStoredProcedureCreateUpdateData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. /// The standard JSON format of a storedProcedure. /// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. - internal SqlStoredProcedureCreateUpdateData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, SqlStoredProcedureResource resource, CreateUpdateOptions options) : base(id, name, type, systemData, tags, location) + internal SqlStoredProcedureCreateUpdateData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, SqlStoredProcedureResource resource, CreateUpdateOptions options) : base(id, name, resourceType, systemData, tags, location) { Resource = resource; Options = options; diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/SqlTriggerCreateUpdateData.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/SqlTriggerCreateUpdateData.cs index d611adf887565..3055a55fa8d4c 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/SqlTriggerCreateUpdateData.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/SqlTriggerCreateUpdateData.cs @@ -32,13 +32,13 @@ public SqlTriggerCreateUpdateData(AzureLocation location, SqlTriggerResource res /// Initializes a new instance of SqlTriggerCreateUpdateData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. /// The standard JSON format of a trigger. /// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. - internal SqlTriggerCreateUpdateData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, SqlTriggerResource resource, CreateUpdateOptions options) : base(id, name, type, systemData, tags, location) + internal SqlTriggerCreateUpdateData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, SqlTriggerResource resource, CreateUpdateOptions options) : base(id, name, resourceType, systemData, tags, location) { Resource = resource; Options = options; diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/SqlUserDefinedFunctionCreateUpdateData.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/SqlUserDefinedFunctionCreateUpdateData.cs index 851b0e9c2c9b2..5ba1826db8a55 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/SqlUserDefinedFunctionCreateUpdateData.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/SqlUserDefinedFunctionCreateUpdateData.cs @@ -32,13 +32,13 @@ public SqlUserDefinedFunctionCreateUpdateData(AzureLocation location, SqlUserDef /// Initializes a new instance of SqlUserDefinedFunctionCreateUpdateData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. /// The standard JSON format of a userDefinedFunction. /// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. - internal SqlUserDefinedFunctionCreateUpdateData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, SqlUserDefinedFunctionResource resource, CreateUpdateOptions options) : base(id, name, type, systemData, tags, location) + internal SqlUserDefinedFunctionCreateUpdateData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, SqlUserDefinedFunctionResource resource, CreateUpdateOptions options) : base(id, name, resourceType, systemData, tags, location) { Resource = resource; Options = options; diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/TableCreateUpdateData.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/TableCreateUpdateData.cs index eba9e87e89ed2..f9dd11704ae50 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/TableCreateUpdateData.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/TableCreateUpdateData.cs @@ -32,13 +32,13 @@ public TableCreateUpdateData(AzureLocation location, TableResource resource) : b /// Initializes a new instance of TableCreateUpdateData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. /// The standard JSON format of a Table. /// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. - internal TableCreateUpdateData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, TableResource resource, CreateUpdateOptions options) : base(id, name, type, systemData, tags, location) + internal TableCreateUpdateData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, TableResource resource, CreateUpdateOptions options) : base(id, name, resourceType, systemData, tags, location) { Resource = resource; Options = options; diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/ThroughputSettingsUpdateData.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/ThroughputSettingsUpdateData.cs index 0d2e67b4b122d..347a13ec2a44e 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/ThroughputSettingsUpdateData.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/Models/ThroughputSettingsUpdateData.cs @@ -32,12 +32,12 @@ public ThroughputSettingsUpdateData(AzureLocation location, ThroughputSettingsRe /// Initializes a new instance of ThroughputSettingsUpdateData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. /// The standard JSON format of a resource throughput. - internal ThroughputSettingsUpdateData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, ThroughputSettingsResource resource) : base(id, name, type, systemData, tags, location) + internal ThroughputSettingsUpdateData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ThroughputSettingsResource resource) : base(id, name, resourceType, systemData, tags, location) { Resource = resource; } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/MongoDBCollectionData.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/MongoDBCollectionData.cs index 0e5ebeba9b740..2ed02700237df 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/MongoDBCollectionData.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/MongoDBCollectionData.cs @@ -24,13 +24,13 @@ public MongoDBCollectionData(AzureLocation location) : base(location) /// Initializes a new instance of MongoDBCollectionData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. /// /// - internal MongoDBCollectionData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, MongoDBCollectionPropertiesResource resource, MongoDBCollectionPropertiesOptions options) : base(id, name, type, systemData, tags, location) + internal MongoDBCollectionData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, MongoDBCollectionPropertiesResource resource, MongoDBCollectionPropertiesOptions options) : base(id, name, resourceType, systemData, tags, location) { Resource = resource; Options = options; diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/MongoDBDatabaseData.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/MongoDBDatabaseData.cs index dc47ef3924b86..0266f9d4f0655 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/MongoDBDatabaseData.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/MongoDBDatabaseData.cs @@ -24,13 +24,13 @@ public MongoDBDatabaseData(AzureLocation location) : base(location) /// Initializes a new instance of MongoDBDatabaseData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. /// /// - internal MongoDBDatabaseData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, MongoDBDatabasePropertiesResource resource, MongoDBDatabasePropertiesOptions options) : base(id, name, type, systemData, tags, location) + internal MongoDBDatabaseData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, MongoDBDatabasePropertiesResource resource, MongoDBDatabasePropertiesOptions options) : base(id, name, resourceType, systemData, tags, location) { Resource = resource; Options = options; diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/PrivateEndpointConnectionData.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/PrivateEndpointConnectionData.cs index 5cf6b4f5e263e..e33a2be7b2dd2 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/PrivateEndpointConnectionData.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/PrivateEndpointConnectionData.cs @@ -22,13 +22,13 @@ public PrivateEndpointConnectionData() /// Initializes a new instance of PrivateEndpointConnectionData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Private endpoint which the connection belongs to. /// Connection State of the Private Endpoint Connection. /// Group id of the private endpoint. /// Provisioning state of the private endpoint. - internal PrivateEndpointConnectionData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, PrivateEndpointProperty privateEndpoint, PrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState, string groupId, string provisioningState) : base(id, name, type, systemData) + internal PrivateEndpointConnectionData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, PrivateEndpointProperty privateEndpoint, PrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState, string groupId, string provisioningState) : base(id, name, resourceType, systemData) { PrivateEndpoint = privateEndpoint; PrivateLinkServiceConnectionState = privateLinkServiceConnectionState; diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/PrivateLinkResourceData.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/PrivateLinkResourceData.cs index 03fb8dfcf73af..2d8b1603b660c 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/PrivateLinkResourceData.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/PrivateLinkResourceData.cs @@ -24,12 +24,12 @@ public PrivateLinkResourceData() /// Initializes a new instance of PrivateLinkResourceData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The private link resource group id. /// The private link resource required member names. /// The private link resource required zone names. - internal PrivateLinkResourceData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string groupId, IReadOnlyList requiredMembers, IReadOnlyList requiredZoneNames) : base(id, name, type, systemData) + internal PrivateLinkResourceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string groupId, IReadOnlyList requiredMembers, IReadOnlyList requiredZoneNames) : base(id, name, resourceType, systemData) { GroupId = groupId; RequiredMembers = requiredMembers; diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/RestorableDatabaseAccountData.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/RestorableDatabaseAccountData.cs index aefd76c720079..3b74bd3c41847 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/RestorableDatabaseAccountData.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/RestorableDatabaseAccountData.cs @@ -25,7 +25,7 @@ internal RestorableDatabaseAccountData() /// Initializes a new instance of RestorableDatabaseAccountData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The location of the resource group to which the resource belongs. /// The name of the global database account. @@ -33,7 +33,7 @@ internal RestorableDatabaseAccountData() /// The time at which the restorable database account has been deleted (ISO-8601 format). /// The API type of the restorable database account. /// List of regions where the of the database account can be restored from. - internal RestorableDatabaseAccountData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string location, string accountName, DateTimeOffset? creationTime, DateTimeOffset? deletionTime, ApiType? apiType, IReadOnlyList restorableLocations) : base(id, name, type, systemData) + internal RestorableDatabaseAccountData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string location, string accountName, DateTimeOffset? creationTime, DateTimeOffset? deletionTime, ApiType? apiType, IReadOnlyList restorableLocations) : base(id, name, resourceType, systemData) { Location = location; AccountName = accountName; diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/SqlContainerData.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/SqlContainerData.cs index fe0723809d9bd..367234a18caa2 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/SqlContainerData.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/SqlContainerData.cs @@ -24,13 +24,13 @@ public SqlContainerData(AzureLocation location) : base(location) /// Initializes a new instance of SqlContainerData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. /// /// - internal SqlContainerData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, SqlContainerPropertiesResource resource, SqlContainerPropertiesOptions options) : base(id, name, type, systemData, tags, location) + internal SqlContainerData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, SqlContainerPropertiesResource resource, SqlContainerPropertiesOptions options) : base(id, name, resourceType, systemData, tags, location) { Resource = resource; Options = options; diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/SqlDatabaseData.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/SqlDatabaseData.cs index 97c092bfc1997..0ed2b0d409efd 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/SqlDatabaseData.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/SqlDatabaseData.cs @@ -24,13 +24,13 @@ public SqlDatabaseData(AzureLocation location) : base(location) /// Initializes a new instance of SqlDatabaseData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. /// /// - internal SqlDatabaseData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, SqlDatabasePropertiesResource resource, SqlDatabasePropertiesOptions options) : base(id, name, type, systemData, tags, location) + internal SqlDatabaseData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, SqlDatabasePropertiesResource resource, SqlDatabasePropertiesOptions options) : base(id, name, resourceType, systemData, tags, location) { Resource = resource; Options = options; diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/SqlStoredProcedureData.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/SqlStoredProcedureData.cs index cbb7c26c70217..aec832fa31f54 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/SqlStoredProcedureData.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/SqlStoredProcedureData.cs @@ -24,12 +24,12 @@ public SqlStoredProcedureData(AzureLocation location) : base(location) /// Initializes a new instance of SqlStoredProcedureData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. /// - internal SqlStoredProcedureData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, SqlStoredProcedurePropertiesResource resource) : base(id, name, type, systemData, tags, location) + internal SqlStoredProcedureData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, SqlStoredProcedurePropertiesResource resource) : base(id, name, resourceType, systemData, tags, location) { Resource = resource; } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/SqlTriggerData.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/SqlTriggerData.cs index a0105e924110a..89dff55718ebe 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/SqlTriggerData.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/SqlTriggerData.cs @@ -24,12 +24,12 @@ public SqlTriggerData(AzureLocation location) : base(location) /// Initializes a new instance of SqlTriggerData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. /// - internal SqlTriggerData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, SqlTriggerPropertiesResource resource) : base(id, name, type, systemData, tags, location) + internal SqlTriggerData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, SqlTriggerPropertiesResource resource) : base(id, name, resourceType, systemData, tags, location) { Resource = resource; } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/SqlUserDefinedFunctionData.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/SqlUserDefinedFunctionData.cs index 24a1f37aeff0d..330db2d9005dc 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/SqlUserDefinedFunctionData.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/SqlUserDefinedFunctionData.cs @@ -24,12 +24,12 @@ public SqlUserDefinedFunctionData(AzureLocation location) : base(location) /// Initializes a new instance of SqlUserDefinedFunctionData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. /// - internal SqlUserDefinedFunctionData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, SqlUserDefinedFunctionPropertiesResource resource) : base(id, name, type, systemData, tags, location) + internal SqlUserDefinedFunctionData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, SqlUserDefinedFunctionPropertiesResource resource) : base(id, name, resourceType, systemData, tags, location) { Resource = resource; } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/ThroughputSettingsData.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/ThroughputSettingsData.cs index 1586193f98b68..7f6429206576d 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/ThroughputSettingsData.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/src/Generated/ThroughputSettingsData.cs @@ -24,12 +24,12 @@ public ThroughputSettingsData(AzureLocation location) : base(location) /// Initializes a new instance of ThroughputSettingsData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. /// - internal ThroughputSettingsData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, ThroughputSettingsPropertiesResource resource) : base(id, name, type, systemData, tags, location) + internal ThroughputSettingsData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ThroughputSettingsPropertiesResource resource) : base(id, name, resourceType, systemData, tags, location) { Resource = resource; } diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/tests/ScenarioTests/CassandraKeyspaceTests.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/tests/ScenarioTests/CassandraKeyspaceTests.cs index 911e9c6379123..57640e2e8de87 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/tests/ScenarioTests/CassandraKeyspaceTests.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/tests/ScenarioTests/CassandraKeyspaceTests.cs @@ -180,7 +180,7 @@ private void VerifyCassandraKeyspaces(CassandraKeyspace expectedValue, Cassandra Assert.AreEqual(expectedValue.Data.Name, actualValue.Data.Name); Assert.AreEqual(expectedValue.Data.Location, actualValue.Data.Location); Assert.AreEqual(expectedValue.Data.Tags, actualValue.Data.Tags); - Assert.AreEqual(expectedValue.Data.Type, actualValue.Data.Type); + Assert.AreEqual(expectedValue.Data.ResourceType, actualValue.Data.ResourceType); Assert.AreEqual(expectedValue.Data.Options, actualValue.Data.Options); diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/tests/ScenarioTests/CassandraTableTests.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/tests/ScenarioTests/CassandraTableTests.cs index 932667835d849..ed15d1ab251fc 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/tests/ScenarioTests/CassandraTableTests.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/tests/ScenarioTests/CassandraTableTests.cs @@ -177,7 +177,7 @@ private CassandraTableCreateUpdateData BuildCreateUpdateOptions(AutoscaleSetting _tableName = Recording.GenerateAssetName("cassandra-table-"); return new CassandraTableCreateUpdateData(AzureLocation.WestUS, new CassandraTableResource(_tableName, default, new CassandraSchema { - Columns = { new CassandraColumn { Name = "columnA", Type = "int" }, new CassandraColumn { Name = "columnB", Type = "ascii" } }, + Columns = { new CassandraColumn { Name = "columnA", CassandraColumnType = "int" }, new CassandraColumn { Name = "columnB", CassandraColumnType = "ascii" } }, PartitionKeys = { new CassandraPartitionKey { Name = "columnA" } }, ClusterKeys = { new ClusterKey { Name = "columnB", OrderBy = "Asc" } }, }, default)) @@ -193,7 +193,7 @@ private void VerifyCassandraTableCreation(CassandraTable cassandraTable, Cassand for (int i = 0; i < cassandraTable.Data.Resource.Schema.Columns.Count; i++) { Assert.AreEqual(cassandraTable.Data.Resource.Schema.Columns[i].Name, cassandraTableCreateUpdateOptions.Resource.Schema.Columns[i].Name); - Assert.AreEqual(cassandraTable.Data.Resource.Schema.Columns[i].Type, cassandraTableCreateUpdateOptions.Resource.Schema.Columns[i].Type); + Assert.AreEqual(cassandraTable.Data.Resource.Schema.Columns[i].CassandraColumnType, cassandraTableCreateUpdateOptions.Resource.Schema.Columns[i].CassandraColumnType); } Assert.AreEqual(cassandraTable.Data.Resource.Schema.ClusterKeys.Count, cassandraTableCreateUpdateOptions.Resource.Schema.ClusterKeys.Count); @@ -215,7 +215,7 @@ private void VerifyCassandraTables(CassandraTable expectedValue, CassandraTable Assert.AreEqual(expectedValue.Data.Name, actualValue.Data.Name); Assert.AreEqual(expectedValue.Data.Location, actualValue.Data.Location); Assert.AreEqual(expectedValue.Data.Tags, actualValue.Data.Tags); - Assert.AreEqual(expectedValue.Data.Type, actualValue.Data.Type); + Assert.AreEqual(expectedValue.Data.ResourceType, actualValue.Data.ResourceType); Assert.AreEqual(expectedValue.Data.Options, actualValue.Data.Options); diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/tests/ScenarioTests/GremlinDatabaseTests.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/tests/ScenarioTests/GremlinDatabaseTests.cs index 60f0a876b9a0a..08f978905cab2 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/tests/ScenarioTests/GremlinDatabaseTests.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/tests/ScenarioTests/GremlinDatabaseTests.cs @@ -77,7 +77,7 @@ public async Task GremlinDatabaseCreateAndUpdate() VerifyGremlinDatabases(database, database2); - GremlinDatabaseCreateUpdateData updateOptions = new GremlinDatabaseCreateUpdateData(database.Id, _databaseName, database.Data.Type, null, + GremlinDatabaseCreateUpdateData updateOptions = new GremlinDatabaseCreateUpdateData(database.Id, _databaseName, database.Data.ResourceType, null, new Dictionary(),// TODO: use original tags see defect: https://github.com/Azure/autorest.csharp/issues/1590 AzureLocation.WestUS, database.Data.Resource, new CreateUpdateOptions { Throughput = TestThroughput2 }); @@ -177,7 +177,7 @@ private void VerifyGremlinDatabases(GremlinDatabase expectedValue, GremlinDataba Assert.AreEqual(expectedValue.Data.Name, actualValue.Data.Name); Assert.AreEqual(expectedValue.Data.Location, actualValue.Data.Location); Assert.AreEqual(expectedValue.Data.Tags, actualValue.Data.Tags); - Assert.AreEqual(expectedValue.Data.Type, actualValue.Data.Type); + Assert.AreEqual(expectedValue.Data.ResourceType, actualValue.Data.ResourceType); Assert.AreEqual(expectedValue.Data.Options, actualValue.Data.Options); diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/tests/ScenarioTests/GremlinGraphTests.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/tests/ScenarioTests/GremlinGraphTests.cs index 4d2f96f58c642..33b57503395cd 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/tests/ScenarioTests/GremlinGraphTests.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/tests/ScenarioTests/GremlinGraphTests.cs @@ -225,7 +225,7 @@ private void VerifyGremlinGraphs(GremlinGraph expectedValue, GremlinGraph actual Assert.AreEqual(expectedValue.Data.Name, actualValue.Data.Name); Assert.AreEqual(expectedValue.Data.Location, actualValue.Data.Location); Assert.AreEqual(expectedValue.Data.Tags, actualValue.Data.Tags); - Assert.AreEqual(expectedValue.Data.Type, actualValue.Data.Type); + Assert.AreEqual(expectedValue.Data.ResourceType, actualValue.Data.ResourceType); Assert.AreEqual(expectedValue.Data.Options, actualValue.Data.Options); diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/tests/ScenarioTests/MongoDBCollectionTests.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/tests/ScenarioTests/MongoDBCollectionTests.cs index 88897a0b4f715..d68f0d53e053b 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/tests/ScenarioTests/MongoDBCollectionTests.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/tests/ScenarioTests/MongoDBCollectionTests.cs @@ -77,7 +77,7 @@ public async Task MongoDBCollectionCreateAndUpdate() VerifyMongoDBCollections(collection, collection2); - MongoDBCollectionCreateUpdateData updateOptions = new MongoDBCollectionCreateUpdateData(collection.Id, _collectionName, collection.Data.Type, null, + MongoDBCollectionCreateUpdateData updateOptions = new MongoDBCollectionCreateUpdateData(collection.Id, _collectionName, collection.Data.ResourceType, null, new Dictionary(),// TODO: use original tags see defect: https://github.com/Azure/autorest.csharp/issues/1590 AzureLocation.WestUS, collection.Data.Resource, new CreateUpdateOptions { Throughput = TestThroughput2 }); diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/tests/ScenarioTests/SqlContainerTests.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/tests/ScenarioTests/SqlContainerTests.cs index 167ef61c5c1a5..b9c973468b0de 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/tests/ScenarioTests/SqlContainerTests.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/tests/ScenarioTests/SqlContainerTests.cs @@ -156,7 +156,7 @@ public async Task SqlContainerRetrieveContinuousBackupInformation() long restoreTime = DateTimeOffset.Parse(backupInfo.ContinuousBackupInformation.LatestRestorableTimestamp).ToUnixTimeMilliseconds(); Assert.True(restoreTime > 0); - SqlContainerCreateUpdateData updateOptions = new SqlContainerCreateUpdateData(container.Id, _containerName, container.Data.Type, null, + SqlContainerCreateUpdateData updateOptions = new SqlContainerCreateUpdateData(container.Id, _containerName, container.Data.ResourceType, null, new Dictionary(),// TODO: use original tags see defect: https://github.com/Azure/autorest.csharp/issues/1590 AzureLocation.WestUS, container.Data.Resource, new CreateUpdateOptions { Throughput = TestThroughput2 }); diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/tests/ScenarioTests/SqlDatabaseTests.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/tests/ScenarioTests/SqlDatabaseTests.cs index 7f984f1c58044..f6edbcd689dd7 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/tests/ScenarioTests/SqlDatabaseTests.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/tests/ScenarioTests/SqlDatabaseTests.cs @@ -76,7 +76,7 @@ public async Task SqlDatabaseCreateAndUpdate() VerifyDatabases(database, database2); - SqlDatabaseCreateUpdateData updateOptions = new SqlDatabaseCreateUpdateData(database.Id, _databaseName, database.Data.Type, null, + SqlDatabaseCreateUpdateData updateOptions = new SqlDatabaseCreateUpdateData(database.Id, _databaseName, database.Data.ResourceType, null, new Dictionary(),// TODO: use original tags see defect: https://github.com/Azure/autorest.csharp/issues/1590 AzureLocation.WestUS, database.Data.Resource, new CreateUpdateOptions { Throughput = TestThroughput2 }); diff --git a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/tests/ScenarioTests/SqlTriggerTests.cs b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/tests/ScenarioTests/SqlTriggerTests.cs index 9765492674c50..6a47bfa2e7605 100644 --- a/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/tests/ScenarioTests/SqlTriggerTests.cs +++ b/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/tests/ScenarioTests/SqlTriggerTests.cs @@ -82,7 +82,7 @@ public async Task SqlTriggerCreateAndUpdate() VerifySqlTriggers(trigger, trigger2); - SqlTriggerCreateUpdateData updateOptions = new SqlTriggerCreateUpdateData(trigger.Id, _triggerName, trigger.Data.Type, null, + SqlTriggerCreateUpdateData updateOptions = new SqlTriggerCreateUpdateData(trigger.Id, _triggerName, trigger.Data.ResourceType, null, new Dictionary(),// TODO: use original tags see defect: https://github.com/Azure/autorest.csharp/issues/1590 AzureLocation.WestUS, trigger.Data.Resource, new CreateUpdateOptions()); updateOptions = new SqlTriggerCreateUpdateData(AzureLocation.WestUS, new SqlTriggerResource(_triggerName) diff --git a/sdk/dashboard/Azure.ResourceManager.Dashboard/api/Azure.ResourceManager.Dashboard.netstandard2.0.cs b/sdk/dashboard/Azure.ResourceManager.Dashboard/api/Azure.ResourceManager.Dashboard.netstandard2.0.cs index 0d5b18b5e947d..4151414e2d173 100644 --- a/sdk/dashboard/Azure.ResourceManager.Dashboard/api/Azure.ResourceManager.Dashboard.netstandard2.0.cs +++ b/sdk/dashboard/Azure.ResourceManager.Dashboard/api/Azure.ResourceManager.Dashboard.netstandard2.0.cs @@ -91,9 +91,9 @@ public GrafanaResourceProperties() { } public partial class ManagedIdentity { public ManagedIdentity() { } + public Azure.ResourceManager.Dashboard.Models.IdentityType? IdentityType { get { throw null; } set { } } public string PrincipalId { get { throw null; } } public string TenantId { get { throw null; } } - public Azure.ResourceManager.Dashboard.Models.IdentityType? Type { get { throw null; } set { } } public System.Collections.Generic.IDictionary UserAssignedIdentities { get { throw null; } } } public partial class PatchableGrafanaResourceData diff --git a/sdk/dashboard/Azure.ResourceManager.Dashboard/src/Generated/GrafanaResourceData.cs b/sdk/dashboard/Azure.ResourceManager.Dashboard/src/Generated/GrafanaResourceData.cs index d3605be6e06e9..f661c2123ed3c 100644 --- a/sdk/dashboard/Azure.ResourceManager.Dashboard/src/Generated/GrafanaResourceData.cs +++ b/sdk/dashboard/Azure.ResourceManager.Dashboard/src/Generated/GrafanaResourceData.cs @@ -24,14 +24,14 @@ public GrafanaResourceData(AzureLocation location) : base(location) /// Initializes a new instance of GrafanaResourceData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. /// The Sku of the grafana resource. /// Properties specific to the grafana resource. /// The managed identity of the grafana resource. - internal GrafanaResourceData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, ResourceSku sku, GrafanaResourceProperties properties, ManagedIdentity identity) : base(id, name, type, systemData, tags, location) + internal GrafanaResourceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ResourceSku sku, GrafanaResourceProperties properties, ManagedIdentity identity) : base(id, name, resourceType, systemData, tags, location) { Sku = sku; Properties = properties; diff --git a/sdk/dashboard/Azure.ResourceManager.Dashboard/src/Generated/Models/ErrorResponse.Serialization.cs b/sdk/dashboard/Azure.ResourceManager.Dashboard/src/Generated/Models/ErrorResponse.Serialization.cs new file mode 100644 index 0000000000000..134a7d1d5a16c --- /dev/null +++ b/sdk/dashboard/Azure.ResourceManager.Dashboard/src/Generated/Models/ErrorResponse.Serialization.cs @@ -0,0 +1,35 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Text.Json; +using Azure.Core; +using Azure.ResourceManager.Models; + +namespace Azure.ResourceManager.Dashboard.Models +{ + internal partial class ErrorResponse + { + internal static ErrorResponse DeserializeErrorResponse(JsonElement element) + { + Optional error = default; + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("error")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + error = JsonSerializer.Deserialize(property.Value.ToString()); + continue; + } + } + return new ErrorResponse(error); + } + } +} diff --git a/sdk/dashboard/Azure.ResourceManager.Dashboard/src/Generated/Models/ErrorResponse.cs b/sdk/dashboard/Azure.ResourceManager.Dashboard/src/Generated/Models/ErrorResponse.cs new file mode 100644 index 0000000000000..1264ebf4380a8 --- /dev/null +++ b/sdk/dashboard/Azure.ResourceManager.Dashboard/src/Generated/Models/ErrorResponse.cs @@ -0,0 +1,30 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using Azure.ResourceManager.Models; + +namespace Azure.ResourceManager.Dashboard.Models +{ + /// Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). + internal partial class ErrorResponse + { + /// Initializes a new instance of ErrorResponse. + internal ErrorResponse() + { + } + + /// Initializes a new instance of ErrorResponse. + /// The error object. + internal ErrorResponse(ErrorDetail error) + { + Error = error; + } + + /// The error object. + public ErrorDetail Error { get; } + } +} diff --git a/sdk/dashboard/Azure.ResourceManager.Dashboard/src/Generated/Models/ManagedIdentity.Serialization.cs b/sdk/dashboard/Azure.ResourceManager.Dashboard/src/Generated/Models/ManagedIdentity.Serialization.cs index 5936c53f288b2..ca18ca84dfbbc 100644 --- a/sdk/dashboard/Azure.ResourceManager.Dashboard/src/Generated/Models/ManagedIdentity.Serialization.cs +++ b/sdk/dashboard/Azure.ResourceManager.Dashboard/src/Generated/Models/ManagedIdentity.Serialization.cs @@ -17,10 +17,10 @@ public partial class ManagedIdentity : IUtf8JsonSerializable void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(IdentityType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type.Value.ToString()); + writer.WriteStringValue(IdentityType.Value.ToString()); } if (Optional.IsCollectionDefined(UserAssignedIdentities)) { diff --git a/sdk/dashboard/Azure.ResourceManager.Dashboard/src/Generated/Models/ManagedIdentity.cs b/sdk/dashboard/Azure.ResourceManager.Dashboard/src/Generated/Models/ManagedIdentity.cs index f60e4e70595a9..ecc9923c536c2 100644 --- a/sdk/dashboard/Azure.ResourceManager.Dashboard/src/Generated/Models/ManagedIdentity.cs +++ b/sdk/dashboard/Azure.ResourceManager.Dashboard/src/Generated/Models/ManagedIdentity.cs @@ -21,20 +21,20 @@ public ManagedIdentity() } /// Initializes a new instance of ManagedIdentity. - /// The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the resource. + /// The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the resource. /// The principal id of the system assigned identity. /// The tenant id of the system assigned identity. /// Dictionary of user assigned identities. - internal ManagedIdentity(IdentityType? type, string principalId, string tenantId, IDictionary userAssignedIdentities) + internal ManagedIdentity(IdentityType? identityType, string principalId, string tenantId, IDictionary userAssignedIdentities) { - Type = type; + IdentityType = identityType; PrincipalId = principalId; TenantId = tenantId; UserAssignedIdentities = userAssignedIdentities; } /// The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the resource. - public IdentityType? Type { get; set; } + public IdentityType? IdentityType { get; set; } /// The principal id of the system assigned identity. public string PrincipalId { get; } /// The tenant id of the system assigned identity. diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/HostPoolData.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/HostPoolData.cs index e3fc015f62b65..502597a43bc65 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/HostPoolData.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/HostPoolData.cs @@ -31,7 +31,7 @@ public HostPoolData(AzureLocation location, HostPoolType hostPoolType, LoadBalan /// Initializes a new instance of HostPoolData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -62,7 +62,7 @@ public HostPoolData(AzureLocation location, HostPoolType hostPoolType, LoadBalan /// The flag to turn on/off StartVMOnConnect feature. /// The registration info of HostPool. /// Is cloud pc resource. - internal HostPoolData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, string managedBy, string kind, string etag, SystemAssignedServiceIdentity identity, ResourceModelWithAllowedPropertySetSku sku, ArmPlan plan, string objectId, string friendlyName, string description, HostPoolType hostPoolType, PersonalDesktopAssignmentType? personalDesktopAssignmentType, string customRdpProperty, int? maxSessionLimit, LoadBalancerType loadBalancerType, int? ring, bool? validationEnvironment, RegistrationInfo registrationInfo, string vmTemplate, IReadOnlyList applicationGroupReferences, string ssoadfsAuthority, string ssoClientId, string ssoClientSecretKeyVaultPath, SsoSecretType? ssoSecretType, PreferredAppGroupType preferredAppGroupType, bool? startVmOnConnect, MigrationRequestProperties migrationRequest, bool? cloudPcResource) : base(id, name, type, systemData, tags, location, managedBy, kind, etag, identity, sku, plan) + internal HostPoolData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string managedBy, string kind, string etag, SystemAssignedServiceIdentity identity, ResourceModelWithAllowedPropertySetSku sku, ArmPlan plan, string objectId, string friendlyName, string description, HostPoolType hostPoolType, PersonalDesktopAssignmentType? personalDesktopAssignmentType, string customRdpProperty, int? maxSessionLimit, LoadBalancerType loadBalancerType, int? ring, bool? validationEnvironment, RegistrationInfo registrationInfo, string vmTemplate, IReadOnlyList applicationGroupReferences, string ssoadfsAuthority, string ssoClientId, string ssoClientSecretKeyVaultPath, SsoSecretType? ssoSecretType, PreferredAppGroupType preferredAppGroupType, bool? startVmOnConnect, MigrationRequestProperties migrationRequest, bool? cloudPcResource) : base(id, name, resourceType, systemData, tags, location, managedBy, kind, etag, identity, sku, plan) { ObjectId = objectId; FriendlyName = friendlyName; diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/Models/ExpandMsixImage.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/Models/ExpandMsixImage.cs index 6d6ee379eeae5..5f065c6b172e6 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/Models/ExpandMsixImage.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/Models/ExpandMsixImage.cs @@ -25,7 +25,7 @@ public ExpandMsixImage() /// Initializes a new instance of ExpandMsixImage. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Alias of MSIX Package. /// VHD/CIM image path on Network Share. @@ -40,7 +40,7 @@ public ExpandMsixImage() /// Package Version found in the appxmanifest.xml. /// Date Package was last updated, found in the appxmanifest.xml. /// List of package applications. - internal ExpandMsixImage(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string packageAlias, string imagePath, string packageName, string packageFamilyName, string packageFullName, string displayName, string packageRelativePath, bool? isRegularRegistration, bool? isActive, IList packageDependencies, string version, DateTimeOffset? lastUpdated, IList packageApplications) : base(id, name, type, systemData) + internal ExpandMsixImage(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string packageAlias, string imagePath, string packageName, string packageFamilyName, string packageFullName, string displayName, string packageRelativePath, bool? isRegularRegistration, bool? isActive, IList packageDependencies, string version, DateTimeOffset? lastUpdated, IList packageApplications) : base(id, name, resourceType, systemData) { PackageAlias = packageAlias; ImagePath = imagePath; diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/Models/PatchableHostPoolData.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/Models/PatchableHostPoolData.cs index f79edc72329f5..4b324e9cbf2cb 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/Models/PatchableHostPoolData.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/Models/PatchableHostPoolData.cs @@ -23,7 +23,7 @@ public PatchableHostPoolData() /// Initializes a new instance of PatchableHostPoolData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// tags to be updated. /// Friendly name of HostPool. @@ -42,7 +42,7 @@ public PatchableHostPoolData() /// The type of single sign on Secret Type. /// The type of preferred application group type, default to Desktop Application Group. /// The flag to turn on/off StartVMOnConnect feature. - internal PatchableHostPoolData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, string friendlyName, string description, string customRdpProperty, int? maxSessionLimit, PersonalDesktopAssignmentType? personalDesktopAssignmentType, LoadBalancerType? loadBalancerType, int? ring, bool? validationEnvironment, RegistrationInfoPatch registrationInfo, string vmTemplate, string ssoadfsAuthority, string ssoClientId, string ssoClientSecretKeyVaultPath, SsoSecretType? ssoSecretType, PreferredAppGroupType? preferredAppGroupType, bool? startVmOnConnect) : base(id, name, type, systemData) + internal PatchableHostPoolData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, string friendlyName, string description, string customRdpProperty, int? maxSessionLimit, PersonalDesktopAssignmentType? personalDesktopAssignmentType, LoadBalancerType? loadBalancerType, int? ring, bool? validationEnvironment, RegistrationInfoPatch registrationInfo, string vmTemplate, string ssoadfsAuthority, string ssoClientId, string ssoClientSecretKeyVaultPath, SsoSecretType? ssoSecretType, PreferredAppGroupType? preferredAppGroupType, bool? startVmOnConnect) : base(id, name, resourceType, systemData) { Tags = tags; FriendlyName = friendlyName; diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/Models/PatchableMsixPackageData.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/Models/PatchableMsixPackageData.cs index 616dc820d9e79..7afaf91c749ab 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/Models/PatchableMsixPackageData.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/Models/PatchableMsixPackageData.cs @@ -21,12 +21,12 @@ public PatchableMsixPackageData() /// Initializes a new instance of PatchableMsixPackageData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Set a version of the package to be active across hostpool. /// Set Registration mode. Regular or Delayed. /// Display name for MSIX Package. - internal PatchableMsixPackageData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, bool? isActive, bool? isRegularRegistration, string displayName) : base(id, name, type, systemData) + internal PatchableMsixPackageData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, bool? isActive, bool? isRegularRegistration, string displayName) : base(id, name, resourceType, systemData) { IsActive = isActive; IsRegularRegistration = isRegularRegistration; diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/Models/PatchableSessionHostData.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/Models/PatchableSessionHostData.cs index b1abf1cf1db79..e9ed825715221 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/Models/PatchableSessionHostData.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/Models/PatchableSessionHostData.cs @@ -21,11 +21,11 @@ public PatchableSessionHostData() /// Initializes a new instance of PatchableSessionHostData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Allow a new session. /// User assigned to SessionHost. - internal PatchableSessionHostData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, bool? allowNewSession, string assignedUser) : base(id, name, type, systemData) + internal PatchableSessionHostData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, bool? allowNewSession, string assignedUser) : base(id, name, resourceType, systemData) { AllowNewSession = allowNewSession; AssignedUser = assignedUser; diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/Models/PatchableVirtualApplicationGroupData.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/Models/PatchableVirtualApplicationGroupData.cs index 5b71b8da96289..667582ff90249 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/Models/PatchableVirtualApplicationGroupData.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/Models/PatchableVirtualApplicationGroupData.cs @@ -23,12 +23,12 @@ public PatchableVirtualApplicationGroupData() /// Initializes a new instance of PatchableVirtualApplicationGroupData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// tags to be updated. /// Description of ApplicationGroup. /// Friendly name of ApplicationGroup. - internal PatchableVirtualApplicationGroupData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, string description, string friendlyName) : base(id, name, type, systemData) + internal PatchableVirtualApplicationGroupData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, string description, string friendlyName) : base(id, name, resourceType, systemData) { Tags = tags; Description = description; diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/Models/ResourceModelWithAllowedPropertySet.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/Models/ResourceModelWithAllowedPropertySet.cs index 1d67009efc04c..0dc31d94f9d45 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/Models/ResourceModelWithAllowedPropertySet.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/Models/ResourceModelWithAllowedPropertySet.cs @@ -23,7 +23,7 @@ public ResourceModelWithAllowedPropertySet(AzureLocation location) : base(locati /// Initializes a new instance of ResourceModelWithAllowedPropertySet. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -33,7 +33,7 @@ public ResourceModelWithAllowedPropertySet(AzureLocation location) : base(locati /// /// /// - internal ResourceModelWithAllowedPropertySet(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, string managedBy, string kind, string etag, SystemAssignedServiceIdentity identity, ResourceModelWithAllowedPropertySetSku sku, ArmPlan plan) : base(id, name, type, systemData, tags, location) + internal ResourceModelWithAllowedPropertySet(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string managedBy, string kind, string etag, SystemAssignedServiceIdentity identity, ResourceModelWithAllowedPropertySetSku sku, ArmPlan plan) : base(id, name, resourceType, systemData, tags, location) { ManagedBy = managedBy; Kind = kind; diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/Models/StartMenuItem.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/Models/StartMenuItem.cs index 84be3c7c73d69..4cd18907abf49 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/Models/StartMenuItem.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/Models/StartMenuItem.cs @@ -21,14 +21,14 @@ public StartMenuItem() /// Initializes a new instance of StartMenuItem. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Alias of StartMenuItem. /// Path to the file of StartMenuItem. /// Command line arguments for StartMenuItem. /// Path to the icon. /// Index of the icon. - internal StartMenuItem(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string appAlias, string filePath, string commandLineArguments, string iconPath, int? iconIndex) : base(id, name, type, systemData) + internal StartMenuItem(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string appAlias, string filePath, string commandLineArguments, string iconPath, int? iconIndex) : base(id, name, resourceType, systemData) { AppAlias = appAlias; FilePath = filePath; diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/MsixPackageData.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/MsixPackageData.cs index 9cbab734c4411..9ef0c5f808397 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/MsixPackageData.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/MsixPackageData.cs @@ -26,7 +26,7 @@ public MsixPackageData() /// Initializes a new instance of MsixPackageData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// VHD/CIM image path on Network Share. /// Package Name from appxmanifest.xml. @@ -39,7 +39,7 @@ public MsixPackageData() /// Package Version found in the appxmanifest.xml. /// Date Package was last updated, found in the appxmanifest.xml. /// List of package applications. - internal MsixPackageData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string imagePath, string packageName, string packageFamilyName, string displayName, string packageRelativePath, bool? isRegularRegistration, bool? isActive, IList packageDependencies, string version, DateTimeOffset? lastUpdated, IList packageApplications) : base(id, name, type, systemData) + internal MsixPackageData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string imagePath, string packageName, string packageFamilyName, string displayName, string packageRelativePath, bool? isRegularRegistration, bool? isActive, IList packageDependencies, string version, DateTimeOffset? lastUpdated, IList packageApplications) : base(id, name, resourceType, systemData) { ImagePath = imagePath; PackageName = packageName; diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/ScalingPlanData.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/ScalingPlanData.cs index cfe2480672044..8668eeafec232 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/ScalingPlanData.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/ScalingPlanData.cs @@ -26,7 +26,7 @@ public ScalingPlanData(AzureLocation location) : base(location) /// Initializes a new instance of ScalingPlanData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -44,7 +44,7 @@ public ScalingPlanData(AzureLocation location) : base(location) /// Exclusion tag for scaling plan. /// List of ScalingSchedule definitions. /// List of ScalingHostPoolReference definitions. - internal ScalingPlanData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, string managedBy, string kind, string etag, SystemAssignedServiceIdentity identity, ResourceModelWithAllowedPropertySetSku sku, ArmPlan plan, string objectId, string description, string friendlyName, string timeZone, HostPoolType? hostPoolType, string exclusionTag, IList schedules, IList hostPoolReferences) : base(id, name, type, systemData, tags, location, managedBy, kind, etag, identity, sku, plan) + internal ScalingPlanData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string managedBy, string kind, string etag, SystemAssignedServiceIdentity identity, ResourceModelWithAllowedPropertySetSku sku, ArmPlan plan, string objectId, string description, string friendlyName, string timeZone, HostPoolType? hostPoolType, string exclusionTag, IList schedules, IList hostPoolReferences) : base(id, name, resourceType, systemData, tags, location, managedBy, kind, etag, identity, sku, plan) { ObjectId = objectId; Description = description; diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/SessionHostData.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/SessionHostData.cs index fffdb3cb25af2..3514242909270 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/SessionHostData.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/SessionHostData.cs @@ -25,7 +25,7 @@ public SessionHostData() /// Initializes a new instance of SessionHostData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// ObjectId of SessionHost. (internal use). /// Last heart beat from SessionHost. @@ -43,7 +43,7 @@ public SessionHostData() /// The timestamp of the last update. /// The error message. /// List of SessionHostHealthCheckReports. - internal SessionHostData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string objectId, DateTimeOffset? lastHeartBeat, int? sessions, string agentVersion, bool? allowNewSession, string virtualMachineId, string resourceId, string assignedUser, SessionHostStatus? status, DateTimeOffset? statusTimestamp, string osVersion, string sxSStackVersion, UpdateState? updateState, DateTimeOffset? lastUpdateTime, string updateErrorMessage, IReadOnlyList sessionHostHealthCheckResults) : base(id, name, type, systemData) + internal SessionHostData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string objectId, DateTimeOffset? lastHeartBeat, int? sessions, string agentVersion, bool? allowNewSession, string virtualMachineId, string resourceId, string assignedUser, SessionHostStatus? status, DateTimeOffset? statusTimestamp, string osVersion, string sxSStackVersion, UpdateState? updateState, DateTimeOffset? lastUpdateTime, string updateErrorMessage, IReadOnlyList sessionHostHealthCheckResults) : base(id, name, resourceType, systemData) { ObjectId = objectId; LastHeartBeat = lastHeartBeat; diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/UserSessionData.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/UserSessionData.cs index 2c7e488da33a8..26df89bb21b56 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/UserSessionData.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/UserSessionData.cs @@ -23,7 +23,7 @@ public UserSessionData() /// Initializes a new instance of UserSessionData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// ObjectId of user session. (internal use). /// The user principal name. @@ -31,7 +31,7 @@ public UserSessionData() /// State of user session. /// The active directory user name. /// The timestamp of the user session create. - internal UserSessionData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string objectId, string userPrincipalName, ApplicationType? applicationType, SessionState? sessionState, string activeDirectoryUserName, DateTimeOffset? createTime) : base(id, name, type, systemData) + internal UserSessionData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string objectId, string userPrincipalName, ApplicationType? applicationType, SessionState? sessionState, string activeDirectoryUserName, DateTimeOffset? createTime) : base(id, name, resourceType, systemData) { ObjectId = objectId; UserPrincipalName = userPrincipalName; diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/VirtualApplicationData.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/VirtualApplicationData.cs index e68306cf6346b..766314ec5427b 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/VirtualApplicationData.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/VirtualApplicationData.cs @@ -25,7 +25,7 @@ public VirtualApplicationData(CommandLineSetting commandLineSetting) /// Initializes a new instance of VirtualApplicationData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// ObjectId of Application. (internal use). /// Description of Application. @@ -41,7 +41,7 @@ public VirtualApplicationData(CommandLineSetting commandLineSetting) /// Index of the icon. /// Hash of the icon. /// the icon a 64 bit string as a byte array. - internal VirtualApplicationData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string objectId, string description, string friendlyName, string filePath, string msixPackageFamilyName, string msixPackageApplicationId, RemoteApplicationType? applicationType, CommandLineSetting commandLineSetting, string commandLineArguments, bool? showInPortal, string iconPath, int? iconIndex, string iconHash, byte[] iconContent) : base(id, name, type, systemData) + internal VirtualApplicationData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string objectId, string description, string friendlyName, string filePath, string msixPackageFamilyName, string msixPackageApplicationId, RemoteApplicationType? applicationType, CommandLineSetting commandLineSetting, string commandLineArguments, bool? showInPortal, string iconPath, int? iconIndex, string iconHash, byte[] iconContent) : base(id, name, resourceType, systemData) { ObjectId = objectId; Description = description; diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/VirtualApplicationGroupData.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/VirtualApplicationGroupData.cs index 95036fb4baeeb..d8e53f65fb3af 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/VirtualApplicationGroupData.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/VirtualApplicationGroupData.cs @@ -35,7 +35,7 @@ public VirtualApplicationGroupData(AzureLocation location, string hostPoolArmPat /// Initializes a new instance of VirtualApplicationGroupData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -53,7 +53,7 @@ public VirtualApplicationGroupData(AzureLocation location, string hostPoolArmPat /// Resource Type of ApplicationGroup. /// The registration info of HostPool. /// Is cloud pc resource. - internal VirtualApplicationGroupData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, string managedBy, string kind, string etag, SystemAssignedServiceIdentity identity, ResourceModelWithAllowedPropertySetSku sku, ArmPlan plan, string objectId, string description, string friendlyName, string hostPoolArmPath, string workspaceArmPath, ApplicationGroupType applicationGroupType, MigrationRequestProperties migrationRequest, bool? cloudPcResource) : base(id, name, type, systemData, tags, location, managedBy, kind, etag, identity, sku, plan) + internal VirtualApplicationGroupData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string managedBy, string kind, string etag, SystemAssignedServiceIdentity identity, ResourceModelWithAllowedPropertySetSku sku, ArmPlan plan, string objectId, string description, string friendlyName, string hostPoolArmPath, string workspaceArmPath, ApplicationGroupType applicationGroupType, MigrationRequestProperties migrationRequest, bool? cloudPcResource) : base(id, name, resourceType, systemData, tags, location, managedBy, kind, etag, identity, sku, plan) { ObjectId = objectId; Description = description; diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/VirtualDesktopData.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/VirtualDesktopData.cs index 88e966b6f39e8..99cfe87644b44 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/VirtualDesktopData.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/VirtualDesktopData.cs @@ -22,14 +22,14 @@ public VirtualDesktopData() /// Initializes a new instance of VirtualDesktopData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// ObjectId of Desktop. (internal use). /// Description of Desktop. /// Friendly name of Desktop. /// Hash of the icon. /// The icon a 64 bit string as a byte array. - internal VirtualDesktopData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string objectId, string description, string friendlyName, string iconHash, byte[] iconContent) : base(id, name, type, systemData) + internal VirtualDesktopData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string objectId, string description, string friendlyName, string iconHash, byte[] iconContent) : base(id, name, resourceType, systemData) { ObjectId = objectId; Description = description; diff --git a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/VirtualWorkspaceData.cs b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/VirtualWorkspaceData.cs index 41d49d948a3d5..38ab9aeabf963 100644 --- a/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/VirtualWorkspaceData.cs +++ b/sdk/desktopvirtualization/Azure.ResourceManager.DesktopVirtualization/src/Generated/VirtualWorkspaceData.cs @@ -25,7 +25,7 @@ public VirtualWorkspaceData(AzureLocation location) : base(location) /// Initializes a new instance of VirtualWorkspaceData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -40,7 +40,7 @@ public VirtualWorkspaceData(AzureLocation location) : base(location) /// Friendly name of Workspace. /// List of applicationGroup resource Ids. /// Is cloud pc resource. - internal VirtualWorkspaceData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, string managedBy, string kind, string etag, SystemAssignedServiceIdentity identity, ResourceModelWithAllowedPropertySetSku sku, ArmPlan plan, string objectId, string description, string friendlyName, IList applicationGroupReferences, bool? cloudPcResource) : base(id, name, type, systemData, tags, location, managedBy, kind, etag, identity, sku, plan) + internal VirtualWorkspaceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string managedBy, string kind, string etag, SystemAssignedServiceIdentity identity, ResourceModelWithAllowedPropertySetSku sku, ArmPlan plan, string objectId, string description, string friendlyName, IList applicationGroupReferences, bool? cloudPcResource) : base(id, name, resourceType, systemData, tags, location, managedBy, kind, etag, identity, sku, plan) { ObjectId = objectId; Description = description; diff --git a/sdk/deviceupdate/Azure.IoT.DeviceUpdate/api/Azure.Iot.DeviceUpdate.netstandard2.0.cs b/sdk/deviceupdate/Azure.IoT.DeviceUpdate/api/Azure.IoT.DeviceUpdate.netstandard2.0.cs similarity index 100% rename from sdk/deviceupdate/Azure.IoT.DeviceUpdate/api/Azure.Iot.DeviceUpdate.netstandard2.0.cs rename to sdk/deviceupdate/Azure.IoT.DeviceUpdate/api/Azure.IoT.DeviceUpdate.netstandard2.0.cs diff --git a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/api/Azure.ResourceManager.DeviceUpdate.netstandard2.0.cs b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/api/Azure.ResourceManager.DeviceUpdate.netstandard2.0.cs index d4b4371fb3897..75dde9889640b 100644 --- a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/api/Azure.ResourceManager.DeviceUpdate.netstandard2.0.cs +++ b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/api/Azure.ResourceManager.DeviceUpdate.netstandard2.0.cs @@ -272,7 +272,7 @@ public partial class CheckNameAvailabilityRequest { public CheckNameAvailabilityRequest() { } public string Name { get { throw null; } set { } } - public string Type { get { throw null; } set { } } + public string ResourceType { get { throw null; } set { } } } public partial class CheckNameAvailabilityResponse { diff --git a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/src/Generated/DeviceUpdateAccountData.cs b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/src/Generated/DeviceUpdateAccountData.cs index 1ecd3da8cf545..73083898562f9 100644 --- a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/src/Generated/DeviceUpdateAccountData.cs +++ b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/src/Generated/DeviceUpdateAccountData.cs @@ -24,7 +24,7 @@ public DeviceUpdateAccountData(AzureLocation location) : base(location) /// Initializes a new instance of DeviceUpdateAccountData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -32,7 +32,7 @@ public DeviceUpdateAccountData(AzureLocation location) : base(location) /// Provisioning state. /// API host name. /// Whether or not public network access is allowed for the container registry. - internal DeviceUpdateAccountData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, ManagedServiceIdentity identity, ProvisioningState? provisioningState, string hostName, PublicNetworkAccess? publicNetworkAccess) : base(id, name, type, systemData, tags, location) + internal DeviceUpdateAccountData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ManagedServiceIdentity identity, ProvisioningState? provisioningState, string hostName, PublicNetworkAccess? publicNetworkAccess) : base(id, name, resourceType, systemData, tags, location) { Identity = identity; ProvisioningState = provisioningState; diff --git a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/src/Generated/DeviceUpdateInstanceData.cs b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/src/Generated/DeviceUpdateInstanceData.cs index ff0f3d6d27cc1..e92c046ec25a5 100644 --- a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/src/Generated/DeviceUpdateInstanceData.cs +++ b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/src/Generated/DeviceUpdateInstanceData.cs @@ -25,7 +25,7 @@ public DeviceUpdateInstanceData(AzureLocation location) : base(location) /// Initializes a new instance of DeviceUpdateInstanceData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -34,7 +34,7 @@ public DeviceUpdateInstanceData(AzureLocation location) : base(location) /// List of IoT Hubs associated with the account. /// Enables or Disables the diagnostic logs collection. /// Customer-initiated diagnostic log collection storage properties. - internal DeviceUpdateInstanceData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, ProvisioningState? provisioningState, string accountName, IList iotHubs, bool? enableDiagnostics, DiagnosticStorageProperties diagnosticStorageProperties) : base(id, name, type, systemData, tags, location) + internal DeviceUpdateInstanceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ProvisioningState? provisioningState, string accountName, IList iotHubs, bool? enableDiagnostics, DiagnosticStorageProperties diagnosticStorageProperties) : base(id, name, resourceType, systemData, tags, location) { ProvisioningState = provisioningState; AccountName = accountName; diff --git a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/src/Generated/Models/CheckNameAvailabilityRequest.Serialization.cs b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/src/Generated/Models/CheckNameAvailabilityRequest.Serialization.cs index 56ff8420bbcd0..20651c904f071 100644 --- a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/src/Generated/Models/CheckNameAvailabilityRequest.Serialization.cs +++ b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/src/Generated/Models/CheckNameAvailabilityRequest.Serialization.cs @@ -20,10 +20,10 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("name"); writer.WriteStringValue(Name); } - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(ResourceType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type); + writer.WriteStringValue(ResourceType); } writer.WriteEndObject(); } diff --git a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/src/Generated/Models/CheckNameAvailabilityRequest.cs b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/src/Generated/Models/CheckNameAvailabilityRequest.cs index daca9641db79d..d02df5901332d 100644 --- a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/src/Generated/Models/CheckNameAvailabilityRequest.cs +++ b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/src/Generated/Models/CheckNameAvailabilityRequest.cs @@ -18,6 +18,6 @@ public CheckNameAvailabilityRequest() /// The name of the resource for which availability needs to be checked. public string Name { get; set; } /// The resource type. - public string Type { get; set; } + public string ResourceType { get; set; } } } diff --git a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/src/Generated/Models/ErrorResponse.Serialization.cs b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/src/Generated/Models/ErrorResponse.Serialization.cs new file mode 100644 index 0000000000000..863812c1461b7 --- /dev/null +++ b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/src/Generated/Models/ErrorResponse.Serialization.cs @@ -0,0 +1,35 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Text.Json; +using Azure.Core; +using Azure.ResourceManager.Models; + +namespace Azure.ResourceManager.DeviceUpdate.Models +{ + internal partial class ErrorResponse + { + internal static ErrorResponse DeserializeErrorResponse(JsonElement element) + { + Optional error = default; + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("error")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + error = JsonSerializer.Deserialize(property.Value.ToString()); + continue; + } + } + return new ErrorResponse(error); + } + } +} diff --git a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/src/Generated/Models/ErrorResponse.cs b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/src/Generated/Models/ErrorResponse.cs new file mode 100644 index 0000000000000..753ba38af5c14 --- /dev/null +++ b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/src/Generated/Models/ErrorResponse.cs @@ -0,0 +1,30 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using Azure.ResourceManager.Models; + +namespace Azure.ResourceManager.DeviceUpdate.Models +{ + /// Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). + internal partial class ErrorResponse + { + /// Initializes a new instance of ErrorResponse. + internal ErrorResponse() + { + } + + /// Initializes a new instance of ErrorResponse. + /// The error object. + internal ErrorResponse(ErrorDetail error) + { + Error = error; + } + + /// The error object. + public ErrorDetail Error { get; } + } +} diff --git a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/src/Generated/PrivateEndpointConnectionData.cs b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/src/Generated/PrivateEndpointConnectionData.cs index 0139c955f194b..cc14e1c0a78ca 100644 --- a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/src/Generated/PrivateEndpointConnectionData.cs +++ b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/src/Generated/PrivateEndpointConnectionData.cs @@ -23,12 +23,12 @@ public PrivateEndpointConnectionData() /// Initializes a new instance of PrivateEndpointConnectionData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The resource of private end point. /// A collection of information about the state of the connection between service consumer and provider. /// The provisioning state of the private endpoint connection resource. - internal PrivateEndpointConnectionData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, SubResource privateEndpoint, PrivateLinkServiceConnectionState privateLinkServiceConnectionState, PrivateEndpointConnectionProvisioningState? provisioningState) : base(id, name, type, systemData) + internal PrivateEndpointConnectionData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, SubResource privateEndpoint, PrivateLinkServiceConnectionState privateLinkServiceConnectionState, PrivateEndpointConnectionProvisioningState? provisioningState) : base(id, name, resourceType, systemData) { PrivateEndpoint = privateEndpoint; PrivateLinkServiceConnectionState = privateLinkServiceConnectionState; diff --git a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/src/Generated/PrivateEndpointConnectionProxyData.cs b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/src/Generated/PrivateEndpointConnectionProxyData.cs index 1adcbcabaa57d..63b886ff4297e 100644 --- a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/src/Generated/PrivateEndpointConnectionProxyData.cs +++ b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/src/Generated/PrivateEndpointConnectionProxyData.cs @@ -22,13 +22,13 @@ public PrivateEndpointConnectionProxyData() /// Initializes a new instance of PrivateEndpointConnectionProxyData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// ETag from NRP. /// Remote private endpoint details. /// The provisioning state of the private endpoint connection proxy resource. /// Operation status. - internal PrivateEndpointConnectionProxyData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string eTag, RemotePrivateEndpoint remotePrivateEndpoint, PrivateEndpointConnectionProxyProvisioningState? provisioningState, string status) : base(id, name, type, systemData) + internal PrivateEndpointConnectionProxyData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string eTag, RemotePrivateEndpoint remotePrivateEndpoint, PrivateEndpointConnectionProxyProvisioningState? provisioningState, string status) : base(id, name, resourceType, systemData) { ETag = eTag; RemotePrivateEndpoint = remotePrivateEndpoint; diff --git a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/src/Generated/PrivateLinkData.cs b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/src/Generated/PrivateLinkData.cs index c89fb8b4f68f7..2db424b4cd369 100644 --- a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/src/Generated/PrivateLinkData.cs +++ b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/src/Generated/PrivateLinkData.cs @@ -25,13 +25,13 @@ public PrivateLinkData() /// Initializes a new instance of PrivateLinkData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The private link resource group id. /// The private link resource required member names. /// The private link resource Private link DNS zone name. /// The provisioning state of private link group ID. - internal PrivateLinkData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string groupId, IReadOnlyList requiredMembers, IList requiredZoneNames, GroupIdProvisioningState? provisioningState) : base(id, name, type, systemData) + internal PrivateLinkData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string groupId, IReadOnlyList requiredMembers, IList requiredZoneNames, GroupIdProvisioningState? provisioningState) : base(id, name, resourceType, systemData) { GroupId = groupId; RequiredMembers = requiredMembers; diff --git a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/tests/Helper/ResourceDataHelper.cs b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/tests/Helper/ResourceDataHelper.cs index 85d96a16e75a8..f80eb947390d8 100644 --- a/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/tests/Helper/ResourceDataHelper.cs +++ b/sdk/deviceupdate/Azure.ResourceManager.DeviceUpdate/tests/Helper/ResourceDataHelper.cs @@ -20,7 +20,7 @@ public static void AssertValidAccount(DeviceUpdateAccount model, DeviceUpdateAcc { Assert.AreEqual(model.Data.Name, getResult.Data.Name); Assert.AreEqual(model.Data.Id, getResult.Data.Id); - Assert.AreEqual(model.Data.Type, getResult.Data.Type); + Assert.AreEqual(model.Data.ResourceType, getResult.Data.ResourceType); Assert.AreEqual(model.Data.Location, getResult.Data.Location); if (model.Data.Identity != null || getResult.Data.Identity != null) { @@ -28,7 +28,7 @@ public static void AssertValidAccount(DeviceUpdateAccount model, DeviceUpdateAcc Assert.NotNull(getResult.Data.Identity); Assert.AreEqual(model.Data.Identity.PrincipalId, getResult.Data.Identity.PrincipalId); Assert.AreEqual(model.Data.Identity.TenantId, getResult.Data.Identity.TenantId); - Assert.AreEqual(model.Data.Identity.Type, getResult.Data.Identity.Type); + Assert.AreEqual(model.Data.Identity.ManagedServiceIdentityType, getResult.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(model.Data.Identity.UserAssignedIdentities.Count, getResult.Data.Identity.UserAssignedIdentities.Count); foreach (var kv in model.Data.Identity.UserAssignedIdentities) { @@ -45,7 +45,7 @@ public static void AssertValidInstance(DeviceUpdateInstance model, DeviceUpdateI { Assert.AreEqual(model.Data.Name, getResult.Data.Name); Assert.AreEqual(model.Data.Id, getResult.Data.Id); - Assert.AreEqual(model.Data.Type, getResult.Data.Type); + Assert.AreEqual(model.Data.ResourceType, getResult.Data.ResourceType); Assert.AreEqual(model.Data.ProvisioningState, getResult.Data.ProvisioningState); Assert.AreEqual(model.Data.AccountName, getResult.Data.AccountName); for (int i = 0; i < model.Data.IotHubs.Count; ++i) @@ -73,7 +73,7 @@ public static void AssertAccountUpdate(DeviceUpdateAccount updatedAccount, Patch { Assert.NotNull(updatedAccount.Data.Identity); Assert.NotNull(updateParameters.Identity); - Assert.AreEqual(updatedAccount.Data.Identity.Type, updateParameters.Identity.Type); + Assert.AreEqual(updatedAccount.Data.Identity.ManagedServiceIdentityType, updateParameters.Identity.ManagedServiceIdentityType); } } diff --git a/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/api/Azure.ResourceManager.EdgeOrder.netstandard2.0.cs b/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/api/Azure.ResourceManager.EdgeOrder.netstandard2.0.cs index 519eb8c41c3da..04592271b2744 100644 --- a/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/api/Azure.ResourceManager.EdgeOrder.netstandard2.0.cs +++ b/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/api/Azure.ResourceManager.EdgeOrder.netstandard2.0.cs @@ -413,9 +413,9 @@ internal EdgeOrderProduct() { } } public partial class FilterableProperty { - public FilterableProperty(Azure.ResourceManager.EdgeOrder.Models.SupportedFilterTypes type, System.Collections.Generic.IEnumerable supportedValues) { } + public FilterableProperty(Azure.ResourceManager.EdgeOrder.Models.SupportedFilterTypes supportedFilterType, System.Collections.Generic.IEnumerable supportedValues) { } + public Azure.ResourceManager.EdgeOrder.Models.SupportedFilterTypes SupportedFilterType { get { throw null; } set { } } public System.Collections.Generic.IList SupportedValues { get { throw null; } } - public Azure.ResourceManager.EdgeOrder.Models.SupportedFilterTypes Type { get { throw null; } set { } } } public partial class ForwardShippingDetails { diff --git a/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/src/Generated/AddressResourceData.cs b/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/src/Generated/AddressResourceData.cs index 0d86a19f607fb..5280d3fe0569b 100644 --- a/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/src/Generated/AddressResourceData.cs +++ b/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/src/Generated/AddressResourceData.cs @@ -33,14 +33,14 @@ public AddressResourceData(AzureLocation location, ContactDetails contactDetails /// Initializes a new instance of AddressResourceData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. /// Shipping details for the address. /// Contact details for the address. /// Status of address validation. - internal AddressResourceData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, ShippingAddress shippingAddress, ContactDetails contactDetails, AddressValidationStatus? addressValidationStatus) : base(id, name, type, systemData, tags, location) + internal AddressResourceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ShippingAddress shippingAddress, ContactDetails contactDetails, AddressValidationStatus? addressValidationStatus) : base(id, name, resourceType, systemData, tags, location) { ShippingAddress = shippingAddress; ContactDetails = contactDetails; diff --git a/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/src/Generated/Models/ErrorResponse.Serialization.cs b/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/src/Generated/Models/ErrorResponse.Serialization.cs new file mode 100644 index 0000000000000..b196454e12c33 --- /dev/null +++ b/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/src/Generated/Models/ErrorResponse.Serialization.cs @@ -0,0 +1,35 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Text.Json; +using Azure.Core; +using Azure.ResourceManager.Models; + +namespace Azure.ResourceManager.EdgeOrder.Models +{ + internal partial class ErrorResponse + { + internal static ErrorResponse DeserializeErrorResponse(JsonElement element) + { + Optional error = default; + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("error")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + error = JsonSerializer.Deserialize(property.Value.ToString()); + continue; + } + } + return new ErrorResponse(error); + } + } +} diff --git a/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/src/Generated/Models/ErrorResponse.cs b/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/src/Generated/Models/ErrorResponse.cs new file mode 100644 index 0000000000000..7032a7174729f --- /dev/null +++ b/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/src/Generated/Models/ErrorResponse.cs @@ -0,0 +1,30 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using Azure.ResourceManager.Models; + +namespace Azure.ResourceManager.EdgeOrder.Models +{ + /// Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). + internal partial class ErrorResponse + { + /// Initializes a new instance of ErrorResponse. + internal ErrorResponse() + { + } + + /// Initializes a new instance of ErrorResponse. + /// The error object. + internal ErrorResponse(ErrorDetail error) + { + Error = error; + } + + /// The error object. + public ErrorDetail Error { get; } + } +} diff --git a/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/src/Generated/Models/FilterableProperty.Serialization.cs b/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/src/Generated/Models/FilterableProperty.Serialization.cs index fb865abdf3178..69f45d7a3e5c5 100644 --- a/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/src/Generated/Models/FilterableProperty.Serialization.cs +++ b/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/src/Generated/Models/FilterableProperty.Serialization.cs @@ -17,7 +17,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); writer.WritePropertyName("type"); - writer.WriteStringValue(Type.ToString()); + writer.WriteStringValue(SupportedFilterType.ToString()); writer.WritePropertyName("supportedValues"); writer.WriteStartArray(); foreach (var item in SupportedValues) diff --git a/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/src/Generated/Models/FilterableProperty.cs b/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/src/Generated/Models/FilterableProperty.cs index 8fbffb47292d4..6f6cf46bd1deb 100644 --- a/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/src/Generated/Models/FilterableProperty.cs +++ b/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/src/Generated/Models/FilterableProperty.cs @@ -15,31 +15,31 @@ namespace Azure.ResourceManager.EdgeOrder.Models public partial class FilterableProperty { /// Initializes a new instance of FilterableProperty. - /// Type of product filter. + /// Type of product filter. /// Values to be filtered. /// is null. - public FilterableProperty(SupportedFilterTypes type, IEnumerable supportedValues) + public FilterableProperty(SupportedFilterTypes supportedFilterType, IEnumerable supportedValues) { if (supportedValues == null) { throw new ArgumentNullException(nameof(supportedValues)); } - Type = type; + SupportedFilterType = supportedFilterType; SupportedValues = supportedValues.ToList(); } /// Initializes a new instance of FilterableProperty. - /// Type of product filter. + /// Type of product filter. /// Values to be filtered. - internal FilterableProperty(SupportedFilterTypes type, IList supportedValues) + internal FilterableProperty(SupportedFilterTypes supportedFilterType, IList supportedValues) { - Type = type; + SupportedFilterType = supportedFilterType; SupportedValues = supportedValues; } /// Type of product filter. - public SupportedFilterTypes Type { get; set; } + public SupportedFilterTypes SupportedFilterType { get; set; } /// Values to be filtered. public IList SupportedValues { get; } } diff --git a/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/src/Generated/Models/ResourceIdentity.cs b/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/src/Generated/Models/ResourceIdentity.cs index 7f4925276363a..e01b24b189d1c 100644 --- a/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/src/Generated/Models/ResourceIdentity.cs +++ b/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/src/Generated/Models/ResourceIdentity.cs @@ -16,7 +16,7 @@ internal ResourceIdentity() } /// Identity type. - public string Type { get; } + public string ResourceIdentityType { get; } /// Service Principal Id backing the Msi. public string PrincipalId { get; } /// Home Tenant Id. diff --git a/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/src/Generated/OrderItemResourceData.cs b/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/src/Generated/OrderItemResourceData.cs index 77fbd955bff4c..85fcdf6db9045 100644 --- a/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/src/Generated/OrderItemResourceData.cs +++ b/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/src/Generated/OrderItemResourceData.cs @@ -45,7 +45,7 @@ public OrderItemResourceData(AzureLocation location, OrderItemDetails orderItemD /// Initializes a new instance of OrderItemResourceData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -53,7 +53,7 @@ public OrderItemResourceData(AzureLocation location, OrderItemDetails orderItemD /// Represents shipping and return address for order item. /// Start time of order item. /// Id of the order to which order item belongs to. - internal OrderItemResourceData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, OrderItemDetails orderItemDetails, AddressDetails addressDetails, DateTimeOffset? startTime, string orderId) : base(id, name, type, systemData, tags, location) + internal OrderItemResourceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, OrderItemDetails orderItemDetails, AddressDetails addressDetails, DateTimeOffset? startTime, string orderId) : base(id, name, resourceType, systemData, tags, location) { OrderItemDetails = orderItemDetails; AddressDetails = addressDetails; diff --git a/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/src/Generated/OrderResourceData.cs b/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/src/Generated/OrderResourceData.cs index 5a95ef540c8ed..4ae5fc01d4911 100644 --- a/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/src/Generated/OrderResourceData.cs +++ b/sdk/edgeorder/Azure.ResourceManager.EdgeOrder/src/Generated/OrderResourceData.cs @@ -25,12 +25,12 @@ public OrderResourceData() /// Initializes a new instance of OrderResourceData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// List of order item ARM Ids which are part of an order. /// Order current status. /// Order status history. - internal OrderResourceData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IReadOnlyList orderItemIds, StageDetails currentStage, IReadOnlyList orderStageHistory) : base(id, name, type, systemData) + internal OrderResourceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IReadOnlyList orderItemIds, StageDetails currentStage, IReadOnlyList orderStageHistory) : base(id, name, resourceType, systemData) { OrderItemIds = orderItemIds; CurrentStage = currentStage; diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/AuthorizationRuleData.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/AuthorizationRuleData.cs index 48c0256e51eea..b0039f396f714 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/AuthorizationRuleData.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/AuthorizationRuleData.cs @@ -24,11 +24,11 @@ public AuthorizationRuleData() /// Initializes a new instance of AuthorizationRuleData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The geo-location where the resource lives. /// The rights associated with the rule. - internal AuthorizationRuleData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string location, IList rights) : base(id, name, type, systemData, location) + internal AuthorizationRuleData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string location, IList rights) : base(id, name, resourceType, systemData, location) { Rights = rights; } diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/ConsumerGroupData.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/ConsumerGroupData.cs index edb3db973f297..7a20f41da6708 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/ConsumerGroupData.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/ConsumerGroupData.cs @@ -23,13 +23,13 @@ public ConsumerGroupData() /// Initializes a new instance of ConsumerGroupData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The geo-location where the resource lives. /// Exact time the message was created. /// The exact time the message was updated. /// User Metadata is a placeholder to store user-defined string data with maximum length 1024. e.g. it can be used to store descriptive data, such as list of teams and their contact information also user-defined configuration settings can be stored. - internal ConsumerGroupData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string location, DateTimeOffset? createdAt, DateTimeOffset? updatedAt, string userMetadata) : base(id, name, type, systemData, location) + internal ConsumerGroupData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string location, DateTimeOffset? createdAt, DateTimeOffset? updatedAt, string userMetadata) : base(id, name, resourceType, systemData, location) { CreatedAt = createdAt; UpdatedAt = updatedAt; diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/DisasterRecoveryData.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/DisasterRecoveryData.cs index 210f6fa820ff9..c445acf9ca35f 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/DisasterRecoveryData.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/DisasterRecoveryData.cs @@ -22,7 +22,7 @@ public DisasterRecoveryData() /// Initializes a new instance of DisasterRecoveryData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The geo-location where the resource lives. /// Provisioning state of the Alias(Disaster Recovery configuration) - possible values 'Accepted' or 'Succeeded' or 'Failed'. @@ -30,7 +30,7 @@ public DisasterRecoveryData() /// Alternate name specified when alias and namespace names are same. /// role of namespace in GEO DR - possible values 'Primary' or 'PrimaryNotReplicating' or 'Secondary'. /// Number of entities pending to be replicated. - internal DisasterRecoveryData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string location, ProvisioningStateDR? provisioningState, string partnerNamespace, string alternateName, RoleDisasterRecovery? role, long? pendingReplicationOperationsCount) : base(id, name, type, systemData, location) + internal DisasterRecoveryData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string location, ProvisioningStateDR? provisioningState, string partnerNamespace, string alternateName, RoleDisasterRecovery? role, long? pendingReplicationOperationsCount) : base(id, name, resourceType, systemData, location) { ProvisioningState = provisioningState; PartnerNamespace = partnerNamespace; diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/EventHubClusterData.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/EventHubClusterData.cs index 1188bcfca6ddb..ad6196d08d169 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/EventHubClusterData.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/EventHubClusterData.cs @@ -24,7 +24,7 @@ public EventHubClusterData(AzureLocation location) : base(location) /// Initializes a new instance of EventHubClusterData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -33,7 +33,7 @@ public EventHubClusterData(AzureLocation location) : base(location) /// The UTC time when the Event Hubs Cluster was last updated. /// The metric ID of the cluster resource. Provided by the service and not modifiable by the user. /// Status of the Cluster resource. - internal EventHubClusterData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, ClusterSku sku, string createdAt, string updatedAt, string metricId, string status) : base(id, name, type, systemData, tags, location) + internal EventHubClusterData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ClusterSku sku, string createdAt, string updatedAt, string metricId, string status) : base(id, name, resourceType, systemData, tags, location) { Sku = sku; CreatedAt = createdAt; diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/EventHubData.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/EventHubData.cs index e7255cae26cd0..ea891b84519a1 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/EventHubData.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/EventHubData.cs @@ -25,7 +25,7 @@ public EventHubData() /// Initializes a new instance of EventHubData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The geo-location where the resource lives. /// Current number of shards on the Event Hub. @@ -35,7 +35,7 @@ public EventHubData() /// Number of partitions created for the Event Hub, allowed values are from 1 to 32 partitions. /// Enumerates the possible values for the status of the Event Hub. /// Properties of capture description. - internal EventHubData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string location, IReadOnlyList partitionIds, DateTimeOffset? createdAt, DateTimeOffset? updatedAt, long? messageRetentionInDays, long? partitionCount, EntityStatus? status, CaptureDescription captureDescription) : base(id, name, type, systemData, location) + internal EventHubData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string location, IReadOnlyList partitionIds, DateTimeOffset? createdAt, DateTimeOffset? updatedAt, long? messageRetentionInDays, long? partitionCount, EntityStatus? status, CaptureDescription captureDescription) : base(id, name, resourceType, systemData, location) { PartitionIds = partitionIds; CreatedAt = createdAt; diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/EventHubNamespaceData.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/EventHubNamespaceData.cs index d2f3ce7d8a68e..3096fe6d5e1d9 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/EventHubNamespaceData.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/EventHubNamespaceData.cs @@ -26,7 +26,7 @@ public EventHubNamespaceData(AzureLocation location) : base(location) /// Initializes a new instance of EventHubNamespaceData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -47,7 +47,7 @@ public EventHubNamespaceData(AzureLocation location) : base(location) /// List of private endpoint connections. /// This property disables SAS authentication for the Event Hubs namespace. /// Alternate name specified when alias and namespace names are same. - internal EventHubNamespaceData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, EventHubsSku sku, ManagedServiceIdentity identity, string provisioningState, string status, DateTimeOffset? createdAt, DateTimeOffset? updatedAt, string serviceBusEndpoint, string clusterArmId, string metricId, bool? isAutoInflateEnabled, int? maximumThroughputUnits, bool? kafkaEnabled, bool? zoneRedundant, EventHubEncryption encryption, IList privateEndpointConnections, bool? disableLocalAuth, string alternateName) : base(id, name, type, systemData, tags, location) + internal EventHubNamespaceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, EventHubsSku sku, ManagedServiceIdentity identity, string provisioningState, string status, DateTimeOffset? createdAt, DateTimeOffset? updatedAt, string serviceBusEndpoint, string clusterArmId, string metricId, bool? isAutoInflateEnabled, int? maximumThroughputUnits, bool? kafkaEnabled, bool? zoneRedundant, EventHubEncryption encryption, IList privateEndpointConnections, bool? disableLocalAuth, string alternateName) : base(id, name, resourceType, systemData, tags, location) { Sku = sku; Identity = identity; diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/Models/ErrorResponse.Serialization.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/Models/ErrorResponse.Serialization.cs new file mode 100644 index 0000000000000..83e4b1301968c --- /dev/null +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/Models/ErrorResponse.Serialization.cs @@ -0,0 +1,35 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Text.Json; +using Azure.Core; +using Azure.ResourceManager.Models; + +namespace Azure.ResourceManager.EventHubs.Models +{ + internal partial class ErrorResponse + { + internal static ErrorResponse DeserializeErrorResponse(JsonElement element) + { + Optional error = default; + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("error")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + error = JsonSerializer.Deserialize(property.Value.ToString()); + continue; + } + } + return new ErrorResponse(error); + } + } +} diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/Models/ErrorResponse.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/Models/ErrorResponse.cs new file mode 100644 index 0000000000000..96be5bab47596 --- /dev/null +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/Models/ErrorResponse.cs @@ -0,0 +1,30 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using Azure.ResourceManager.Models; + +namespace Azure.ResourceManager.EventHubs.Models +{ + /// Error response indicates Event Hub service is not able to process the incoming request. The reason is provided in the error message. + internal partial class ErrorResponse + { + /// Initializes a new instance of ErrorResponse. + internal ErrorResponse() + { + } + + /// Initializes a new instance of ErrorResponse. + /// The error object. + internal ErrorResponse(ErrorDetail error) + { + Error = error; + } + + /// The error object. + public ErrorDetail Error { get; } + } +} diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/Models/PrivateLinkResource.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/Models/PrivateLinkResource.cs index 9f13488b9138b..d94269baf0d78 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/Models/PrivateLinkResource.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/Models/PrivateLinkResource.cs @@ -24,12 +24,12 @@ internal PrivateLinkResource() /// Initializes a new instance of PrivateLinkResource. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The private link resource group id. /// The private link resource required member names. /// The private link resource Private link DNS zone name. - internal PrivateLinkResource(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string groupId, IReadOnlyList requiredMembers, IReadOnlyList requiredZoneNames) : base(id, name, type, systemData) + internal PrivateLinkResource(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string groupId, IReadOnlyList requiredMembers, IReadOnlyList requiredZoneNames) : base(id, name, resourceType, systemData) { GroupId = groupId; RequiredMembers = requiredMembers; diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/Models/ProxyResource.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/Models/ProxyResource.cs index 7c5c5d5fd2a4c..e69e30f393a1a 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/Models/ProxyResource.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/Models/ProxyResource.cs @@ -21,10 +21,10 @@ public ProxyResource() /// Initializes a new instance of ProxyResource. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The geo-location where the resource lives. - internal ProxyResource(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string location) : base(id, name, type, systemData) + internal ProxyResource(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string location) : base(id, name, resourceType, systemData) { Location = location; } diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/NetworkRuleSetData.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/NetworkRuleSetData.cs index d10c2d5f30b08..932a1e6deecdc 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/NetworkRuleSetData.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/NetworkRuleSetData.cs @@ -25,7 +25,7 @@ public NetworkRuleSetData() /// Initializes a new instance of NetworkRuleSetData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The geo-location where the resource lives. /// Value that indicates whether Trusted Service Access is Enabled or not. @@ -33,7 +33,7 @@ public NetworkRuleSetData() /// List VirtualNetwork Rules. /// List of IpRules. /// This determines if traffic is allowed over public network. By default it is enabled. - internal NetworkRuleSetData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string location, bool? trustedServiceAccessEnabled, DefaultAction? defaultAction, IList virtualNetworkRules, IList ipRules, PublicNetworkAccessFlag? publicNetworkAccess) : base(id, name, type, systemData, location) + internal NetworkRuleSetData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string location, bool? trustedServiceAccessEnabled, DefaultAction? defaultAction, IList virtualNetworkRules, IList ipRules, PublicNetworkAccessFlag? publicNetworkAccess) : base(id, name, resourceType, systemData, location) { TrustedServiceAccessEnabled = trustedServiceAccessEnabled; DefaultAction = defaultAction; diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/PrivateEndpointConnectionData.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/PrivateEndpointConnectionData.cs index 326309f4b8ab6..26c4332c1c8e7 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/PrivateEndpointConnectionData.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/PrivateEndpointConnectionData.cs @@ -23,13 +23,13 @@ public PrivateEndpointConnectionData() /// Initializes a new instance of PrivateEndpointConnectionData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The geo-location where the resource lives. /// The Private Endpoint resource for this Connection. /// Details about the state of the connection. /// Provisioning state of the Private Endpoint Connection. - internal PrivateEndpointConnectionData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string location, WritableSubResource privateEndpoint, ConnectionState privateLinkServiceConnectionState, EndPointProvisioningState? provisioningState) : base(id, name, type, systemData, location) + internal PrivateEndpointConnectionData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string location, WritableSubResource privateEndpoint, ConnectionState privateLinkServiceConnectionState, EndPointProvisioningState? provisioningState) : base(id, name, resourceType, systemData, location) { PrivateEndpoint = privateEndpoint; PrivateLinkServiceConnectionState = privateLinkServiceConnectionState; diff --git a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/SchemaGroupData.cs b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/SchemaGroupData.cs index cf7176fb06b01..48a41d64c96c8 100644 --- a/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/SchemaGroupData.cs +++ b/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Generated/SchemaGroupData.cs @@ -25,7 +25,7 @@ public SchemaGroupData() /// Initializes a new instance of SchemaGroupData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The geo-location where the resource lives. /// Exact time the Schema Group was updated. @@ -34,7 +34,7 @@ public SchemaGroupData() /// dictionary object for SchemaGroup group properties. /// /// - internal SchemaGroupData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string location, DateTimeOffset? updatedAtUtc, DateTimeOffset? createdAtUtc, Guid? eTag, IDictionary groupProperties, SchemaCompatibility? schemaCompatibility, SchemaType? schemaType) : base(id, name, type, systemData, location) + internal SchemaGroupData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string location, DateTimeOffset? updatedAtUtc, DateTimeOffset? createdAtUtc, Guid? eTag, IDictionary groupProperties, SchemaCompatibility? schemaCompatibility, SchemaType? schemaType) : base(id, name, resourceType, systemData, location) { UpdatedAtUtc = updatedAtUtc; CreatedAtUtc = createdAtUtc; diff --git a/sdk/extendedlocation/Azure.ResourceManager.ExtendedLocation/api/Azure.ResourceManager.ExtendedLocation.netstandard2.0.cs b/sdk/extendedlocation/Azure.ResourceManager.ExtendedLocation/api/Azure.ResourceManager.ExtendedLocation.netstandard2.0.cs index 1f4f42bcd6dd8..1cbfcbbf9de84 100644 --- a/sdk/extendedlocation/Azure.ResourceManager.ExtendedLocation/api/Azure.ResourceManager.ExtendedLocation.netstandard2.0.cs +++ b/sdk/extendedlocation/Azure.ResourceManager.ExtendedLocation/api/Azure.ResourceManager.ExtendedLocation.netstandard2.0.cs @@ -88,7 +88,7 @@ internal CustomLocationOperation() { } public partial class CustomLocationPropertiesAuthentication { public CustomLocationPropertiesAuthentication() { } - public string Type { get { throw null; } set { } } + public string CustomLocationPropertiesAuthenticationType { get { throw null; } set { } } public string Value { get { throw null; } set { } } } public partial class EnabledResourceType : Azure.ResourceManager.Models.ResourceData diff --git a/sdk/extendedlocation/Azure.ResourceManager.ExtendedLocation/src/Generated/CustomLocationData.cs b/sdk/extendedlocation/Azure.ResourceManager.ExtendedLocation/src/Generated/CustomLocationData.cs index 8547a4f921912..dde6b15d95fa7 100644 --- a/sdk/extendedlocation/Azure.ResourceManager.ExtendedLocation/src/Generated/CustomLocationData.cs +++ b/sdk/extendedlocation/Azure.ResourceManager.ExtendedLocation/src/Generated/CustomLocationData.cs @@ -25,7 +25,7 @@ public CustomLocationData(AzureLocation location) : base(location) /// Initializes a new instance of CustomLocationData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -37,7 +37,7 @@ public CustomLocationData(AzureLocation location) : base(location) /// Type of host the Custom Locations is referencing (Kubernetes, etc...). /// Kubernetes namespace that will be created on the specified cluster. /// Provisioning State for the Custom Location. - internal CustomLocationData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, SystemAssignedServiceIdentity identity, CustomLocationPropertiesAuthentication authentication, IList clusterExtensionIds, string displayName, string hostResourceId, HostType? hostType, string @namespace, string provisioningState) : base(id, name, type, systemData, tags, location) + internal CustomLocationData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, SystemAssignedServiceIdentity identity, CustomLocationPropertiesAuthentication authentication, IList clusterExtensionIds, string displayName, string hostResourceId, HostType? hostType, string @namespace, string provisioningState) : base(id, name, resourceType, systemData, tags, location) { Identity = identity; Authentication = authentication; diff --git a/sdk/extendedlocation/Azure.ResourceManager.ExtendedLocation/src/Generated/Models/CustomLocationPropertiesAuthentication.Serialization.cs b/sdk/extendedlocation/Azure.ResourceManager.ExtendedLocation/src/Generated/Models/CustomLocationPropertiesAuthentication.Serialization.cs index 40af75bc2bdb5..99bf65b45f5fa 100644 --- a/sdk/extendedlocation/Azure.ResourceManager.ExtendedLocation/src/Generated/Models/CustomLocationPropertiesAuthentication.Serialization.cs +++ b/sdk/extendedlocation/Azure.ResourceManager.ExtendedLocation/src/Generated/Models/CustomLocationPropertiesAuthentication.Serialization.cs @@ -15,10 +15,10 @@ public partial class CustomLocationPropertiesAuthentication : IUtf8JsonSerializa void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(CustomLocationPropertiesAuthenticationType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type); + writer.WriteStringValue(CustomLocationPropertiesAuthenticationType); } if (Optional.IsDefined(Value)) { diff --git a/sdk/extendedlocation/Azure.ResourceManager.ExtendedLocation/src/Generated/Models/CustomLocationPropertiesAuthentication.cs b/sdk/extendedlocation/Azure.ResourceManager.ExtendedLocation/src/Generated/Models/CustomLocationPropertiesAuthentication.cs index c4a91dc12fd3d..c97483d327a20 100644 --- a/sdk/extendedlocation/Azure.ResourceManager.ExtendedLocation/src/Generated/Models/CustomLocationPropertiesAuthentication.cs +++ b/sdk/extendedlocation/Azure.ResourceManager.ExtendedLocation/src/Generated/Models/CustomLocationPropertiesAuthentication.cs @@ -16,16 +16,16 @@ public CustomLocationPropertiesAuthentication() } /// Initializes a new instance of CustomLocationPropertiesAuthentication. - /// The type of the Custom Locations authentication. + /// The type of the Custom Locations authentication. /// The kubeconfig value. - internal CustomLocationPropertiesAuthentication(string type, string value) + internal CustomLocationPropertiesAuthentication(string customLocationPropertiesAuthenticationType, string value) { - Type = type; + CustomLocationPropertiesAuthenticationType = customLocationPropertiesAuthenticationType; Value = value; } /// The type of the Custom Locations authentication. - public string Type { get; set; } + public string CustomLocationPropertiesAuthenticationType { get; set; } /// The kubeconfig value. public string Value { get; set; } } diff --git a/sdk/extendedlocation/Azure.ResourceManager.ExtendedLocation/src/Generated/Models/EnabledResourceType.cs b/sdk/extendedlocation/Azure.ResourceManager.ExtendedLocation/src/Generated/Models/EnabledResourceType.cs index 74b5db26f9c74..e7ab1976b1b20 100644 --- a/sdk/extendedlocation/Azure.ResourceManager.ExtendedLocation/src/Generated/Models/EnabledResourceType.cs +++ b/sdk/extendedlocation/Azure.ResourceManager.ExtendedLocation/src/Generated/Models/EnabledResourceType.cs @@ -23,12 +23,12 @@ public EnabledResourceType() /// Initializes a new instance of EnabledResourceType. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Cluster Extension ID. /// Cluster Extension Type. /// Metadata of the Resource Type. - internal EnabledResourceType(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string clusterExtensionId, string extensionType, IList typesMetadata) : base(id, name, type, systemData) + internal EnabledResourceType(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string clusterExtensionId, string extensionType, IList typesMetadata) : base(id, name, resourceType, systemData) { ClusterExtensionId = clusterExtensionId; ExtensionType = extensionType; diff --git a/sdk/extendedlocation/Azure.ResourceManager.ExtendedLocation/src/Generated/Models/ErrorResponse.Serialization.cs b/sdk/extendedlocation/Azure.ResourceManager.ExtendedLocation/src/Generated/Models/ErrorResponse.Serialization.cs new file mode 100644 index 0000000000000..47aecc6203b6b --- /dev/null +++ b/sdk/extendedlocation/Azure.ResourceManager.ExtendedLocation/src/Generated/Models/ErrorResponse.Serialization.cs @@ -0,0 +1,35 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Text.Json; +using Azure.Core; +using Azure.ResourceManager.Models; + +namespace Azure.ResourceManager.ExtendedLocation.Models +{ + internal partial class ErrorResponse + { + internal static ErrorResponse DeserializeErrorResponse(JsonElement element) + { + Optional error = default; + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("error")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + error = JsonSerializer.Deserialize(property.Value.ToString()); + continue; + } + } + return new ErrorResponse(error); + } + } +} diff --git a/sdk/extendedlocation/Azure.ResourceManager.ExtendedLocation/src/Generated/Models/ErrorResponse.cs b/sdk/extendedlocation/Azure.ResourceManager.ExtendedLocation/src/Generated/Models/ErrorResponse.cs new file mode 100644 index 0000000000000..01005349644a9 --- /dev/null +++ b/sdk/extendedlocation/Azure.ResourceManager.ExtendedLocation/src/Generated/Models/ErrorResponse.cs @@ -0,0 +1,30 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using Azure.ResourceManager.Models; + +namespace Azure.ResourceManager.ExtendedLocation.Models +{ + /// Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). + internal partial class ErrorResponse + { + /// Initializes a new instance of ErrorResponse. + internal ErrorResponse() + { + } + + /// Initializes a new instance of ErrorResponse. + /// The error object. + internal ErrorResponse(ErrorDetail error) + { + Error = error; + } + + /// The error object. + public ErrorDetail Error { get; } + } +} diff --git a/sdk/iot/Azure.IoT.Hub.Service/api/Azure.Iot.Hub.Service.netstandard2.0.cs b/sdk/iot/Azure.IoT.Hub.Service/api/Azure.IoT.Hub.Service.netstandard2.0.cs similarity index 100% rename from sdk/iot/Azure.IoT.Hub.Service/api/Azure.Iot.Hub.Service.netstandard2.0.cs rename to sdk/iot/Azure.IoT.Hub.Service/api/Azure.IoT.Hub.Service.netstandard2.0.cs diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/api/Azure.ResourceManager.KeyVault.netstandard2.0.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/api/Azure.ResourceManager.KeyVault.netstandard2.0.cs index 749cd617b7d0a..eccad2afffe6d 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/api/Azure.ResourceManager.KeyVault.netstandard2.0.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/api/Azure.ResourceManager.KeyVault.netstandard2.0.cs @@ -1050,7 +1050,7 @@ public partial class VaultCheckNameAvailabilityParameters { public VaultCheckNameAvailabilityParameters(string name) { } public string Name { get { throw null; } } - public string Type { get { throw null; } } + public string ResourceType { get { throw null; } } } public partial class VaultCreateOrUpdateParameters { diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/DeletedManagedHsmData.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/DeletedManagedHsmData.cs index 1259bb613d5e2..fff93542f27b9 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/DeletedManagedHsmData.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/DeletedManagedHsmData.cs @@ -22,10 +22,10 @@ internal DeletedManagedHsmData() /// Initializes a new instance of DeletedManagedHsmData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Properties of the deleted managed HSM. - internal DeletedManagedHsmData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, DeletedManagedHsmProperties properties) : base(id, name, type, systemData) + internal DeletedManagedHsmData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, DeletedManagedHsmProperties properties) : base(id, name, resourceType, systemData) { Properties = properties; } diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/DeletedVaultData.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/DeletedVaultData.cs index 7c9c06b97ec52..c82d9082b4c9e 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/DeletedVaultData.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/DeletedVaultData.cs @@ -22,10 +22,10 @@ internal DeletedVaultData() /// Initializes a new instance of DeletedVaultData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Properties of the vault. - internal DeletedVaultData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, DeletedVaultProperties properties) : base(id, name, type, systemData) + internal DeletedVaultData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, DeletedVaultProperties properties) : base(id, name, resourceType, systemData) { Properties = properties; } diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/KeyData.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/KeyData.cs index 76fe34cb724cd..a9a26abe0dffa 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/KeyData.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/KeyData.cs @@ -25,7 +25,7 @@ public KeyData() /// Initializes a new instance of KeyData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Azure location of the key vault resource. /// Tags assigned to the key vault resource. @@ -36,7 +36,7 @@ public KeyData() /// The elliptic curve name. For valid values, see JsonWebKeyCurveName. /// The URI to retrieve the current version of the key. /// The URI to retrieve the specific version of the key. - internal KeyData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string location, IReadOnlyDictionary tags, KeyAttributes attributes, JsonWebKeyType? kty, IList keyOps, int? keySize, JsonWebKeyCurveName? curveName, Uri keyUri, string keyUriWithVersion) : base(id, name, type, systemData, location, tags) + internal KeyData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string location, IReadOnlyDictionary tags, KeyAttributes attributes, JsonWebKeyType? kty, IList keyOps, int? keySize, JsonWebKeyCurveName? curveName, Uri keyUri, string keyUriWithVersion) : base(id, name, resourceType, systemData, location, tags) { Attributes = attributes; Kty = kty; diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/ManagedHsmData.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/ManagedHsmData.cs index 80fe7b40a622c..b4d3c4c6d3778 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/ManagedHsmData.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/ManagedHsmData.cs @@ -24,13 +24,13 @@ public ManagedHsmData(AzureLocation location) : base(location) /// Initializes a new instance of ManagedHsmData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. /// SKU details. /// Properties of the managed HSM. - internal ManagedHsmData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, ManagedHsmSku sku, ManagedHsmProperties properties) : base(id, name, type, systemData, tags, location, sku) + internal ManagedHsmData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ManagedHsmSku sku, ManagedHsmProperties properties) : base(id, name, resourceType, systemData, tags, location, sku) { Properties = properties; } diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/MhsmPrivateEndpointConnectionData.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/MhsmPrivateEndpointConnectionData.cs index f95927f2527f7..41ccb8c15ffca 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/MhsmPrivateEndpointConnectionData.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/MhsmPrivateEndpointConnectionData.cs @@ -25,7 +25,7 @@ public MhsmPrivateEndpointConnectionData(AzureLocation location) : base(location /// Initializes a new instance of MhsmPrivateEndpointConnectionData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -34,7 +34,7 @@ public MhsmPrivateEndpointConnectionData(AzureLocation location) : base(location /// Properties of the private endpoint object. /// Approval state of the private link connection. /// Provisioning state of the private endpoint connection. - internal MhsmPrivateEndpointConnectionData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, ManagedHsmSku sku, string etag, SubResource privateEndpoint, MhsmPrivateLinkServiceConnectionState privateLinkServiceConnectionState, PrivateEndpointConnectionProvisioningState? provisioningState) : base(id, name, type, systemData, tags, location, sku) + internal MhsmPrivateEndpointConnectionData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ManagedHsmSku sku, string etag, SubResource privateEndpoint, MhsmPrivateLinkServiceConnectionState privateLinkServiceConnectionState, PrivateEndpointConnectionProvisioningState? provisioningState) : base(id, name, resourceType, systemData, tags, location, sku) { Etag = etag; PrivateEndpoint = privateEndpoint; diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/Models/KeyVaultResource.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/Models/KeyVaultResource.cs index 9b4483ed21867..dd4cd2f8e8ea6 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/Models/KeyVaultResource.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/Models/KeyVaultResource.cs @@ -23,11 +23,11 @@ public KeyVaultResource() /// Initializes a new instance of KeyVaultResource. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Azure location of the key vault resource. /// Tags assigned to the key vault resource. - internal KeyVaultResource(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string location, IReadOnlyDictionary tags) : base(id, name, type, systemData) + internal KeyVaultResource(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string location, IReadOnlyDictionary tags) : base(id, name, resourceType, systemData) { Location = location; Tags = tags; diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/Models/ManagedHsmResource.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/Models/ManagedHsmResource.cs index 9a73a17553f84..ca9f7ea4b3c84 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/Models/ManagedHsmResource.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/Models/ManagedHsmResource.cs @@ -23,12 +23,12 @@ public ManagedHsmResource(AzureLocation location) : base(location) /// Initializes a new instance of ManagedHsmResource. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. /// SKU details. - internal ManagedHsmResource(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, ManagedHsmSku sku) : base(id, name, type, systemData, tags, location) + internal ManagedHsmResource(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ManagedHsmSku sku) : base(id, name, resourceType, systemData, tags, location) { Sku = sku; } diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/Models/MhsmPrivateLinkResource.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/Models/MhsmPrivateLinkResource.cs index a6565e7c504cc..c526ba9dcf512 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/Models/MhsmPrivateLinkResource.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/Models/MhsmPrivateLinkResource.cs @@ -25,7 +25,7 @@ public MhsmPrivateLinkResource(AzureLocation location) : base(location) /// Initializes a new instance of MhsmPrivateLinkResource. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -33,7 +33,7 @@ public MhsmPrivateLinkResource(AzureLocation location) : base(location) /// Group identifier of private link resource. /// Required member names of private link resource. /// Required DNS zone names of the the private link resource. - internal MhsmPrivateLinkResource(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, ManagedHsmSku sku, string groupId, IReadOnlyList requiredMembers, IList requiredZoneNames) : base(id, name, type, systemData, tags, location, sku) + internal MhsmPrivateLinkResource(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ManagedHsmSku sku, string groupId, IReadOnlyList requiredMembers, IList requiredZoneNames) : base(id, name, resourceType, systemData, tags, location, sku) { GroupId = groupId; RequiredMembers = requiredMembers; diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/Models/PrivateLinkResource.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/Models/PrivateLinkResource.cs index 490b7c3b1202e..744d902bd3b08 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/Models/PrivateLinkResource.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/Models/PrivateLinkResource.cs @@ -24,14 +24,14 @@ public PrivateLinkResource() /// Initializes a new instance of PrivateLinkResource. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Azure location of the key vault resource. /// Tags assigned to the key vault resource. /// Group identifier of private link resource. /// Required member names of private link resource. /// Required DNS zone names of the the private link resource. - internal PrivateLinkResource(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string location, IReadOnlyDictionary tags, string groupId, IReadOnlyList requiredMembers, IList requiredZoneNames) : base(id, name, type, systemData, location, tags) + internal PrivateLinkResource(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string location, IReadOnlyDictionary tags, string groupId, IReadOnlyList requiredMembers, IList requiredZoneNames) : base(id, name, resourceType, systemData, location, tags) { GroupId = groupId; RequiredMembers = requiredMembers; diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/Models/VaultAccessPolicyParameters.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/Models/VaultAccessPolicyParameters.cs index 14dc5444259c3..03e92c2cd7a9f 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/Models/VaultAccessPolicyParameters.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/Models/VaultAccessPolicyParameters.cs @@ -31,11 +31,11 @@ public VaultAccessPolicyParameters(VaultAccessPolicyProperties properties) /// Initializes a new instance of VaultAccessPolicyParameters. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The resource type of the access policy. /// Properties of the access policy. - internal VaultAccessPolicyParameters(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string location, VaultAccessPolicyProperties properties) : base(id, name, type, systemData) + internal VaultAccessPolicyParameters(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string location, VaultAccessPolicyProperties properties) : base(id, name, resourceType, systemData) { Location = location; Properties = properties; diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/Models/VaultCheckNameAvailabilityParameters.Serialization.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/Models/VaultCheckNameAvailabilityParameters.Serialization.cs index 76018837f94ed..f90497baeefc5 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/Models/VaultCheckNameAvailabilityParameters.Serialization.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/Models/VaultCheckNameAvailabilityParameters.Serialization.cs @@ -18,7 +18,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("name"); writer.WriteStringValue(Name); writer.WritePropertyName("type"); - writer.WriteStringValue(Type); + writer.WriteStringValue(ResourceType); writer.WriteEndObject(); } } diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/Models/VaultCheckNameAvailabilityParameters.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/Models/VaultCheckNameAvailabilityParameters.cs index 71d04cd295f0f..e516cd78fd1f8 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/Models/VaultCheckNameAvailabilityParameters.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/Models/VaultCheckNameAvailabilityParameters.cs @@ -23,12 +23,12 @@ public VaultCheckNameAvailabilityParameters(string name) } Name = name; - Type = "Microsoft.KeyVault/vaults"; + ResourceType = "Microsoft.KeyVault/vaults"; } /// The vault name. public string Name { get; } /// The type of resource, Microsoft.KeyVault/vaults. - public string Type { get; } + public string ResourceType { get; } } } diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/PrivateEndpointConnectionData.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/PrivateEndpointConnectionData.cs index a6f166df7de7c..56141d0089de8 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/PrivateEndpointConnectionData.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/PrivateEndpointConnectionData.cs @@ -24,7 +24,7 @@ public PrivateEndpointConnectionData() /// Initializes a new instance of PrivateEndpointConnectionData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Azure location of the key vault resource. /// Tags assigned to the key vault resource. @@ -32,7 +32,7 @@ public PrivateEndpointConnectionData() /// Properties of the private endpoint object. /// Approval state of the private link connection. /// Provisioning state of the private endpoint connection. - internal PrivateEndpointConnectionData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string location, IReadOnlyDictionary tags, string etag, SubResource privateEndpoint, PrivateLinkServiceConnectionState privateLinkServiceConnectionState, PrivateEndpointConnectionProvisioningState? provisioningState) : base(id, name, type, systemData, location, tags) + internal PrivateEndpointConnectionData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string location, IReadOnlyDictionary tags, string etag, SubResource privateEndpoint, PrivateLinkServiceConnectionState privateLinkServiceConnectionState, PrivateEndpointConnectionProvisioningState? provisioningState) : base(id, name, resourceType, systemData, location, tags) { Etag = etag; PrivateEndpoint = privateEndpoint; diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/SecretData.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/SecretData.cs index a522890c075ec..57f132e966444 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/SecretData.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/SecretData.cs @@ -32,12 +32,12 @@ public SecretData(SecretProperties properties) /// Initializes a new instance of SecretData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Azure location of the key vault resource. /// Tags assigned to the key vault resource. /// Properties of the secret. - internal SecretData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string location, IReadOnlyDictionary tags, SecretProperties properties) : base(id, name, type, systemData, location, tags) + internal SecretData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string location, IReadOnlyDictionary tags, SecretProperties properties) : base(id, name, resourceType, systemData, location, tags) { Properties = properties; } diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/VaultData.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/VaultData.cs index 46e3dd575ae70..7f9de50fe3a6a 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/VaultData.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/src/Generated/VaultData.cs @@ -33,12 +33,12 @@ internal VaultData(VaultProperties properties) /// Initializes a new instance of VaultData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Azure location of the key vault resource. /// Tags assigned to the key vault resource. /// Properties of the vault. - internal VaultData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string location, IReadOnlyDictionary tags, VaultProperties properties) : base(id, name, type, systemData) + internal VaultData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string location, IReadOnlyDictionary tags, VaultProperties properties) : base(id, name, resourceType, systemData) { Location = location; Tags = tags; diff --git a/sdk/keyvault/Azure.ResourceManager.KeyVault/tests/Extensions.cs b/sdk/keyvault/Azure.ResourceManager.KeyVault/tests/Extensions.cs index a6c3d602c17f6..566c4c9feb3ef 100644 --- a/sdk/keyvault/Azure.ResourceManager.KeyVault/tests/Extensions.cs +++ b/sdk/keyvault/Azure.ResourceManager.KeyVault/tests/Extensions.cs @@ -74,7 +74,7 @@ public static bool IsEqual(this DeletedVault deletedVault, VaultData createdVaul Assert.AreEqual(createdVault.Location, deletedVault.Data.Properties.Location); Assert.AreEqual(createdVault.Name, deletedVault.Data.Name); Assert.AreEqual(createdVault.Id, deletedVault.Data.Properties.VaultId); - Assert.AreEqual("Microsoft.KeyVault/deletedVaults", deletedVault.Data.Type); + Assert.AreEqual("Microsoft.KeyVault/deletedVaults", deletedVault.Data.ResourceType); Assert.True(createdVault.Tags.DictionaryEqual(deletedVault.Data.Properties.Tags)); Assert.NotNull(deletedVault.Data.Properties.ScheduledPurgeDate); Assert.NotNull(deletedVault.Data.Properties.DeletionDate); diff --git a/sdk/network/Azure.ResourceManager.Network/api/Azure.ResourceManager.Network.netstandard2.0.cs b/sdk/network/Azure.ResourceManager.Network/api/Azure.ResourceManager.Network.netstandard2.0.cs index 1023cac650b88..31ab79c87cc86 100644 --- a/sdk/network/Azure.ResourceManager.Network/api/Azure.ResourceManager.Network.netstandard2.0.cs +++ b/sdk/network/Azure.ResourceManager.Network/api/Azure.ResourceManager.Network.netstandard2.0.cs @@ -123,7 +123,7 @@ public ApplicationGatewayPrivateEndpointConnectionData() { } public Azure.ResourceManager.Network.PrivateEndpointData PrivateEndpoint { get { throw null; } } public Azure.ResourceManager.Network.Models.PrivateLinkServiceConnectionState PrivateLinkServiceConnectionState { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } - public string Type { get { throw null; } } + public string ResourceType { get { throw null; } } } public partial class ApplicationSecurityGroup : Azure.ResourceManager.Core.ArmResource { @@ -383,8 +383,8 @@ public BackendAddressPoolData() { } public Azure.Core.ResourceIdentifier OutboundRuleId { get { throw null; } set { } } public System.Collections.Generic.IReadOnlyList OutboundRules { get { throw null; } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } + public string ResourceType { get { throw null; } } public System.Collections.Generic.IList TunnelInterfaces { get { throw null; } } - public string Type { get { throw null; } } } public partial class BastionHost : Azure.ResourceManager.Core.ArmResource { @@ -472,7 +472,7 @@ public BgpConnectionData() { } public long? PeerAsn { get { throw null; } set { } } public string PeerIP { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } - public string Type { get { throw null; } } + public string ResourceType { get { throw null; } } } public partial class ConnectionMonitor : Azure.ResourceManager.Core.ArmResource { @@ -807,7 +807,7 @@ public ExpressRouteCircuitAuthorizationData() { } public string Etag { get { throw null; } } public string Name { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } - public string Type { get { throw null; } } + public string ResourceType { get { throw null; } } } public partial class ExpressRouteCircuitCollection : Azure.ResourceManager.Core.ArmCollection, System.Collections.Generic.IAsyncEnumerable, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { @@ -867,7 +867,7 @@ public ExpressRouteCircuitConnectionData() { } public string Name { get { throw null; } set { } } public Azure.Core.ResourceIdentifier PeerExpressRouteCircuitPeeringId { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } - public string Type { get { throw null; } } + public string ResourceType { get { throw null; } } } public partial class ExpressRouteCircuitData : Azure.ResourceManager.Network.Models.NetworkResourceData { @@ -950,13 +950,13 @@ public ExpressRouteCircuitPeeringData() { } public string PrimaryAzurePort { get { throw null; } set { } } public string PrimaryPeerAddressPrefix { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } + public string ResourceType { get { throw null; } } public Azure.Core.ResourceIdentifier RouteFilterId { get { throw null; } set { } } public string SecondaryAzurePort { get { throw null; } set { } } public string SecondaryPeerAddressPrefix { get { throw null; } set { } } public string SharedKey { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ExpressRoutePeeringState? State { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ExpressRouteCircuitStats Stats { get { throw null; } set { } } - public string Type { get { throw null; } } public int? VlanId { get { throw null; } set { } } } public partial class ExpressRouteConnection : Azure.ResourceManager.Core.ArmResource @@ -1382,8 +1382,8 @@ public FirewallPolicyRuleCollectionGroupData() { } public string Name { get { throw null; } set { } } public int? Priority { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } + public string ResourceType { get { throw null; } } public System.Collections.Generic.IList RuleCollections { get { throw null; } } - public string Type { get { throw null; } } } public partial class FlowLog : Azure.ResourceManager.Core.ArmResource { @@ -1474,8 +1474,8 @@ public FrontendIPConfigurationData() { } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } public Azure.ResourceManager.Network.PublicIPAddressData PublicIPAddress { get { throw null; } set { } } public Azure.Core.ResourceIdentifier PublicIPPrefixId { get { throw null; } set { } } + public string ResourceType { get { throw null; } } public Azure.ResourceManager.Network.SubnetData Subnet { get { throw null; } set { } } - public string Type { get { throw null; } } public System.Collections.Generic.IList Zones { get { throw null; } } } public partial class HubIPConfiguration : Azure.ResourceManager.Core.ArmResource @@ -1516,8 +1516,8 @@ public HubIPConfigurationData() { } public Azure.ResourceManager.Network.Models.IPAllocationMethod? PrivateIPAllocationMethod { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } public Azure.ResourceManager.Network.PublicIPAddressData PublicIPAddress { get { throw null; } set { } } + public string ResourceType { get { throw null; } } public Azure.ResourceManager.Network.SubnetData Subnet { get { throw null; } set { } } - public string Type { get { throw null; } } } public partial class HubRouteTable : Azure.ResourceManager.Core.ArmResource { @@ -1557,8 +1557,8 @@ public HubRouteTableData() { } public string Name { get { throw null; } set { } } public System.Collections.Generic.IReadOnlyList PropagatingConnections { get { throw null; } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } + public string ResourceType { get { throw null; } } public System.Collections.Generic.IList Routes { get { throw null; } } - public string Type { get { throw null; } } } public partial class HubVirtualNetworkConnection : Azure.ResourceManager.Core.ArmResource { @@ -1644,7 +1644,7 @@ public InboundNatRuleData() { } public string Name { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.TransportProtocol? Protocol { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } - public string Type { get { throw null; } } + public string ResourceType { get { throw null; } } } public partial class IPAllocation : Azure.ResourceManager.Core.ArmResource { @@ -1852,7 +1852,7 @@ public LoadBalancingRuleData() { } public Azure.Core.ResourceIdentifier ProbeId { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.TransportProtocol? Protocol { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } - public string Type { get { throw null; } } + public string ResourceType { get { throw null; } } } public partial class LocalNetworkGateway : Azure.ResourceManager.Core.ArmResource { @@ -2061,8 +2061,8 @@ public NetworkInterfaceIPConfigurationData() { } public Azure.ResourceManager.Network.Models.NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties PrivateLinkConnectionProperties { get { throw null; } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } public Azure.ResourceManager.Network.PublicIPAddressData PublicIPAddress { get { throw null; } set { } } + public string ResourceType { get { throw null; } set { } } public Azure.ResourceManager.Network.SubnetData Subnet { get { throw null; } set { } } - public string Type { get { throw null; } set { } } public System.Collections.Generic.IList VirtualNetworkTaps { get { throw null; } } } public partial class NetworkInterfaceTapConfiguration : Azure.ResourceManager.Core.ArmResource @@ -2100,7 +2100,7 @@ public NetworkInterfaceTapConfigurationData() { } public string Etag { get { throw null; } } public string Name { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } - public string Type { get { throw null; } } + public string ResourceType { get { throw null; } } public Azure.ResourceManager.Network.VirtualNetworkTapData VirtualNetworkTap { get { throw null; } set { } } } public partial class NetworkProfile : Azure.ResourceManager.Core.ArmResource @@ -2407,7 +2407,7 @@ public OutboundRuleData() { } public string Name { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.LoadBalancerOutboundRuleProtocol? Protocol { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } - public string Type { get { throw null; } } + public string ResourceType { get { throw null; } } } public partial class P2SVpnGateway : Azure.ResourceManager.Core.ArmResource { @@ -2551,7 +2551,7 @@ public PeerExpressRouteCircuitConnectionData() { } public string Name { get { throw null; } set { } } public Azure.Core.ResourceIdentifier PeerExpressRouteCircuitPeeringId { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } - public string Type { get { throw null; } } + public string ResourceType { get { throw null; } } } public partial class PrivateDnsZoneGroup : Azure.ResourceManager.Core.ArmResource { @@ -2666,7 +2666,7 @@ public PrivateEndpointConnectionData() { } public Azure.ResourceManager.Network.PrivateEndpointData PrivateEndpoint { get { throw null; } } public Azure.ResourceManager.Network.Models.PrivateLinkServiceConnectionState PrivateLinkServiceConnectionState { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } - public string Type { get { throw null; } } + public string ResourceType { get { throw null; } } } public partial class PrivateEndpointData : Azure.ResourceManager.Network.Models.NetworkResourceData { @@ -2771,7 +2771,7 @@ public ProbeData() { } public Azure.ResourceManager.Network.Models.ProbeProtocol? Protocol { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } public string RequestPath { get { throw null; } set { } } - public string Type { get { throw null; } } + public string ResourceType { get { throw null; } } } public partial class PublicIPAddress : Azure.ResourceManager.Core.ArmResource { @@ -3066,7 +3066,7 @@ public RouteData() { } public string NextHopIPAddress { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.RouteNextHopType? NextHopType { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } - public string Type { get { throw null; } set { } } + public string ResourceType { get { throw null; } set { } } } public partial class RouteFilter : Azure.ResourceManager.Core.ArmResource { @@ -3292,12 +3292,12 @@ public SecurityRuleData() { } public int? Priority { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.SecurityRuleProtocol? Protocol { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } + public string ResourceType { get { throw null; } set { } } public string SourceAddressPrefix { get { throw null; } set { } } public System.Collections.Generic.IList SourceAddressPrefixes { get { throw null; } } public System.Collections.Generic.IList SourceApplicationSecurityGroups { get { throw null; } } public string SourcePortRange { get { throw null; } set { } } public System.Collections.Generic.IList SourcePortRanges { get { throw null; } } - public string Type { get { throw null; } set { } } } public partial class ServiceEndpointPolicy : Azure.ResourceManager.Core.ArmResource { @@ -3443,11 +3443,11 @@ public SubnetData() { } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } public string Purpose { get { throw null; } } public System.Collections.Generic.IReadOnlyList ResourceNavigationLinks { get { throw null; } } + public string ResourceType { get { throw null; } set { } } public Azure.ResourceManager.Network.RouteTableData RouteTable { get { throw null; } set { } } public System.Collections.Generic.IReadOnlyList ServiceAssociationLinks { get { throw null; } } public System.Collections.Generic.IList ServiceEndpointPolicies { get { throw null; } } public System.Collections.Generic.IList ServiceEndpoints { get { throw null; } } - public string Type { get { throw null; } set { } } } public static partial class SubscriptionExtensions { @@ -3610,7 +3610,7 @@ public VirtualApplianceSiteData() { } public string Name { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.BreakOutCategoryPolicies O365BreakOutCategories { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } - public string Type { get { throw null; } } + public string ResourceType { get { throw null; } } } public partial class VirtualHub : Azure.ResourceManager.Core.ArmResource { @@ -4004,7 +4004,7 @@ public VirtualNetworkGatewayNatRuleData() { } public Azure.ResourceManager.Network.Models.VpnNatRuleMode? Mode { get { throw null; } set { } } public string Name { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } - public string Type { get { throw null; } } + public string ResourceType { get { throw null; } } public Azure.ResourceManager.Network.Models.VpnNatRuleType? TypePropertiesType { get { throw null; } set { } } } public partial class VirtualNetworkPeering : Azure.ResourceManager.Core.ArmResource @@ -4053,7 +4053,7 @@ public VirtualNetworkPeeringData() { } public System.Collections.Generic.IList RemoteVirtualNetworkAddressPrefixes { get { throw null; } } public Azure.Core.ResourceIdentifier RemoteVirtualNetworkId { get { throw null; } set { } } public string ResourceGuid { get { throw null; } } - public string Type { get { throw null; } set { } } + public string ResourceType { get { throw null; } set { } } public bool? UseRemoteGateways { get { throw null; } set { } } } public partial class VirtualNetworkTap : Azure.ResourceManager.Core.ArmResource @@ -4188,7 +4188,7 @@ public VirtualRouterPeeringData() { } public long? PeerAsn { get { throw null; } set { } } public string PeerIP { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } - public string Type { get { throw null; } } + public string ResourceType { get { throw null; } } } public partial class VirtualWan : Azure.ResourceManager.Core.ArmResource { @@ -4408,7 +4408,7 @@ public VpnGatewayNatRuleData() { } public Azure.ResourceManager.Network.Models.VpnNatRuleMode? Mode { get { throw null; } set { } } public string Name { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } - public string Type { get { throw null; } } + public string ResourceType { get { throw null; } } public Azure.ResourceManager.Network.Models.VpnNatRuleType? TypePropertiesType { get { throw null; } set { } } } public partial class VpnServerConfiguration : Azure.ResourceManager.Core.ArmResource @@ -4588,9 +4588,9 @@ public VpnSiteLinkConnectionData() { } public System.Collections.Generic.IList IPsecPolicies { get { throw null; } } public string Name { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } + public string ResourceType { get { throw null; } } public int? RoutingWeight { get { throw null; } set { } } public string SharedKey { get { throw null; } set { } } - public string Type { get { throw null; } } public bool? UseLocalAzureIPAddress { get { throw null; } set { } } public bool? UsePolicyBasedTrafficSelectors { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.VirtualNetworkGatewayConnectionProtocol? VpnConnectionProtocolType { get { throw null; } set { } } @@ -4607,7 +4607,7 @@ public VpnSiteLinkData() { } public Azure.ResourceManager.Network.Models.VpnLinkProviderProperties LinkProperties { get { throw null; } set { } } public string Name { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } - public string Type { get { throw null; } } + public string ResourceType { get { throw null; } } } public partial class WebApplicationFirewallPolicy : Azure.ResourceManager.Core.ArmResource { @@ -4692,7 +4692,7 @@ public ApplicationGatewayAuthenticationCertificate() { } public string Etag { get { throw null; } } public string Name { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } - public string Type { get { throw null; } } + public string ResourceType { get { throw null; } } } public partial class ApplicationGatewayAutoscaleConfiguration { @@ -4714,7 +4714,7 @@ public ApplicationGatewayBackendAddressPool() { } public string Etag { get { throw null; } } public string Name { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } - public string Type { get { throw null; } } + public string ResourceType { get { throw null; } } } public partial class ApplicationGatewayBackendHealth { @@ -4786,8 +4786,8 @@ public ApplicationGatewayBackendHttpSettings() { } public Azure.ResourceManager.Network.Models.ApplicationGatewayProtocol? Protocol { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } public int? RequestTimeout { get { throw null; } set { } } + public string ResourceType { get { throw null; } } public System.Collections.Generic.IList TrustedRootCertificates { get { throw null; } } - public string Type { get { throw null; } } } public partial class ApplicationGatewayConnectionDraining { @@ -4899,8 +4899,8 @@ public ApplicationGatewayFrontendIPConfiguration() { } public Azure.Core.ResourceIdentifier PrivateLinkConfigurationId { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } public Azure.Core.ResourceIdentifier PublicIPAddressId { get { throw null; } set { } } + public string ResourceType { get { throw null; } } public Azure.Core.ResourceIdentifier SubnetId { get { throw null; } set { } } - public string Type { get { throw null; } } } public partial class ApplicationGatewayFrontendPort : Azure.ResourceManager.Network.Models.SubResource { @@ -4909,7 +4909,7 @@ public ApplicationGatewayFrontendPort() { } public string Name { get { throw null; } set { } } public int? Port { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } - public string Type { get { throw null; } } + public string ResourceType { get { throw null; } } } public partial class ApplicationGatewayHeaderConfiguration { @@ -4931,9 +4931,9 @@ public ApplicationGatewayHttpListener() { } public Azure.ResourceManager.Network.Models.ApplicationGatewayProtocol? Protocol { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } public bool? RequireServerNameIndication { get { throw null; } set { } } + public string ResourceType { get { throw null; } } public Azure.Core.ResourceIdentifier SslCertificateId { get { throw null; } set { } } public Azure.Core.ResourceIdentifier SslProfileId { get { throw null; } set { } } - public string Type { get { throw null; } } } public partial class ApplicationGatewayIPConfiguration : Azure.ResourceManager.Network.Models.SubResource { @@ -4941,8 +4941,8 @@ public ApplicationGatewayIPConfiguration() { } public string Etag { get { throw null; } } public string Name { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } + public string ResourceType { get { throw null; } } public Azure.Core.ResourceIdentifier SubnetId { get { throw null; } set { } } - public string Type { get { throw null; } } } public partial class ApplicationGatewayOnDemandProbe { @@ -4987,8 +4987,8 @@ public ApplicationGatewayPathRule() { } public System.Collections.Generic.IList Paths { get { throw null; } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } public Azure.Core.ResourceIdentifier RedirectConfigurationId { get { throw null; } set { } } + public string ResourceType { get { throw null; } } public Azure.Core.ResourceIdentifier RewriteRuleSetId { get { throw null; } set { } } - public string Type { get { throw null; } } } public partial class ApplicationGatewayPrivateLinkConfiguration : Azure.ResourceManager.Network.Models.SubResource { @@ -4997,7 +4997,7 @@ public ApplicationGatewayPrivateLinkConfiguration() { } public System.Collections.Generic.IList IPConfigurations { get { throw null; } } public string Name { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } - public string Type { get { throw null; } } + public string ResourceType { get { throw null; } } } public partial class ApplicationGatewayPrivateLinkIPConfiguration : Azure.ResourceManager.Network.Models.SubResource { @@ -5008,8 +5008,8 @@ public ApplicationGatewayPrivateLinkIPConfiguration() { } public string PrivateIPAddress { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.IPAllocationMethod? PrivateIPAllocationMethod { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } + public string ResourceType { get { throw null; } } public Azure.Core.ResourceIdentifier SubnetId { get { throw null; } set { } } - public string Type { get { throw null; } } } public partial class ApplicationGatewayPrivateLinkResource : Azure.ResourceManager.Network.Models.SubResource { @@ -5019,7 +5019,7 @@ public ApplicationGatewayPrivateLinkResource() { } public string Name { get { throw null; } set { } } public System.Collections.Generic.IReadOnlyList RequiredMembers { get { throw null; } } public System.Collections.Generic.IList RequiredZoneNames { get { throw null; } } - public string Type { get { throw null; } } + public string ResourceType { get { throw null; } } } public partial class ApplicationGatewayProbe : Azure.ResourceManager.Network.Models.SubResource { @@ -5035,8 +5035,8 @@ public ApplicationGatewayProbe() { } public int? Port { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ApplicationGatewayProtocol? Protocol { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } + public string ResourceType { get { throw null; } } public int? Timeout { get { throw null; } set { } } - public string Type { get { throw null; } } public int? UnhealthyThreshold { get { throw null; } set { } } } public partial class ApplicationGatewayProbeHealthResponseMatch @@ -5073,9 +5073,9 @@ public ApplicationGatewayRedirectConfiguration() { } public System.Collections.Generic.IList PathRules { get { throw null; } } public Azure.ResourceManager.Network.Models.ApplicationGatewayRedirectType? RedirectType { get { throw null; } set { } } public System.Collections.Generic.IList RequestRoutingRules { get { throw null; } } + public string ResourceType { get { throw null; } } public Azure.Core.ResourceIdentifier TargetListenerId { get { throw null; } set { } } public string TargetUrl { get { throw null; } set { } } - public string Type { get { throw null; } } public System.Collections.Generic.IList UrlPathMaps { get { throw null; } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] @@ -5109,9 +5109,9 @@ public ApplicationGatewayRequestRoutingRule() { } public int? Priority { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } public Azure.Core.ResourceIdentifier RedirectConfigurationId { get { throw null; } set { } } + public string ResourceType { get { throw null; } } public Azure.Core.ResourceIdentifier RewriteRuleSetId { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ApplicationGatewayRequestRoutingRuleType? RuleType { get { throw null; } set { } } - public string Type { get { throw null; } } public Azure.Core.ResourceIdentifier UrlPathMapId { get { throw null; } set { } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] @@ -5203,7 +5203,7 @@ public ApplicationGatewaySslCertificate() { } public string Password { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } public string PublicCertData { get { throw null; } } - public string Type { get { throw null; } } + public string ResourceType { get { throw null; } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ApplicationGatewaySslCipherSuite : System.IEquatable @@ -5301,9 +5301,9 @@ public ApplicationGatewaySslProfile() { } public string Etag { get { throw null; } } public string Name { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } + public string ResourceType { get { throw null; } } public Azure.ResourceManager.Network.Models.ApplicationGatewaySslPolicy SslPolicy { get { throw null; } set { } } public System.Collections.Generic.IList TrustedClientCertificates { get { throw null; } } - public string Type { get { throw null; } } public bool? VerifyClientCertIssuerDN { get { throw null; } set { } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] @@ -5353,7 +5353,7 @@ public ApplicationGatewayTrustedClientCertificate() { } public string Etag { get { throw null; } } public string Name { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } - public string Type { get { throw null; } } + public string ResourceType { get { throw null; } } public string ValidatedCertData { get { throw null; } } } public partial class ApplicationGatewayTrustedRootCertificate : Azure.ResourceManager.Network.Models.SubResource @@ -5364,7 +5364,7 @@ public ApplicationGatewayTrustedRootCertificate() { } public string KeyVaultSecretId { get { throw null; } set { } } public string Name { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } - public string Type { get { throw null; } } + public string ResourceType { get { throw null; } } } public partial class ApplicationGatewayUrlConfiguration { @@ -5384,7 +5384,7 @@ public ApplicationGatewayUrlPathMap() { } public string Name { get { throw null; } set { } } public System.Collections.Generic.IList PathRules { get { throw null; } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } - public string Type { get { throw null; } } + public string ResourceType { get { throw null; } } } public partial class ApplicationGatewayWebApplicationFirewallConfiguration { @@ -5536,7 +5536,7 @@ public AzureFirewallApplicationRule() { } public partial class AzureFirewallApplicationRuleCollection : Azure.ResourceManager.Network.Models.SubResource { public AzureFirewallApplicationRuleCollection() { } - public Azure.ResourceManager.Network.Models.AzureFirewallRCActionType? ActionType { get { throw null; } set { } } + public Azure.ResourceManager.Network.Models.AzureFirewallRCActionType? AzureFirewallRCActionType { get { throw null; } set { } } public string Etag { get { throw null; } } public string Name { get { throw null; } set { } } public int? Priority { get { throw null; } set { } } @@ -5583,8 +5583,8 @@ public AzureFirewallIPConfiguration() { } public string PrivateIPAddress { get { throw null; } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } public Azure.Core.ResourceIdentifier PublicIPAddressId { get { throw null; } set { } } + public string ResourceType { get { throw null; } } public Azure.Core.ResourceIdentifier SubnetId { get { throw null; } set { } } - public string Type { get { throw null; } } } public partial class AzureFirewallIPGroups { @@ -5627,7 +5627,7 @@ public AzureFirewallNatRule() { } public partial class AzureFirewallNatRuleCollection : Azure.ResourceManager.Network.Models.SubResource { public AzureFirewallNatRuleCollection() { } - public Azure.ResourceManager.Network.Models.AzureFirewallNatRCActionType? ActionType { get { throw null; } set { } } + public Azure.ResourceManager.Network.Models.AzureFirewallNatRCActionType? AzureFirewallNatRCActionType { get { throw null; } set { } } public string Etag { get { throw null; } } public string Name { get { throw null; } set { } } public int? Priority { get { throw null; } set { } } @@ -5650,7 +5650,7 @@ public AzureFirewallNetworkRule() { } public partial class AzureFirewallNetworkRuleCollection : Azure.ResourceManager.Network.Models.SubResource { public AzureFirewallNetworkRuleCollection() { } - public Azure.ResourceManager.Network.Models.AzureFirewallRCActionType? ActionType { get { throw null; } set { } } + public Azure.ResourceManager.Network.Models.AzureFirewallRCActionType? AzureFirewallRCActionType { get { throw null; } set { } } public string Etag { get { throw null; } } public string Name { get { throw null; } set { } } public int? Priority { get { throw null; } set { } } @@ -5805,8 +5805,8 @@ public BastionHostIPConfiguration() { } public Azure.ResourceManager.Network.Models.IPAllocationMethod? PrivateIPAllocationMethod { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } public Azure.Core.ResourceIdentifier PublicIPAddressId { get { throw null; } set { } } + public string ResourceType { get { throw null; } } public Azure.Core.ResourceIdentifier SubnetId { get { throw null; } set { } } - public string Type { get { throw null; } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct BastionHostSkuName : System.IEquatable @@ -5953,23 +5953,23 @@ public partial class ConnectionMonitorEndpoint public ConnectionMonitorEndpoint(string name) { } public string Address { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.CoverageLevel? CoverageLevel { get { throw null; } set { } } + public Azure.ResourceManager.Network.Models.EndpointType? EndpointType { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ConnectionMonitorEndpointFilter Filter { get { throw null; } set { } } public string Name { get { throw null; } set { } } public string ResourceId { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ConnectionMonitorEndpointScope Scope { get { throw null; } set { } } - public Azure.ResourceManager.Network.Models.EndpointType? Type { get { throw null; } set { } } } public partial class ConnectionMonitorEndpointFilter { public ConnectionMonitorEndpointFilter() { } + public Azure.ResourceManager.Network.Models.ConnectionMonitorEndpointFilterType? ConnectionMonitorEndpointFilterType { get { throw null; } set { } } public System.Collections.Generic.IList Items { get { throw null; } } - public Azure.ResourceManager.Network.Models.ConnectionMonitorEndpointFilterType? Type { get { throw null; } set { } } } public partial class ConnectionMonitorEndpointFilterItem { public ConnectionMonitorEndpointFilterItem() { } public string Address { get { throw null; } set { } } - public Azure.ResourceManager.Network.Models.ConnectionMonitorEndpointFilterItemType? Type { get { throw null; } set { } } + public Azure.ResourceManager.Network.Models.ConnectionMonitorEndpointFilterItemType? ConnectionMonitorEndpointFilterItemType { get { throw null; } set { } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ConnectionMonitorEndpointFilterItemType : System.IEquatable @@ -6044,7 +6044,7 @@ public ConnectionMonitorInput() { } public partial class ConnectionMonitorOutput { public ConnectionMonitorOutput() { } - public Azure.ResourceManager.Network.Models.OutputType? Type { get { throw null; } set { } } + public Azure.ResourceManager.Network.Models.OutputType? OutputType { get { throw null; } set { } } public string WorkspaceResourceId { get { throw null; } set { } } } public partial class ConnectionMonitorQueryResult @@ -6223,6 +6223,7 @@ public partial class ConnectivityHop { internal ConnectivityHop() { } public string Address { get { throw null; } } + public string ConnectivityHopType { get { throw null; } } public string Id { get { throw null; } } public System.Collections.Generic.IReadOnlyList Issues { get { throw null; } } public System.Collections.Generic.IReadOnlyList Links { get { throw null; } } @@ -6230,7 +6231,6 @@ internal ConnectivityHop() { } public System.Collections.Generic.IReadOnlyList PreviousHopIds { get { throw null; } } public System.Collections.Generic.IReadOnlyList PreviousLinks { get { throw null; } } public string ResourceId { get { throw null; } } - public string Type { get { throw null; } } } public partial class ConnectivityInformation { @@ -6247,9 +6247,9 @@ public partial class ConnectivityIssue { internal ConnectivityIssue() { } public System.Collections.Generic.IReadOnlyList> Context { get { throw null; } } + public Azure.ResourceManager.Network.Models.IssueType? IssueType { get { throw null; } } public Azure.ResourceManager.Network.Models.Origin? Origin { get { throw null; } } public Azure.ResourceManager.Network.Models.Severity? Severity { get { throw null; } } - public Azure.ResourceManager.Network.Models.IssueType? Type { get { throw null; } } } public partial class ConnectivityParameters { @@ -6275,7 +6275,7 @@ public ContainerNetworkInterface() { } public System.Collections.Generic.IReadOnlyList IPConfigurations { get { throw null; } } public string Name { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } - public string Type { get { throw null; } } + public string ResourceType { get { throw null; } } } public partial class ContainerNetworkInterfaceConfiguration : Azure.ResourceManager.Network.Models.SubResource { @@ -6285,15 +6285,15 @@ public ContainerNetworkInterfaceConfiguration() { } public System.Collections.Generic.IList IPConfigurations { get { throw null; } } public string Name { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } - public string Type { get { throw null; } } + public string ResourceType { get { throw null; } } } public partial class ContainerNetworkInterfaceIPConfiguration { internal ContainerNetworkInterfaceIPConfiguration() { } + public string ContainerNetworkInterfaceIpConfigurationType { get { throw null; } } public string Etag { get { throw null; } } public string Name { get { throw null; } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } - public string Type { get { throw null; } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct CoverageLevel : System.IEquatable @@ -6394,8 +6394,8 @@ public Delegation() { } public string Etag { get { throw null; } } public string Name { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } + public string ResourceType { get { throw null; } set { } } public string ServiceName { get { throw null; } set { } } - public string Type { get { throw null; } set { } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct DeleteOptions : System.IEquatable @@ -6618,7 +6618,7 @@ public partial class EndpointServiceResult : Azure.ResourceManager.Network.Model { public EndpointServiceResult() { } public string Name { get { throw null; } } - public string Type { get { throw null; } } + public string ResourceType { get { throw null; } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct EndpointType : System.IEquatable @@ -7000,8 +7000,8 @@ public ExpressRouteServiceProviderBandwidthsOffered() { } public partial class ExtendedLocation { public ExtendedLocation() { } + public Azure.ResourceManager.Network.Models.ExtendedLocationTypes? ExtendedLocationType { get { throw null; } set { } } public string Name { get { throw null; } set { } } - public Azure.ResourceManager.Network.Models.ExtendedLocationTypes? Type { get { throw null; } set { } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ExtendedLocationTypes : System.IEquatable @@ -7029,7 +7029,7 @@ public FirewallPolicyCertificateAuthority() { } public partial class FirewallPolicyFilterRuleCollection : Azure.ResourceManager.Network.Models.FirewallPolicyRuleCollection { public FirewallPolicyFilterRuleCollection() { } - public Azure.ResourceManager.Network.Models.FirewallPolicyFilterRuleCollectionActionType? ActionType { get { throw null; } set { } } + public Azure.ResourceManager.Network.Models.FirewallPolicyFilterRuleCollectionActionType? FirewallPolicyFilterRuleCollectionActionType { get { throw null; } set { } } public System.Collections.Generic.IList Rules { get { throw null; } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] @@ -7141,7 +7141,7 @@ public FirewallPolicyLogAnalyticsWorkspace() { } public partial class FirewallPolicyNatRuleCollection : Azure.ResourceManager.Network.Models.FirewallPolicyRuleCollection { public FirewallPolicyNatRuleCollection() { } - public Azure.ResourceManager.Network.Models.FirewallPolicyNatRuleCollectionActionType? ActionType { get { throw null; } set { } } + public Azure.ResourceManager.Network.Models.FirewallPolicyNatRuleCollectionActionType? FirewallPolicyNatRuleCollectionActionType { get { throw null; } set { } } public System.Collections.Generic.IList Rules { get { throw null; } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] @@ -7244,7 +7244,7 @@ public FirewallPolicyThreatIntelWhitelist() { } public partial class FlowLogFormatParameters { public FlowLogFormatParameters() { } - public Azure.ResourceManager.Network.Models.FlowLogFormatType? Type { get { throw null; } set { } } + public Azure.ResourceManager.Network.Models.FlowLogFormatType? FlowLogFormatType { get { throw null; } set { } } public int? Version { get { throw null; } set { } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] @@ -7282,10 +7282,10 @@ public FlowLogStatusParameters(string targetResourceId) { } public partial class GatewayLoadBalancerTunnelInterface { public GatewayLoadBalancerTunnelInterface() { } + public Azure.ResourceManager.Network.Models.GatewayLoadBalancerTunnelInterfaceType? GatewayLoadBalancerTunnelInterfaceType { get { throw null; } set { } } public int? Identifier { get { throw null; } set { } } public int? Port { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.GatewayLoadBalancerTunnelProtocol? Protocol { get { throw null; } set { } } - public Azure.ResourceManager.Network.Models.GatewayLoadBalancerTunnelInterfaceType? Type { get { throw null; } set { } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct GatewayLoadBalancerTunnelInterfaceType : System.IEquatable @@ -7517,7 +7517,7 @@ public InboundNatPool() { } public string Name { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.TransportProtocol? Protocol { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } - public string Type { get { throw null; } } + public string ResourceType { get { throw null; } } } public partial class InboundSecurityRule : Azure.ResourceManager.Network.Models.SubResource { @@ -7525,8 +7525,8 @@ public InboundSecurityRule() { } public string Etag { get { throw null; } } public string Name { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } + public string ResourceType { get { throw null; } } public System.Collections.Generic.IList Rules { get { throw null; } } - public string Type { get { throw null; } } } public partial class InboundSecurityRules { @@ -7621,8 +7621,8 @@ public IPConfigurationProfile() { } public string Etag { get { throw null; } } public string Name { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } + public string ResourceType { get { throw null; } } public Azure.ResourceManager.Network.SubnetData Subnet { get { throw null; } set { } } - public string Type { get { throw null; } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct IPFlowProtocol : System.IEquatable @@ -8064,8 +8064,8 @@ public NetworkResourceData() { } public string Id { get { throw null; } set { } } public string Location { get { throw null; } set { } } public string Name { get { throw null; } } + public string ResourceType { get { throw null; } } public System.Collections.Generic.IDictionary Tags { get { throw null; } } - public string Type { get { throw null; } } } public partial class NetworkRule : Azure.ResourceManager.Network.Models.FirewallPolicyRule { @@ -8494,7 +8494,7 @@ public PrivateLinkServiceConnection() { } public string PrivateLinkServiceId { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } public string RequestMessage { get { throw null; } set { } } - public string Type { get { throw null; } } + public string ResourceType { get { throw null; } } } public partial class PrivateLinkServiceConnectionState { @@ -8513,8 +8513,8 @@ public PrivateLinkServiceIPConfiguration() { } public Azure.ResourceManager.Network.Models.IPVersion? PrivateIPAddressVersion { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.IPAllocationMethod? PrivateIPAllocationMethod { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } + public string ResourceType { get { throw null; } } public Azure.ResourceManager.Network.SubnetData Subnet { get { throw null; } set { } } - public string Type { get { throw null; } } } public partial class PrivateLinkServiceVisibility { @@ -8790,7 +8790,7 @@ public ResourceNavigationLink() { } public string LinkedResourceType { get { throw null; } set { } } public string Name { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } - public string Type { get { throw null; } } + public string ResourceType { get { throw null; } } } public partial class RetentionPolicyParameters { @@ -8994,7 +8994,7 @@ public ServiceAssociationLink() { } public System.Collections.Generic.IList Locations { get { throw null; } } public string Name { get { throw null; } set { } } public Azure.ResourceManager.Network.Models.ProvisioningState? ProvisioningState { get { throw null; } } - public string Type { get { throw null; } } + public string ResourceType { get { throw null; } } } public partial class ServiceEndpointPropertiesFormat { @@ -9604,8 +9604,8 @@ public partial class VirtualWanSecurityProvider { internal VirtualWanSecurityProvider() { } public string Name { get { throw null; } } - public Azure.ResourceManager.Network.Models.VirtualWanSecurityProviderType? Type { get { throw null; } } public string Url { get { throw null; } } + public Azure.ResourceManager.Network.Models.VirtualWanSecurityProviderType? VirtualWanSecurityProviderType { get { throw null; } } } public partial class VirtualWanSecurityProviders { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ApplicationGatewayData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ApplicationGatewayData.cs index 7d1d0986c124c..cca3d181a3e4b 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ApplicationGatewayData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ApplicationGatewayData.cs @@ -44,7 +44,7 @@ public ApplicationGatewayData() /// Initializes a new instance of ApplicationGatewayData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// A unique read-only string that changes whenever the resource is updated. @@ -80,7 +80,7 @@ public ApplicationGatewayData() /// The provisioning state of the application gateway resource. /// Custom error configurations of the application gateway resource. /// If true, associates a firewall policy with an application gateway regardless whether the policy differs from the WAF Config. - internal ApplicationGatewayData(string id, string name, string type, string location, IDictionary tags, string etag, IList zones, ManagedServiceIdentity identity, ApplicationGatewaySku sku, ApplicationGatewaySslPolicy sslPolicy, ApplicationGatewayOperationalState? operationalState, IList gatewayIPConfigurations, IList authenticationCertificates, IList trustedRootCertificates, IList trustedClientCertificates, IList sslCertificates, IList frontendIPConfigurations, IList frontendPorts, IList probes, IList backendAddressPools, IList backendHttpSettingsCollection, IList httpListeners, IList sslProfiles, IList urlPathMaps, IList requestRoutingRules, IList rewriteRuleSets, IList redirectConfigurations, ApplicationGatewayWebApplicationFirewallConfiguration webApplicationFirewallConfiguration, WritableSubResource firewallPolicy, bool? enableHttp2, bool? enableFips, ApplicationGatewayAutoscaleConfiguration autoscaleConfiguration, IList privateLinkConfigurations, IReadOnlyList privateEndpointConnections, string resourceGuid, ProvisioningState? provisioningState, IList customErrorConfigurations, bool? forceFirewallPolicyAssociation) : base(id, name, type, location, tags) + internal ApplicationGatewayData(string id, string name, string resourceType, string location, IDictionary tags, string etag, IList zones, ManagedServiceIdentity identity, ApplicationGatewaySku sku, ApplicationGatewaySslPolicy sslPolicy, ApplicationGatewayOperationalState? operationalState, IList gatewayIPConfigurations, IList authenticationCertificates, IList trustedRootCertificates, IList trustedClientCertificates, IList sslCertificates, IList frontendIPConfigurations, IList frontendPorts, IList probes, IList backendAddressPools, IList backendHttpSettingsCollection, IList httpListeners, IList sslProfiles, IList urlPathMaps, IList requestRoutingRules, IList rewriteRuleSets, IList redirectConfigurations, ApplicationGatewayWebApplicationFirewallConfiguration webApplicationFirewallConfiguration, WritableSubResource firewallPolicy, bool? enableHttp2, bool? enableFips, ApplicationGatewayAutoscaleConfiguration autoscaleConfiguration, IList privateLinkConfigurations, IReadOnlyList privateEndpointConnections, string resourceGuid, ProvisioningState? provisioningState, IList customErrorConfigurations, bool? forceFirewallPolicyAssociation) : base(id, name, resourceType, location, tags) { Etag = etag; Zones = zones; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ApplicationGatewayPrivateEndpointConnectionData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ApplicationGatewayPrivateEndpointConnectionData.cs index d23e366c09dc4..d7a19be817c49 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ApplicationGatewayPrivateEndpointConnectionData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ApplicationGatewayPrivateEndpointConnectionData.cs @@ -21,16 +21,16 @@ public ApplicationGatewayPrivateEndpointConnectionData() /// Resource ID. /// Name of the private endpoint connection on an application gateway. /// A unique read-only string that changes whenever the resource is updated. - /// Type of the resource. + /// Type of the resource. /// The resource of private end point. /// A collection of information about the state of the connection between service consumer and provider. /// The provisioning state of the application gateway private endpoint connection resource. /// The consumer link id. - internal ApplicationGatewayPrivateEndpointConnectionData(string id, string name, string etag, string type, PrivateEndpointData privateEndpoint, PrivateLinkServiceConnectionState privateLinkServiceConnectionState, ProvisioningState? provisioningState, string linkIdentifier) : base(id) + internal ApplicationGatewayPrivateEndpointConnectionData(string id, string name, string etag, string resourceType, PrivateEndpointData privateEndpoint, PrivateLinkServiceConnectionState privateLinkServiceConnectionState, ProvisioningState? provisioningState, string linkIdentifier) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; PrivateEndpoint = privateEndpoint; PrivateLinkServiceConnectionState = privateLinkServiceConnectionState; ProvisioningState = provisioningState; @@ -42,7 +42,7 @@ internal ApplicationGatewayPrivateEndpointConnectionData(string id, string name, /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Type of the resource. - public string Type { get; } + public string ResourceType { get; } /// The resource of private end point. public PrivateEndpointData PrivateEndpoint { get; } /// A collection of information about the state of the connection between service consumer and provider. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ApplicationSecurityGroupData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ApplicationSecurityGroupData.cs index f45eb7d4846d0..21157da1d5882 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ApplicationSecurityGroupData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ApplicationSecurityGroupData.cs @@ -21,13 +21,13 @@ public ApplicationSecurityGroupData() /// Initializes a new instance of ApplicationSecurityGroupData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// A unique read-only string that changes whenever the resource is updated. /// The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups. /// The provisioning state of the application security group resource. - internal ApplicationSecurityGroupData(string id, string name, string type, string location, IDictionary tags, string etag, string resourceGuid, ProvisioningState? provisioningState) : base(id, name, type, location, tags) + internal ApplicationSecurityGroupData(string id, string name, string resourceType, string location, IDictionary tags, string etag, string resourceGuid, ProvisioningState? provisioningState) : base(id, name, resourceType, location, tags) { Etag = etag; ResourceGuid = resourceGuid; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/AzureFirewallData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/AzureFirewallData.cs index d52ac01252f74..a906fae5f854b 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/AzureFirewallData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/AzureFirewallData.cs @@ -30,7 +30,7 @@ public AzureFirewallData() /// Initializes a new instance of AzureFirewallData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// A list of availability zones denoting where the resource needs to come from. @@ -48,7 +48,7 @@ public AzureFirewallData() /// IpGroups associated with AzureFirewall. /// The Azure Firewall Resource SKU. /// The additional properties used to further config this azure firewall. - internal AzureFirewallData(string id, string name, string type, string location, IDictionary tags, IList zones, string etag, IList applicationRuleCollections, IList natRuleCollections, IList networkRuleCollections, IList ipConfigurations, AzureFirewallIPConfiguration managementIPConfiguration, ProvisioningState? provisioningState, AzureFirewallThreatIntelMode? threatIntelMode, WritableSubResource virtualHub, WritableSubResource firewallPolicy, HubIPAddresses hubIPAddresses, IReadOnlyList ipGroups, AzureFirewallSku sku, IDictionary additionalProperties) : base(id, name, type, location, tags) + internal AzureFirewallData(string id, string name, string resourceType, string location, IDictionary tags, IList zones, string etag, IList applicationRuleCollections, IList natRuleCollections, IList networkRuleCollections, IList ipConfigurations, AzureFirewallIPConfiguration managementIPConfiguration, ProvisioningState? provisioningState, AzureFirewallThreatIntelMode? threatIntelMode, WritableSubResource virtualHub, WritableSubResource firewallPolicy, HubIPAddresses hubIPAddresses, IReadOnlyList ipGroups, AzureFirewallSku sku, IDictionary additionalProperties) : base(id, name, resourceType, location, tags) { Zones = zones; Etag = etag; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/AzureWebCategoryData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/AzureWebCategoryData.cs index 81c54a39b77f6..6d2884b0c7b12 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/AzureWebCategoryData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/AzureWebCategoryData.cs @@ -21,11 +21,11 @@ internal AzureWebCategoryData() /// Initializes a new instance of AzureWebCategoryData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// A unique read-only string that changes whenever the resource is updated. /// The name of the group that the category belongs to. - internal AzureWebCategoryData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string etag, string group) : base(id, name, type, systemData) + internal AzureWebCategoryData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string etag, string group) : base(id, name, resourceType, systemData) { Etag = etag; Group = group; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/BackendAddressPoolData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/BackendAddressPoolData.cs index b07f52be9ca2b..628229a6b72c6 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/BackendAddressPoolData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/BackendAddressPoolData.cs @@ -29,7 +29,7 @@ public BackendAddressPoolData() /// Resource ID. /// The name of the resource that is unique within the set of backend address pools used by the load balancer. This name can be used to access the resource. /// A unique read-only string that changes whenever the resource is updated. - /// Type of the resource. + /// Type of the resource. /// The location of the backend address pool. /// An array of gateway load balancer tunnel interfaces. /// An array of backend addresses. @@ -38,11 +38,11 @@ public BackendAddressPoolData() /// A reference to an outbound rule that uses this backend address pool. /// An array of references to outbound rules that use this backend address pool. /// The provisioning state of the backend address pool resource. - internal BackendAddressPoolData(string id, string name, string etag, string type, string location, IList tunnelInterfaces, IList loadBalancerBackendAddresses, IReadOnlyList backendIPConfigurations, IReadOnlyList loadBalancingRules, WritableSubResource outboundRule, IReadOnlyList outboundRules, ProvisioningState? provisioningState) : base(id) + internal BackendAddressPoolData(string id, string name, string etag, string resourceType, string location, IList tunnelInterfaces, IList loadBalancerBackendAddresses, IReadOnlyList backendIPConfigurations, IReadOnlyList loadBalancingRules, WritableSubResource outboundRule, IReadOnlyList outboundRules, ProvisioningState? provisioningState) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; Location = location; TunnelInterfaces = tunnelInterfaces; LoadBalancerBackendAddresses = loadBalancerBackendAddresses; @@ -58,7 +58,7 @@ internal BackendAddressPoolData(string id, string name, string etag, string type /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Type of the resource. - public string Type { get; } + public string ResourceType { get; } /// The location of the backend address pool. public string Location { get; set; } /// An array of gateway load balancer tunnel interfaces. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/BastionHostData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/BastionHostData.cs index 26dc8ecea1ff5..8b7803bcc15ca 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/BastionHostData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/BastionHostData.cs @@ -23,7 +23,7 @@ public BastionHostData() /// Initializes a new instance of BastionHostData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// A unique read-only string that changes whenever the resource is updated. @@ -31,7 +31,7 @@ public BastionHostData() /// IP configuration of the Bastion Host resource. /// FQDN for the endpoint on which bastion host is accessible. /// The provisioning state of the bastion host resource. - internal BastionHostData(string id, string name, string type, string location, IDictionary tags, string etag, NetworkSku sku, IList ipConfigurations, string dnsName, ProvisioningState? provisioningState) : base(id, name, type, location, tags) + internal BastionHostData(string id, string name, string resourceType, string location, IDictionary tags, string etag, NetworkSku sku, IList ipConfigurations, string dnsName, ProvisioningState? provisioningState) : base(id, name, resourceType, location, tags) { Etag = etag; Sku = sku; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/BgpConnectionData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/BgpConnectionData.cs index 81c28eef581e7..ae20fc29a6688 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/BgpConnectionData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/BgpConnectionData.cs @@ -21,16 +21,16 @@ public BgpConnectionData() /// Resource ID. /// Name of the connection. /// A unique read-only string that changes whenever the resource is updated. - /// Connection type. + /// Connection type. /// Peer ASN. /// Peer IP. /// The provisioning state of the resource. /// The current state of the VirtualHub to Peer. - internal BgpConnectionData(string id, string name, string etag, string type, long? peerAsn, string peerIP, ProvisioningState? provisioningState, HubBgpConnectionStatus? connectionState) : base(id) + internal BgpConnectionData(string id, string name, string etag, string resourceType, long? peerAsn, string peerIP, ProvisioningState? provisioningState, HubBgpConnectionStatus? connectionState) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; PeerAsn = peerAsn; PeerIP = peerIP; ProvisioningState = provisioningState; @@ -42,7 +42,7 @@ internal BgpConnectionData(string id, string name, string etag, string type, lon /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Connection type. - public string Type { get; } + public string ResourceType { get; } /// Peer ASN. public long? PeerAsn { get; set; } /// Peer IP. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ConnectionMonitorData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ConnectionMonitorData.cs index 58a30c39f49ff..d452dbbed0fa8 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ConnectionMonitorData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ConnectionMonitorData.cs @@ -29,7 +29,7 @@ internal ConnectionMonitorData() /// Initializes a new instance of ConnectionMonitorData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// A unique read-only string that changes whenever the resource is updated. /// Connection monitor location. @@ -47,7 +47,7 @@ internal ConnectionMonitorData() /// The date and time when the connection monitor was started. /// The monitoring status of the connection monitor. /// Type of connection monitor. - internal ConnectionMonitorData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string etag, string location, IReadOnlyDictionary tags, ConnectionMonitorSource source, ConnectionMonitorDestination destination, bool? autoStart, int? monitoringIntervalInSeconds, IReadOnlyList endpoints, IReadOnlyList testConfigurations, IReadOnlyList testGroups, IReadOnlyList outputs, string notes, ProvisioningState? provisioningState, DateTimeOffset? startTime, string monitoringStatus, ConnectionMonitorType? connectionMonitorType) : base(id, name, type, systemData) + internal ConnectionMonitorData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string etag, string location, IReadOnlyDictionary tags, ConnectionMonitorSource source, ConnectionMonitorDestination destination, bool? autoStart, int? monitoringIntervalInSeconds, IReadOnlyList endpoints, IReadOnlyList testConfigurations, IReadOnlyList testGroups, IReadOnlyList outputs, string notes, ProvisioningState? provisioningState, DateTimeOffset? startTime, string monitoringStatus, ConnectionMonitorType? connectionMonitorType) : base(id, name, resourceType, systemData) { Etag = etag; Location = location; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/CustomIPPrefixData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/CustomIPPrefixData.cs index 56d2d323277bf..28c6c3c974f91 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/CustomIPPrefixData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/CustomIPPrefixData.cs @@ -26,7 +26,7 @@ public CustomIPPrefixData() /// Initializes a new instance of CustomIPPrefixData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// The extended location of the custom IP prefix. @@ -42,7 +42,7 @@ public CustomIPPrefixData() /// The resource GUID property of the custom IP prefix resource. /// The reason why resource is in failed state. /// The provisioning state of the custom IP prefix resource. - internal CustomIPPrefixData(string id, string name, string type, string location, IDictionary tags, Models.ExtendedLocation extendedLocation, string etag, IList zones, string cidr, string signedMessage, string authorizationMessage, CustomIPPrefixData customIPPrefixParent, IReadOnlyList childCustomIPPrefixes, CommissionedState? commissionedState, IReadOnlyList publicIPPrefixes, string resourceGuid, string failedReason, ProvisioningState? provisioningState) : base(id, name, type, location, tags) + internal CustomIPPrefixData(string id, string name, string resourceType, string location, IDictionary tags, Models.ExtendedLocation extendedLocation, string etag, IList zones, string cidr, string signedMessage, string authorizationMessage, CustomIPPrefixData customIPPrefixParent, IReadOnlyList childCustomIPPrefixes, CommissionedState? commissionedState, IReadOnlyList publicIPPrefixes, string resourceGuid, string failedReason, ProvisioningState? provisioningState) : base(id, name, resourceType, location, tags) { ExtendedLocation = extendedLocation; Etag = etag; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/DdosCustomPolicyData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/DdosCustomPolicyData.cs index 9c02c0812b03a..04104b26e0120 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/DdosCustomPolicyData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/DdosCustomPolicyData.cs @@ -25,7 +25,7 @@ public DdosCustomPolicyData() /// Initializes a new instance of DdosCustomPolicyData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// A unique read-only string that changes whenever the resource is updated. @@ -33,7 +33,7 @@ public DdosCustomPolicyData() /// The provisioning state of the DDoS custom policy resource. /// The list of public IPs associated with the DDoS custom policy resource. This list is read-only. /// The protocol-specific DDoS policy customization parameters. - internal DdosCustomPolicyData(string id, string name, string type, string location, IDictionary tags, string etag, string resourceGuid, ProvisioningState? provisioningState, IReadOnlyList publicIPAddresses, IList protocolCustomSettings) : base(id, name, type, location, tags) + internal DdosCustomPolicyData(string id, string name, string resourceType, string location, IDictionary tags, string etag, string resourceGuid, ProvisioningState? provisioningState, IReadOnlyList publicIPAddresses, IList protocolCustomSettings) : base(id, name, resourceType, location, tags) { Etag = etag; ResourceGuid = resourceGuid; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/DdosProtectionPlanData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/DdosProtectionPlanData.cs index 86dec35da3db9..893074db078d4 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/DdosProtectionPlanData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/DdosProtectionPlanData.cs @@ -26,7 +26,7 @@ public DdosProtectionPlanData(AzureLocation location) : base(location) /// Initializes a new instance of DdosProtectionPlanData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -34,7 +34,7 @@ public DdosProtectionPlanData(AzureLocation location) : base(location) /// The resource GUID property of the DDoS protection plan resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups. /// The provisioning state of the DDoS protection plan resource. /// The list of virtual networks associated with the DDoS protection plan resource. This list is read-only. - internal DdosProtectionPlanData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, string etag, string resourceGuid, ProvisioningState? provisioningState, IReadOnlyList virtualNetworks) : base(id, name, type, systemData, tags, location) + internal DdosProtectionPlanData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string etag, string resourceGuid, ProvisioningState? provisioningState, IReadOnlyList virtualNetworks) : base(id, name, resourceType, systemData, tags, location) { Etag = etag; ResourceGuid = resourceGuid; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/DscpConfigurationData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/DscpConfigurationData.cs index 98d3b041c954a..fb082f38e6192 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/DscpConfigurationData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/DscpConfigurationData.cs @@ -28,7 +28,7 @@ public DscpConfigurationData() /// Initializes a new instance of DscpConfigurationData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// A unique read-only string that changes whenever the resource is updated. @@ -42,7 +42,7 @@ public DscpConfigurationData() /// Associated Network Interfaces to the DSCP Configuration. /// The resource GUID property of the DSCP Configuration resource. /// The provisioning state of the DSCP Configuration resource. - internal DscpConfigurationData(string id, string name, string type, string location, IDictionary tags, string etag, IList markings, IList sourceIPRanges, IList destinationIPRanges, IList sourcePortRanges, IList destinationPortRanges, ProtocolType? protocol, string qosCollectionId, IReadOnlyList associatedNetworkInterfaces, string resourceGuid, ProvisioningState? provisioningState) : base(id, name, type, location, tags) + internal DscpConfigurationData(string id, string name, string resourceType, string location, IDictionary tags, string etag, IList markings, IList sourceIPRanges, IList destinationIPRanges, IList sourcePortRanges, IList destinationPortRanges, ProtocolType? protocol, string qosCollectionId, IReadOnlyList associatedNetworkInterfaces, string resourceGuid, ProvisioningState? provisioningState) : base(id, name, resourceType, location, tags) { Etag = etag; Markings = markings; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitAuthorizationData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitAuthorizationData.cs index 97aced71a85cb..a1590ead21468 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitAuthorizationData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitAuthorizationData.cs @@ -21,15 +21,15 @@ public ExpressRouteCircuitAuthorizationData() /// Resource ID. /// The name of the resource that is unique within a resource group. This name can be used to access the resource. /// A unique read-only string that changes whenever the resource is updated. - /// Type of the resource. + /// Type of the resource. /// The authorization key. /// The authorization use status. /// The provisioning state of the authorization resource. - internal ExpressRouteCircuitAuthorizationData(string id, string name, string etag, string type, string authorizationKey, AuthorizationUseStatus? authorizationUseStatus, ProvisioningState? provisioningState) : base(id) + internal ExpressRouteCircuitAuthorizationData(string id, string name, string etag, string resourceType, string authorizationKey, AuthorizationUseStatus? authorizationUseStatus, ProvisioningState? provisioningState) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; AuthorizationKey = authorizationKey; AuthorizationUseStatus = authorizationUseStatus; ProvisioningState = provisioningState; @@ -40,7 +40,7 @@ internal ExpressRouteCircuitAuthorizationData(string id, string name, string eta /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Type of the resource. - public string Type { get; } + public string ResourceType { get; } /// The authorization key. public string AuthorizationKey { get; set; } /// The authorization use status. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitConnectionData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitConnectionData.cs index c992d2627dbd6..9fd5b7705c19b 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitConnectionData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitConnectionData.cs @@ -23,7 +23,7 @@ public ExpressRouteCircuitConnectionData() /// Resource ID. /// The name of the resource that is unique within a resource group. This name can be used to access the resource. /// A unique read-only string that changes whenever the resource is updated. - /// Type of the resource. + /// Type of the resource. /// Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection. /// Reference to Express Route Circuit Private Peering Resource of the peered circuit. /// /29 IP address space to carve out Customer addresses for tunnels. @@ -31,11 +31,11 @@ public ExpressRouteCircuitConnectionData() /// IPv6 Address PrefixProperties of the express route circuit connection. /// Express Route Circuit connection state. /// The provisioning state of the express route circuit connection resource. - internal ExpressRouteCircuitConnectionData(string id, string name, string etag, string type, WritableSubResource expressRouteCircuitPeering, WritableSubResource peerExpressRouteCircuitPeering, string addressPrefix, string authorizationKey, IPv6CircuitConnectionConfig iPv6CircuitConnectionConfig, CircuitConnectionStatus? circuitConnectionStatus, ProvisioningState? provisioningState) : base(id) + internal ExpressRouteCircuitConnectionData(string id, string name, string etag, string resourceType, WritableSubResource expressRouteCircuitPeering, WritableSubResource peerExpressRouteCircuitPeering, string addressPrefix, string authorizationKey, IPv6CircuitConnectionConfig iPv6CircuitConnectionConfig, CircuitConnectionStatus? circuitConnectionStatus, ProvisioningState? provisioningState) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; ExpressRouteCircuitPeering = expressRouteCircuitPeering; PeerExpressRouteCircuitPeering = peerExpressRouteCircuitPeering; AddressPrefix = addressPrefix; @@ -50,7 +50,7 @@ internal ExpressRouteCircuitConnectionData(string id, string name, string etag, /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Type of the resource. - public string Type { get; } + public string ResourceType { get; } /// Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection. internal WritableSubResource ExpressRouteCircuitPeering { get; set; } /// Gets or sets Id. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitData.cs index 2a83f74261d9e..1ed9e310b71f7 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitData.cs @@ -25,7 +25,7 @@ public ExpressRouteCircuitData() /// Initializes a new instance of ExpressRouteCircuitData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// The SKU. @@ -44,7 +44,7 @@ public ExpressRouteCircuitData() /// The provisioning state of the express route circuit resource. /// The GatewayManager Etag. /// Flag denoting global reach status. - internal ExpressRouteCircuitData(string id, string name, string type, string location, IDictionary tags, ExpressRouteCircuitSku sku, string etag, bool? allowClassicOperations, string circuitProvisioningState, ServiceProviderProvisioningState? serviceProviderProvisioningState, IList authorizations, IList peerings, string serviceKey, string serviceProviderNotes, ExpressRouteCircuitServiceProviderProperties serviceProviderProperties, WritableSubResource expressRoutePort, float? bandwidthInGbps, int? stag, ProvisioningState? provisioningState, string gatewayManagerEtag, bool? globalReachEnabled) : base(id, name, type, location, tags) + internal ExpressRouteCircuitData(string id, string name, string resourceType, string location, IDictionary tags, ExpressRouteCircuitSku sku, string etag, bool? allowClassicOperations, string circuitProvisioningState, ServiceProviderProvisioningState? serviceProviderProvisioningState, IList authorizations, IList peerings, string serviceKey, string serviceProviderNotes, ExpressRouteCircuitServiceProviderProperties serviceProviderProperties, WritableSubResource expressRoutePort, float? bandwidthInGbps, int? stag, ProvisioningState? provisioningState, string gatewayManagerEtag, bool? globalReachEnabled) : base(id, name, resourceType, location, tags) { Sku = sku; Etag = etag; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitPeeringData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitPeeringData.cs index 4bd112a7279b5..6876132676668 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitPeeringData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCircuitPeeringData.cs @@ -26,7 +26,7 @@ public ExpressRouteCircuitPeeringData() /// Resource ID. /// The name of the resource that is unique within a resource group. This name can be used to access the resource. /// A unique read-only string that changes whenever the resource is updated. - /// Type of the resource. + /// Type of the resource. /// The peering type. /// The peering state. /// The Azure ASN. @@ -47,11 +47,11 @@ public ExpressRouteCircuitPeeringData() /// The ExpressRoute connection. /// The list of circuit connections associated with Azure Private Peering for this circuit. /// The list of peered circuit connections associated with Azure Private Peering for this circuit. - internal ExpressRouteCircuitPeeringData(string id, string name, string etag, string type, ExpressRoutePeeringType? peeringType, ExpressRoutePeeringState? state, int? azureASN, long? peerASN, string primaryPeerAddressPrefix, string secondaryPeerAddressPrefix, string primaryAzurePort, string secondaryAzurePort, string sharedKey, int? vlanId, ExpressRouteCircuitPeeringConfig microsoftPeeringConfig, ExpressRouteCircuitStats stats, ProvisioningState? provisioningState, string gatewayManagerEtag, string lastModifiedBy, WritableSubResource routeFilter, IPv6ExpressRouteCircuitPeeringConfig iPv6PeeringConfig, Resources.Models.SubResource expressRouteConnection, IList connections, IReadOnlyList peeredConnections) : base(id) + internal ExpressRouteCircuitPeeringData(string id, string name, string etag, string resourceType, ExpressRoutePeeringType? peeringType, ExpressRoutePeeringState? state, int? azureASN, long? peerASN, string primaryPeerAddressPrefix, string secondaryPeerAddressPrefix, string primaryAzurePort, string secondaryAzurePort, string sharedKey, int? vlanId, ExpressRouteCircuitPeeringConfig microsoftPeeringConfig, ExpressRouteCircuitStats stats, ProvisioningState? provisioningState, string gatewayManagerEtag, string lastModifiedBy, WritableSubResource routeFilter, IPv6ExpressRouteCircuitPeeringConfig iPv6PeeringConfig, Resources.Models.SubResource expressRouteConnection, IList connections, IReadOnlyList peeredConnections) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; PeeringType = peeringType; State = state; AzureASN = azureASN; @@ -79,7 +79,7 @@ internal ExpressRouteCircuitPeeringData(string id, string name, string etag, str /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Type of the resource. - public string Type { get; } + public string ResourceType { get; } /// The peering type. public ExpressRoutePeeringType? PeeringType { get; set; } /// The peering state. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCrossConnectionData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCrossConnectionData.cs index c055b89281fea..48c847c4fdd98 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCrossConnectionData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteCrossConnectionData.cs @@ -24,7 +24,7 @@ public ExpressRouteCrossConnectionData() /// Initializes a new instance of ExpressRouteCrossConnectionData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// A unique read-only string that changes whenever the resource is updated. @@ -38,7 +38,7 @@ public ExpressRouteCrossConnectionData() /// Additional read only notes set by the connectivity provider. /// The provisioning state of the express route cross connection resource. /// The list of peerings. - internal ExpressRouteCrossConnectionData(string id, string name, string type, string location, IDictionary tags, string etag, string primaryAzurePort, string secondaryAzurePort, int? sTag, string peeringLocation, int? bandwidthInMbps, WritableSubResource expressRouteCircuit, ServiceProviderProvisioningState? serviceProviderProvisioningState, string serviceProviderNotes, ProvisioningState? provisioningState, IList peerings) : base(id, name, type, location, tags) + internal ExpressRouteCrossConnectionData(string id, string name, string resourceType, string location, IDictionary tags, string etag, string primaryAzurePort, string secondaryAzurePort, int? sTag, string peeringLocation, int? bandwidthInMbps, WritableSubResource expressRouteCircuit, ServiceProviderProvisioningState? serviceProviderProvisioningState, string serviceProviderNotes, ProvisioningState? provisioningState, IList peerings) : base(id, name, resourceType, location, tags) { Etag = etag; PrimaryAzurePort = primaryAzurePort; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteGatewayData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteGatewayData.cs index e0526d16afab2..7b191705cf0ee 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteGatewayData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRouteGatewayData.cs @@ -24,7 +24,7 @@ public ExpressRouteGatewayData() /// Initializes a new instance of ExpressRouteGatewayData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// A unique read-only string that changes whenever the resource is updated. @@ -32,7 +32,7 @@ public ExpressRouteGatewayData() /// List of ExpressRoute connections to the ExpressRoute gateway. /// The provisioning state of the express route gateway resource. /// The Virtual Hub where the ExpressRoute gateway is or will be deployed. - internal ExpressRouteGatewayData(string id, string name, string type, string location, IDictionary tags, string etag, ExpressRouteGatewayPropertiesAutoScaleConfiguration autoScaleConfiguration, IReadOnlyList expressRouteConnections, ProvisioningState? provisioningState, WritableSubResource virtualHub) : base(id, name, type, location, tags) + internal ExpressRouteGatewayData(string id, string name, string resourceType, string location, IDictionary tags, string etag, ExpressRouteGatewayPropertiesAutoScaleConfiguration autoScaleConfiguration, IReadOnlyList expressRouteConnections, ProvisioningState? provisioningState, WritableSubResource virtualHub) : base(id, name, resourceType, location, tags) { Etag = etag; AutoScaleConfiguration = autoScaleConfiguration; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRoutePortData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRoutePortData.cs index 6955a2b4aa911..f8242e7650b6a 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRoutePortData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRoutePortData.cs @@ -26,7 +26,7 @@ public ExpressRoutePortData() /// Initializes a new instance of ExpressRoutePortData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// A unique read-only string that changes whenever the resource is updated. @@ -42,7 +42,7 @@ public ExpressRoutePortData() /// Reference the ExpressRoute circuit(s) that are provisioned on this ExpressRoutePort resource. /// The provisioning state of the express route port resource. /// The resource GUID property of the express route port resource. - internal ExpressRoutePortData(string id, string name, string type, string location, IDictionary tags, string etag, ManagedServiceIdentity identity, string peeringLocation, int? bandwidthInGbps, float? provisionedBandwidthInGbps, string mtu, ExpressRoutePortsEncapsulation? encapsulation, string etherType, string allocationDate, IList links, IReadOnlyList circuits, ProvisioningState? provisioningState, string resourceGuid) : base(id, name, type, location, tags) + internal ExpressRoutePortData(string id, string name, string resourceType, string location, IDictionary tags, string etag, ManagedServiceIdentity identity, string peeringLocation, int? bandwidthInGbps, float? provisionedBandwidthInGbps, string mtu, ExpressRoutePortsEncapsulation? encapsulation, string etherType, string allocationDate, IList links, IReadOnlyList circuits, ProvisioningState? provisioningState, string resourceGuid) : base(id, name, resourceType, location, tags) { Etag = etag; Identity = identity; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRoutePortsLocationData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRoutePortsLocationData.cs index f9cbd48c6b211..66d65f8ca686b 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRoutePortsLocationData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ExpressRoutePortsLocationData.cs @@ -23,14 +23,14 @@ public ExpressRoutePortsLocationData() /// Initializes a new instance of ExpressRoutePortsLocationData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// Address of peering location. /// Contact details of peering locations. /// The inventory of available ExpressRoutePort bandwidths. /// The provisioning state of the express route port location resource. - internal ExpressRoutePortsLocationData(string id, string name, string type, string location, IDictionary tags, string address, string contact, IList availableBandwidths, ProvisioningState? provisioningState) : base(id, name, type, location, tags) + internal ExpressRoutePortsLocationData(string id, string name, string resourceType, string location, IDictionary tags, string address, string contact, IList availableBandwidths, ProvisioningState? provisioningState) : base(id, name, resourceType, location, tags) { Address = address; Contact = contact; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/FirewallPolicyData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/FirewallPolicyData.cs index 5805f25d83ed3..0373728cf3e6e 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/FirewallPolicyData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/FirewallPolicyData.cs @@ -27,7 +27,7 @@ public FirewallPolicyData() /// Initializes a new instance of FirewallPolicyData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// A unique read-only string that changes whenever the resource is updated. @@ -45,7 +45,7 @@ public FirewallPolicyData() /// The configuration for Intrusion detection. /// TLS Configuration definition. /// The Firewall Policy SKU. - internal FirewallPolicyData(string id, string name, string type, string location, IDictionary tags, string etag, ManagedServiceIdentity identity, IReadOnlyList ruleCollectionGroups, ProvisioningState? provisioningState, WritableSubResource basePolicy, IReadOnlyList firewalls, IReadOnlyList childPolicies, AzureFirewallThreatIntelMode? threatIntelMode, FirewallPolicyThreatIntelWhitelist threatIntelWhitelist, FirewallPolicyInsights insights, FirewallPolicySnat snat, DnsSettings dnsSettings, FirewallPolicyIntrusionDetection intrusionDetection, FirewallPolicyTransportSecurity transportSecurity, FirewallPolicySku sku) : base(id, name, type, location, tags) + internal FirewallPolicyData(string id, string name, string resourceType, string location, IDictionary tags, string etag, ManagedServiceIdentity identity, IReadOnlyList ruleCollectionGroups, ProvisioningState? provisioningState, WritableSubResource basePolicy, IReadOnlyList firewalls, IReadOnlyList childPolicies, AzureFirewallThreatIntelMode? threatIntelMode, FirewallPolicyThreatIntelWhitelist threatIntelWhitelist, FirewallPolicyInsights insights, FirewallPolicySnat snat, DnsSettings dnsSettings, FirewallPolicyIntrusionDetection intrusionDetection, FirewallPolicyTransportSecurity transportSecurity, FirewallPolicySku sku) : base(id, name, resourceType, location, tags) { Etag = etag; Identity = identity; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/FirewallPolicyRuleCollectionGroupData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/FirewallPolicyRuleCollectionGroupData.cs index bf5e3789c3e46..36f9594422c02 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/FirewallPolicyRuleCollectionGroupData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/FirewallPolicyRuleCollectionGroupData.cs @@ -24,15 +24,15 @@ public FirewallPolicyRuleCollectionGroupData() /// Resource ID. /// The name of the resource that is unique within a resource group. This name can be used to access the resource. /// A unique read-only string that changes whenever the resource is updated. - /// Rule Group type. + /// Rule Group type. /// Priority of the Firewall Policy Rule Collection Group resource. /// Group of Firewall Policy rule collections. /// The provisioning state of the firewall policy rule collection group resource. - internal FirewallPolicyRuleCollectionGroupData(string id, string name, string etag, string type, int? priority, IList ruleCollections, ProvisioningState? provisioningState) : base(id) + internal FirewallPolicyRuleCollectionGroupData(string id, string name, string etag, string resourceType, int? priority, IList ruleCollections, ProvisioningState? provisioningState) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; Priority = priority; RuleCollections = ruleCollections; ProvisioningState = provisioningState; @@ -43,7 +43,7 @@ internal FirewallPolicyRuleCollectionGroupData(string id, string name, string et /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Rule Group type. - public string Type { get; } + public string ResourceType { get; } /// Priority of the Firewall Policy Rule Collection Group resource. public int? Priority { get; set; } /// Group of Firewall Policy rule collections. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/FlowLogData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/FlowLogData.cs index ffb6585287814..03e98fedd51bf 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/FlowLogData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/FlowLogData.cs @@ -21,7 +21,7 @@ public FlowLogData() /// Initializes a new instance of FlowLogData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// A unique read-only string that changes whenever the resource is updated. @@ -33,7 +33,7 @@ public FlowLogData() /// Parameters that define the flow log format. /// Parameters that define the configuration of traffic analytics. /// The provisioning state of the flow log. - internal FlowLogData(string id, string name, string type, string location, IDictionary tags, string etag, string targetResourceId, string targetResourceGuid, string storageId, bool? enabled, RetentionPolicyParameters retentionPolicy, FlowLogFormatParameters format, TrafficAnalyticsProperties flowAnalyticsConfiguration, ProvisioningState? provisioningState) : base(id, name, type, location, tags) + internal FlowLogData(string id, string name, string resourceType, string location, IDictionary tags, string etag, string targetResourceId, string targetResourceGuid, string storageId, bool? enabled, RetentionPolicyParameters retentionPolicy, FlowLogFormatParameters format, TrafficAnalyticsProperties flowAnalyticsConfiguration, ProvisioningState? provisioningState) : base(id, name, resourceType, location, tags) { Etag = etag; TargetResourceId = targetResourceId; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/FrontendIPConfigurationData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/FrontendIPConfigurationData.cs index c380e2f0da014..f6050363f5c01 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/FrontendIPConfigurationData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/FrontendIPConfigurationData.cs @@ -29,7 +29,7 @@ public FrontendIPConfigurationData() /// Resource ID. /// The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource. /// A unique read-only string that changes whenever the resource is updated. - /// Type of the resource. + /// Type of the resource. /// A list of availability zones denoting the IP allocated for the resource needs to come from. /// An array of references to inbound rules that use this frontend IP. /// An array of references to inbound pools that use this frontend IP. @@ -43,11 +43,11 @@ public FrontendIPConfigurationData() /// The reference to the Public IP Prefix resource. /// The reference to gateway load balancer frontend IP. /// The provisioning state of the frontend IP configuration resource. - internal FrontendIPConfigurationData(string id, string name, string etag, string type, IList zones, IReadOnlyList inboundNatRules, IReadOnlyList inboundNatPools, IReadOnlyList outboundRules, IReadOnlyList loadBalancingRules, string privateIPAddress, IPAllocationMethod? privateIPAllocationMethod, IPVersion? privateIPAddressVersion, SubnetData subnet, PublicIPAddressData publicIPAddress, WritableSubResource publicIPPrefix, WritableSubResource gatewayLoadBalancer, ProvisioningState? provisioningState) : base(id) + internal FrontendIPConfigurationData(string id, string name, string etag, string resourceType, IList zones, IReadOnlyList inboundNatRules, IReadOnlyList inboundNatPools, IReadOnlyList outboundRules, IReadOnlyList loadBalancingRules, string privateIPAddress, IPAllocationMethod? privateIPAllocationMethod, IPVersion? privateIPAddressVersion, SubnetData subnet, PublicIPAddressData publicIPAddress, WritableSubResource publicIPPrefix, WritableSubResource gatewayLoadBalancer, ProvisioningState? provisioningState) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; Zones = zones; InboundNatRules = inboundNatRules; InboundNatPools = inboundNatPools; @@ -68,7 +68,7 @@ internal FrontendIPConfigurationData(string id, string name, string etag, string /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Type of the resource. - public string Type { get; } + public string ResourceType { get; } /// A list of availability zones denoting the IP allocated for the resource needs to come from. public IList Zones { get; } /// An array of references to inbound rules that use this frontend IP. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/HubIPConfigurationData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/HubIPConfigurationData.cs index 01a3cdacc4115..42f215f119c51 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/HubIPConfigurationData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/HubIPConfigurationData.cs @@ -21,17 +21,17 @@ public HubIPConfigurationData() /// Resource ID. /// Name of the Ip Configuration. /// A unique read-only string that changes whenever the resource is updated. - /// Ipconfiguration type. + /// Ipconfiguration type. /// The private IP address of the IP configuration. /// The private IP address allocation method. /// The reference to the subnet resource. /// The reference to the public IP resource. /// The provisioning state of the IP configuration resource. - internal HubIPConfigurationData(string id, string name, string etag, string type, string privateIPAddress, IPAllocationMethod? privateIPAllocationMethod, SubnetData subnet, PublicIPAddressData publicIPAddress, ProvisioningState? provisioningState) : base(id) + internal HubIPConfigurationData(string id, string name, string etag, string resourceType, string privateIPAddress, IPAllocationMethod? privateIPAllocationMethod, SubnetData subnet, PublicIPAddressData publicIPAddress, ProvisioningState? provisioningState) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; PrivateIPAddress = privateIPAddress; PrivateIPAllocationMethod = privateIPAllocationMethod; Subnet = subnet; @@ -44,7 +44,7 @@ internal HubIPConfigurationData(string id, string name, string etag, string type /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Ipconfiguration type. - public string Type { get; } + public string ResourceType { get; } /// The private IP address of the IP configuration. public string PrivateIPAddress { get; set; } /// The private IP address allocation method. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/HubRouteTableData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/HubRouteTableData.cs index 59bad344c762b..84450c3efa24b 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/HubRouteTableData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/HubRouteTableData.cs @@ -27,17 +27,17 @@ public HubRouteTableData() /// Resource ID. /// The name of the resource that is unique within a resource group. This name can be used to access the resource. /// A unique read-only string that changes whenever the resource is updated. - /// Resource type. + /// Resource type. /// List of all routes. /// List of labels associated with this route table. /// List of all connections associated with this route table. /// List of all connections that advertise to this route table. /// The provisioning state of the RouteTable resource. - internal HubRouteTableData(string id, string name, string etag, string type, IList routes, IList labels, IReadOnlyList associatedConnections, IReadOnlyList propagatingConnections, ProvisioningState? provisioningState) : base(id) + internal HubRouteTableData(string id, string name, string etag, string resourceType, IList routes, IList labels, IReadOnlyList associatedConnections, IReadOnlyList propagatingConnections, ProvisioningState? provisioningState) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; Routes = routes; Labels = labels; AssociatedConnections = associatedConnections; @@ -50,7 +50,7 @@ internal HubRouteTableData(string id, string name, string etag, string type, ILi /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Resource type. - public string Type { get; } + public string ResourceType { get; } /// List of all routes. public IList Routes { get; } /// List of labels associated with this route table. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/IPAllocationData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/IPAllocationData.cs index bcce896daab49..c2554eab2fa9a 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/IPAllocationData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/IPAllocationData.cs @@ -24,7 +24,7 @@ public IPAllocationData() /// Initializes a new instance of IPAllocationData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// A unique read-only string that changes whenever the resource is updated. @@ -36,7 +36,7 @@ public IPAllocationData() /// The address prefix Type for the IpAllocation. /// The IPAM allocation ID. /// IpAllocation tags. - internal IPAllocationData(string id, string name, string type, string location, IDictionary tags, string etag, WritableSubResource subnet, WritableSubResource virtualNetwork, IPAllocationType? typePropertiesType, string prefix, int? prefixLength, IPVersion? prefixType, string ipamAllocationId, IDictionary allocationTags) : base(id, name, type, location, tags) + internal IPAllocationData(string id, string name, string resourceType, string location, IDictionary tags, string etag, WritableSubResource subnet, WritableSubResource virtualNetwork, IPAllocationType? typePropertiesType, string prefix, int? prefixLength, IPVersion? prefixType, string ipamAllocationId, IDictionary allocationTags) : base(id, name, resourceType, location, tags) { Etag = etag; Subnet = subnet; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/IPGroupData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/IPGroupData.cs index 20bb7d53110fa..8186f33acdeb8 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/IPGroupData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/IPGroupData.cs @@ -26,7 +26,7 @@ public IPGroupData() /// Initializes a new instance of IPGroupData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// A unique read-only string that changes whenever the resource is updated. @@ -34,7 +34,7 @@ public IPGroupData() /// IpAddresses/IpAddressPrefixes in the IpGroups resource. /// List of references to Firewall resources that this IpGroups is associated with. /// List of references to Firewall Policies resources that this IpGroups is associated with. - internal IPGroupData(string id, string name, string type, string location, IDictionary tags, string etag, ProvisioningState? provisioningState, IList ipAddresses, IReadOnlyList firewalls, IReadOnlyList firewallPolicies) : base(id, name, type, location, tags) + internal IPGroupData(string id, string name, string resourceType, string location, IDictionary tags, string etag, ProvisioningState? provisioningState, IList ipAddresses, IReadOnlyList firewalls, IReadOnlyList firewallPolicies) : base(id, name, resourceType, location, tags) { Etag = etag; ProvisioningState = provisioningState; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/InboundNatRuleData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/InboundNatRuleData.cs index 2361d05a93f10..3ade523fa891e 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/InboundNatRuleData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/InboundNatRuleData.cs @@ -23,7 +23,7 @@ public InboundNatRuleData() /// Resource ID. /// The name of the resource that is unique within the set of inbound NAT rules used by the load balancer. This name can be used to access the resource. /// A unique read-only string that changes whenever the resource is updated. - /// Type of the resource. + /// Type of the resource. /// A reference to frontend IP addresses. /// A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backend IP. /// The reference to the transport protocol used by the load balancing rule. @@ -33,11 +33,11 @@ public InboundNatRuleData() /// Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. /// Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. /// The provisioning state of the inbound NAT rule resource. - internal InboundNatRuleData(string id, string name, string etag, string type, WritableSubResource frontendIPConfiguration, NetworkInterfaceIPConfigurationData backendIPConfiguration, TransportProtocol? protocol, int? frontendPort, int? backendPort, int? idleTimeoutInMinutes, bool? enableFloatingIP, bool? enableTcpReset, ProvisioningState? provisioningState) : base(id) + internal InboundNatRuleData(string id, string name, string etag, string resourceType, WritableSubResource frontendIPConfiguration, NetworkInterfaceIPConfigurationData backendIPConfiguration, TransportProtocol? protocol, int? frontendPort, int? backendPort, int? idleTimeoutInMinutes, bool? enableFloatingIP, bool? enableTcpReset, ProvisioningState? provisioningState) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; FrontendIPConfiguration = frontendIPConfiguration; BackendIPConfiguration = backendIPConfiguration; Protocol = protocol; @@ -54,7 +54,7 @@ internal InboundNatRuleData(string id, string name, string etag, string type, Wr /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Type of the resource. - public string Type { get; } + public string ResourceType { get; } /// A reference to frontend IP addresses. internal WritableSubResource FrontendIPConfiguration { get; set; } /// Gets or sets Id. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerData.cs index 50ed60441e3a8..fb503008c87f1 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancerData.cs @@ -29,7 +29,7 @@ public LoadBalancerData() /// Initializes a new instance of LoadBalancerData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// The extended location of the load balancer. @@ -44,7 +44,7 @@ public LoadBalancerData() /// The outbound rules. /// The resource GUID property of the load balancer resource. /// The provisioning state of the load balancer resource. - internal LoadBalancerData(string id, string name, string type, string location, IDictionary tags, ExtendedLocation extendedLocation, LoadBalancerSku sku, string etag, IList frontendIPConfigurations, IList backendAddressPools, IList loadBalancingRules, IList probes, IList inboundNatRules, IList inboundNatPools, IList outboundRules, string resourceGuid, ProvisioningState? provisioningState) : base(id, name, type, location, tags) + internal LoadBalancerData(string id, string name, string resourceType, string location, IDictionary tags, ExtendedLocation extendedLocation, LoadBalancerSku sku, string etag, IList frontendIPConfigurations, IList backendAddressPools, IList loadBalancingRules, IList probes, IList inboundNatRules, IList inboundNatPools, IList outboundRules, string resourceGuid, ProvisioningState? provisioningState) : base(id, name, resourceType, location, tags) { ExtendedLocation = extendedLocation; Sku = sku; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancingRuleData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancingRuleData.cs index 5d610781a583f..9a8542ba0346a 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancingRuleData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/LoadBalancingRuleData.cs @@ -25,7 +25,7 @@ public LoadBalancingRuleData() /// Resource ID. /// The name of the resource that is unique within the set of load balancing rules used by the load balancer. This name can be used to access the resource. /// A unique read-only string that changes whenever the resource is updated. - /// Type of the resource. + /// Type of the resource. /// A reference to frontend IP addresses. /// A reference to a pool of DIPs. Inbound traffic is randomly load balanced across IPs in the backend IPs. /// An array of references to pool of DIPs. @@ -39,11 +39,11 @@ public LoadBalancingRuleData() /// Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. /// Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule. /// The provisioning state of the load balancing rule resource. - internal LoadBalancingRuleData(string id, string name, string etag, string type, WritableSubResource frontendIPConfiguration, WritableSubResource backendAddressPool, IList backendAddressPools, WritableSubResource probe, TransportProtocol? protocol, LoadDistribution? loadDistribution, int? frontendPort, int? backendPort, int? idleTimeoutInMinutes, bool? enableFloatingIP, bool? enableTcpReset, bool? disableOutboundSnat, ProvisioningState? provisioningState) : base(id) + internal LoadBalancingRuleData(string id, string name, string etag, string resourceType, WritableSubResource frontendIPConfiguration, WritableSubResource backendAddressPool, IList backendAddressPools, WritableSubResource probe, TransportProtocol? protocol, LoadDistribution? loadDistribution, int? frontendPort, int? backendPort, int? idleTimeoutInMinutes, bool? enableFloatingIP, bool? enableTcpReset, bool? disableOutboundSnat, ProvisioningState? provisioningState) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; FrontendIPConfiguration = frontendIPConfiguration; BackendAddressPool = backendAddressPool; BackendAddressPools = backendAddressPools; @@ -64,7 +64,7 @@ internal LoadBalancingRuleData(string id, string name, string etag, string type, /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Type of the resource. - public string Type { get; } + public string ResourceType { get; } /// A reference to frontend IP addresses. internal WritableSubResource FrontendIPConfiguration { get; set; } /// Gets or sets Id. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/LocalNetworkGatewayData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/LocalNetworkGatewayData.cs index c9b06ad2def8a..2b1d8f230ad41 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/LocalNetworkGatewayData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/LocalNetworkGatewayData.cs @@ -21,7 +21,7 @@ public LocalNetworkGatewayData() /// Initializes a new instance of LocalNetworkGatewayData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// A unique read-only string that changes whenever the resource is updated. @@ -31,7 +31,7 @@ public LocalNetworkGatewayData() /// Local network gateway's BGP speaker settings. /// The resource GUID property of the local network gateway resource. /// The provisioning state of the local network gateway resource. - internal LocalNetworkGatewayData(string id, string name, string type, string location, IDictionary tags, string etag, AddressSpace localNetworkAddressSpace, string gatewayIPAddress, string fqdn, BgpSettings bgpSettings, string resourceGuid, ProvisioningState? provisioningState) : base(id, name, type, location, tags) + internal LocalNetworkGatewayData(string id, string name, string resourceType, string location, IDictionary tags, string etag, AddressSpace localNetworkAddressSpace, string gatewayIPAddress, string fqdn, BgpSettings bgpSettings, string resourceGuid, ProvisioningState? provisioningState) : base(id, name, resourceType, location, tags) { Etag = etag; LocalNetworkAddressSpace = localNetworkAddressSpace; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayAuthenticationCertificate.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayAuthenticationCertificate.cs index 8d8f70ce5819f..d6c809e28881c 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayAuthenticationCertificate.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayAuthenticationCertificate.cs @@ -19,14 +19,14 @@ public ApplicationGatewayAuthenticationCertificate() /// Resource ID. /// Name of the authentication certificate that is unique within an Application Gateway. /// A unique read-only string that changes whenever the resource is updated. - /// Type of the resource. + /// Type of the resource. /// Certificate public data. /// The provisioning state of the authentication certificate resource. - internal ApplicationGatewayAuthenticationCertificate(string id, string name, string etag, string type, string data, ProvisioningState? provisioningState) : base(id) + internal ApplicationGatewayAuthenticationCertificate(string id, string name, string etag, string resourceType, string data, ProvisioningState? provisioningState) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; Data = data; ProvisioningState = provisioningState; } @@ -36,7 +36,7 @@ internal ApplicationGatewayAuthenticationCertificate(string id, string name, str /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Type of the resource. - public string Type { get; } + public string ResourceType { get; } /// Certificate public data. public string Data { get; set; } /// The provisioning state of the authentication certificate resource. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayAvailableSslOptions.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayAvailableSslOptions.cs index e27d7e683e4fe..bafc86b9602c2 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayAvailableSslOptions.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayAvailableSslOptions.cs @@ -25,14 +25,14 @@ public ApplicationGatewayAvailableSslOptions() /// Initializes a new instance of ApplicationGatewayAvailableSslOptions. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// List of available Ssl predefined policy. /// Name of the Ssl predefined policy applied by default to application gateway. /// List of available Ssl cipher suites. /// List of available Ssl protocols. - internal ApplicationGatewayAvailableSslOptions(string id, string name, string type, string location, IDictionary tags, IList predefinedPolicies, ApplicationGatewaySslPolicyName? defaultPolicy, IList availableCipherSuites, IList availableProtocols) : base(id, name, type, location, tags) + internal ApplicationGatewayAvailableSslOptions(string id, string name, string resourceType, string location, IDictionary tags, IList predefinedPolicies, ApplicationGatewaySslPolicyName? defaultPolicy, IList availableCipherSuites, IList availableProtocols) : base(id, name, resourceType, location, tags) { PredefinedPolicies = predefinedPolicies; DefaultPolicy = defaultPolicy; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayBackendAddressPool.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayBackendAddressPool.cs index 61a173c3e7d40..c1ee89cf6ddde 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayBackendAddressPool.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayBackendAddressPool.cs @@ -25,15 +25,15 @@ public ApplicationGatewayBackendAddressPool() /// Resource ID. /// Name of the backend address pool that is unique within an Application Gateway. /// A unique read-only string that changes whenever the resource is updated. - /// Type of the resource. + /// Type of the resource. /// Collection of references to IPs defined in network interfaces. /// Backend addresses. /// The provisioning state of the backend address pool resource. - internal ApplicationGatewayBackendAddressPool(string id, string name, string etag, string type, IReadOnlyList backendIPConfigurations, IList backendAddresses, ProvisioningState? provisioningState) : base(id) + internal ApplicationGatewayBackendAddressPool(string id, string name, string etag, string resourceType, IReadOnlyList backendIPConfigurations, IList backendAddresses, ProvisioningState? provisioningState) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; BackendIPConfigurations = backendIPConfigurations; BackendAddresses = backendAddresses; ProvisioningState = provisioningState; @@ -44,7 +44,7 @@ internal ApplicationGatewayBackendAddressPool(string id, string name, string eta /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Type of the resource. - public string Type { get; } + public string ResourceType { get; } /// Collection of references to IPs defined in network interfaces. public IReadOnlyList BackendIPConfigurations { get; } /// Backend addresses. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayBackendHttpSettings.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayBackendHttpSettings.cs index d6814e8a8251f..3351a9085b06c 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayBackendHttpSettings.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayBackendHttpSettings.cs @@ -25,7 +25,7 @@ public ApplicationGatewayBackendHttpSettings() /// Resource ID. /// Name of the backend http settings that is unique within an Application Gateway. /// A unique read-only string that changes whenever the resource is updated. - /// Type of the resource. + /// Type of the resource. /// The destination port on the backend. /// The protocol used to communicate with the backend. /// Cookie based affinity. @@ -40,11 +40,11 @@ public ApplicationGatewayBackendHttpSettings() /// Whether the probe is enabled. Default value is false. /// Path which should be used as a prefix for all HTTP requests. Null means no path will be prefixed. Default value is null. /// The provisioning state of the backend HTTP settings resource. - internal ApplicationGatewayBackendHttpSettings(string id, string name, string etag, string type, int? port, ApplicationGatewayProtocol? protocol, ApplicationGatewayCookieBasedAffinity? cookieBasedAffinity, int? requestTimeout, WritableSubResource probe, IList authenticationCertificates, IList trustedRootCertificates, ApplicationGatewayConnectionDraining connectionDraining, string hostName, bool? pickHostNameFromBackendAddress, string affinityCookieName, bool? probeEnabled, string path, ProvisioningState? provisioningState) : base(id) + internal ApplicationGatewayBackendHttpSettings(string id, string name, string etag, string resourceType, int? port, ApplicationGatewayProtocol? protocol, ApplicationGatewayCookieBasedAffinity? cookieBasedAffinity, int? requestTimeout, WritableSubResource probe, IList authenticationCertificates, IList trustedRootCertificates, ApplicationGatewayConnectionDraining connectionDraining, string hostName, bool? pickHostNameFromBackendAddress, string affinityCookieName, bool? probeEnabled, string path, ProvisioningState? provisioningState) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; Port = port; Protocol = protocol; CookieBasedAffinity = cookieBasedAffinity; @@ -66,7 +66,7 @@ internal ApplicationGatewayBackendHttpSettings(string id, string name, string et /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Type of the resource. - public string Type { get; } + public string ResourceType { get; } /// The destination port on the backend. public int? Port { get; set; } /// The protocol used to communicate with the backend. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayFirewallRuleSet.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayFirewallRuleSet.cs index c369402409db9..85dda28ff6432 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayFirewallRuleSet.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayFirewallRuleSet.cs @@ -22,14 +22,14 @@ public ApplicationGatewayFirewallRuleSet() /// Initializes a new instance of ApplicationGatewayFirewallRuleSet. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// The provisioning state of the web application firewall rule set. /// The type of the web application firewall rule set. /// The version of the web application firewall rule set type. /// The rule groups of the web application firewall rule set. - internal ApplicationGatewayFirewallRuleSet(string id, string name, string type, string location, IDictionary tags, ProvisioningState? provisioningState, string ruleSetType, string ruleSetVersion, IList ruleGroups) : base(id, name, type, location, tags) + internal ApplicationGatewayFirewallRuleSet(string id, string name, string resourceType, string location, IDictionary tags, ProvisioningState? provisioningState, string ruleSetType, string ruleSetVersion, IList ruleGroups) : base(id, name, resourceType, location, tags) { ProvisioningState = provisioningState; RuleSetType = ruleSetType; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayFrontendIPConfiguration.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayFrontendIPConfiguration.cs index a0aec7c9d51ab..f6bd1eda8da1f 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayFrontendIPConfiguration.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayFrontendIPConfiguration.cs @@ -22,18 +22,18 @@ public ApplicationGatewayFrontendIPConfiguration() /// Resource ID. /// Name of the frontend IP configuration that is unique within an Application Gateway. /// A unique read-only string that changes whenever the resource is updated. - /// Type of the resource. + /// Type of the resource. /// PrivateIPAddress of the network interface IP Configuration. /// The private IP address allocation method. /// Reference to the subnet resource. /// Reference to the PublicIP resource. /// Reference to the application gateway private link configuration. /// The provisioning state of the frontend IP configuration resource. - internal ApplicationGatewayFrontendIPConfiguration(string id, string name, string etag, string type, string privateIPAddress, IPAllocationMethod? privateIPAllocationMethod, WritableSubResource subnet, WritableSubResource publicIPAddress, WritableSubResource privateLinkConfiguration, ProvisioningState? provisioningState) : base(id) + internal ApplicationGatewayFrontendIPConfiguration(string id, string name, string etag, string resourceType, string privateIPAddress, IPAllocationMethod? privateIPAllocationMethod, WritableSubResource subnet, WritableSubResource publicIPAddress, WritableSubResource privateLinkConfiguration, ProvisioningState? provisioningState) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; PrivateIPAddress = privateIPAddress; PrivateIPAllocationMethod = privateIPAllocationMethod; Subnet = subnet; @@ -47,7 +47,7 @@ internal ApplicationGatewayFrontendIPConfiguration(string id, string name, strin /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Type of the resource. - public string Type { get; } + public string ResourceType { get; } /// PrivateIPAddress of the network interface IP Configuration. public string PrivateIPAddress { get; set; } /// The private IP address allocation method. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayFrontendPort.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayFrontendPort.cs index c67097fd6c026..e9d4016292318 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayFrontendPort.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayFrontendPort.cs @@ -19,14 +19,14 @@ public ApplicationGatewayFrontendPort() /// Resource ID. /// Name of the frontend port that is unique within an Application Gateway. /// A unique read-only string that changes whenever the resource is updated. - /// Type of the resource. + /// Type of the resource. /// Frontend port. /// The provisioning state of the frontend port resource. - internal ApplicationGatewayFrontendPort(string id, string name, string etag, string type, int? port, ProvisioningState? provisioningState) : base(id) + internal ApplicationGatewayFrontendPort(string id, string name, string etag, string resourceType, int? port, ProvisioningState? provisioningState) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; Port = port; ProvisioningState = provisioningState; } @@ -36,7 +36,7 @@ internal ApplicationGatewayFrontendPort(string id, string name, string etag, str /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Type of the resource. - public string Type { get; } + public string ResourceType { get; } /// Frontend port. public int? Port { get; set; } /// The provisioning state of the frontend port resource. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayHttpListener.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayHttpListener.cs index 1a42e0b69c163..cb2e8b0bb368d 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayHttpListener.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayHttpListener.cs @@ -25,7 +25,7 @@ public ApplicationGatewayHttpListener() /// Resource ID. /// Name of the HTTP listener that is unique within an Application Gateway. /// A unique read-only string that changes whenever the resource is updated. - /// Type of the resource. + /// Type of the resource. /// Frontend IP configuration resource of an application gateway. /// Frontend port resource of an application gateway. /// Protocol of the HTTP listener. @@ -37,11 +37,11 @@ public ApplicationGatewayHttpListener() /// Custom error configurations of the HTTP listener. /// Reference to the FirewallPolicy resource. /// List of Host names for HTTP Listener that allows special wildcard characters as well. - internal ApplicationGatewayHttpListener(string id, string name, string etag, string type, WritableSubResource frontendIPConfiguration, WritableSubResource frontendPort, ApplicationGatewayProtocol? protocol, string hostName, WritableSubResource sslCertificate, WritableSubResource sslProfile, bool? requireServerNameIndication, ProvisioningState? provisioningState, IList customErrorConfigurations, WritableSubResource firewallPolicy, IList hostNames) : base(id) + internal ApplicationGatewayHttpListener(string id, string name, string etag, string resourceType, WritableSubResource frontendIPConfiguration, WritableSubResource frontendPort, ApplicationGatewayProtocol? protocol, string hostName, WritableSubResource sslCertificate, WritableSubResource sslProfile, bool? requireServerNameIndication, ProvisioningState? provisioningState, IList customErrorConfigurations, WritableSubResource firewallPolicy, IList hostNames) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; FrontendIPConfiguration = frontendIPConfiguration; FrontendPort = frontendPort; Protocol = protocol; @@ -60,7 +60,7 @@ internal ApplicationGatewayHttpListener(string id, string name, string etag, str /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Type of the resource. - public string Type { get; } + public string ResourceType { get; } /// Frontend IP configuration resource of an application gateway. internal WritableSubResource FrontendIPConfiguration { get; set; } /// Gets or sets Id. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayIPConfiguration.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayIPConfiguration.cs index b52de62eb6868..00ef0473e4668 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayIPConfiguration.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayIPConfiguration.cs @@ -22,14 +22,14 @@ public ApplicationGatewayIPConfiguration() /// Resource ID. /// Name of the IP configuration that is unique within an Application Gateway. /// A unique read-only string that changes whenever the resource is updated. - /// Type of the resource. + /// Type of the resource. /// Reference to the subnet resource. A subnet from where application gateway gets its private address. /// The provisioning state of the application gateway IP configuration resource. - internal ApplicationGatewayIPConfiguration(string id, string name, string etag, string type, WritableSubResource subnet, ProvisioningState? provisioningState) : base(id) + internal ApplicationGatewayIPConfiguration(string id, string name, string etag, string resourceType, WritableSubResource subnet, ProvisioningState? provisioningState) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; Subnet = subnet; ProvisioningState = provisioningState; } @@ -39,7 +39,7 @@ internal ApplicationGatewayIPConfiguration(string id, string name, string etag, /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Type of the resource. - public string Type { get; } + public string ResourceType { get; } /// Reference to the subnet resource. A subnet from where application gateway gets its private address. internal WritableSubResource Subnet { get; set; } /// Gets or sets Id. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayPathRule.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayPathRule.cs index f402c8be554fb..bbf734d962210 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayPathRule.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayPathRule.cs @@ -24,7 +24,7 @@ public ApplicationGatewayPathRule() /// Resource ID. /// Name of the path rule that is unique within an Application Gateway. /// A unique read-only string that changes whenever the resource is updated. - /// Type of the resource. + /// Type of the resource. /// Path rules of URL path map. /// Backend address pool resource of URL path map path rule. /// Backend http settings resource of URL path map path rule. @@ -32,11 +32,11 @@ public ApplicationGatewayPathRule() /// Rewrite rule set resource of URL path map path rule. /// The provisioning state of the path rule resource. /// Reference to the FirewallPolicy resource. - internal ApplicationGatewayPathRule(string id, string name, string etag, string type, IList paths, WritableSubResource backendAddressPool, WritableSubResource backendHttpSettings, WritableSubResource redirectConfiguration, WritableSubResource rewriteRuleSet, ProvisioningState? provisioningState, WritableSubResource firewallPolicy) : base(id) + internal ApplicationGatewayPathRule(string id, string name, string etag, string resourceType, IList paths, WritableSubResource backendAddressPool, WritableSubResource backendHttpSettings, WritableSubResource redirectConfiguration, WritableSubResource rewriteRuleSet, ProvisioningState? provisioningState, WritableSubResource firewallPolicy) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; Paths = paths; BackendAddressPool = backendAddressPool; BackendHttpSettings = backendHttpSettings; @@ -51,7 +51,7 @@ internal ApplicationGatewayPathRule(string id, string name, string etag, string /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Type of the resource. - public string Type { get; } + public string ResourceType { get; } /// Path rules of URL path map. public IList Paths { get; } /// Backend address pool resource of URL path map path rule. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayPrivateLinkConfiguration.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayPrivateLinkConfiguration.cs index cc764370dc14b..99ed43ac8c795 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayPrivateLinkConfiguration.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayPrivateLinkConfiguration.cs @@ -23,14 +23,14 @@ public ApplicationGatewayPrivateLinkConfiguration() /// Resource ID. /// Name of the private link configuration that is unique within an Application Gateway. /// A unique read-only string that changes whenever the resource is updated. - /// Type of the resource. + /// Type of the resource. /// An array of application gateway private link ip configurations. /// The provisioning state of the application gateway private link configuration. - internal ApplicationGatewayPrivateLinkConfiguration(string id, string name, string etag, string type, IList ipConfigurations, ProvisioningState? provisioningState) : base(id) + internal ApplicationGatewayPrivateLinkConfiguration(string id, string name, string etag, string resourceType, IList ipConfigurations, ProvisioningState? provisioningState) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; IPConfigurations = ipConfigurations; ProvisioningState = provisioningState; } @@ -40,7 +40,7 @@ internal ApplicationGatewayPrivateLinkConfiguration(string id, string name, stri /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Type of the resource. - public string Type { get; } + public string ResourceType { get; } /// An array of application gateway private link ip configurations. public IList IPConfigurations { get; } /// The provisioning state of the application gateway private link configuration. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayPrivateLinkIPConfiguration.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayPrivateLinkIPConfiguration.cs index 9368e5b95f556..fe8d1f7d14df6 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayPrivateLinkIPConfiguration.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayPrivateLinkIPConfiguration.cs @@ -22,17 +22,17 @@ public ApplicationGatewayPrivateLinkIPConfiguration() /// Resource ID. /// The name of application gateway private link ip configuration. /// A unique read-only string that changes whenever the resource is updated. - /// The resource type. + /// The resource type. /// The private IP address of the IP configuration. /// The private IP address allocation method. /// Reference to the subnet resource. /// Whether the ip configuration is primary or not. /// The provisioning state of the application gateway private link IP configuration. - internal ApplicationGatewayPrivateLinkIPConfiguration(string id, string name, string etag, string type, string privateIPAddress, IPAllocationMethod? privateIPAllocationMethod, WritableSubResource subnet, bool? primary, ProvisioningState? provisioningState) : base(id) + internal ApplicationGatewayPrivateLinkIPConfiguration(string id, string name, string etag, string resourceType, string privateIPAddress, IPAllocationMethod? privateIPAllocationMethod, WritableSubResource subnet, bool? primary, ProvisioningState? provisioningState) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; PrivateIPAddress = privateIPAddress; PrivateIPAllocationMethod = privateIPAllocationMethod; Subnet = subnet; @@ -45,7 +45,7 @@ internal ApplicationGatewayPrivateLinkIPConfiguration(string id, string name, st /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// The resource type. - public string Type { get; } + public string ResourceType { get; } /// The private IP address of the IP configuration. public string PrivateIPAddress { get; set; } /// The private IP address allocation method. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayPrivateLinkResource.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayPrivateLinkResource.cs index 628db3373c151..7a11b7f00eda2 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayPrivateLinkResource.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayPrivateLinkResource.cs @@ -24,15 +24,15 @@ public ApplicationGatewayPrivateLinkResource() /// Resource ID. /// Name of the private link resource that is unique within an Application Gateway. /// A unique read-only string that changes whenever the resource is updated. - /// Type of the resource. + /// Type of the resource. /// Group identifier of private link resource. /// Required member names of private link resource. /// Required DNS zone names of the the private link resource. - internal ApplicationGatewayPrivateLinkResource(string id, string name, string etag, string type, string groupId, IReadOnlyList requiredMembers, IList requiredZoneNames) : base(id) + internal ApplicationGatewayPrivateLinkResource(string id, string name, string etag, string resourceType, string groupId, IReadOnlyList requiredMembers, IList requiredZoneNames) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; GroupId = groupId; RequiredMembers = requiredMembers; RequiredZoneNames = requiredZoneNames; @@ -43,7 +43,7 @@ internal ApplicationGatewayPrivateLinkResource(string id, string name, string et /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Type of the resource. - public string Type { get; } + public string ResourceType { get; } /// Group identifier of private link resource. public string GroupId { get; } /// Required member names of private link resource. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayProbe.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayProbe.cs index 9d562265e0475..5e16989627c21 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayProbe.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayProbe.cs @@ -19,7 +19,7 @@ public ApplicationGatewayProbe() /// Resource ID. /// Name of the probe that is unique within an Application Gateway. /// A unique read-only string that changes whenever the resource is updated. - /// Type of the resource. + /// Type of the resource. /// The protocol used for the probe. /// Host name to send the probe to. /// Relative path of probe. Valid path starts from '/'. Probe is sent to <Protocol>://<host>:<port><path>. @@ -31,11 +31,11 @@ public ApplicationGatewayProbe() /// Criterion for classifying a healthy probe response. /// The provisioning state of the probe resource. /// Custom port which will be used for probing the backend servers. The valid value ranges from 1 to 65535. In case not set, port from http settings will be used. This property is valid for Standard_v2 and WAF_v2 only. - internal ApplicationGatewayProbe(string id, string name, string etag, string type, ApplicationGatewayProtocol? protocol, string host, string path, int? interval, int? timeout, int? unhealthyThreshold, bool? pickHostNameFromBackendHttpSettings, int? minServers, ApplicationGatewayProbeHealthResponseMatch match, ProvisioningState? provisioningState, int? port) : base(id) + internal ApplicationGatewayProbe(string id, string name, string etag, string resourceType, ApplicationGatewayProtocol? protocol, string host, string path, int? interval, int? timeout, int? unhealthyThreshold, bool? pickHostNameFromBackendHttpSettings, int? minServers, ApplicationGatewayProbeHealthResponseMatch match, ProvisioningState? provisioningState, int? port) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; Protocol = protocol; Host = host; Path = path; @@ -54,7 +54,7 @@ internal ApplicationGatewayProbe(string id, string name, string etag, string typ /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Type of the resource. - public string Type { get; } + public string ResourceType { get; } /// The protocol used for the probe. public ApplicationGatewayProtocol? Protocol { get; set; } /// Host name to send the probe to. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayRedirectConfiguration.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayRedirectConfiguration.cs index 887033c8f022c..be252ebb8165b 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayRedirectConfiguration.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayRedirectConfiguration.cs @@ -26,7 +26,7 @@ public ApplicationGatewayRedirectConfiguration() /// Resource ID. /// Name of the redirect configuration that is unique within an Application Gateway. /// A unique read-only string that changes whenever the resource is updated. - /// Type of the resource. + /// Type of the resource. /// HTTP redirection type. /// Reference to a listener to redirect the request to. /// Url to redirect the request to. @@ -35,11 +35,11 @@ public ApplicationGatewayRedirectConfiguration() /// Request routing specifying redirect configuration. /// Url path maps specifying default redirect configuration. /// Path rules specifying redirect configuration. - internal ApplicationGatewayRedirectConfiguration(string id, string name, string etag, string type, ApplicationGatewayRedirectType? redirectType, WritableSubResource targetListener, string targetUrl, bool? includePath, bool? includeQueryString, IList requestRoutingRules, IList urlPathMaps, IList pathRules) : base(id) + internal ApplicationGatewayRedirectConfiguration(string id, string name, string etag, string resourceType, ApplicationGatewayRedirectType? redirectType, WritableSubResource targetListener, string targetUrl, bool? includePath, bool? includeQueryString, IList requestRoutingRules, IList urlPathMaps, IList pathRules) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; RedirectType = redirectType; TargetListener = targetListener; TargetUrl = targetUrl; @@ -55,7 +55,7 @@ internal ApplicationGatewayRedirectConfiguration(string id, string name, string /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Type of the resource. - public string Type { get; } + public string ResourceType { get; } /// HTTP redirection type. public ApplicationGatewayRedirectType? RedirectType { get; set; } /// Reference to a listener to redirect the request to. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayRequestRoutingRule.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayRequestRoutingRule.cs index fafaef2c86517..796115dc05a84 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayRequestRoutingRule.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayRequestRoutingRule.cs @@ -22,7 +22,7 @@ public ApplicationGatewayRequestRoutingRule() /// Resource ID. /// Name of the request routing rule that is unique within an Application Gateway. /// A unique read-only string that changes whenever the resource is updated. - /// Type of the resource. + /// Type of the resource. /// Rule type. /// Priority of the request routing rule. /// Backend address pool resource of the application gateway. @@ -32,11 +32,11 @@ public ApplicationGatewayRequestRoutingRule() /// Rewrite Rule Set resource in Basic rule of the application gateway. /// Redirect configuration resource of the application gateway. /// The provisioning state of the request routing rule resource. - internal ApplicationGatewayRequestRoutingRule(string id, string name, string etag, string type, ApplicationGatewayRequestRoutingRuleType? ruleType, int? priority, WritableSubResource backendAddressPool, WritableSubResource backendHttpSettings, WritableSubResource httpListener, WritableSubResource urlPathMap, WritableSubResource rewriteRuleSet, WritableSubResource redirectConfiguration, ProvisioningState? provisioningState) : base(id) + internal ApplicationGatewayRequestRoutingRule(string id, string name, string etag, string resourceType, ApplicationGatewayRequestRoutingRuleType? ruleType, int? priority, WritableSubResource backendAddressPool, WritableSubResource backendHttpSettings, WritableSubResource httpListener, WritableSubResource urlPathMap, WritableSubResource rewriteRuleSet, WritableSubResource redirectConfiguration, ProvisioningState? provisioningState) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; RuleType = ruleType; Priority = priority; BackendAddressPool = backendAddressPool; @@ -53,7 +53,7 @@ internal ApplicationGatewayRequestRoutingRule(string id, string name, string eta /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Type of the resource. - public string Type { get; } + public string ResourceType { get; } /// Rule type. public ApplicationGatewayRequestRoutingRuleType? RuleType { get; set; } /// Priority of the request routing rule. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewaySslCertificate.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewaySslCertificate.cs index bdb05e7fc2f9c..e447d690469f8 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewaySslCertificate.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewaySslCertificate.cs @@ -19,17 +19,17 @@ public ApplicationGatewaySslCertificate() /// Resource ID. /// Name of the SSL certificate that is unique within an Application Gateway. /// A unique read-only string that changes whenever the resource is updated. - /// Type of the resource. + /// Type of the resource. /// Base-64 encoded pfx certificate. Only applicable in PUT Request. /// Password for the pfx file specified in data. Only applicable in PUT request. /// Base-64 encoded Public cert data corresponding to pfx specified in data. Only applicable in GET request. /// Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault. /// The provisioning state of the SSL certificate resource. - internal ApplicationGatewaySslCertificate(string id, string name, string etag, string type, string data, string password, string publicCertData, string keyVaultSecretId, ProvisioningState? provisioningState) : base(id) + internal ApplicationGatewaySslCertificate(string id, string name, string etag, string resourceType, string data, string password, string publicCertData, string keyVaultSecretId, ProvisioningState? provisioningState) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; Data = data; Password = password; PublicCertData = publicCertData; @@ -42,7 +42,7 @@ internal ApplicationGatewaySslCertificate(string id, string name, string etag, s /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Type of the resource. - public string Type { get; } + public string ResourceType { get; } /// Base-64 encoded pfx certificate. Only applicable in PUT Request. public string Data { get; set; } /// Password for the pfx file specified in data. Only applicable in PUT request. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewaySslProfile.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewaySslProfile.cs index 05a07401d026e..2454a3f519bf1 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewaySslProfile.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewaySslProfile.cs @@ -24,16 +24,16 @@ public ApplicationGatewaySslProfile() /// Resource ID. /// Name of the SSL profile that is unique within an Application Gateway. /// A unique read-only string that changes whenever the resource is updated. - /// Type of the resource. + /// Type of the resource. /// Array of references to application gateway trusted client certificates. /// SSL policy of the application gateway resource. /// Client authentication configuration of the application gateway resource. /// The provisioning state of the HTTP listener resource. - internal ApplicationGatewaySslProfile(string id, string name, string etag, string type, IList trustedClientCertificates, ApplicationGatewaySslPolicy sslPolicy, ApplicationGatewayClientAuthConfiguration clientAuthConfiguration, ProvisioningState? provisioningState) : base(id) + internal ApplicationGatewaySslProfile(string id, string name, string etag, string resourceType, IList trustedClientCertificates, ApplicationGatewaySslPolicy sslPolicy, ApplicationGatewayClientAuthConfiguration clientAuthConfiguration, ProvisioningState? provisioningState) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; TrustedClientCertificates = trustedClientCertificates; SslPolicy = sslPolicy; ClientAuthConfiguration = clientAuthConfiguration; @@ -45,7 +45,7 @@ internal ApplicationGatewaySslProfile(string id, string name, string etag, strin /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Type of the resource. - public string Type { get; } + public string ResourceType { get; } /// Array of references to application gateway trusted client certificates. public IList TrustedClientCertificates { get; } /// SSL policy of the application gateway resource. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayTrustedClientCertificate.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayTrustedClientCertificate.cs index f42975fae84c0..5be969be40387 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayTrustedClientCertificate.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayTrustedClientCertificate.cs @@ -19,16 +19,16 @@ public ApplicationGatewayTrustedClientCertificate() /// Resource ID. /// Name of the trusted client certificate that is unique within an Application Gateway. /// A unique read-only string that changes whenever the resource is updated. - /// Type of the resource. + /// Type of the resource. /// Certificate public data. /// Validated certificate data. /// Distinguished name of client certificate issuer. /// The provisioning state of the trusted client certificate resource. - internal ApplicationGatewayTrustedClientCertificate(string id, string name, string etag, string type, string data, string validatedCertData, string clientCertIssuerDN, ProvisioningState? provisioningState) : base(id) + internal ApplicationGatewayTrustedClientCertificate(string id, string name, string etag, string resourceType, string data, string validatedCertData, string clientCertIssuerDN, ProvisioningState? provisioningState) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; Data = data; ValidatedCertData = validatedCertData; ClientCertIssuerDN = clientCertIssuerDN; @@ -40,7 +40,7 @@ internal ApplicationGatewayTrustedClientCertificate(string id, string name, stri /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Type of the resource. - public string Type { get; } + public string ResourceType { get; } /// Certificate public data. public string Data { get; set; } /// Validated certificate data. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayTrustedRootCertificate.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayTrustedRootCertificate.cs index 3bef06d878bc1..98e1c2ce83e38 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayTrustedRootCertificate.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayTrustedRootCertificate.cs @@ -19,15 +19,15 @@ public ApplicationGatewayTrustedRootCertificate() /// Resource ID. /// Name of the trusted root certificate that is unique within an Application Gateway. /// A unique read-only string that changes whenever the resource is updated. - /// Type of the resource. + /// Type of the resource. /// Certificate public data. /// Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault. /// The provisioning state of the trusted root certificate resource. - internal ApplicationGatewayTrustedRootCertificate(string id, string name, string etag, string type, string data, string keyVaultSecretId, ProvisioningState? provisioningState) : base(id) + internal ApplicationGatewayTrustedRootCertificate(string id, string name, string etag, string resourceType, string data, string keyVaultSecretId, ProvisioningState? provisioningState) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; Data = data; KeyVaultSecretId = keyVaultSecretId; ProvisioningState = provisioningState; @@ -38,7 +38,7 @@ internal ApplicationGatewayTrustedRootCertificate(string id, string name, string /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Type of the resource. - public string Type { get; } + public string ResourceType { get; } /// Certificate public data. public string Data { get; set; } /// Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayUrlPathMap.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayUrlPathMap.cs index e600d8c6587e8..2a1e3ac454435 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayUrlPathMap.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ApplicationGatewayUrlPathMap.cs @@ -24,18 +24,18 @@ public ApplicationGatewayUrlPathMap() /// Resource ID. /// Name of the URL path map that is unique within an Application Gateway. /// A unique read-only string that changes whenever the resource is updated. - /// Type of the resource. + /// Type of the resource. /// Default backend address pool resource of URL path map. /// Default backend http settings resource of URL path map. /// Default Rewrite rule set resource of URL path map. /// Default redirect configuration resource of URL path map. /// Path rule of URL path map resource. /// The provisioning state of the URL path map resource. - internal ApplicationGatewayUrlPathMap(string id, string name, string etag, string type, WritableSubResource defaultBackendAddressPool, WritableSubResource defaultBackendHttpSettings, WritableSubResource defaultRewriteRuleSet, WritableSubResource defaultRedirectConfiguration, IList pathRules, ProvisioningState? provisioningState) : base(id) + internal ApplicationGatewayUrlPathMap(string id, string name, string etag, string resourceType, WritableSubResource defaultBackendAddressPool, WritableSubResource defaultBackendHttpSettings, WritableSubResource defaultRewriteRuleSet, WritableSubResource defaultRedirectConfiguration, IList pathRules, ProvisioningState? provisioningState) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; DefaultBackendAddressPool = defaultBackendAddressPool; DefaultBackendHttpSettings = defaultBackendHttpSettings; DefaultRewriteRuleSet = defaultRewriteRuleSet; @@ -49,7 +49,7 @@ internal ApplicationGatewayUrlPathMap(string id, string name, string etag, strin /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Type of the resource. - public string Type { get; } + public string ResourceType { get; } /// Default backend address pool resource of URL path map. internal WritableSubResource DefaultBackendAddressPool { get; set; } /// Gets or sets Id. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AvailableDelegation.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AvailableDelegation.cs index 6fe020ce687d6..d7bb6c0fc8566 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AvailableDelegation.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AvailableDelegation.cs @@ -23,11 +23,11 @@ internal AvailableDelegation() /// Initializes a new instance of AvailableDelegation. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The name of the service and resource. /// The actions permitted to the service upon delegation. - internal AvailableDelegation(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string serviceName, IReadOnlyList actions) : base(id, name, type, systemData) + internal AvailableDelegation(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string serviceName, IReadOnlyList actions) : base(id, name, resourceType, systemData) { ServiceName = serviceName; Actions = actions; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AvailablePrivateEndpointType.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AvailablePrivateEndpointType.cs index 13eb99ed9ffa3..94616b5059110 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AvailablePrivateEndpointType.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AvailablePrivateEndpointType.cs @@ -21,11 +21,11 @@ internal AvailablePrivateEndpointType() /// Initializes a new instance of AvailablePrivateEndpointType. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The name of the service and resource. /// Display name of the resource. - internal AvailablePrivateEndpointType(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string resourceName, string displayName) : base(id, name, type, systemData) + internal AvailablePrivateEndpointType(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string resourceName, string displayName) : base(id, name, resourceType, systemData) { ResourceName = resourceName; DisplayName = displayName; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AvailableServiceAlias.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AvailableServiceAlias.cs index 85ed77e19229c..394b22ddc6eaa 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AvailableServiceAlias.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AvailableServiceAlias.cs @@ -21,10 +21,10 @@ internal AvailableServiceAlias() /// Initializes a new instance of AvailableServiceAlias. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The resource name of the service alias. - internal AvailableServiceAlias(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string resourceName) : base(id, name, type, systemData) + internal AvailableServiceAlias(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string resourceName) : base(id, name, resourceType, systemData) { ResourceName = resourceName; } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallApplicationRuleCollection.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallApplicationRuleCollection.cs index 94301d7faef80..bddb2424cb87e 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallApplicationRuleCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallApplicationRuleCollection.cs @@ -46,14 +46,14 @@ internal AzureFirewallApplicationRuleCollection(string id, string name, string e /// The action type of a rule collection. internal AzureFirewallRCAction Action { get; set; } /// The type of action. - public AzureFirewallRCActionType? ActionType + public AzureFirewallRCActionType? AzureFirewallRCActionType { - get => Action is null ? default : Action.Type; + get => Action is null ? default : Action.AzureFirewallRCActionType; set { if (Action is null) Action = new AzureFirewallRCAction(); - Action.Type = value; + Action.AzureFirewallRCActionType = value; } } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallFqdnTag.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallFqdnTag.cs index 6e18269e18db9..6d632e1782f05 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallFqdnTag.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallFqdnTag.cs @@ -20,13 +20,13 @@ public AzureFirewallFqdnTag() /// Initializes a new instance of AzureFirewallFqdnTag. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// A unique read-only string that changes whenever the resource is updated. /// The provisioning state of the Azure firewall FQDN tag resource. /// The name of this FQDN Tag. - internal AzureFirewallFqdnTag(string id, string name, string type, string location, IDictionary tags, string etag, ProvisioningState? provisioningState, string fqdnTagName) : base(id, name, type, location, tags) + internal AzureFirewallFqdnTag(string id, string name, string resourceType, string location, IDictionary tags, string etag, ProvisioningState? provisioningState, string fqdnTagName) : base(id, name, resourceType, location, tags) { Etag = etag; ProvisioningState = provisioningState; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallIPConfiguration.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallIPConfiguration.cs index 2c0ce57bcbb7b..d5864d4f5ca2a 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallIPConfiguration.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallIPConfiguration.cs @@ -22,16 +22,16 @@ public AzureFirewallIPConfiguration() /// Resource ID. /// Name of the resource that is unique within a resource group. This name can be used to access the resource. /// A unique read-only string that changes whenever the resource is updated. - /// Type of the resource. + /// Type of the resource. /// The Firewall Internal Load Balancer IP to be used as the next hop in User Defined Routes. /// Reference to the subnet resource. This resource must be named 'AzureFirewallSubnet' or 'AzureFirewallManagementSubnet'. /// Reference to the PublicIP resource. This field is a mandatory input if subnet is not null. /// The provisioning state of the Azure firewall IP configuration resource. - internal AzureFirewallIPConfiguration(string id, string name, string etag, string type, string privateIPAddress, WritableSubResource subnet, WritableSubResource publicIPAddress, ProvisioningState? provisioningState) : base(id) + internal AzureFirewallIPConfiguration(string id, string name, string etag, string resourceType, string privateIPAddress, WritableSubResource subnet, WritableSubResource publicIPAddress, ProvisioningState? provisioningState) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; PrivateIPAddress = privateIPAddress; Subnet = subnet; PublicIPAddress = publicIPAddress; @@ -43,7 +43,7 @@ internal AzureFirewallIPConfiguration(string id, string name, string etag, strin /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Type of the resource. - public string Type { get; } + public string ResourceType { get; } /// The Firewall Internal Load Balancer IP to be used as the next hop in User Defined Routes. public string PrivateIPAddress { get; } /// Reference to the subnet resource. This resource must be named 'AzureFirewallSubnet' or 'AzureFirewallManagementSubnet'. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallNatRCAction.Serialization.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallNatRCAction.Serialization.cs index ad2b53d596d4b..1c2b6aca0edab 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallNatRCAction.Serialization.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallNatRCAction.Serialization.cs @@ -15,10 +15,10 @@ internal partial class AzureFirewallNatRCAction : IUtf8JsonSerializable void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(AzureFirewallNatRCActionType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type.Value.ToString()); + writer.WriteStringValue(AzureFirewallNatRCActionType.Value.ToString()); } writer.WriteEndObject(); } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallNatRCAction.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallNatRCAction.cs index 762785f90ae06..1fefb14e5d198 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallNatRCAction.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallNatRCAction.cs @@ -16,13 +16,13 @@ public AzureFirewallNatRCAction() } /// Initializes a new instance of AzureFirewallNatRCAction. - /// The type of action. - internal AzureFirewallNatRCAction(AzureFirewallNatRCActionType? type) + /// The type of action. + internal AzureFirewallNatRCAction(AzureFirewallNatRCActionType? azureFirewallNatRCActionType) { - Type = type; + AzureFirewallNatRCActionType = azureFirewallNatRCActionType; } /// The type of action. - public AzureFirewallNatRCActionType? Type { get; set; } + public AzureFirewallNatRCActionType? AzureFirewallNatRCActionType { get; set; } } } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallNatRuleCollection.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallNatRuleCollection.cs index 2154f68dd81ab..0e4429e9a0941 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallNatRuleCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallNatRuleCollection.cs @@ -46,14 +46,14 @@ internal AzureFirewallNatRuleCollection(string id, string name, string etag, int /// The action type of a NAT rule collection. internal AzureFirewallNatRCAction Action { get; set; } /// The type of action. - public AzureFirewallNatRCActionType? ActionType + public AzureFirewallNatRCActionType? AzureFirewallNatRCActionType { - get => Action is null ? default : Action.Type; + get => Action is null ? default : Action.AzureFirewallNatRCActionType; set { if (Action is null) Action = new AzureFirewallNatRCAction(); - Action.Type = value; + Action.AzureFirewallNatRCActionType = value; } } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallNetworkRuleCollection.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallNetworkRuleCollection.cs index fa118a057a51d..b06c418ca7399 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallNetworkRuleCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallNetworkRuleCollection.cs @@ -46,14 +46,14 @@ internal AzureFirewallNetworkRuleCollection(string id, string name, string etag, /// The action type of a rule collection. internal AzureFirewallRCAction Action { get; set; } /// The type of action. - public AzureFirewallRCActionType? ActionType + public AzureFirewallRCActionType? AzureFirewallRCActionType { - get => Action is null ? default : Action.Type; + get => Action is null ? default : Action.AzureFirewallRCActionType; set { if (Action is null) Action = new AzureFirewallRCAction(); - Action.Type = value; + Action.AzureFirewallRCActionType = value; } } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallRCAction.Serialization.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallRCAction.Serialization.cs index 000f637221cc9..b41b73c7197f3 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallRCAction.Serialization.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallRCAction.Serialization.cs @@ -15,10 +15,10 @@ internal partial class AzureFirewallRCAction : IUtf8JsonSerializable void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(AzureFirewallRCActionType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type.Value.ToString()); + writer.WriteStringValue(AzureFirewallRCActionType.Value.ToString()); } writer.WriteEndObject(); } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallRCAction.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallRCAction.cs index e379238f439a2..a69b7b06a0833 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallRCAction.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/AzureFirewallRCAction.cs @@ -16,13 +16,13 @@ public AzureFirewallRCAction() } /// Initializes a new instance of AzureFirewallRCAction. - /// The type of action. - internal AzureFirewallRCAction(AzureFirewallRCActionType? type) + /// The type of action. + internal AzureFirewallRCAction(AzureFirewallRCActionType? azureFirewallRCActionType) { - Type = type; + AzureFirewallRCActionType = azureFirewallRCActionType; } /// The type of action. - public AzureFirewallRCActionType? Type { get; set; } + public AzureFirewallRCActionType? AzureFirewallRCActionType { get; set; } } } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/BastionHostIPConfiguration.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/BastionHostIPConfiguration.cs index 89f341813b8a3..ea77191203686 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/BastionHostIPConfiguration.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/BastionHostIPConfiguration.cs @@ -22,16 +22,16 @@ public BastionHostIPConfiguration() /// Resource ID. /// Name of the resource that is unique within a resource group. This name can be used to access the resource. /// A unique read-only string that changes whenever the resource is updated. - /// Ip configuration type. + /// Ip configuration type. /// Reference of the subnet resource. /// Reference of the PublicIP resource. /// The provisioning state of the bastion host IP configuration resource. /// Private IP allocation method. - internal BastionHostIPConfiguration(string id, string name, string etag, string type, WritableSubResource subnet, WritableSubResource publicIPAddress, ProvisioningState? provisioningState, IPAllocationMethod? privateIPAllocationMethod) : base(id) + internal BastionHostIPConfiguration(string id, string name, string etag, string resourceType, WritableSubResource subnet, WritableSubResource publicIPAddress, ProvisioningState? provisioningState, IPAllocationMethod? privateIPAllocationMethod) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; Subnet = subnet; PublicIPAddress = publicIPAddress; ProvisioningState = provisioningState; @@ -43,7 +43,7 @@ internal BastionHostIPConfiguration(string id, string name, string etag, string /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Ip configuration type. - public string Type { get; } + public string ResourceType { get; } /// Reference of the subnet resource. internal WritableSubResource Subnet { get; set; } /// Gets or sets Id. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/BgpServiceCommunity.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/BgpServiceCommunity.cs index 93f205aa6841b..59cfe4c952076 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/BgpServiceCommunity.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/BgpServiceCommunity.cs @@ -22,12 +22,12 @@ public BgpServiceCommunity() /// Initializes a new instance of BgpServiceCommunity. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// The name of the bgp community. e.g. Skype. /// A list of bgp communities. - internal BgpServiceCommunity(string id, string name, string type, string location, IDictionary tags, string serviceName, IList bgpCommunities) : base(id, name, type, location, tags) + internal BgpServiceCommunity(string id, string name, string resourceType, string location, IDictionary tags, string serviceName, IList bgpCommunities) : base(id, name, resourceType, location, tags) { ServiceName = serviceName; BgpCommunities = bgpCommunities; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorEndpoint.Serialization.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorEndpoint.Serialization.cs index dad4fc4200a06..066c3adb4d1dc 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorEndpoint.Serialization.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorEndpoint.Serialization.cs @@ -17,10 +17,10 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WriteStartObject(); writer.WritePropertyName("name"); writer.WriteStringValue(Name); - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(EndpointType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type.Value.ToString()); + writer.WriteStringValue(EndpointType.Value.ToString()); } if (Optional.IsDefined(ResourceId)) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorEndpoint.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorEndpoint.cs index 79364759d87ec..5c9c6a68960c2 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorEndpoint.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorEndpoint.cs @@ -27,16 +27,16 @@ public ConnectionMonitorEndpoint(string name) /// Initializes a new instance of ConnectionMonitorEndpoint. /// The name of the connection monitor endpoint. - /// The endpoint type. + /// The endpoint type. /// Resource ID of the connection monitor endpoint. /// Address of the connection monitor endpoint (IP or domain name). /// Filter for sub-items within the endpoint. /// Endpoint scope. /// Test coverage for the endpoint. - internal ConnectionMonitorEndpoint(string name, EndpointType? type, string resourceId, string address, ConnectionMonitorEndpointFilter filter, ConnectionMonitorEndpointScope scope, CoverageLevel? coverageLevel) + internal ConnectionMonitorEndpoint(string name, EndpointType? endpointType, string resourceId, string address, ConnectionMonitorEndpointFilter filter, ConnectionMonitorEndpointScope scope, CoverageLevel? coverageLevel) { Name = name; - Type = type; + EndpointType = endpointType; ResourceId = resourceId; Address = address; Filter = filter; @@ -47,7 +47,7 @@ internal ConnectionMonitorEndpoint(string name, EndpointType? type, string resou /// The name of the connection monitor endpoint. public string Name { get; set; } /// The endpoint type. - public EndpointType? Type { get; set; } + public EndpointType? EndpointType { get; set; } /// Resource ID of the connection monitor endpoint. public string ResourceId { get; set; } /// Address of the connection monitor endpoint (IP or domain name). diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorEndpointFilter.Serialization.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorEndpointFilter.Serialization.cs index fbc78f440d319..0c9239b3fa986 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorEndpointFilter.Serialization.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorEndpointFilter.Serialization.cs @@ -16,10 +16,10 @@ public partial class ConnectionMonitorEndpointFilter : IUtf8JsonSerializable void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(ConnectionMonitorEndpointFilterType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type.Value.ToString()); + writer.WriteStringValue(ConnectionMonitorEndpointFilterType.Value.ToString()); } if (Optional.IsCollectionDefined(Items)) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorEndpointFilter.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorEndpointFilter.cs index fd0cc2a5a39c7..b73a871ba56c9 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorEndpointFilter.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorEndpointFilter.cs @@ -20,16 +20,16 @@ public ConnectionMonitorEndpointFilter() } /// Initializes a new instance of ConnectionMonitorEndpointFilter. - /// The behavior of the endpoint filter. Currently only 'Include' is supported. + /// The behavior of the endpoint filter. Currently only 'Include' is supported. /// List of items in the filter. - internal ConnectionMonitorEndpointFilter(ConnectionMonitorEndpointFilterType? type, IList items) + internal ConnectionMonitorEndpointFilter(ConnectionMonitorEndpointFilterType? connectionMonitorEndpointFilterType, IList items) { - Type = type; + ConnectionMonitorEndpointFilterType = connectionMonitorEndpointFilterType; Items = items; } /// The behavior of the endpoint filter. Currently only 'Include' is supported. - public ConnectionMonitorEndpointFilterType? Type { get; set; } + public ConnectionMonitorEndpointFilterType? ConnectionMonitorEndpointFilterType { get; set; } /// List of items in the filter. public IList Items { get; } } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorEndpointFilterItem.Serialization.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorEndpointFilterItem.Serialization.cs index 1d7d4b07fd20c..fd9717053c018 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorEndpointFilterItem.Serialization.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorEndpointFilterItem.Serialization.cs @@ -15,10 +15,10 @@ public partial class ConnectionMonitorEndpointFilterItem : IUtf8JsonSerializable void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(ConnectionMonitorEndpointFilterItemType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type.Value.ToString()); + writer.WriteStringValue(ConnectionMonitorEndpointFilterItemType.Value.ToString()); } if (Optional.IsDefined(Address)) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorEndpointFilterItem.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorEndpointFilterItem.cs index 9b8db38e41d91..3ff9e5158d616 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorEndpointFilterItem.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorEndpointFilterItem.cs @@ -16,16 +16,16 @@ public ConnectionMonitorEndpointFilterItem() } /// Initializes a new instance of ConnectionMonitorEndpointFilterItem. - /// The type of item included in the filter. Currently only 'AgentAddress' is supported. + /// The type of item included in the filter. Currently only 'AgentAddress' is supported. /// The address of the filter item. - internal ConnectionMonitorEndpointFilterItem(ConnectionMonitorEndpointFilterItemType? type, string address) + internal ConnectionMonitorEndpointFilterItem(ConnectionMonitorEndpointFilterItemType? connectionMonitorEndpointFilterItemType, string address) { - Type = type; + ConnectionMonitorEndpointFilterItemType = connectionMonitorEndpointFilterItemType; Address = address; } /// The type of item included in the filter. Currently only 'AgentAddress' is supported. - public ConnectionMonitorEndpointFilterItemType? Type { get; set; } + public ConnectionMonitorEndpointFilterItemType? ConnectionMonitorEndpointFilterItemType { get; set; } /// The address of the filter item. public string Address { get; set; } } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorOutput.Serialization.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorOutput.Serialization.cs index ef7c4c47f1b33..7f7113489344a 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorOutput.Serialization.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorOutput.Serialization.cs @@ -15,10 +15,10 @@ public partial class ConnectionMonitorOutput : IUtf8JsonSerializable void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(OutputType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type.Value.ToString()); + writer.WriteStringValue(OutputType.Value.ToString()); } if (Optional.IsDefined(WorkspaceSettings)) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorOutput.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorOutput.cs index 2deec33e22711..4ca52b1fd44cc 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorOutput.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectionMonitorOutput.cs @@ -16,16 +16,16 @@ public ConnectionMonitorOutput() } /// Initializes a new instance of ConnectionMonitorOutput. - /// Connection monitor output destination type. Currently, only "Workspace" is supported. + /// Connection monitor output destination type. Currently, only "Workspace" is supported. /// Describes the settings for producing output into a log analytics workspace. - internal ConnectionMonitorOutput(OutputType? type, ConnectionMonitorWorkspaceSettings workspaceSettings) + internal ConnectionMonitorOutput(OutputType? outputType, ConnectionMonitorWorkspaceSettings workspaceSettings) { - Type = type; + OutputType = outputType; WorkspaceSettings = workspaceSettings; } /// Connection monitor output destination type. Currently, only "Workspace" is supported. - public OutputType? Type { get; set; } + public OutputType? OutputType { get; set; } /// Describes the settings for producing output into a log analytics workspace. internal ConnectionMonitorWorkspaceSettings WorkspaceSettings { get; set; } /// Log analytics workspace resource ID. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectivityHop.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectivityHop.cs index 2c71b918fcea4..dc85faa8cb0df 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectivityHop.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectivityHop.cs @@ -24,7 +24,7 @@ internal ConnectivityHop() } /// Initializes a new instance of ConnectivityHop. - /// The type of the hop. + /// The type of the hop. /// The ID of the hop. /// The IP address of the hop. /// The ID of the resource corresponding to this hop. @@ -33,9 +33,9 @@ internal ConnectivityHop() /// List of hop links. /// List of previous hop links. /// List of issues. - internal ConnectivityHop(string type, string id, string address, string resourceId, IReadOnlyList nextHopIds, IReadOnlyList previousHopIds, IReadOnlyList links, IReadOnlyList previousLinks, IReadOnlyList issues) + internal ConnectivityHop(string connectivityHopType, string id, string address, string resourceId, IReadOnlyList nextHopIds, IReadOnlyList previousHopIds, IReadOnlyList links, IReadOnlyList previousLinks, IReadOnlyList issues) { - Type = type; + ConnectivityHopType = connectivityHopType; Id = id; Address = address; ResourceId = resourceId; @@ -47,7 +47,7 @@ internal ConnectivityHop(string type, string id, string address, string resource } /// The type of the hop. - public string Type { get; } + public string ConnectivityHopType { get; } /// The ID of the hop. public string Id { get; } /// The IP address of the hop. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectivityIssue.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectivityIssue.cs index 426460b36672c..ef36e115365b5 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectivityIssue.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ConnectivityIssue.cs @@ -22,13 +22,13 @@ internal ConnectivityIssue() /// Initializes a new instance of ConnectivityIssue. /// The origin of the issue. /// The severity of the issue. - /// The type of issue. + /// The type of issue. /// Provides additional context on the issue. - internal ConnectivityIssue(Origin? origin, Severity? severity, IssueType? type, IReadOnlyList> context) + internal ConnectivityIssue(Origin? origin, Severity? severity, IssueType? issueType, IReadOnlyList> context) { Origin = origin; Severity = severity; - Type = type; + IssueType = issueType; Context = context; } @@ -37,7 +37,7 @@ internal ConnectivityIssue(Origin? origin, Severity? severity, IssueType? type, /// The severity of the issue. public Severity? Severity { get; } /// The type of issue. - public IssueType? Type { get; } + public IssueType? IssueType { get; } /// Provides additional context on the issue. public IReadOnlyList> Context { get; } } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ContainerNetworkInterface.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ContainerNetworkInterface.cs index 8cbb95689b609..a26453c7c1884 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ContainerNetworkInterface.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ContainerNetworkInterface.cs @@ -23,16 +23,16 @@ public ContainerNetworkInterface() /// Initializes a new instance of ContainerNetworkInterface. /// Resource ID. /// The name of the resource. This name can be used to access the resource. - /// Sub Resource type. + /// Sub Resource type. /// A unique read-only string that changes whenever the resource is updated. /// Container network interface configuration from which this container network interface is created. /// Reference to the container to which this container network interface is attached. /// Reference to the ip configuration on this container nic. /// The provisioning state of the container network interface resource. - internal ContainerNetworkInterface(string id, string name, string type, string etag, ContainerNetworkInterfaceConfiguration containerNetworkInterfaceConfiguration, WritableSubResource container, IReadOnlyList ipConfigurations, ProvisioningState? provisioningState) : base(id) + internal ContainerNetworkInterface(string id, string name, string resourceType, string etag, ContainerNetworkInterfaceConfiguration containerNetworkInterfaceConfiguration, WritableSubResource container, IReadOnlyList ipConfigurations, ProvisioningState? provisioningState) : base(id) { Name = name; - Type = type; + ResourceType = resourceType; Etag = etag; ContainerNetworkInterfaceConfiguration = containerNetworkInterfaceConfiguration; Container = container; @@ -43,7 +43,7 @@ internal ContainerNetworkInterface(string id, string name, string type, string e /// The name of the resource. This name can be used to access the resource. public string Name { get; set; } /// Sub Resource type. - public string Type { get; } + public string ResourceType { get; } /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Container network interface configuration from which this container network interface is created. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ContainerNetworkInterfaceConfiguration.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ContainerNetworkInterfaceConfiguration.cs index 250d9a21bf7b6..d874f1fe5c64f 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ContainerNetworkInterfaceConfiguration.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ContainerNetworkInterfaceConfiguration.cs @@ -24,15 +24,15 @@ public ContainerNetworkInterfaceConfiguration() /// Initializes a new instance of ContainerNetworkInterfaceConfiguration. /// Resource ID. /// The name of the resource. This name can be used to access the resource. - /// Sub Resource type. + /// Sub Resource type. /// A unique read-only string that changes whenever the resource is updated. /// A list of ip configurations of the container network interface configuration. /// A list of container network interfaces created from this container network interface configuration. /// The provisioning state of the container network interface configuration resource. - internal ContainerNetworkInterfaceConfiguration(string id, string name, string type, string etag, IList ipConfigurations, IList containerNetworkInterfaces, ProvisioningState? provisioningState) : base(id) + internal ContainerNetworkInterfaceConfiguration(string id, string name, string resourceType, string etag, IList ipConfigurations, IList containerNetworkInterfaces, ProvisioningState? provisioningState) : base(id) { Name = name; - Type = type; + ResourceType = resourceType; Etag = etag; IPConfigurations = ipConfigurations; ContainerNetworkInterfaces = containerNetworkInterfaces; @@ -42,7 +42,7 @@ internal ContainerNetworkInterfaceConfiguration(string id, string name, string t /// The name of the resource. This name can be used to access the resource. public string Name { get; set; } /// Sub Resource type. - public string Type { get; } + public string ResourceType { get; } /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// A list of ip configurations of the container network interface configuration. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ContainerNetworkInterfaceIPConfiguration.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ContainerNetworkInterfaceIPConfiguration.cs index 056a1bca2ca66..2cf2df6a54cc7 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ContainerNetworkInterfaceIPConfiguration.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ContainerNetworkInterfaceIPConfiguration.cs @@ -17,13 +17,13 @@ internal ContainerNetworkInterfaceIPConfiguration() /// Initializes a new instance of ContainerNetworkInterfaceIPConfiguration. /// The name of the resource. This name can be used to access the resource. - /// Sub Resource type. + /// Sub Resource type. /// A unique read-only string that changes whenever the resource is updated. /// The provisioning state of the container network interface IP configuration resource. - internal ContainerNetworkInterfaceIPConfiguration(string name, string type, string etag, ProvisioningState? provisioningState) + internal ContainerNetworkInterfaceIPConfiguration(string name, string containerNetworkInterfaceIpConfigurationType, string etag, ProvisioningState? provisioningState) { Name = name; - Type = type; + ContainerNetworkInterfaceIpConfigurationType = containerNetworkInterfaceIpConfigurationType; Etag = etag; ProvisioningState = provisioningState; } @@ -31,7 +31,7 @@ internal ContainerNetworkInterfaceIPConfiguration(string name, string type, stri /// The name of the resource. This name can be used to access the resource. public string Name { get; } /// Sub Resource type. - public string Type { get; } + public string ContainerNetworkInterfaceIpConfigurationType { get; } /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// The provisioning state of the container network interface IP configuration resource. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/Delegation.Serialization.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/Delegation.Serialization.cs index 8f12efe235d82..592c94af82dec 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/Delegation.Serialization.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/Delegation.Serialization.cs @@ -21,10 +21,10 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("name"); writer.WriteStringValue(Name); } - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(ResourceType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type); + writer.WriteStringValue(ResourceType); } if (Optional.IsDefined(Id)) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/Delegation.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/Delegation.cs index 6592f29f762fc..5fe6b22f74ace 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/Delegation.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/Delegation.cs @@ -23,15 +23,15 @@ public Delegation() /// Resource ID. /// The name of the resource that is unique within a subnet. This name can be used to access the resource. /// A unique read-only string that changes whenever the resource is updated. - /// Resource type. + /// Resource type. /// The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers). /// The actions permitted to the service upon delegation. /// The provisioning state of the service delegation resource. - internal Delegation(string id, string name, string etag, string type, string serviceName, IReadOnlyList actions, ProvisioningState? provisioningState) : base(id) + internal Delegation(string id, string name, string etag, string resourceType, string serviceName, IReadOnlyList actions, ProvisioningState? provisioningState) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; ServiceName = serviceName; Actions = actions; ProvisioningState = provisioningState; @@ -42,7 +42,7 @@ internal Delegation(string id, string name, string etag, string type, string ser /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Resource type. - public string Type { get; set; } + public string ResourceType { get; set; } /// The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers). public string ServiceName { get; set; } /// The actions permitted to the service upon delegation. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/EndpointServiceResult.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/EndpointServiceResult.cs index 8c6c0437d6fc9..ed2d65f73994f 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/EndpointServiceResult.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/EndpointServiceResult.cs @@ -18,16 +18,16 @@ public EndpointServiceResult() /// Initializes a new instance of EndpointServiceResult. /// Resource ID. /// Name of the endpoint service. - /// Type of the endpoint service. - internal EndpointServiceResult(string id, string name, string type) : base(id) + /// Type of the endpoint service. + internal EndpointServiceResult(string id, string name, string resourceType) : base(id) { Name = name; - Type = type; + ResourceType = resourceType; } /// Name of the endpoint service. public string Name { get; } /// Type of the endpoint service. - public string Type { get; } + public string ResourceType { get; } } } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ExpressRouteServiceProvider.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ExpressRouteServiceProvider.cs index 3b4f9b83f2889..3e67f1cf5ad14 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ExpressRouteServiceProvider.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ExpressRouteServiceProvider.cs @@ -23,13 +23,13 @@ public ExpressRouteServiceProvider() /// Initializes a new instance of ExpressRouteServiceProvider. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// A list of peering locations. /// A list of bandwidths offered. /// The provisioning state of the express route service provider resource. - internal ExpressRouteServiceProvider(string id, string name, string type, string location, IDictionary tags, IList peeringLocations, IList bandwidthsOffered, ProvisioningState? provisioningState) : base(id, name, type, location, tags) + internal ExpressRouteServiceProvider(string id, string name, string resourceType, string location, IDictionary tags, IList peeringLocations, IList bandwidthsOffered, ProvisioningState? provisioningState) : base(id, name, resourceType, location, tags) { PeeringLocations = peeringLocations; BandwidthsOffered = bandwidthsOffered; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ExtendedLocation.Serialization.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ExtendedLocation.Serialization.cs index 5d825b8bf83cb..6fdd1823ed108 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ExtendedLocation.Serialization.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ExtendedLocation.Serialization.cs @@ -20,10 +20,10 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("name"); writer.WriteStringValue(Name); } - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(ExtendedLocationType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type.Value.ToString()); + writer.WriteStringValue(ExtendedLocationType.Value.ToString()); } writer.WriteEndObject(); } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ExtendedLocation.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ExtendedLocation.cs index ef8e68c56717b..5792e29b9e48e 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ExtendedLocation.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ExtendedLocation.cs @@ -17,16 +17,16 @@ public ExtendedLocation() /// Initializes a new instance of ExtendedLocation. /// The name of the extended location. - /// The type of the extended location. - internal ExtendedLocation(string name, ExtendedLocationTypes? type) + /// The type of the extended location. + internal ExtendedLocation(string name, ExtendedLocationTypes? extendedLocationType) { Name = name; - Type = type; + ExtendedLocationType = extendedLocationType; } /// The name of the extended location. public string Name { get; set; } /// The type of the extended location. - public ExtendedLocationTypes? Type { get; set; } + public ExtendedLocationTypes? ExtendedLocationType { get; set; } } } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyFilterRuleCollection.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyFilterRuleCollection.cs index 9e821600b9cbd..f7802ebf18410 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyFilterRuleCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyFilterRuleCollection.cs @@ -36,14 +36,14 @@ internal FirewallPolicyFilterRuleCollection(FirewallPolicyRuleCollectionType rul /// The action type of a Filter rule collection. internal FirewallPolicyFilterRuleCollectionAction Action { get; set; } /// The type of action. - public FirewallPolicyFilterRuleCollectionActionType? ActionType + public FirewallPolicyFilterRuleCollectionActionType? FirewallPolicyFilterRuleCollectionActionType { - get => Action is null ? default : Action.Type; + get => Action is null ? default : Action.FirewallPolicyFilterRuleCollectionActionType; set { if (Action is null) Action = new FirewallPolicyFilterRuleCollectionAction(); - Action.Type = value; + Action.FirewallPolicyFilterRuleCollectionActionType = value; } } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyFilterRuleCollectionAction.Serialization.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyFilterRuleCollectionAction.Serialization.cs index 2f85321d925c7..b7e1ead82a716 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyFilterRuleCollectionAction.Serialization.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyFilterRuleCollectionAction.Serialization.cs @@ -15,10 +15,10 @@ internal partial class FirewallPolicyFilterRuleCollectionAction : IUtf8JsonSeria void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(FirewallPolicyFilterRuleCollectionActionType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type.Value.ToString()); + writer.WriteStringValue(FirewallPolicyFilterRuleCollectionActionType.Value.ToString()); } writer.WriteEndObject(); } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyFilterRuleCollectionAction.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyFilterRuleCollectionAction.cs index 1c9989d728b03..0a54b9bec924e 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyFilterRuleCollectionAction.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyFilterRuleCollectionAction.cs @@ -16,13 +16,13 @@ public FirewallPolicyFilterRuleCollectionAction() } /// Initializes a new instance of FirewallPolicyFilterRuleCollectionAction. - /// The type of action. - internal FirewallPolicyFilterRuleCollectionAction(FirewallPolicyFilterRuleCollectionActionType? type) + /// The type of action. + internal FirewallPolicyFilterRuleCollectionAction(FirewallPolicyFilterRuleCollectionActionType? firewallPolicyFilterRuleCollectionActionType) { - Type = type; + FirewallPolicyFilterRuleCollectionActionType = firewallPolicyFilterRuleCollectionActionType; } /// The type of action. - public FirewallPolicyFilterRuleCollectionActionType? Type { get; set; } + public FirewallPolicyFilterRuleCollectionActionType? FirewallPolicyFilterRuleCollectionActionType { get; set; } } } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyNatRuleCollection.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyNatRuleCollection.cs index b2dc94426b60d..debf75a404134 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyNatRuleCollection.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyNatRuleCollection.cs @@ -36,14 +36,14 @@ internal FirewallPolicyNatRuleCollection(FirewallPolicyRuleCollectionType ruleCo /// The action type of a Nat rule collection. internal FirewallPolicyNatRuleCollectionAction Action { get; set; } /// The type of action. - public FirewallPolicyNatRuleCollectionActionType? ActionType + public FirewallPolicyNatRuleCollectionActionType? FirewallPolicyNatRuleCollectionActionType { - get => Action is null ? default : Action.Type; + get => Action is null ? default : Action.FirewallPolicyNatRuleCollectionActionType; set { if (Action is null) Action = new FirewallPolicyNatRuleCollectionAction(); - Action.Type = value; + Action.FirewallPolicyNatRuleCollectionActionType = value; } } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyNatRuleCollectionAction.Serialization.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyNatRuleCollectionAction.Serialization.cs index 7365873ceab25..7fd76345dfd7e 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyNatRuleCollectionAction.Serialization.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyNatRuleCollectionAction.Serialization.cs @@ -15,10 +15,10 @@ internal partial class FirewallPolicyNatRuleCollectionAction : IUtf8JsonSerializ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(FirewallPolicyNatRuleCollectionActionType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type.Value.ToString()); + writer.WriteStringValue(FirewallPolicyNatRuleCollectionActionType.Value.ToString()); } writer.WriteEndObject(); } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyNatRuleCollectionAction.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyNatRuleCollectionAction.cs index 1c5de0d4f50bb..7d35c7ff9d163 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyNatRuleCollectionAction.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FirewallPolicyNatRuleCollectionAction.cs @@ -16,13 +16,13 @@ public FirewallPolicyNatRuleCollectionAction() } /// Initializes a new instance of FirewallPolicyNatRuleCollectionAction. - /// The type of action. - internal FirewallPolicyNatRuleCollectionAction(FirewallPolicyNatRuleCollectionActionType? type) + /// The type of action. + internal FirewallPolicyNatRuleCollectionAction(FirewallPolicyNatRuleCollectionActionType? firewallPolicyNatRuleCollectionActionType) { - Type = type; + FirewallPolicyNatRuleCollectionActionType = firewallPolicyNatRuleCollectionActionType; } /// The type of action. - public FirewallPolicyNatRuleCollectionActionType? Type { get; set; } + public FirewallPolicyNatRuleCollectionActionType? FirewallPolicyNatRuleCollectionActionType { get; set; } } } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FlowLogFormatParameters.Serialization.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FlowLogFormatParameters.Serialization.cs index d48c6fce441d6..c36d7ff17e921 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FlowLogFormatParameters.Serialization.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FlowLogFormatParameters.Serialization.cs @@ -15,10 +15,10 @@ public partial class FlowLogFormatParameters : IUtf8JsonSerializable void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(FlowLogFormatType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type.Value.ToString()); + writer.WriteStringValue(FlowLogFormatType.Value.ToString()); } if (Optional.IsDefined(Version)) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FlowLogFormatParameters.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FlowLogFormatParameters.cs index 8c8d0ef7a1670..49db07a455400 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FlowLogFormatParameters.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/FlowLogFormatParameters.cs @@ -16,16 +16,16 @@ public FlowLogFormatParameters() } /// Initializes a new instance of FlowLogFormatParameters. - /// The file type of flow log. + /// The file type of flow log. /// The version (revision) of the flow log. - internal FlowLogFormatParameters(FlowLogFormatType? type, int? version) + internal FlowLogFormatParameters(FlowLogFormatType? flowLogFormatType, int? version) { - Type = type; + FlowLogFormatType = flowLogFormatType; Version = version; } /// The file type of flow log. - public FlowLogFormatType? Type { get; set; } + public FlowLogFormatType? FlowLogFormatType { get; set; } /// The version (revision) of the flow log. public int? Version { get; set; } } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/GatewayLoadBalancerTunnelInterface.Serialization.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/GatewayLoadBalancerTunnelInterface.Serialization.cs index 3eb59f54c56cb..f5006e0bf012f 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/GatewayLoadBalancerTunnelInterface.Serialization.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/GatewayLoadBalancerTunnelInterface.Serialization.cs @@ -30,10 +30,10 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("protocol"); writer.WriteStringValue(Protocol.Value.ToString()); } - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(GatewayLoadBalancerTunnelInterfaceType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type.Value.ToString()); + writer.WriteStringValue(GatewayLoadBalancerTunnelInterfaceType.Value.ToString()); } writer.WriteEndObject(); } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/GatewayLoadBalancerTunnelInterface.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/GatewayLoadBalancerTunnelInterface.cs index 199752283cda8..5eac36988d73f 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/GatewayLoadBalancerTunnelInterface.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/GatewayLoadBalancerTunnelInterface.cs @@ -19,13 +19,13 @@ public GatewayLoadBalancerTunnelInterface() /// Port of gateway load balancer tunnel interface. /// Identifier of gateway load balancer tunnel interface. /// Protocol of gateway load balancer tunnel interface. - /// Traffic type of gateway load balancer tunnel interface. - internal GatewayLoadBalancerTunnelInterface(int? port, int? identifier, GatewayLoadBalancerTunnelProtocol? protocol, GatewayLoadBalancerTunnelInterfaceType? type) + /// Traffic type of gateway load balancer tunnel interface. + internal GatewayLoadBalancerTunnelInterface(int? port, int? identifier, GatewayLoadBalancerTunnelProtocol? protocol, GatewayLoadBalancerTunnelInterfaceType? gatewayLoadBalancerTunnelInterfaceType) { Port = port; Identifier = identifier; Protocol = protocol; - Type = type; + GatewayLoadBalancerTunnelInterfaceType = gatewayLoadBalancerTunnelInterfaceType; } /// Port of gateway load balancer tunnel interface. @@ -35,6 +35,6 @@ internal GatewayLoadBalancerTunnelInterface(int? port, int? identifier, GatewayL /// Protocol of gateway load balancer tunnel interface. public GatewayLoadBalancerTunnelProtocol? Protocol { get; set; } /// Traffic type of gateway load balancer tunnel interface. - public GatewayLoadBalancerTunnelInterfaceType? Type { get; set; } + public GatewayLoadBalancerTunnelInterfaceType? GatewayLoadBalancerTunnelInterfaceType { get; set; } } } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/IPConfigurationProfile.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/IPConfigurationProfile.cs index e7ad43542b02f..0facbbd84f5d5 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/IPConfigurationProfile.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/IPConfigurationProfile.cs @@ -20,14 +20,14 @@ public IPConfigurationProfile() /// Initializes a new instance of IPConfigurationProfile. /// Resource ID. /// The name of the resource. This name can be used to access the resource. - /// Sub Resource type. + /// Sub Resource type. /// A unique read-only string that changes whenever the resource is updated. /// The reference to the subnet resource to create a container network interface ip configuration. /// The provisioning state of the IP configuration profile resource. - internal IPConfigurationProfile(string id, string name, string type, string etag, SubnetData subnet, ProvisioningState? provisioningState) : base(id) + internal IPConfigurationProfile(string id, string name, string resourceType, string etag, SubnetData subnet, ProvisioningState? provisioningState) : base(id) { Name = name; - Type = type; + ResourceType = resourceType; Etag = etag; Subnet = subnet; ProvisioningState = provisioningState; @@ -36,7 +36,7 @@ internal IPConfigurationProfile(string id, string name, string type, string etag /// The name of the resource. This name can be used to access the resource. public string Name { get; set; } /// Sub Resource type. - public string Type { get; } + public string ResourceType { get; } /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// The reference to the subnet resource to create a container network interface ip configuration. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/InboundNatPool.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/InboundNatPool.cs index 8502591037fdd..81e57f26aabfc 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/InboundNatPool.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/InboundNatPool.cs @@ -22,7 +22,7 @@ public InboundNatPool() /// Resource ID. /// The name of the resource that is unique within the set of inbound NAT pools used by the load balancer. This name can be used to access the resource. /// A unique read-only string that changes whenever the resource is updated. - /// Type of the resource. + /// Type of the resource. /// A reference to frontend IP addresses. /// The reference to the transport protocol used by the inbound NAT pool. /// The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534. @@ -32,11 +32,11 @@ public InboundNatPool() /// Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. /// Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. /// The provisioning state of the inbound NAT pool resource. - internal InboundNatPool(string id, string name, string etag, string type, WritableSubResource frontendIPConfiguration, TransportProtocol? protocol, int? frontendPortRangeStart, int? frontendPortRangeEnd, int? backendPort, int? idleTimeoutInMinutes, bool? enableFloatingIP, bool? enableTcpReset, ProvisioningState? provisioningState) : base(id) + internal InboundNatPool(string id, string name, string etag, string resourceType, WritableSubResource frontendIPConfiguration, TransportProtocol? protocol, int? frontendPortRangeStart, int? frontendPortRangeEnd, int? backendPort, int? idleTimeoutInMinutes, bool? enableFloatingIP, bool? enableTcpReset, ProvisioningState? provisioningState) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; FrontendIPConfiguration = frontendIPConfiguration; Protocol = protocol; FrontendPortRangeStart = frontendPortRangeStart; @@ -53,7 +53,7 @@ internal InboundNatPool(string id, string name, string etag, string type, Writab /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Type of the resource. - public string Type { get; } + public string ResourceType { get; } /// A reference to frontend IP addresses. internal WritableSubResource FrontendIPConfiguration { get; set; } /// Gets or sets Id. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/InboundSecurityRule.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/InboundSecurityRule.cs index 70d47ad1b11f9..4e6276d3cac82 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/InboundSecurityRule.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/InboundSecurityRule.cs @@ -23,14 +23,14 @@ public InboundSecurityRule() /// Resource ID. /// Name of security rule collection. /// A unique read-only string that changes whenever the resource is updated. - /// NVA inbound security rule type. + /// NVA inbound security rule type. /// List of allowed rules. /// The provisioning state of the resource. - internal InboundSecurityRule(string id, string name, string etag, string type, IList rules, ProvisioningState? provisioningState) : base(id) + internal InboundSecurityRule(string id, string name, string etag, string resourceType, IList rules, ProvisioningState? provisioningState) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; Rules = rules; ProvisioningState = provisioningState; } @@ -40,7 +40,7 @@ internal InboundSecurityRule(string id, string name, string etag, string type, I /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// NVA inbound security rule type. - public string Type { get; } + public string ResourceType { get; } /// List of allowed rules. public IList Rules { get; } /// The provisioning state of the resource. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/NetworkIntentPolicy.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/NetworkIntentPolicy.cs index 81e5112d4c3d0..be7ad4b90ab9f 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/NetworkIntentPolicy.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/NetworkIntentPolicy.cs @@ -20,11 +20,11 @@ public NetworkIntentPolicy() /// Initializes a new instance of NetworkIntentPolicy. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// A unique read-only string that changes whenever the resource is updated. - internal NetworkIntentPolicy(string id, string name, string type, string location, IDictionary tags, string etag) : base(id, name, type, location, tags) + internal NetworkIntentPolicy(string id, string name, string resourceType, string location, IDictionary tags, string etag) : base(id, name, resourceType, location, tags) { Etag = etag; } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/NetworkInterfaceIPConfigurationData.Serialization.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/NetworkInterfaceIPConfigurationData.Serialization.cs index 8cced96226e03..0e196bb313f8f 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/NetworkInterfaceIPConfigurationData.Serialization.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/NetworkInterfaceIPConfigurationData.Serialization.cs @@ -23,10 +23,10 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("name"); writer.WriteStringValue(Name); } - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(ResourceType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type); + writer.WriteStringValue(ResourceType); } if (Optional.IsDefined(Id)) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/NetworkResourceData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/NetworkResourceData.cs index 2cd7ee0bf607b..2a0283c33c8b9 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/NetworkResourceData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/NetworkResourceData.cs @@ -22,14 +22,14 @@ public NetworkResourceData() /// Initializes a new instance of NetworkResourceData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. - internal NetworkResourceData(string id, string name, string type, string location, IDictionary tags) + internal NetworkResourceData(string id, string name, string resourceType, string location, IDictionary tags) { Id = id; Name = name; - Type = type; + ResourceType = resourceType; Location = location; Tags = tags; } @@ -39,7 +39,7 @@ internal NetworkResourceData(string id, string name, string type, string locatio /// Resource name. public string Name { get; } /// Resource type. - public string Type { get; } + public string ResourceType { get; } /// Resource location. public string Location { get; set; } /// Resource tags. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/PatchRouteFilter.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/PatchRouteFilter.cs index f629c7082a608..62ed25f7ced1d 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/PatchRouteFilter.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/PatchRouteFilter.cs @@ -27,17 +27,17 @@ public PatchRouteFilter() /// Resource ID. /// The name of the resource that is unique within a resource group. This name can be used to access the resource. /// A unique read-only string that changes whenever the resource is updated. - /// Resource type. + /// Resource type. /// Resource tags. /// Collection of RouteFilterRules contained within a route filter. /// A collection of references to express route circuit peerings. /// A collection of references to express route circuit ipv6 peerings. /// The provisioning state of the route filter resource. - internal PatchRouteFilter(string id, string name, string etag, string type, IDictionary tags, IList rules, IReadOnlyList peerings, IReadOnlyList iPv6Peerings, ProvisioningState? provisioningState) : base(id) + internal PatchRouteFilter(string id, string name, string etag, string resourceType, IDictionary tags, IList rules, IReadOnlyList peerings, IReadOnlyList iPv6Peerings, ProvisioningState? provisioningState) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; Tags = tags; Rules = rules; Peerings = peerings; @@ -50,7 +50,7 @@ internal PatchRouteFilter(string id, string name, string etag, string type, IDic /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Resource type. - public string Type { get; } + public string ResourceType { get; } /// Resource tags. public IDictionary Tags { get; } /// Collection of RouteFilterRules contained within a route filter. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/PrivateLinkServiceConnection.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/PrivateLinkServiceConnection.cs index 4a9f3316776f1..17834b8ae14b1 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/PrivateLinkServiceConnection.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/PrivateLinkServiceConnection.cs @@ -22,17 +22,17 @@ public PrivateLinkServiceConnection() /// Initializes a new instance of PrivateLinkServiceConnection. /// Resource ID. /// The name of the resource that is unique within a resource group. This name can be used to access the resource. - /// The resource type. + /// The resource type. /// A unique read-only string that changes whenever the resource is updated. /// The provisioning state of the private link service connection resource. /// The resource id of private link service. /// The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to. /// A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars. /// A collection of read-only information about the state of the connection to the remote resource. - internal PrivateLinkServiceConnection(string id, string name, string type, string etag, ProvisioningState? provisioningState, string privateLinkServiceId, IList groupIds, string requestMessage, PrivateLinkServiceConnectionState privateLinkServiceConnectionState) : base(id) + internal PrivateLinkServiceConnection(string id, string name, string resourceType, string etag, ProvisioningState? provisioningState, string privateLinkServiceId, IList groupIds, string requestMessage, PrivateLinkServiceConnectionState privateLinkServiceConnectionState) : base(id) { Name = name; - Type = type; + ResourceType = resourceType; Etag = etag; ProvisioningState = provisioningState; PrivateLinkServiceId = privateLinkServiceId; @@ -44,7 +44,7 @@ internal PrivateLinkServiceConnection(string id, string name, string type, strin /// The name of the resource that is unique within a resource group. This name can be used to access the resource. public string Name { get; set; } /// The resource type. - public string Type { get; } + public string ResourceType { get; } /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// The provisioning state of the private link service connection resource. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/PrivateLinkServiceIPConfiguration.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/PrivateLinkServiceIPConfiguration.cs index ace2240fc5042..8ac47a102dcc6 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/PrivateLinkServiceIPConfiguration.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/PrivateLinkServiceIPConfiguration.cs @@ -21,18 +21,18 @@ public PrivateLinkServiceIPConfiguration() /// Resource ID. /// The name of private link service ip configuration. /// A unique read-only string that changes whenever the resource is updated. - /// The resource type. + /// The resource type. /// The private IP address of the IP configuration. /// The private IP address allocation method. /// The reference to the subnet resource. /// Whether the ip configuration is primary or not. /// The provisioning state of the private link service IP configuration resource. /// Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4. - internal PrivateLinkServiceIPConfiguration(string id, string name, string etag, string type, string privateIPAddress, IPAllocationMethod? privateIPAllocationMethod, SubnetData subnet, bool? primary, ProvisioningState? provisioningState, IPVersion? privateIPAddressVersion) : base(id) + internal PrivateLinkServiceIPConfiguration(string id, string name, string etag, string resourceType, string privateIPAddress, IPAllocationMethod? privateIPAllocationMethod, SubnetData subnet, bool? primary, ProvisioningState? provisioningState, IPVersion? privateIPAddressVersion) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; PrivateIPAddress = privateIPAddress; PrivateIPAllocationMethod = privateIPAllocationMethod; Subnet = subnet; @@ -46,7 +46,7 @@ internal PrivateLinkServiceIPConfiguration(string id, string name, string etag, /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// The resource type. - public string Type { get; } + public string ResourceType { get; } /// The private IP address of the IP configuration. public string PrivateIPAddress { get; set; } /// The private IP address allocation method. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ResourceNavigationLink.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ResourceNavigationLink.cs index 554815fcc4150..00882cf60c680 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ResourceNavigationLink.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ResourceNavigationLink.cs @@ -19,15 +19,15 @@ public ResourceNavigationLink() /// Resource ID. /// Name of the resource that is unique within a resource group. This name can be used to access the resource. /// A unique read-only string that changes whenever the resource is updated. - /// Resource type. + /// Resource type. /// Resource type of the linked resource. /// Link to the external resource. /// The provisioning state of the resource navigation link resource. - internal ResourceNavigationLink(string id, string name, string etag, string type, string linkedResourceType, string link, ProvisioningState? provisioningState) : base(id) + internal ResourceNavigationLink(string id, string name, string etag, string resourceType, string linkedResourceType, string link, ProvisioningState? provisioningState) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; LinkedResourceType = linkedResourceType; Link = link; ProvisioningState = provisioningState; @@ -38,7 +38,7 @@ internal ResourceNavigationLink(string id, string name, string etag, string type /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Resource type. - public string Type { get; } + public string ResourceType { get; } /// Resource type of the linked resource. public string LinkedResourceType { get; set; } /// Link to the external resource. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/RouteData.Serialization.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/RouteData.Serialization.cs index 72d3d9c74c37d..66290f782ea00 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/RouteData.Serialization.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/RouteData.Serialization.cs @@ -21,10 +21,10 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("name"); writer.WriteStringValue(Name); } - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(ResourceType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type); + writer.WriteStringValue(ResourceType); } if (Optional.IsDefined(Id)) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/SecurityRuleData.Serialization.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/SecurityRuleData.Serialization.cs index a53d5033fdd7e..00475b5bd1d37 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/SecurityRuleData.Serialization.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/SecurityRuleData.Serialization.cs @@ -22,10 +22,10 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("name"); writer.WriteStringValue(Name); } - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(ResourceType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type); + writer.WriteStringValue(ResourceType); } if (Optional.IsDefined(Id)) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ServiceAssociationLink.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ServiceAssociationLink.cs index a8470cb4b33db..269bc24283f13 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ServiceAssociationLink.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ServiceAssociationLink.cs @@ -23,17 +23,17 @@ public ServiceAssociationLink() /// Resource ID. /// Name of the resource that is unique within a resource group. This name can be used to access the resource. /// A unique read-only string that changes whenever the resource is updated. - /// Resource type. + /// Resource type. /// Resource type of the linked resource. /// Link to the external resource. /// The provisioning state of the service association link resource. /// If true, the resource can be deleted. /// A list of locations. - internal ServiceAssociationLink(string id, string name, string etag, string type, string linkedResourceType, string link, ProvisioningState? provisioningState, bool? allowDelete, IList locations) : base(id) + internal ServiceAssociationLink(string id, string name, string etag, string resourceType, string linkedResourceType, string link, ProvisioningState? provisioningState, bool? allowDelete, IList locations) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; LinkedResourceType = linkedResourceType; Link = link; ProvisioningState = provisioningState; @@ -46,7 +46,7 @@ internal ServiceAssociationLink(string id, string name, string etag, string type /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Resource type. - public string Type { get; } + public string ResourceType { get; } /// Resource type of the linked resource. public string LinkedResourceType { get; set; } /// Link to the external resource. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ServiceTagsListResult.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ServiceTagsListResult.cs index f95e71d45068a..e84315843fbea 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ServiceTagsListResult.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/ServiceTagsListResult.cs @@ -23,13 +23,13 @@ internal ServiceTagsListResult() /// Initializes a new instance of ServiceTagsListResult. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The iteration number. /// The name of the cloud. /// The list of service tag information resources. /// The URL to get next page of service tag information resources. - internal ServiceTagsListResult(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string changeNumber, string cloud, IReadOnlyList values, string nextLink) : base(id, name, type, systemData) + internal ServiceTagsListResult(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string changeNumber, string cloud, IReadOnlyList values, string nextLink) : base(id, name, resourceType, systemData) { ChangeNumber = changeNumber; Cloud = cloud; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/SubnetData.Serialization.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/SubnetData.Serialization.cs index ef0e82a72611d..c9abccd7a3c48 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/SubnetData.Serialization.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/SubnetData.Serialization.cs @@ -23,10 +23,10 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("name"); writer.WriteStringValue(Name); } - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(ResourceType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type); + writer.WriteStringValue(ResourceType); } if (Optional.IsDefined(Id)) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/VirtualNetworkGatewayConnectionListEntity.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/VirtualNetworkGatewayConnectionListEntity.cs index 5a8f4205956f2..4d41ff97178a1 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/VirtualNetworkGatewayConnectionListEntity.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/VirtualNetworkGatewayConnectionListEntity.cs @@ -36,7 +36,7 @@ public VirtualNetworkGatewayConnectionListEntity(WritableSubResource virtualNetw /// Initializes a new instance of VirtualNetworkGatewayConnectionListEntity. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// A unique read-only string that changes whenever the resource is updated. @@ -61,7 +61,7 @@ public VirtualNetworkGatewayConnectionListEntity(WritableSubResource virtualNetw /// The resource GUID property of the virtual network gateway connection resource. /// The provisioning state of the virtual network gateway connection resource. /// Bypass ExpressRoute Gateway for data forwarding. - internal VirtualNetworkGatewayConnectionListEntity(string id, string name, string type, string location, IDictionary tags, string etag, string authorizationKey, WritableSubResource virtualNetworkGateway1, WritableSubResource virtualNetworkGateway2, WritableSubResource localNetworkGateway2, VirtualNetworkGatewayConnectionType connectionType, VirtualNetworkGatewayConnectionProtocol? connectionProtocol, int? routingWeight, VirtualNetworkGatewayConnectionMode? connectionMode, string sharedKey, VirtualNetworkGatewayConnectionStatus? connectionStatus, IReadOnlyList tunnelConnectionStatus, long? egressBytesTransferred, long? ingressBytesTransferred, WritableSubResource peer, bool? enableBgp, bool? usePolicyBasedTrafficSelectors, IList iPsecPolicies, IList trafficSelectorPolicies, string resourceGuid, ProvisioningState? provisioningState, bool? expressRouteGatewayBypass) : base(id, name, type, location, tags) + internal VirtualNetworkGatewayConnectionListEntity(string id, string name, string resourceType, string location, IDictionary tags, string etag, string authorizationKey, WritableSubResource virtualNetworkGateway1, WritableSubResource virtualNetworkGateway2, WritableSubResource localNetworkGateway2, VirtualNetworkGatewayConnectionType connectionType, VirtualNetworkGatewayConnectionProtocol? connectionProtocol, int? routingWeight, VirtualNetworkGatewayConnectionMode? connectionMode, string sharedKey, VirtualNetworkGatewayConnectionStatus? connectionStatus, IReadOnlyList tunnelConnectionStatus, long? egressBytesTransferred, long? ingressBytesTransferred, WritableSubResource peer, bool? enableBgp, bool? usePolicyBasedTrafficSelectors, IList iPsecPolicies, IList trafficSelectorPolicies, string resourceGuid, ProvisioningState? provisioningState, bool? expressRouteGatewayBypass) : base(id, name, resourceType, location, tags) { Etag = etag; AuthorizationKey = authorizationKey; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/VirtualNetworkPeeringData.Serialization.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/VirtualNetworkPeeringData.Serialization.cs index d5b44b33d0b7f..c434fb8f9b633 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/VirtualNetworkPeeringData.Serialization.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/VirtualNetworkPeeringData.Serialization.cs @@ -22,10 +22,10 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("name"); writer.WriteStringValue(Name); } - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(ResourceType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type); + writer.WriteStringValue(ResourceType); } if (Optional.IsDefined(Id)) { diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/VirtualWanSecurityProvider.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/VirtualWanSecurityProvider.cs index 37d1a1a2bddd6..66d879e0ad4af 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/VirtualWanSecurityProvider.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/VirtualWanSecurityProvider.cs @@ -18,12 +18,12 @@ internal VirtualWanSecurityProvider() /// Initializes a new instance of VirtualWanSecurityProvider. /// Name of the security provider. /// Url of the security provider. - /// Name of the security provider. - internal VirtualWanSecurityProvider(string name, string url, VirtualWanSecurityProviderType? type) + /// Name of the security provider. + internal VirtualWanSecurityProvider(string name, string url, VirtualWanSecurityProviderType? virtualWanSecurityProviderType) { Name = name; Url = url; - Type = type; + VirtualWanSecurityProviderType = virtualWanSecurityProviderType; } /// Name of the security provider. @@ -31,6 +31,6 @@ internal VirtualWanSecurityProvider(string name, string url, VirtualWanSecurityP /// Url of the security provider. public string Url { get; } /// Name of the security provider. - public VirtualWanSecurityProviderType? Type { get; } + public VirtualWanSecurityProviderType? VirtualWanSecurityProviderType { get; } } } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/Vm.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/Vm.cs index 43be561ae76c1..7bf9e0982332f 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/Vm.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/Models/Vm.cs @@ -20,10 +20,10 @@ public Vm() /// Initializes a new instance of Vm. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. - internal Vm(string id, string name, string type, string location, IDictionary tags) : base(id, name, type, location, tags) + internal Vm(string id, string name, string resourceType, string location, IDictionary tags) : base(id, name, resourceType, location, tags) { } } diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/NatGatewayData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/NatGatewayData.cs index 07af71d6f90f0..1f87bc89290e1 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/NatGatewayData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/NatGatewayData.cs @@ -27,7 +27,7 @@ public NatGatewayData() /// Initializes a new instance of NatGatewayData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// The nat gateway SKU. @@ -39,7 +39,7 @@ public NatGatewayData() /// An array of references to the subnets using this nat gateway resource. /// The resource GUID property of the NAT gateway resource. /// The provisioning state of the NAT gateway resource. - internal NatGatewayData(string id, string name, string type, string location, IDictionary tags, NatGatewaySku sku, IList zones, string etag, int? idleTimeoutInMinutes, IList publicIPAddresses, IList publicIPPrefixes, IReadOnlyList subnets, string resourceGuid, ProvisioningState? provisioningState) : base(id, name, type, location, tags) + internal NatGatewayData(string id, string name, string resourceType, string location, IDictionary tags, NatGatewaySku sku, IList zones, string etag, int? idleTimeoutInMinutes, IList publicIPAddresses, IList publicIPPrefixes, IReadOnlyList subnets, string resourceGuid, ProvisioningState? provisioningState) : base(id, name, resourceType, location, tags) { Sku = sku; Zones = zones; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfaceData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfaceData.cs index 59cf5e3a0291c..6d23a3b576582 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfaceData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfaceData.cs @@ -26,7 +26,7 @@ public NetworkInterfaceData() /// Initializes a new instance of NetworkInterfaceData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// The extended location of the network interface. @@ -49,7 +49,7 @@ public NetworkInterfaceData() /// Type of Network Interface resource. /// Privatelinkservice of the network interface resource. /// Migration phase of Network Interface resource. - internal NetworkInterfaceData(string id, string name, string type, string location, IDictionary tags, Models.ExtendedLocation extendedLocation, string etag, WritableSubResource virtualMachine, NetworkSecurityGroupData networkSecurityGroup, PrivateEndpointData privateEndpoint, IList ipConfigurations, IReadOnlyList tapConfigurations, NetworkInterfaceDnsSettings dnsSettings, string macAddress, bool? primary, bool? enableAcceleratedNetworking, bool? enableIPForwarding, IReadOnlyList hostedWorkloads, WritableSubResource dscpConfiguration, string resourceGuid, ProvisioningState? provisioningState, string workloadType, NetworkInterfaceNicType? nicType, PrivateLinkServiceData privateLinkService, NetworkInterfaceMigrationPhase? migrationPhase) : base(id, name, type, location, tags) + internal NetworkInterfaceData(string id, string name, string resourceType, string location, IDictionary tags, Models.ExtendedLocation extendedLocation, string etag, WritableSubResource virtualMachine, NetworkSecurityGroupData networkSecurityGroup, PrivateEndpointData privateEndpoint, IList ipConfigurations, IReadOnlyList tapConfigurations, NetworkInterfaceDnsSettings dnsSettings, string macAddress, bool? primary, bool? enableAcceleratedNetworking, bool? enableIPForwarding, IReadOnlyList hostedWorkloads, WritableSubResource dscpConfiguration, string resourceGuid, ProvisioningState? provisioningState, string workloadType, NetworkInterfaceNicType? nicType, PrivateLinkServiceData privateLinkService, NetworkInterfaceMigrationPhase? migrationPhase) : base(id, name, resourceType, location, tags) { ExtendedLocation = extendedLocation; Etag = etag; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfaceIPConfigurationData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfaceIPConfigurationData.cs index fd522e319767d..950d827c2ef61 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfaceIPConfigurationData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfaceIPConfigurationData.cs @@ -29,7 +29,7 @@ public NetworkInterfaceIPConfigurationData() /// Resource ID. /// The name of the resource that is unique within a resource group. This name can be used to access the resource. /// A unique read-only string that changes whenever the resource is updated. - /// Resource type. + /// Resource type. /// The reference to gateway load balancer frontend IP. /// The reference to Virtual Network Taps. /// The reference to ApplicationGatewayBackendAddressPool resource. @@ -44,11 +44,11 @@ public NetworkInterfaceIPConfigurationData() /// Application security groups in which the IP configuration is included. /// The provisioning state of the network interface IP configuration. /// PrivateLinkConnection properties for the network interface. - internal NetworkInterfaceIPConfigurationData(string id, string name, string etag, string type, WritableSubResource gatewayLoadBalancer, IList virtualNetworkTaps, IList applicationGatewayBackendAddressPools, IList loadBalancerBackendAddressPools, IList loadBalancerInboundNatRules, string privateIPAddress, IPAllocationMethod? privateIPAllocationMethod, IPVersion? privateIPAddressVersion, SubnetData subnet, bool? primary, PublicIPAddressData publicIPAddress, IList applicationSecurityGroups, ProvisioningState? provisioningState, NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties privateLinkConnectionProperties) : base(id) + internal NetworkInterfaceIPConfigurationData(string id, string name, string etag, string resourceType, WritableSubResource gatewayLoadBalancer, IList virtualNetworkTaps, IList applicationGatewayBackendAddressPools, IList loadBalancerBackendAddressPools, IList loadBalancerInboundNatRules, string privateIPAddress, IPAllocationMethod? privateIPAllocationMethod, IPVersion? privateIPAddressVersion, SubnetData subnet, bool? primary, PublicIPAddressData publicIPAddress, IList applicationSecurityGroups, ProvisioningState? provisioningState, NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties privateLinkConnectionProperties) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; GatewayLoadBalancer = gatewayLoadBalancer; VirtualNetworkTaps = virtualNetworkTaps; ApplicationGatewayBackendAddressPools = applicationGatewayBackendAddressPools; @@ -70,7 +70,7 @@ internal NetworkInterfaceIPConfigurationData(string id, string name, string etag /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Resource type. - public string Type { get; set; } + public string ResourceType { get; set; } /// The reference to gateway load balancer frontend IP. internal WritableSubResource GatewayLoadBalancer { get; set; } /// Gets or sets Id. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfaceTapConfigurationData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfaceTapConfigurationData.cs index 3e8e45b93b72c..27fa391f027b8 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfaceTapConfigurationData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkInterfaceTapConfigurationData.cs @@ -21,14 +21,14 @@ public NetworkInterfaceTapConfigurationData() /// Resource ID. /// The name of the resource that is unique within a resource group. This name can be used to access the resource. /// A unique read-only string that changes whenever the resource is updated. - /// Sub Resource type. + /// Sub Resource type. /// The reference to the Virtual Network Tap resource. /// The provisioning state of the network interface tap configuration resource. - internal NetworkInterfaceTapConfigurationData(string id, string name, string etag, string type, VirtualNetworkTapData virtualNetworkTap, ProvisioningState? provisioningState) : base(id) + internal NetworkInterfaceTapConfigurationData(string id, string name, string etag, string resourceType, VirtualNetworkTapData virtualNetworkTap, ProvisioningState? provisioningState) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; VirtualNetworkTap = virtualNetworkTap; ProvisioningState = provisioningState; } @@ -38,7 +38,7 @@ internal NetworkInterfaceTapConfigurationData(string id, string name, string eta /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Sub Resource type. - public string Type { get; } + public string ResourceType { get; } /// The reference to the Virtual Network Tap resource. public VirtualNetworkTapData VirtualNetworkTap { get; set; } /// The provisioning state of the network interface tap configuration resource. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkProfileData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkProfileData.cs index 51475679fd0bd..839498f42fbc1 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkProfileData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkProfileData.cs @@ -24,7 +24,7 @@ public NetworkProfileData() /// Initializes a new instance of NetworkProfileData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// A unique read-only string that changes whenever the resource is updated. @@ -32,7 +32,7 @@ public NetworkProfileData() /// List of chid container network interface configurations. /// The resource GUID property of the network profile resource. /// The provisioning state of the network profile resource. - internal NetworkProfileData(string id, string name, string type, string location, IDictionary tags, string etag, IReadOnlyList containerNetworkInterfaces, IList containerNetworkInterfaceConfigurations, string resourceGuid, ProvisioningState? provisioningState) : base(id, name, type, location, tags) + internal NetworkProfileData(string id, string name, string resourceType, string location, IDictionary tags, string etag, IReadOnlyList containerNetworkInterfaces, IList containerNetworkInterfaceConfigurations, string resourceGuid, ProvisioningState? provisioningState) : base(id, name, resourceType, location, tags) { Etag = etag; ContainerNetworkInterfaces = containerNetworkInterfaces; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkSecurityGroupData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkSecurityGroupData.cs index bdbf51649002e..0441013af0a0f 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkSecurityGroupData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkSecurityGroupData.cs @@ -27,7 +27,7 @@ public NetworkSecurityGroupData() /// Initializes a new instance of NetworkSecurityGroupData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// A unique read-only string that changes whenever the resource is updated. @@ -38,7 +38,7 @@ public NetworkSecurityGroupData() /// A collection of references to flow log resources. /// The resource GUID property of the network security group resource. /// The provisioning state of the network security group resource. - internal NetworkSecurityGroupData(string id, string name, string type, string location, IDictionary tags, string etag, IList securityRules, IReadOnlyList defaultSecurityRules, IReadOnlyList networkInterfaces, IReadOnlyList subnets, IReadOnlyList flowLogs, string resourceGuid, ProvisioningState? provisioningState) : base(id, name, type, location, tags) + internal NetworkSecurityGroupData(string id, string name, string resourceType, string location, IDictionary tags, string etag, IList securityRules, IReadOnlyList defaultSecurityRules, IReadOnlyList networkInterfaces, IReadOnlyList subnets, IReadOnlyList flowLogs, string resourceGuid, ProvisioningState? provisioningState) : base(id, name, resourceType, location, tags) { Etag = etag; SecurityRules = securityRules; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkVirtualApplianceData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkVirtualApplianceData.cs index cf598b2a08f59..427acd8f7eeda 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkVirtualApplianceData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkVirtualApplianceData.cs @@ -29,7 +29,7 @@ public NetworkVirtualApplianceData() /// Initializes a new instance of NetworkVirtualApplianceData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// The service principal that has read access to cloud-init and config blob. @@ -45,7 +45,7 @@ public NetworkVirtualApplianceData() /// List of references to VirtualApplianceSite. /// List of references to InboundSecurityRules. /// The provisioning state of the resource. - internal NetworkVirtualApplianceData(string id, string name, string type, string location, IDictionary tags, ManagedServiceIdentity identity, string etag, VirtualApplianceSkuProperties nvaSku, string addressPrefix, IList bootStrapConfigurationBlobs, WritableSubResource virtualHub, IList cloudInitConfigurationBlobs, string cloudInitConfiguration, long? virtualApplianceAsn, IReadOnlyList virtualApplianceNics, IReadOnlyList virtualApplianceSites, IReadOnlyList inboundSecurityRules, ProvisioningState? provisioningState) : base(id, name, type, location, tags) + internal NetworkVirtualApplianceData(string id, string name, string resourceType, string location, IDictionary tags, ManagedServiceIdentity identity, string etag, VirtualApplianceSkuProperties nvaSku, string addressPrefix, IList bootStrapConfigurationBlobs, WritableSubResource virtualHub, IList cloudInitConfigurationBlobs, string cloudInitConfiguration, long? virtualApplianceAsn, IReadOnlyList virtualApplianceNics, IReadOnlyList virtualApplianceSites, IReadOnlyList inboundSecurityRules, ProvisioningState? provisioningState) : base(id, name, resourceType, location, tags) { Identity = identity; Etag = etag; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkVirtualApplianceSkuData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkVirtualApplianceSkuData.cs index cb75cd15d4916..41f776c36f1c7 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkVirtualApplianceSkuData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkVirtualApplianceSkuData.cs @@ -24,14 +24,14 @@ public NetworkVirtualApplianceSkuData() /// Initializes a new instance of NetworkVirtualApplianceSkuData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// A unique read-only string that changes whenever the resource is updated. /// Network Virtual Appliance Sku vendor. /// Available Network Virtual Appliance versions. /// The list of scale units available. - internal NetworkVirtualApplianceSkuData(string id, string name, string type, string location, IDictionary tags, string etag, string vendor, IReadOnlyList availableVersions, IList availableScaleUnits) : base(id, name, type, location, tags) + internal NetworkVirtualApplianceSkuData(string id, string name, string resourceType, string location, IDictionary tags, string etag, string vendor, IReadOnlyList availableVersions, IList availableScaleUnits) : base(id, name, resourceType, location, tags) { Etag = etag; Vendor = vendor; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkWatcherData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkWatcherData.cs index f2aecf71193cc..a635b7a37b1c1 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkWatcherData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/NetworkWatcherData.cs @@ -21,12 +21,12 @@ public NetworkWatcherData() /// Initializes a new instance of NetworkWatcherData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// A unique read-only string that changes whenever the resource is updated. /// The provisioning state of the network watcher resource. - internal NetworkWatcherData(string id, string name, string type, string location, IDictionary tags, string etag, ProvisioningState? provisioningState) : base(id, name, type, location, tags) + internal NetworkWatcherData(string id, string name, string resourceType, string location, IDictionary tags, string etag, ProvisioningState? provisioningState) : base(id, name, resourceType, location, tags) { Etag = etag; ProvisioningState = provisioningState; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/OutboundRuleData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/OutboundRuleData.cs index 78a5ea336f29b..c6933a172a0c2 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/OutboundRuleData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/OutboundRuleData.cs @@ -25,7 +25,7 @@ public OutboundRuleData() /// Resource ID. /// The name of the resource that is unique within the set of outbound rules used by the load balancer. This name can be used to access the resource. /// A unique read-only string that changes whenever the resource is updated. - /// Type of the resource. + /// Type of the resource. /// The number of outbound ports to be used for NAT. /// The Frontend IP addresses of the load balancer. /// A reference to a pool of DIPs. Outbound traffic is randomly load balanced across IPs in the backend IPs. @@ -33,11 +33,11 @@ public OutboundRuleData() /// The protocol for the outbound rule in load balancer. /// Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. /// The timeout for the TCP idle connection. - internal OutboundRuleData(string id, string name, string etag, string type, int? allocatedOutboundPorts, IList frontendIPConfigurations, WritableSubResource backendAddressPool, ProvisioningState? provisioningState, LoadBalancerOutboundRuleProtocol? protocol, bool? enableTcpReset, int? idleTimeoutInMinutes) : base(id) + internal OutboundRuleData(string id, string name, string etag, string resourceType, int? allocatedOutboundPorts, IList frontendIPConfigurations, WritableSubResource backendAddressPool, ProvisioningState? provisioningState, LoadBalancerOutboundRuleProtocol? protocol, bool? enableTcpReset, int? idleTimeoutInMinutes) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; AllocatedOutboundPorts = allocatedOutboundPorts; FrontendIPConfigurations = frontendIPConfigurations; BackendAddressPool = backendAddressPool; @@ -52,7 +52,7 @@ internal OutboundRuleData(string id, string name, string etag, string type, int? /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Type of the resource. - public string Type { get; } + public string ResourceType { get; } /// The number of outbound ports to be used for NAT. public int? AllocatedOutboundPorts { get; set; } /// The Frontend IP addresses of the load balancer. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/P2SVpnGatewayData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/P2SVpnGatewayData.cs index d4b49a2127abd..b8667b923222a 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/P2SVpnGatewayData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/P2SVpnGatewayData.cs @@ -25,7 +25,7 @@ public P2SVpnGatewayData() /// Initializes a new instance of P2SVpnGatewayData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// A unique read-only string that changes whenever the resource is updated. @@ -37,7 +37,7 @@ public P2SVpnGatewayData() /// All P2S VPN clients' connection health status. /// List of all customer specified DNS servers IP addresses. /// Enable Routing Preference property for the Public IP Interface of the P2SVpnGateway. - internal P2SVpnGatewayData(string id, string name, string type, string location, IDictionary tags, string etag, WritableSubResource virtualHub, IList p2SConnectionConfigurations, ProvisioningState? provisioningState, int? vpnGatewayScaleUnit, WritableSubResource vpnServerConfiguration, VpnClientConnectionHealth vpnClientConnectionHealth, IList customDnsServers, bool? isRoutingPreferenceInternet) : base(id, name, type, location, tags) + internal P2SVpnGatewayData(string id, string name, string resourceType, string location, IDictionary tags, string etag, WritableSubResource virtualHub, IList p2SConnectionConfigurations, ProvisioningState? provisioningState, int? vpnGatewayScaleUnit, WritableSubResource vpnServerConfiguration, VpnClientConnectionHealth vpnClientConnectionHealth, IList customDnsServers, bool? isRoutingPreferenceInternet) : base(id, name, resourceType, location, tags) { Etag = etag; VirtualHub = virtualHub; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/PeerExpressRouteCircuitConnectionData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/PeerExpressRouteCircuitConnectionData.cs index 8904db9801417..684507e26367f 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/PeerExpressRouteCircuitConnectionData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/PeerExpressRouteCircuitConnectionData.cs @@ -23,7 +23,7 @@ public PeerExpressRouteCircuitConnectionData() /// Resource ID. /// The name of the resource that is unique within a resource group. This name can be used to access the resource. /// A unique read-only string that changes whenever the resource is updated. - /// Type of the resource. + /// Type of the resource. /// Reference to Express Route Circuit Private Peering Resource of the circuit. /// Reference to Express Route Circuit Private Peering Resource of the peered circuit. /// /29 IP address space to carve out Customer addresses for tunnels. @@ -31,11 +31,11 @@ public PeerExpressRouteCircuitConnectionData() /// The name of the express route circuit connection resource. /// The resource guid of the authorization used for the express route circuit connection. /// The provisioning state of the peer express route circuit connection resource. - internal PeerExpressRouteCircuitConnectionData(string id, string name, string etag, string type, WritableSubResource expressRouteCircuitPeering, WritableSubResource peerExpressRouteCircuitPeering, string addressPrefix, CircuitConnectionStatus? circuitConnectionStatus, string connectionName, string authResourceGuid, ProvisioningState? provisioningState) : base(id) + internal PeerExpressRouteCircuitConnectionData(string id, string name, string etag, string resourceType, WritableSubResource expressRouteCircuitPeering, WritableSubResource peerExpressRouteCircuitPeering, string addressPrefix, CircuitConnectionStatus? circuitConnectionStatus, string connectionName, string authResourceGuid, ProvisioningState? provisioningState) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; ExpressRouteCircuitPeering = expressRouteCircuitPeering; PeerExpressRouteCircuitPeering = peerExpressRouteCircuitPeering; AddressPrefix = addressPrefix; @@ -50,7 +50,7 @@ internal PeerExpressRouteCircuitConnectionData(string id, string name, string et /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Type of the resource. - public string Type { get; } + public string ResourceType { get; } /// Reference to Express Route Circuit Private Peering Resource of the circuit. internal WritableSubResource ExpressRouteCircuitPeering { get; set; } /// Gets or sets Id. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/PrivateEndpointConnectionData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/PrivateEndpointConnectionData.cs index 80c9a1763ac4b..00c0246609959 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/PrivateEndpointConnectionData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/PrivateEndpointConnectionData.cs @@ -20,16 +20,16 @@ public PrivateEndpointConnectionData() /// Initializes a new instance of PrivateEndpointConnectionData. /// Resource ID. /// The name of the resource that is unique within a resource group. This name can be used to access the resource. - /// The resource type. + /// The resource type. /// A unique read-only string that changes whenever the resource is updated. /// The resource of private end point. /// A collection of information about the state of the connection between service consumer and provider. /// The provisioning state of the private endpoint connection resource. /// The consumer link id. - internal PrivateEndpointConnectionData(string id, string name, string type, string etag, PrivateEndpointData privateEndpoint, PrivateLinkServiceConnectionState privateLinkServiceConnectionState, ProvisioningState? provisioningState, string linkIdentifier) : base(id) + internal PrivateEndpointConnectionData(string id, string name, string resourceType, string etag, PrivateEndpointData privateEndpoint, PrivateLinkServiceConnectionState privateLinkServiceConnectionState, ProvisioningState? provisioningState, string linkIdentifier) : base(id) { Name = name; - Type = type; + ResourceType = resourceType; Etag = etag; PrivateEndpoint = privateEndpoint; PrivateLinkServiceConnectionState = privateLinkServiceConnectionState; @@ -40,7 +40,7 @@ internal PrivateEndpointConnectionData(string id, string name, string type, stri /// The name of the resource that is unique within a resource group. This name can be used to access the resource. public string Name { get; set; } /// The resource type. - public string Type { get; } + public string ResourceType { get; } /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// The resource of private end point. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/PrivateEndpointData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/PrivateEndpointData.cs index 8d6dad45ee4ec..30802a98ac5ef 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/PrivateEndpointData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/PrivateEndpointData.cs @@ -26,7 +26,7 @@ public PrivateEndpointData() /// Initializes a new instance of PrivateEndpointData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// The extended location of the load balancer. @@ -37,7 +37,7 @@ public PrivateEndpointData() /// A grouping of information about the connection to the remote resource. /// A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource. /// An array of custom dns configurations. - internal PrivateEndpointData(string id, string name, string type, string location, IDictionary tags, ExtendedLocation extendedLocation, string etag, SubnetData subnet, IReadOnlyList networkInterfaces, ProvisioningState? provisioningState, IList privateLinkServiceConnections, IList manualPrivateLinkServiceConnections, IList customDnsConfigs) : base(id, name, type, location, tags) + internal PrivateEndpointData(string id, string name, string resourceType, string location, IDictionary tags, ExtendedLocation extendedLocation, string etag, SubnetData subnet, IReadOnlyList networkInterfaces, ProvisioningState? provisioningState, IList privateLinkServiceConnections, IList manualPrivateLinkServiceConnections, IList customDnsConfigs) : base(id, name, resourceType, location, tags) { ExtendedLocation = extendedLocation; Etag = etag; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/PrivateLinkServiceData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/PrivateLinkServiceData.cs index 86949c7c85413..2758f5b661ec8 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/PrivateLinkServiceData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/PrivateLinkServiceData.cs @@ -27,7 +27,7 @@ public PrivateLinkServiceData() /// Initializes a new instance of PrivateLinkServiceData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// The extended location of the load balancer. @@ -42,7 +42,7 @@ public PrivateLinkServiceData() /// The list of Fqdn. /// The alias of the private link service. /// Whether the private link service is enabled for proxy protocol or not. - internal PrivateLinkServiceData(string id, string name, string type, string location, IDictionary tags, ExtendedLocation extendedLocation, string etag, IList loadBalancerFrontendIPConfigurations, IList ipConfigurations, IReadOnlyList networkInterfaces, ProvisioningState? provisioningState, IReadOnlyList privateEndpointConnections, PrivateLinkServicePropertiesVisibility visibility, PrivateLinkServicePropertiesAutoApproval autoApproval, IList fqdns, string @alias, bool? enableProxyProtocol) : base(id, name, type, location, tags) + internal PrivateLinkServiceData(string id, string name, string resourceType, string location, IDictionary tags, ExtendedLocation extendedLocation, string etag, IList loadBalancerFrontendIPConfigurations, IList ipConfigurations, IReadOnlyList networkInterfaces, ProvisioningState? provisioningState, IReadOnlyList privateEndpointConnections, PrivateLinkServicePropertiesVisibility visibility, PrivateLinkServicePropertiesAutoApproval autoApproval, IList fqdns, string @alias, bool? enableProxyProtocol) : base(id, name, resourceType, location, tags) { ExtendedLocation = extendedLocation; Etag = etag; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ProbeData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ProbeData.cs index bcffe2f875a2a..5b767c279d97a 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ProbeData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ProbeData.cs @@ -25,7 +25,7 @@ public ProbeData() /// Resource ID. /// The name of the resource that is unique within the set of probes used by the load balancer. This name can be used to access the resource. /// A unique read-only string that changes whenever the resource is updated. - /// Type of the resource. + /// Type of the resource. /// The load balancer rules that use this probe. /// The protocol of the end point. If 'Tcp' is specified, a received ACK is required for the probe to be successful. If 'Http' or 'Https' is specified, a 200 OK response from the specifies URI is required for the probe to be successful. /// The port for communicating the probe. Possible values range from 1 to 65535, inclusive. @@ -33,11 +33,11 @@ public ProbeData() /// The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure. /// The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value. /// The provisioning state of the probe resource. - internal ProbeData(string id, string name, string etag, string type, IReadOnlyList loadBalancingRules, ProbeProtocol? protocol, int? port, int? intervalInSeconds, int? numberOfProbes, string requestPath, ProvisioningState? provisioningState) : base(id) + internal ProbeData(string id, string name, string etag, string resourceType, IReadOnlyList loadBalancingRules, ProbeProtocol? protocol, int? port, int? intervalInSeconds, int? numberOfProbes, string requestPath, ProvisioningState? provisioningState) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; LoadBalancingRules = loadBalancingRules; Protocol = protocol; Port = port; @@ -52,7 +52,7 @@ internal ProbeData(string id, string name, string etag, string type, IReadOnlyLi /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Type of the resource. - public string Type { get; } + public string ResourceType { get; } /// The load balancer rules that use this probe. public IReadOnlyList LoadBalancingRules { get; } /// The protocol of the end point. If 'Tcp' is specified, a received ACK is required for the probe to be successful. If 'Http' or 'Https' is specified, a 200 OK response from the specifies URI is required for the probe to be successful. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/PublicIPAddressData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/PublicIPAddressData.cs index 50d5da45ab6d7..d8b0d41ff958a 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/PublicIPAddressData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/PublicIPAddressData.cs @@ -25,7 +25,7 @@ public PublicIPAddressData() /// Initializes a new instance of PublicIPAddressData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// The extended location of the public ip address. @@ -48,7 +48,7 @@ public PublicIPAddressData() /// Migration phase of Public IP Address. /// The linked public IP address of the public IP address resource. /// Specify what happens to the public IP address when the VM using it is deleted. - internal PublicIPAddressData(string id, string name, string type, string location, IDictionary tags, Models.ExtendedLocation extendedLocation, PublicIPAddressSku sku, string etag, IList zones, IPAllocationMethod? publicIPAllocationMethod, IPVersion? publicIPAddressVersion, IPConfiguration ipConfiguration, PublicIPAddressDnsSettings dnsSettings, DdosSettings ddosSettings, IList ipTags, string ipAddress, WritableSubResource publicIPPrefix, int? idleTimeoutInMinutes, string resourceGuid, ProvisioningState? provisioningState, PublicIPAddressData servicePublicIPAddress, NatGatewayData natGateway, PublicIPAddressMigrationPhase? migrationPhase, PublicIPAddressData linkedPublicIPAddress, DeleteOptions? deleteOption) : base(id, name, type, location, tags) + internal PublicIPAddressData(string id, string name, string resourceType, string location, IDictionary tags, Models.ExtendedLocation extendedLocation, PublicIPAddressSku sku, string etag, IList zones, IPAllocationMethod? publicIPAllocationMethod, IPVersion? publicIPAddressVersion, IPConfiguration ipConfiguration, PublicIPAddressDnsSettings dnsSettings, DdosSettings ddosSettings, IList ipTags, string ipAddress, WritableSubResource publicIPPrefix, int? idleTimeoutInMinutes, string resourceGuid, ProvisioningState? provisioningState, PublicIPAddressData servicePublicIPAddress, NatGatewayData natGateway, PublicIPAddressMigrationPhase? migrationPhase, PublicIPAddressData linkedPublicIPAddress, DeleteOptions? deleteOption) : base(id, name, resourceType, location, tags) { ExtendedLocation = extendedLocation; Sku = sku; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/PublicIPPrefixData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/PublicIPPrefixData.cs index 447b220d2f8be..1a9bb165e228c 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/PublicIPPrefixData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/PublicIPPrefixData.cs @@ -26,7 +26,7 @@ public PublicIPPrefixData() /// Initializes a new instance of PublicIPPrefixData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// The extended location of the public ip address. @@ -43,7 +43,7 @@ public PublicIPPrefixData() /// The resource GUID property of the public IP prefix resource. /// The provisioning state of the public IP prefix resource. /// NatGateway of Public IP Prefix. - internal PublicIPPrefixData(string id, string name, string type, string location, IDictionary tags, Models.ExtendedLocation extendedLocation, PublicIPPrefixSku sku, string etag, IList zones, IPVersion? publicIPAddressVersion, IList ipTags, int? prefixLength, string ipPrefix, IReadOnlyList publicIPAddresses, WritableSubResource loadBalancerFrontendIPConfiguration, WritableSubResource customIPPrefix, string resourceGuid, ProvisioningState? provisioningState, NatGatewayData natGateway) : base(id, name, type, location, tags) + internal PublicIPPrefixData(string id, string name, string resourceType, string location, IDictionary tags, Models.ExtendedLocation extendedLocation, PublicIPPrefixSku sku, string etag, IList zones, IPVersion? publicIPAddressVersion, IList ipTags, int? prefixLength, string ipPrefix, IReadOnlyList publicIPAddresses, WritableSubResource loadBalancerFrontendIPConfiguration, WritableSubResource customIPPrefix, string resourceGuid, ProvisioningState? provisioningState, NatGatewayData natGateway) : base(id, name, resourceType, location, tags) { ExtendedLocation = extendedLocation; Sku = sku; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/RouteData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/RouteData.cs index 3cac052219b4e..9bc6d1ec920a7 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/RouteData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/RouteData.cs @@ -21,17 +21,17 @@ public RouteData() /// Resource ID. /// The name of the resource that is unique within a resource group. This name can be used to access the resource. /// A unique read-only string that changes whenever the resource is updated. - /// The type of the resource. + /// The type of the resource. /// The destination CIDR to which the route applies. /// The type of Azure hop the packet should be sent to. /// The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. /// The provisioning state of the route resource. /// A value indicating whether this route overrides overlapping BGP routes regardless of LPM. - internal RouteData(string id, string name, string etag, string type, string addressPrefix, RouteNextHopType? nextHopType, string nextHopIPAddress, ProvisioningState? provisioningState, bool? hasBgpOverride) : base(id) + internal RouteData(string id, string name, string etag, string resourceType, string addressPrefix, RouteNextHopType? nextHopType, string nextHopIPAddress, ProvisioningState? provisioningState, bool? hasBgpOverride) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; AddressPrefix = addressPrefix; NextHopType = nextHopType; NextHopIPAddress = nextHopIPAddress; @@ -44,7 +44,7 @@ internal RouteData(string id, string name, string etag, string type, string addr /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// The type of the resource. - public string Type { get; set; } + public string ResourceType { get; set; } /// The destination CIDR to which the route applies. public string AddressPrefix { get; set; } /// The type of Azure hop the packet should be sent to. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/RouteFilterData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/RouteFilterData.cs index 3ccbaedb8e343..4a60251ce8ef1 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/RouteFilterData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/RouteFilterData.cs @@ -25,7 +25,7 @@ public RouteFilterData() /// Initializes a new instance of RouteFilterData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// A unique read-only string that changes whenever the resource is updated. @@ -33,7 +33,7 @@ public RouteFilterData() /// A collection of references to express route circuit peerings. /// A collection of references to express route circuit ipv6 peerings. /// The provisioning state of the route filter resource. - internal RouteFilterData(string id, string name, string type, string location, IDictionary tags, string etag, IList rules, IReadOnlyList peerings, IReadOnlyList iPv6Peerings, ProvisioningState? provisioningState) : base(id, name, type, location, tags) + internal RouteFilterData(string id, string name, string resourceType, string location, IDictionary tags, string etag, IList rules, IReadOnlyList peerings, IReadOnlyList iPv6Peerings, ProvisioningState? provisioningState) : base(id, name, resourceType, location, tags) { Etag = etag; Rules = rules; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/RouteTableData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/RouteTableData.cs index 452241cf314ef..61af6ddc616d4 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/RouteTableData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/RouteTableData.cs @@ -24,7 +24,7 @@ public RouteTableData() /// Initializes a new instance of RouteTableData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// A unique read-only string that changes whenever the resource is updated. @@ -33,7 +33,7 @@ public RouteTableData() /// Whether to disable the routes learned by BGP on that route table. True means disable. /// The provisioning state of the route table resource. /// The resource GUID property of the route table. - internal RouteTableData(string id, string name, string type, string location, IDictionary tags, string etag, IList routes, IReadOnlyList subnets, bool? disableBgpRoutePropagation, ProvisioningState? provisioningState, string resourceGuid) : base(id, name, type, location, tags) + internal RouteTableData(string id, string name, string resourceType, string location, IDictionary tags, string etag, IList routes, IReadOnlyList subnets, bool? disableBgpRoutePropagation, ProvisioningState? provisioningState, string resourceGuid) : base(id, name, resourceType, location, tags) { Etag = etag; Routes = routes; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/SecurityPartnerProviderData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/SecurityPartnerProviderData.cs index 4ccb905447ecb..aab5109cf9674 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/SecurityPartnerProviderData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/SecurityPartnerProviderData.cs @@ -23,7 +23,7 @@ public SecurityPartnerProviderData() /// Initializes a new instance of SecurityPartnerProviderData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// A unique read-only string that changes whenever the resource is updated. @@ -31,7 +31,7 @@ public SecurityPartnerProviderData() /// The security provider name. /// The connection status with the Security Partner Provider. /// The virtualHub to which the Security Partner Provider belongs. - internal SecurityPartnerProviderData(string id, string name, string type, string location, IDictionary tags, string etag, ProvisioningState? provisioningState, SecurityProviderName? securityProviderName, SecurityPartnerProviderConnectionStatus? connectionStatus, WritableSubResource virtualHub) : base(id, name, type, location, tags) + internal SecurityPartnerProviderData(string id, string name, string resourceType, string location, IDictionary tags, string etag, ProvisioningState? provisioningState, SecurityProviderName? securityProviderName, SecurityPartnerProviderConnectionStatus? connectionStatus, WritableSubResource virtualHub) : base(id, name, resourceType, location, tags) { Etag = etag; ProvisioningState = provisioningState; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/SecurityRuleData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/SecurityRuleData.cs index 717003888ba6e..113ecd9e631b0 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/SecurityRuleData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/SecurityRuleData.cs @@ -29,7 +29,7 @@ public SecurityRuleData() /// Resource ID. /// The name of the resource that is unique within a resource group. This name can be used to access the resource. /// A unique read-only string that changes whenever the resource is updated. - /// The type of the resource. + /// The type of the resource. /// A description for this rule. Restricted to 140 chars. /// Network protocol this rule applies to. /// The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports. @@ -46,11 +46,11 @@ public SecurityRuleData() /// The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule. /// The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic. /// The provisioning state of the security rule resource. - internal SecurityRuleData(string id, string name, string etag, string type, string description, SecurityRuleProtocol? protocol, string sourcePortRange, string destinationPortRange, string sourceAddressPrefix, IList sourceAddressPrefixes, IList sourceApplicationSecurityGroups, string destinationAddressPrefix, IList destinationAddressPrefixes, IList destinationApplicationSecurityGroups, IList sourcePortRanges, IList destinationPortRanges, SecurityRuleAccess? access, int? priority, SecurityRuleDirection? direction, ProvisioningState? provisioningState) : base(id) + internal SecurityRuleData(string id, string name, string etag, string resourceType, string description, SecurityRuleProtocol? protocol, string sourcePortRange, string destinationPortRange, string sourceAddressPrefix, IList sourceAddressPrefixes, IList sourceApplicationSecurityGroups, string destinationAddressPrefix, IList destinationAddressPrefixes, IList destinationApplicationSecurityGroups, IList sourcePortRanges, IList destinationPortRanges, SecurityRuleAccess? access, int? priority, SecurityRuleDirection? direction, ProvisioningState? provisioningState) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; Description = description; Protocol = protocol; SourcePortRange = sourcePortRange; @@ -74,7 +74,7 @@ internal SecurityRuleData(string id, string name, string etag, string type, stri /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// The type of the resource. - public string Type { get; set; } + public string ResourceType { get; set; } /// A description for this rule. Restricted to 140 chars. public string Description { get; set; } /// Network protocol this rule applies to. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceEndpointPolicyData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceEndpointPolicyData.cs index 919446a8d29c3..846126a37986a 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceEndpointPolicyData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/ServiceEndpointPolicyData.cs @@ -24,7 +24,7 @@ public ServiceEndpointPolicyData() /// Initializes a new instance of ServiceEndpointPolicyData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// A unique read-only string that changes whenever the resource is updated. @@ -33,7 +33,7 @@ public ServiceEndpointPolicyData() /// A collection of references to subnets. /// The resource GUID property of the service endpoint policy resource. /// The provisioning state of the service endpoint policy resource. - internal ServiceEndpointPolicyData(string id, string name, string type, string location, IDictionary tags, string etag, string kind, IList serviceEndpointPolicyDefinitions, IReadOnlyList subnets, string resourceGuid, ProvisioningState? provisioningState) : base(id, name, type, location, tags) + internal ServiceEndpointPolicyData(string id, string name, string resourceType, string location, IDictionary tags, string etag, string kind, IList serviceEndpointPolicyDefinitions, IReadOnlyList subnets, string resourceGuid, ProvisioningState? provisioningState) : base(id, name, resourceType, location, tags) { Etag = etag; Kind = kind; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/SubnetData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/SubnetData.cs index 6209c332c9479..12a783fa15459 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/SubnetData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/SubnetData.cs @@ -35,7 +35,7 @@ public SubnetData() /// Resource ID. /// The name of the resource that is unique within a resource group. This name can be used to access the resource. /// A unique read-only string that changes whenever the resource is updated. - /// Resource type. + /// Resource type. /// The address prefix for the subnet. /// List of address prefixes for the subnet. /// The reference to the NetworkSecurityGroup resource. @@ -55,11 +55,11 @@ public SubnetData() /// Enable or Disable apply network policies on private end point in the subnet. /// Enable or Disable apply network policies on private link service in the subnet. /// Application gateway IP configurations of virtual network resource. - internal SubnetData(string id, string name, string etag, string type, string addressPrefix, IList addressPrefixes, NetworkSecurityGroupData networkSecurityGroup, RouteTableData routeTable, WritableSubResource natGateway, IList serviceEndpoints, IList serviceEndpointPolicies, IReadOnlyList privateEndpoints, IReadOnlyList ipConfigurations, IReadOnlyList ipConfigurationProfiles, IList ipAllocations, IReadOnlyList resourceNavigationLinks, IReadOnlyList serviceAssociationLinks, IList delegations, string purpose, ProvisioningState? provisioningState, VirtualNetworkPrivateEndpointNetworkPolicies? privateEndpointNetworkPolicies, VirtualNetworkPrivateLinkServiceNetworkPolicies? privateLinkServiceNetworkPolicies, IList applicationGatewayIPConfigurations) : base(id) + internal SubnetData(string id, string name, string etag, string resourceType, string addressPrefix, IList addressPrefixes, NetworkSecurityGroupData networkSecurityGroup, RouteTableData routeTable, WritableSubResource natGateway, IList serviceEndpoints, IList serviceEndpointPolicies, IReadOnlyList privateEndpoints, IReadOnlyList ipConfigurations, IReadOnlyList ipConfigurationProfiles, IList ipAllocations, IReadOnlyList resourceNavigationLinks, IReadOnlyList serviceAssociationLinks, IList delegations, string purpose, ProvisioningState? provisioningState, VirtualNetworkPrivateEndpointNetworkPolicies? privateEndpointNetworkPolicies, VirtualNetworkPrivateLinkServiceNetworkPolicies? privateLinkServiceNetworkPolicies, IList applicationGatewayIPConfigurations) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; AddressPrefix = addressPrefix; AddressPrefixes = addressPrefixes; NetworkSecurityGroup = networkSecurityGroup; @@ -86,7 +86,7 @@ internal SubnetData(string id, string name, string etag, string type, string add /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Resource type. - public string Type { get; set; } + public string ResourceType { get; set; } /// The address prefix for the subnet. public string AddressPrefix { get; set; } /// List of address prefixes for the subnet. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualApplianceSiteData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualApplianceSiteData.cs index 335ea319251bd..5016258000ec9 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualApplianceSiteData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualApplianceSiteData.cs @@ -21,15 +21,15 @@ public VirtualApplianceSiteData() /// Resource ID. /// Name of the virtual appliance site. /// A unique read-only string that changes whenever the resource is updated. - /// Site type. + /// Site type. /// Address Prefix. /// Office 365 Policy. /// The provisioning state of the resource. - internal VirtualApplianceSiteData(string id, string name, string etag, string type, string addressPrefix, Office365PolicyProperties o365Policy, ProvisioningState? provisioningState) : base(id) + internal VirtualApplianceSiteData(string id, string name, string etag, string resourceType, string addressPrefix, Office365PolicyProperties o365Policy, ProvisioningState? provisioningState) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; AddressPrefix = addressPrefix; O365Policy = o365Policy; ProvisioningState = provisioningState; @@ -40,7 +40,7 @@ internal VirtualApplianceSiteData(string id, string name, string etag, string ty /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Site type. - public string Type { get; } + public string ResourceType { get; } /// Address Prefix. public string AddressPrefix { get; set; } /// Office 365 Policy. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualHubData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualHubData.cs index 16d7bf9ad0336..3b1ebf0eb4e9a 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualHubData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualHubData.cs @@ -27,7 +27,7 @@ public VirtualHubData() /// Initializes a new instance of VirtualHubData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// A unique read-only string that changes whenever the resource is updated. @@ -50,7 +50,7 @@ public VirtualHubData() /// VirtualRouter IPs. /// Flag to control transit for VirtualRouter hub. /// The preferred gateway to route on-prem traffic. - internal VirtualHubData(string id, string name, string type, string location, IDictionary tags, string etag, WritableSubResource virtualWan, WritableSubResource vpnGateway, WritableSubResource p2SVpnGateway, WritableSubResource expressRouteGateway, WritableSubResource azureFirewall, WritableSubResource securityPartnerProvider, string addressPrefix, VirtualHubRouteTable routeTable, ProvisioningState? provisioningState, string securityProviderName, IList virtualHubRouteTableV2S, string sku, RoutingState? routingState, IReadOnlyList bgpConnections, IReadOnlyList ipConfigurations, long? virtualRouterAsn, IList virtualRouterIPs, bool? allowBranchToBranchTraffic, PreferredRoutingGateway? preferredRoutingGateway) : base(id, name, type, location, tags) + internal VirtualHubData(string id, string name, string resourceType, string location, IDictionary tags, string etag, WritableSubResource virtualWan, WritableSubResource vpnGateway, WritableSubResource p2SVpnGateway, WritableSubResource expressRouteGateway, WritableSubResource azureFirewall, WritableSubResource securityPartnerProvider, string addressPrefix, VirtualHubRouteTable routeTable, ProvisioningState? provisioningState, string securityProviderName, IList virtualHubRouteTableV2S, string sku, RoutingState? routingState, IReadOnlyList bgpConnections, IReadOnlyList ipConfigurations, long? virtualRouterAsn, IList virtualRouterIPs, bool? allowBranchToBranchTraffic, PreferredRoutingGateway? preferredRoutingGateway) : base(id, name, resourceType, location, tags) { Etag = etag; VirtualWan = virtualWan; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkData.cs index 3a44093d77e21..1c1750a502202 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkData.cs @@ -26,7 +26,7 @@ public VirtualNetworkData() /// Initializes a new instance of VirtualNetworkData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// The extended location of the virtual network. @@ -43,7 +43,7 @@ public VirtualNetworkData() /// The DDoS protection plan associated with the virtual network. /// Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET. /// Array of IpAllocation which reference this VNET. - internal VirtualNetworkData(string id, string name, string type, string location, IDictionary tags, Models.ExtendedLocation extendedLocation, string etag, AddressSpace addressSpace, DhcpOptions dhcpOptions, int? flowTimeoutInMinutes, IList subnets, IList virtualNetworkPeerings, string resourceGuid, ProvisioningState? provisioningState, bool? enableDdosProtection, bool? enableVmProtection, WritableSubResource ddosProtectionPlan, VirtualNetworkBgpCommunities bgpCommunities, IList ipAllocations) : base(id, name, type, location, tags) + internal VirtualNetworkData(string id, string name, string resourceType, string location, IDictionary tags, Models.ExtendedLocation extendedLocation, string etag, AddressSpace addressSpace, DhcpOptions dhcpOptions, int? flowTimeoutInMinutes, IList subnets, IList virtualNetworkPeerings, string resourceGuid, ProvisioningState? provisioningState, bool? enableDdosProtection, bool? enableVmProtection, WritableSubResource ddosProtectionPlan, VirtualNetworkBgpCommunities bgpCommunities, IList ipAllocations) : base(id, name, resourceType, location, tags) { ExtendedLocation = extendedLocation; Etag = etag; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkGatewayConnectionData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkGatewayConnectionData.cs index 8fea9d5693d15..f11b32e6b0170 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkGatewayConnectionData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkGatewayConnectionData.cs @@ -39,7 +39,7 @@ public VirtualNetworkGatewayConnectionData(VirtualNetworkGatewayData virtualNetw /// Initializes a new instance of VirtualNetworkGatewayConnectionData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// A unique read-only string that changes whenever the resource is updated. @@ -68,7 +68,7 @@ public VirtualNetworkGatewayConnectionData(VirtualNetworkGatewayData virtualNetw /// The resource GUID property of the virtual network gateway connection resource. /// The provisioning state of the virtual network gateway connection resource. /// Bypass ExpressRoute Gateway for data forwarding. - internal VirtualNetworkGatewayConnectionData(string id, string name, string type, string location, IDictionary tags, string etag, string authorizationKey, VirtualNetworkGatewayData virtualNetworkGateway1, VirtualNetworkGatewayData virtualNetworkGateway2, LocalNetworkGatewayData localNetworkGateway2, IList ingressNatRules, IList egressNatRules, VirtualNetworkGatewayConnectionType connectionType, VirtualNetworkGatewayConnectionProtocol? connectionProtocol, int? routingWeight, int? dpdTimeoutSeconds, VirtualNetworkGatewayConnectionMode? connectionMode, string sharedKey, VirtualNetworkGatewayConnectionStatus? connectionStatus, IReadOnlyList tunnelConnectionStatus, long? egressBytesTransferred, long? ingressBytesTransferred, WritableSubResource peer, bool? enableBgp, bool? useLocalAzureIPAddress, bool? usePolicyBasedTrafficSelectors, IList iPsecPolicies, IList trafficSelectorPolicies, string resourceGuid, ProvisioningState? provisioningState, bool? expressRouteGatewayBypass) : base(id, name, type, location, tags) + internal VirtualNetworkGatewayConnectionData(string id, string name, string resourceType, string location, IDictionary tags, string etag, string authorizationKey, VirtualNetworkGatewayData virtualNetworkGateway1, VirtualNetworkGatewayData virtualNetworkGateway2, LocalNetworkGatewayData localNetworkGateway2, IList ingressNatRules, IList egressNatRules, VirtualNetworkGatewayConnectionType connectionType, VirtualNetworkGatewayConnectionProtocol? connectionProtocol, int? routingWeight, int? dpdTimeoutSeconds, VirtualNetworkGatewayConnectionMode? connectionMode, string sharedKey, VirtualNetworkGatewayConnectionStatus? connectionStatus, IReadOnlyList tunnelConnectionStatus, long? egressBytesTransferred, long? ingressBytesTransferred, WritableSubResource peer, bool? enableBgp, bool? useLocalAzureIPAddress, bool? usePolicyBasedTrafficSelectors, IList iPsecPolicies, IList trafficSelectorPolicies, string resourceGuid, ProvisioningState? provisioningState, bool? expressRouteGatewayBypass) : base(id, name, resourceType, location, tags) { Etag = etag; AuthorizationKey = authorizationKey; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkGatewayData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkGatewayData.cs index 0e61c64eb8ae6..82efa583a1f18 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkGatewayData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkGatewayData.cs @@ -25,7 +25,7 @@ public VirtualNetworkGatewayData() /// Initializes a new instance of VirtualNetworkGatewayData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// The extended location of type local virtual network gateway. @@ -49,7 +49,7 @@ public VirtualNetworkGatewayData() /// Customer vnet resource id. VirtualNetworkGateway of type local gateway is associated with the customer vnet. /// NatRules for virtual network gateway. /// EnableBgpRouteTranslationForNat flag. - internal VirtualNetworkGatewayData(string id, string name, string type, string location, IDictionary tags, Models.ExtendedLocation extendedLocation, string etag, IList ipConfigurations, VirtualNetworkGatewayType? gatewayType, VpnType? vpnType, VpnGatewayGeneration? vpnGatewayGeneration, bool? enableBgp, bool? enablePrivateIPAddress, bool? active, WritableSubResource gatewayDefaultSite, VirtualNetworkGatewaySku sku, VpnClientConfiguration vpnClientConfiguration, BgpSettings bgpSettings, AddressSpace customRoutes, string resourceGuid, ProvisioningState? provisioningState, bool? enableDnsForwarding, string inboundDnsForwardingEndpoint, string vNetExtendedLocationResourceId, IList natRules, bool? enableBgpRouteTranslationForNat) : base(id, name, type, location, tags) + internal VirtualNetworkGatewayData(string id, string name, string resourceType, string location, IDictionary tags, Models.ExtendedLocation extendedLocation, string etag, IList ipConfigurations, VirtualNetworkGatewayType? gatewayType, VpnType? vpnType, VpnGatewayGeneration? vpnGatewayGeneration, bool? enableBgp, bool? enablePrivateIPAddress, bool? active, WritableSubResource gatewayDefaultSite, VirtualNetworkGatewaySku sku, VpnClientConfiguration vpnClientConfiguration, BgpSettings bgpSettings, AddressSpace customRoutes, string resourceGuid, ProvisioningState? provisioningState, bool? enableDnsForwarding, string inboundDnsForwardingEndpoint, string vNetExtendedLocationResourceId, IList natRules, bool? enableBgpRouteTranslationForNat) : base(id, name, resourceType, location, tags) { ExtendedLocation = extendedLocation; Etag = etag; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkGatewayNatRuleData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkGatewayNatRuleData.cs index 096aa7e594ee1..f0f17ac74c62a 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkGatewayNatRuleData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkGatewayNatRuleData.cs @@ -25,18 +25,18 @@ public VirtualNetworkGatewayNatRuleData() /// Resource ID. /// The name of the resource that is unique within a resource group. This name can be used to access the resource. /// A unique read-only string that changes whenever the resource is updated. - /// Resource type. + /// Resource type. /// The provisioning state of the NAT Rule resource. /// The type of NAT rule for VPN NAT. /// The Source NAT direction of a VPN NAT. /// The private IP address internal mapping for NAT. /// The private IP address external mapping for NAT. /// The IP Configuration ID this NAT rule applies to. - internal VirtualNetworkGatewayNatRuleData(string id, string name, string etag, string type, ProvisioningState? provisioningState, VpnNatRuleType? typePropertiesType, VpnNatRuleMode? mode, IList internalMappings, IList externalMappings, string ipConfigurationId) : base(id) + internal VirtualNetworkGatewayNatRuleData(string id, string name, string etag, string resourceType, ProvisioningState? provisioningState, VpnNatRuleType? typePropertiesType, VpnNatRuleMode? mode, IList internalMappings, IList externalMappings, string ipConfigurationId) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; ProvisioningState = provisioningState; TypePropertiesType = typePropertiesType; Mode = mode; @@ -50,7 +50,7 @@ internal VirtualNetworkGatewayNatRuleData(string id, string name, string etag, s /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Resource type. - public string Type { get; } + public string ResourceType { get; } /// The provisioning state of the NAT Rule resource. public ProvisioningState? ProvisioningState { get; } /// The type of NAT rule for VPN NAT. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkPeeringData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkPeeringData.cs index eb774a988220f..1ea2d5c2af1f3 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkPeeringData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkPeeringData.cs @@ -24,7 +24,7 @@ public VirtualNetworkPeeringData() /// Resource ID. /// The name of the resource that is unique within a resource group. This name can be used to access the resource. /// A unique read-only string that changes whenever the resource is updated. - /// Resource type. + /// Resource type. /// Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space. /// Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network. /// If gateway links can be used in remote virtual networking to link to this virtual network. @@ -38,11 +38,11 @@ public VirtualNetworkPeeringData() /// The provisioning state of the virtual network peering resource. /// If we need to verify the provisioning state of the remote gateway. /// The resourceGuid property of the Virtual Network peering resource. - internal VirtualNetworkPeeringData(string id, string name, string etag, string type, bool? allowVirtualNetworkAccess, bool? allowForwardedTraffic, bool? allowGatewayTransit, bool? useRemoteGateways, WritableSubResource remoteVirtualNetwork, AddressSpace remoteAddressSpace, AddressSpace remoteVirtualNetworkAddressSpace, VirtualNetworkBgpCommunities remoteBgpCommunities, VirtualNetworkPeeringState? peeringState, VirtualNetworkPeeringLevel? peeringSyncLevel, ProvisioningState? provisioningState, bool? doNotVerifyRemoteGateways, string resourceGuid) : base(id) + internal VirtualNetworkPeeringData(string id, string name, string etag, string resourceType, bool? allowVirtualNetworkAccess, bool? allowForwardedTraffic, bool? allowGatewayTransit, bool? useRemoteGateways, WritableSubResource remoteVirtualNetwork, AddressSpace remoteAddressSpace, AddressSpace remoteVirtualNetworkAddressSpace, VirtualNetworkBgpCommunities remoteBgpCommunities, VirtualNetworkPeeringState? peeringState, VirtualNetworkPeeringLevel? peeringSyncLevel, ProvisioningState? provisioningState, bool? doNotVerifyRemoteGateways, string resourceGuid) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; AllowVirtualNetworkAccess = allowVirtualNetworkAccess; AllowForwardedTraffic = allowForwardedTraffic; AllowGatewayTransit = allowGatewayTransit; @@ -63,7 +63,7 @@ internal VirtualNetworkPeeringData(string id, string name, string etag, string t /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Resource type. - public string Type { get; set; } + public string ResourceType { get; set; } /// Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space. public bool? AllowVirtualNetworkAccess { get; set; } /// Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkTapData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkTapData.cs index 4174556d75083..583064bbcc868 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkTapData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualNetworkTapData.cs @@ -23,7 +23,7 @@ public VirtualNetworkTapData() /// Initializes a new instance of VirtualNetworkTapData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// A unique read-only string that changes whenever the resource is updated. @@ -33,7 +33,7 @@ public VirtualNetworkTapData() /// The reference to the private IP Address of the collector nic that will receive the tap. /// The reference to the private IP address on the internal Load Balancer that will receive the tap. /// The VXLAN destination port that will receive the tapped traffic. - internal VirtualNetworkTapData(string id, string name, string type, string location, IDictionary tags, string etag, IReadOnlyList networkInterfaceTapConfigurations, string resourceGuid, ProvisioningState? provisioningState, NetworkInterfaceIPConfigurationData destinationNetworkInterfaceIPConfiguration, FrontendIPConfigurationData destinationLoadBalancerFrontEndIPConfiguration, int? destinationPort) : base(id, name, type, location, tags) + internal VirtualNetworkTapData(string id, string name, string resourceType, string location, IDictionary tags, string etag, IReadOnlyList networkInterfaceTapConfigurations, string resourceGuid, ProvisioningState? provisioningState, NetworkInterfaceIPConfigurationData destinationNetworkInterfaceIPConfiguration, FrontendIPConfigurationData destinationLoadBalancerFrontEndIPConfiguration, int? destinationPort) : base(id, name, resourceType, location, tags) { Etag = etag; NetworkInterfaceTapConfigurations = networkInterfaceTapConfigurations; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualRouterData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualRouterData.cs index 19c6fc393b884..972f9437e55c3 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualRouterData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualRouterData.cs @@ -25,7 +25,7 @@ public VirtualRouterData() /// Initializes a new instance of VirtualRouterData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// A unique read-only string that changes whenever the resource is updated. @@ -35,7 +35,7 @@ public VirtualRouterData() /// The Gateway on which VirtualRouter is hosted. /// List of references to VirtualRouterPeerings. /// The provisioning state of the resource. - internal VirtualRouterData(string id, string name, string type, string location, IDictionary tags, string etag, long? virtualRouterAsn, IList virtualRouterIPs, WritableSubResource hostedSubnet, WritableSubResource hostedGateway, IReadOnlyList peerings, ProvisioningState? provisioningState) : base(id, name, type, location, tags) + internal VirtualRouterData(string id, string name, string resourceType, string location, IDictionary tags, string etag, long? virtualRouterAsn, IList virtualRouterIPs, WritableSubResource hostedSubnet, WritableSubResource hostedGateway, IReadOnlyList peerings, ProvisioningState? provisioningState) : base(id, name, resourceType, location, tags) { Etag = etag; VirtualRouterAsn = virtualRouterAsn; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualRouterPeeringData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualRouterPeeringData.cs index 85030b12c20b2..081e760f96136 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualRouterPeeringData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualRouterPeeringData.cs @@ -21,15 +21,15 @@ public VirtualRouterPeeringData() /// Resource ID. /// Name of the virtual router peering that is unique within a virtual router. /// A unique read-only string that changes whenever the resource is updated. - /// Peering type. + /// Peering type. /// Peer ASN. /// Peer IP. /// The provisioning state of the resource. - internal VirtualRouterPeeringData(string id, string name, string etag, string type, long? peerAsn, string peerIP, ProvisioningState? provisioningState) : base(id) + internal VirtualRouterPeeringData(string id, string name, string etag, string resourceType, long? peerAsn, string peerIP, ProvisioningState? provisioningState) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; PeerAsn = peerAsn; PeerIP = peerIP; ProvisioningState = provisioningState; @@ -40,7 +40,7 @@ internal VirtualRouterPeeringData(string id, string name, string etag, string ty /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Peering type. - public string Type { get; } + public string ResourceType { get; } /// Peer ASN. public long? PeerAsn { get; set; } /// Peer IP. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualWanData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualWanData.cs index 7a57902d245de..993c037b5a65f 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualWanData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VirtualWanData.cs @@ -25,7 +25,7 @@ public VirtualWanData() /// Initializes a new instance of VirtualWanData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// A unique read-only string that changes whenever the resource is updated. @@ -37,7 +37,7 @@ public VirtualWanData() /// The office local breakout category. /// The provisioning state of the virtual WAN resource. /// The type of the VirtualWAN. - internal VirtualWanData(string id, string name, string type, string location, IDictionary tags, string etag, bool? disableVpnEncryption, IReadOnlyList virtualHubs, IReadOnlyList vpnSites, bool? allowBranchToBranchTraffic, bool? allowVnetToVnetTraffic, OfficeTrafficCategory? office365LocalBreakoutCategory, ProvisioningState? provisioningState, string typePropertiesType) : base(id, name, type, location, tags) + internal VirtualWanData(string id, string name, string resourceType, string location, IDictionary tags, string etag, bool? disableVpnEncryption, IReadOnlyList virtualHubs, IReadOnlyList vpnSites, bool? allowBranchToBranchTraffic, bool? allowVnetToVnetTraffic, OfficeTrafficCategory? office365LocalBreakoutCategory, ProvisioningState? provisioningState, string typePropertiesType) : base(id, name, resourceType, location, tags) { Etag = etag; DisableVpnEncryption = disableVpnEncryption; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnGatewayData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnGatewayData.cs index d215aa5870c6a..5005032611f09 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnGatewayData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnGatewayData.cs @@ -26,7 +26,7 @@ public VpnGatewayData() /// Initializes a new instance of VpnGatewayData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// A unique read-only string that changes whenever the resource is updated. @@ -38,7 +38,7 @@ public VpnGatewayData() /// List of all IPs configured on the gateway. /// Enable Routing Preference property for the Public IP Interface of the VpnGateway. /// List of all the nat Rules associated with the gateway. - internal VpnGatewayData(string id, string name, string type, string location, IDictionary tags, string etag, WritableSubResource virtualHub, IList connections, BgpSettings bgpSettings, ProvisioningState? provisioningState, int? vpnGatewayScaleUnit, IReadOnlyList ipConfigurations, bool? isRoutingPreferenceInternet, IList natRules) : base(id, name, type, location, tags) + internal VpnGatewayData(string id, string name, string resourceType, string location, IDictionary tags, string etag, WritableSubResource virtualHub, IList connections, BgpSettings bgpSettings, ProvisioningState? provisioningState, int? vpnGatewayScaleUnit, IReadOnlyList ipConfigurations, bool? isRoutingPreferenceInternet, IList natRules) : base(id, name, resourceType, location, tags) { Etag = etag; VirtualHub = virtualHub; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnGatewayNatRuleData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnGatewayNatRuleData.cs index 38e1bb1d3ac81..3edfc0b19cb45 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnGatewayNatRuleData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnGatewayNatRuleData.cs @@ -28,7 +28,7 @@ public VpnGatewayNatRuleData() /// Resource ID. /// The name of the resource that is unique within a resource group. This name can be used to access the resource. /// A unique read-only string that changes whenever the resource is updated. - /// Resource type. + /// Resource type. /// The provisioning state of the NAT Rule resource. /// The type of NAT rule for VPN NAT. /// The Source NAT direction of a VPN NAT. @@ -37,11 +37,11 @@ public VpnGatewayNatRuleData() /// The IP Configuration ID this NAT rule applies to. /// List of egress VpnSiteLinkConnections. /// List of ingress VpnSiteLinkConnections. - internal VpnGatewayNatRuleData(string id, string name, string etag, string type, ProvisioningState? provisioningState, VpnNatRuleType? typePropertiesType, VpnNatRuleMode? mode, IList internalMappings, IList externalMappings, string ipConfigurationId, IReadOnlyList egressVpnSiteLinkConnections, IReadOnlyList ingressVpnSiteLinkConnections) : base(id) + internal VpnGatewayNatRuleData(string id, string name, string etag, string resourceType, ProvisioningState? provisioningState, VpnNatRuleType? typePropertiesType, VpnNatRuleMode? mode, IList internalMappings, IList externalMappings, string ipConfigurationId, IReadOnlyList egressVpnSiteLinkConnections, IReadOnlyList ingressVpnSiteLinkConnections) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; ProvisioningState = provisioningState; TypePropertiesType = typePropertiesType; Mode = mode; @@ -57,7 +57,7 @@ internal VpnGatewayNatRuleData(string id, string name, string etag, string type, /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Resource type. - public string Type { get; } + public string ResourceType { get; } /// The provisioning state of the NAT Rule resource. public ProvisioningState? ProvisioningState { get; } /// The type of NAT rule for VPN NAT. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnServerConfigurationData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnServerConfigurationData.cs index 67e1b9d2a0633..871027e85e8ac 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnServerConfigurationData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnServerConfigurationData.cs @@ -31,7 +31,7 @@ public VpnServerConfigurationData() /// Initializes a new instance of VpnServerConfigurationData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// A unique read-only string that changes whenever the resource is updated. @@ -50,7 +50,7 @@ public VpnServerConfigurationData() /// The provisioning state of the VpnServerConfiguration resource. Possible values are: 'Updating', 'Deleting', and 'Failed'. /// List of references to P2SVpnGateways. /// A unique read-only string that changes whenever the resource is updated. - internal VpnServerConfigurationData(string id, string name, string type, string location, IDictionary tags, string etag, string namePropertiesName, IList vpnProtocols, IList vpnAuthenticationTypes, IList vpnClientRootCertificates, IList vpnClientRevokedCertificates, IList radiusServerRootCertificates, IList radiusClientRootCertificates, IList vpnClientIPsecPolicies, string radiusServerAddress, string radiusServerSecret, IList radiusServers, AadAuthenticationParameters aadAuthenticationParameters, string provisioningState, IReadOnlyList p2SVpnGateways, string etagPropertiesEtag) : base(id, name, type, location, tags) + internal VpnServerConfigurationData(string id, string name, string resourceType, string location, IDictionary tags, string etag, string namePropertiesName, IList vpnProtocols, IList vpnAuthenticationTypes, IList vpnClientRootCertificates, IList vpnClientRevokedCertificates, IList radiusServerRootCertificates, IList radiusClientRootCertificates, IList vpnClientIPsecPolicies, string radiusServerAddress, string radiusServerSecret, IList radiusServers, AadAuthenticationParameters aadAuthenticationParameters, string provisioningState, IReadOnlyList p2SVpnGateways, string etagPropertiesEtag) : base(id, name, resourceType, location, tags) { Etag = etag; NamePropertiesName = namePropertiesName; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSiteData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSiteData.cs index 073d085c82351..04b019a42edcc 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSiteData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSiteData.cs @@ -24,7 +24,7 @@ public VpnSiteData() /// Initializes a new instance of VpnSiteData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// A unique read-only string that changes whenever the resource is updated. @@ -38,7 +38,7 @@ public VpnSiteData() /// IsSecuritySite flag. /// List of all vpn site links. /// Office365 Policy. - internal VpnSiteData(string id, string name, string type, string location, IDictionary tags, string etag, WritableSubResource virtualWan, DeviceProperties deviceProperties, string ipAddress, string siteKey, AddressSpace addressSpace, BgpSettings bgpProperties, ProvisioningState? provisioningState, bool? isSecuritySite, IList vpnSiteLinks, O365PolicyProperties o365Policy) : base(id, name, type, location, tags) + internal VpnSiteData(string id, string name, string resourceType, string location, IDictionary tags, string etag, WritableSubResource virtualWan, DeviceProperties deviceProperties, string ipAddress, string siteKey, AddressSpace addressSpace, BgpSettings bgpProperties, ProvisioningState? provisioningState, bool? isSecuritySite, IList vpnSiteLinks, O365PolicyProperties o365Policy) : base(id, name, resourceType, location, tags) { Etag = etag; VirtualWan = virtualWan; diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSiteLinkConnectionData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSiteLinkConnectionData.cs index 818462065f574..1519fb7235b98 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSiteLinkConnectionData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSiteLinkConnectionData.cs @@ -27,7 +27,7 @@ public VpnSiteLinkConnectionData() /// Resource ID. /// The name of the resource that is unique within a resource group. This name can be used to access the resource. /// A unique read-only string that changes whenever the resource is updated. - /// Resource type. + /// Resource type. /// Id of the connected vpn site link. /// Routing weight for vpn connection. /// Vpn link connection mode. @@ -45,11 +45,11 @@ public VpnSiteLinkConnectionData() /// The provisioning state of the VPN site link connection resource. /// List of ingress NatRules. /// List of egress NatRules. - internal VpnSiteLinkConnectionData(string id, string name, string etag, string type, WritableSubResource vpnSiteLink, int? routingWeight, VpnLinkConnectionMode? vpnLinkConnectionMode, VpnConnectionStatus? connectionStatus, VirtualNetworkGatewayConnectionProtocol? vpnConnectionProtocolType, long? ingressBytesTransferred, long? egressBytesTransferred, int? connectionBandwidth, string sharedKey, bool? enableBgp, bool? usePolicyBasedTrafficSelectors, IList iPsecPolicies, bool? enableRateLimiting, bool? useLocalAzureIPAddress, ProvisioningState? provisioningState, IList ingressNatRules, IList egressNatRules) : base(id) + internal VpnSiteLinkConnectionData(string id, string name, string etag, string resourceType, WritableSubResource vpnSiteLink, int? routingWeight, VpnLinkConnectionMode? vpnLinkConnectionMode, VpnConnectionStatus? connectionStatus, VirtualNetworkGatewayConnectionProtocol? vpnConnectionProtocolType, long? ingressBytesTransferred, long? egressBytesTransferred, int? connectionBandwidth, string sharedKey, bool? enableBgp, bool? usePolicyBasedTrafficSelectors, IList iPsecPolicies, bool? enableRateLimiting, bool? useLocalAzureIPAddress, ProvisioningState? provisioningState, IList ingressNatRules, IList egressNatRules) : base(id) { Name = name; Etag = etag; - Type = type; + ResourceType = resourceType; VpnSiteLink = vpnSiteLink; RoutingWeight = routingWeight; VpnLinkConnectionMode = vpnLinkConnectionMode; @@ -74,7 +74,7 @@ internal VpnSiteLinkConnectionData(string id, string name, string etag, string t /// A unique read-only string that changes whenever the resource is updated. public string Etag { get; } /// Resource type. - public string Type { get; } + public string ResourceType { get; } /// Id of the connected vpn site link. internal WritableSubResource VpnSiteLink { get; set; } /// Gets or sets Id. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSiteLinkData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSiteLinkData.cs index e30d6ceb8b8bf..cdf71d7b5f957 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSiteLinkData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/VpnSiteLinkData.cs @@ -21,17 +21,17 @@ public VpnSiteLinkData() /// Resource ID. /// A unique read-only string that changes whenever the resource is updated. /// The name of the resource that is unique within a resource group. This name can be used to access the resource. - /// Resource type. + /// Resource type. /// The link provider properties. /// The ip-address for the vpn-site-link. /// FQDN of vpn-site-link. /// The set of bgp properties. /// The provisioning state of the VPN site link resource. - internal VpnSiteLinkData(string id, string etag, string name, string type, VpnLinkProviderProperties linkProperties, string ipAddress, string fqdn, VpnLinkBgpSettings bgpProperties, ProvisioningState? provisioningState) : base(id) + internal VpnSiteLinkData(string id, string etag, string name, string resourceType, VpnLinkProviderProperties linkProperties, string ipAddress, string fqdn, VpnLinkBgpSettings bgpProperties, ProvisioningState? provisioningState) : base(id) { Etag = etag; Name = name; - Type = type; + ResourceType = resourceType; LinkProperties = linkProperties; IPAddress = ipAddress; Fqdn = fqdn; @@ -44,7 +44,7 @@ internal VpnSiteLinkData(string id, string etag, string name, string type, VpnLi /// The name of the resource that is unique within a resource group. This name can be used to access the resource. public string Name { get; set; } /// Resource type. - public string Type { get; } + public string ResourceType { get; } /// The link provider properties. public VpnLinkProviderProperties LinkProperties { get; set; } /// The ip-address for the vpn-site-link. diff --git a/sdk/network/Azure.ResourceManager.Network/src/Generated/WebApplicationFirewallPolicyData.cs b/sdk/network/Azure.ResourceManager.Network/src/Generated/WebApplicationFirewallPolicyData.cs index 43651f4a740e2..bde7c21f64296 100644 --- a/sdk/network/Azure.ResourceManager.Network/src/Generated/WebApplicationFirewallPolicyData.cs +++ b/sdk/network/Azure.ResourceManager.Network/src/Generated/WebApplicationFirewallPolicyData.cs @@ -27,7 +27,7 @@ public WebApplicationFirewallPolicyData() /// Initializes a new instance of WebApplicationFirewallPolicyData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Resource location. /// Resource tags. /// A unique read-only string that changes whenever the resource is updated. @@ -39,7 +39,7 @@ public WebApplicationFirewallPolicyData() /// Describes the managedRules structure. /// A collection of references to application gateway http listeners. /// A collection of references to application gateway path rules. - internal WebApplicationFirewallPolicyData(string id, string name, string type, string location, IDictionary tags, string etag, PolicySettings policySettings, IList customRules, IReadOnlyList applicationGateways, ProvisioningState? provisioningState, WebApplicationFirewallPolicyResourceState? resourceState, ManagedRulesDefinition managedRules, IReadOnlyList httpListeners, IReadOnlyList pathBasedRules) : base(id, name, type, location, tags) + internal WebApplicationFirewallPolicyData(string id, string name, string resourceType, string location, IDictionary tags, string etag, PolicySettings policySettings, IList customRules, IReadOnlyList applicationGateways, ProvisioningState? provisioningState, WebApplicationFirewallPolicyResourceState? resourceState, ManagedRulesDefinition managedRules, IReadOnlyList httpListeners, IReadOnlyList pathBasedRules) : base(id, name, resourceType, location, tags) { Etag = etag; PolicySettings = policySettings; diff --git a/sdk/network/Azure.ResourceManager.Network/tests/Tests/CheckConnectivityTests.cs b/sdk/network/Azure.ResourceManager.Network/tests/Tests/CheckConnectivityTests.cs index 35a30bf9bb1ed..c0662d7862595 100644 --- a/sdk/network/Azure.ResourceManager.Network/tests/Tests/CheckConnectivityTests.cs +++ b/sdk/network/Azure.ResourceManager.Network/tests/Tests/CheckConnectivityTests.cs @@ -60,8 +60,8 @@ public async Task CheckConnectivityVmToInternetTest() //Validation Assert.AreEqual("Reachable", connectivityCheck.Value.ConnectionStatus.ToString()); Assert.AreEqual(0, connectivityCheck.Value.ProbesFailed); - Assert.AreEqual("Source", connectivityCheck.Value.Hops.FirstOrDefault().Type); - Assert.AreEqual("Internet", connectivityCheck.Value.Hops.LastOrDefault().Type); + Assert.AreEqual("Source", connectivityCheck.Value.Hops.FirstOrDefault().ConnectivityHopType); + Assert.AreEqual("Internet", connectivityCheck.Value.Hops.LastOrDefault().ConnectivityHopType); } } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/api/Azure.ResourceManager.netstandard2.0.cs b/sdk/resourcemanager/Azure.ResourceManager/api/Azure.ResourceManager.netstandard2.0.cs index f0ceec7fc7b54..f4ec47e7b0a9a 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/api/Azure.ResourceManager.netstandard2.0.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/api/Azure.ResourceManager.netstandard2.0.cs @@ -177,7 +177,7 @@ public partial class CheckNameAvailabilityOptions { public CheckNameAvailabilityOptions() { } public string Name { get { throw null; } set { } } - public string Type { get { throw null; } set { } } + public string ResourceType { get { throw null; } set { } } } public partial class CheckNameAvailabilityResult { @@ -202,8 +202,8 @@ public CreateManagementGroupOptions() { } public string DisplayName { get { throw null; } set { } } public string Id { get { throw null; } } public string Name { get { throw null; } set { } } + public string ResourceType { get { throw null; } } public string TenantId { get { throw null; } } - public string Type { get { throw null; } } } public partial class DescendantInfo : Azure.ResourceManager.Models.ResourceData { @@ -222,8 +222,8 @@ internal ManagementGroupChildInfo() { } public System.Collections.Generic.IReadOnlyList Children { get { throw null; } } public string DisplayName { get { throw null; } } public string Id { get { throw null; } } + public Azure.ResourceManager.Management.Models.ManagementGroupChildType? ManagementGroupChildType { get { throw null; } } public string Name { get { throw null; } } - public Azure.ResourceManager.Management.Models.ManagementGroupChildType? Type { get { throw null; } } } public partial class ManagementGroupChildOptions { @@ -231,8 +231,8 @@ internal ManagementGroupChildOptions() { } public System.Collections.Generic.IReadOnlyList Children { get { throw null; } } public string DisplayName { get { throw null; } } public string Id { get { throw null; } } + public Azure.ResourceManager.Management.Models.ManagementGroupChildType? ManagementGroupChildType { get { throw null; } } public string Name { get { throw null; } } - public Azure.ResourceManager.Management.Models.ManagementGroupChildType? Type { get { throw null; } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ManagementGroupChildType : System.IEquatable @@ -335,11 +335,11 @@ public ArmPlan(string name, string publisher, string product) { } public abstract partial class ArmResourceData { protected ArmResourceData() { } - protected ArmResourceData(Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType type, Azure.ResourceManager.Models.SystemData systemData) { } + protected ArmResourceData(Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType resourceType, Azure.ResourceManager.Models.SystemData systemData) { } public Azure.Core.ResourceIdentifier Id { get { throw null; } } public string Name { get { throw null; } } + public Azure.Core.ResourceType ResourceType { get { throw null; } } public Azure.ResourceManager.Models.SystemData SystemData { get { throw null; } } - public Azure.Core.ResourceType Type { get { throw null; } } } public sealed partial class ArmSku : System.IEquatable { @@ -411,8 +411,8 @@ public EncryptionProperties() { } public partial class ErrorAdditionalInfo { public ErrorAdditionalInfo() { } + public string ErrorAdditionalInfoType { get { throw null; } } public object Info { get { throw null; } } - public Azure.Core.ResourceType Type { get { throw null; } } } public partial class ErrorDetail { @@ -423,11 +423,6 @@ public ErrorDetail() { } public string Message { get { throw null; } } public string Target { get { throw null; } } } - public partial class ErrorResponse - { - public ErrorResponse() { } - public Azure.ResourceManager.Models.ErrorDetail Error { get { throw null; } set { } } - } public partial class KeyVaultProperties { public KeyVaultProperties() { } @@ -436,10 +431,10 @@ public KeyVaultProperties() { } } public partial class ManagedServiceIdentity { - public ManagedServiceIdentity(Azure.ResourceManager.Models.ManagedServiceIdentityType type) { } + public ManagedServiceIdentity(Azure.ResourceManager.Models.ManagedServiceIdentityType managedServiceIdentityType) { } + public Azure.ResourceManager.Models.ManagedServiceIdentityType ManagedServiceIdentityType { get { throw null; } set { } } public System.Guid? PrincipalId { get { throw null; } } public System.Guid? TenantId { get { throw null; } } - public Azure.ResourceManager.Models.ManagedServiceIdentityType Type { get { throw null; } set { } } public System.Collections.Generic.IDictionary UserAssignedIdentities { get { throw null; } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] @@ -465,18 +460,18 @@ public ManagedServiceIdentity(Azure.ResourceManager.Models.ManagedServiceIdentit public abstract partial class ResourceData { protected ResourceData() { } - protected ResourceData(Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType type, Azure.ResourceManager.Models.SystemData systemData) { } + protected ResourceData(Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType resourceType, Azure.ResourceManager.Models.SystemData systemData) { } public Azure.Core.ResourceIdentifier Id { get { throw null; } } public string Name { get { throw null; } } + public Azure.Core.ResourceType ResourceType { get { throw null; } } public Azure.ResourceManager.Models.SystemData SystemData { get { throw null; } } - public Azure.Core.ResourceType Type { get { throw null; } } } public partial class SystemAssignedServiceIdentity { - public SystemAssignedServiceIdentity(Azure.ResourceManager.Models.SystemAssignedServiceIdentityType type) { } + public SystemAssignedServiceIdentity(Azure.ResourceManager.Models.SystemAssignedServiceIdentityType systemAssignedServiceIdentityType) { } public System.Guid? PrincipalId { get { throw null; } } + public Azure.ResourceManager.Models.SystemAssignedServiceIdentityType SystemAssignedServiceIdentityType { get { throw null; } set { } } public System.Guid? TenantId { get { throw null; } } - public Azure.ResourceManager.Models.SystemAssignedServiceIdentityType Type { get { throw null; } set { } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct SystemAssignedServiceIdentityType : System.IEquatable @@ -509,7 +504,7 @@ public SystemData() { } public abstract partial class TrackedResourceData : Azure.ResourceManager.Models.ResourceData { protected TrackedResourceData(Azure.Core.AzureLocation location) { } - protected TrackedResourceData(Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType type, Azure.ResourceManager.Models.SystemData systemData, System.Collections.Generic.IDictionary tags, Azure.Core.AzureLocation location) { } + protected TrackedResourceData(Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType resourceType, Azure.ResourceManager.Models.SystemData systemData, System.Collections.Generic.IDictionary tags, Azure.Core.AzureLocation location) { } public Azure.Core.AzureLocation Location { get { throw null; } set { } } public System.Collections.Generic.IDictionary Tags { get { throw null; } } } @@ -959,13 +954,10 @@ protected ResourceLinkCollection() { } public virtual Azure.Response GetIfExists(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetIfExistsAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class ResourceLinkData + public partial class ResourceLinkData : Azure.ResourceManager.Models.ResourceData { public ResourceLinkData() { } - public string Id { get { throw null; } } - public string Name { get { throw null; } } public Azure.ResourceManager.Resources.Models.ResourceLinkProperties Properties { get { throw null; } set { } } - public object Type { get { throw null; } } } public partial class RestApiCollection : Azure.ResourceManager.Core.ArmCollection, System.Collections.Generic.IAsyncEnumerable, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { @@ -1241,12 +1233,12 @@ namespace Azure.ResourceManager.Resources.Models public partial class Alias { internal Alias() { } + public Azure.ResourceManager.Resources.Models.AliasType? AliasType { get { throw null; } } public Azure.ResourceManager.Resources.Models.AliasPathMetadata DefaultMetadata { get { throw null; } } public string DefaultPath { get { throw null; } } public Azure.ResourceManager.Resources.Models.AliasPattern DefaultPattern { get { throw null; } } public string Name { get { throw null; } } public System.Collections.Generic.IReadOnlyList Paths { get { throw null; } } - public Azure.ResourceManager.Resources.Models.AliasType? Type { get { throw null; } } } public partial class AliasPath { @@ -1277,8 +1269,8 @@ internal AliasPath() { } public partial class AliasPathMetadata { internal AliasPathMetadata() { } + public Azure.ResourceManager.Resources.Models.AliasPathTokenType? AliasPathTokenType { get { throw null; } } public Azure.ResourceManager.Resources.Models.AliasPathAttributes? Attributes { get { throw null; } } - public Azure.ResourceManager.Resources.Models.AliasPathTokenType? Type { get { throw null; } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct AliasPathTokenType : System.IEquatable @@ -1307,8 +1299,8 @@ internal AliasPathMetadata() { } public partial class AliasPattern { internal AliasPattern() { } + public Azure.ResourceManager.Resources.Models.AliasPatternType? AliasPatternType { get { throw null; } } public string Phrase { get { throw null; } } - public Azure.ResourceManager.Resources.Models.AliasPatternType? Type { get { throw null; } } public string Variable { get { throw null; } } } public enum AliasPatternType @@ -1387,8 +1379,8 @@ public ExportTemplateRequest() { } public partial class ExtendedLocation { public ExtendedLocation() { } + public Azure.ResourceManager.Resources.Models.ExtendedLocationType? ExtendedLocationType { get { throw null; } set { } } public string Name { get { throw null; } set { } } - public Azure.ResourceManager.Resources.Models.ExtendedLocationType? Type { get { throw null; } set { } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ExtendedLocationType : System.IEquatable @@ -1417,11 +1409,11 @@ public partial class LocationExpanded internal LocationExpanded() { } public string DisplayName { get { throw null; } } public string Id { get { throw null; } } + public Azure.ResourceManager.Resources.Models.LocationType? LocationType { get { throw null; } } public Azure.ResourceManager.Resources.Models.LocationMetadata Metadata { get { throw null; } } public string Name { get { throw null; } } public string RegionalDisplayName { get { throw null; } } public string SubscriptionId { get { throw null; } } - public Azure.ResourceManager.Resources.Models.LocationType? Type { get { throw null; } } public static implicit operator Azure.Core.AzureLocation (Azure.ResourceManager.Resources.Models.LocationExpanded location) { throw null; } } public partial class LocationMetadata @@ -1489,7 +1481,7 @@ public ParameterDefinitionsValue() { } public System.Collections.Generic.IList AllowedValues { get { throw null; } } public object DefaultValue { get { throw null; } set { } } public Azure.ResourceManager.Resources.Models.ParameterDefinitionsValueMetadata Metadata { get { throw null; } set { } } - public Azure.ResourceManager.Resources.Models.ParameterType? Type { get { throw null; } set { } } + public Azure.ResourceManager.Resources.Models.ParameterType? ParameterType { get { throw null; } set { } } } public partial class ParameterDefinitionsValueMetadata { @@ -1598,7 +1590,7 @@ internal PredefinedTag() { } public partial class PredefinedTagCount { internal PredefinedTagCount() { } - public string Type { get { throw null; } } + public string PredefinedTagCountType { get { throw null; } } public int? Value { get { throw null; } } } public partial class PredefinedTagValue @@ -1638,7 +1630,7 @@ public partial class ProviderExtendedLocation internal ProviderExtendedLocation() { } public System.Collections.Generic.IReadOnlyList ExtendedLocations { get { throw null; } } public string Location { get { throw null; } } - public string Type { get { throw null; } } + public string ProviderExtendedLocationType { get { throw null; } } } public partial class ProviderInfo { diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Common/Custom/Models/ManagedServiceIdentity.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Common/Custom/Models/ManagedServiceIdentity.Serialization.cs index 1a8626f14ade6..778e940de144e 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Common/Custom/Models/ManagedServiceIdentity.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Common/Custom/Models/ManagedServiceIdentity.Serialization.cs @@ -18,7 +18,7 @@ public partial class ManagedServiceIdentity internal static void Write(Utf8JsonWriter writer, ManagedServiceIdentity model, JsonSerializerOptions options = default) { writer.WriteStartObject(); - JsonSerializer.Serialize(writer, model.Type, options); + JsonSerializer.Serialize(writer, model.ManagedServiceIdentityType, options); if (Optional.IsCollectionDefined(model.UserAssignedIdentities)) { writer.WritePropertyName("userAssignedIdentities"); diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Common/Custom/Models/ManagedServiceIdentity.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Common/Custom/Models/ManagedServiceIdentity.cs index 205b3a80f83bf..dd63e4978f932 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Common/Custom/Models/ManagedServiceIdentity.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Common/Custom/Models/ManagedServiceIdentity.cs @@ -15,25 +15,25 @@ namespace Azure.ResourceManager.Models public partial class ManagedServiceIdentity { /// Initializes a new instance of ManagedServiceIdentity. - /// Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + /// Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). [InitializationConstructor] - public ManagedServiceIdentity(ManagedServiceIdentityType type) + public ManagedServiceIdentity(ManagedServiceIdentityType managedServiceIdentityType) { - Type = type; + ManagedServiceIdentityType = managedServiceIdentityType; UserAssignedIdentities = new ChangeTrackingDictionary(); } /// Initializes a new instance of ManagedServiceIdentity. /// The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. /// The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. - /// Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). + /// Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). /// The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. [SerializationConstructor] - internal ManagedServiceIdentity(Guid? principalId, Guid? tenantId, ManagedServiceIdentityType type, IDictionary userAssignedIdentities) + internal ManagedServiceIdentity(Guid? principalId, Guid? tenantId, ManagedServiceIdentityType managedServiceIdentityType, IDictionary userAssignedIdentities) { PrincipalId = principalId; TenantId = tenantId; - Type = type; + ManagedServiceIdentityType = managedServiceIdentityType; UserAssignedIdentities = userAssignedIdentities; } @@ -42,7 +42,7 @@ internal ManagedServiceIdentity(Guid? principalId, Guid? tenantId, ManagedServic /// The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. public Guid? TenantId { get; } /// Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). - public ManagedServiceIdentityType Type { get; set; } + public ManagedServiceIdentityType ManagedServiceIdentityType { get; set; } /// The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. public IDictionary UserAssignedIdentities { get; } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Common/Custom/Models/ResourceData.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Common/Custom/Models/ResourceData.cs index 93709922ec6c6..14b9832221d96 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Common/Custom/Models/ResourceData.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Common/Custom/Models/ResourceData.cs @@ -22,14 +22,14 @@ protected ResourceData() /// Initializes a new instance of Resource. /// 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. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". /// Azure Resource Manager metadata containing createdBy and modifiedBy information. [SerializationConstructor] - protected ResourceData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData) + protected ResourceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData) { Id = id; Name = name; - Type = type; + ResourceType = resourceType; SystemData = systemData; } @@ -38,7 +38,7 @@ protected ResourceData(ResourceIdentifier id, string name, ResourceType type, Sy /// The name of the resource. public string Name { get; } /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". - public ResourceType Type { get; } + public ResourceType ResourceType { get; } /// Azure Resource Manager metadata containing createdBy and modifiedBy information. public SystemData SystemData { get; } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Common/Custom/Models/TrackedResourceData.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Common/Custom/Models/TrackedResourceData.cs index 36f3d3c60cfb2..fe69e9e98a94a 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Common/Custom/Models/TrackedResourceData.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Common/Custom/Models/TrackedResourceData.cs @@ -26,12 +26,12 @@ protected TrackedResourceData(AzureLocation location) /// Initializes a new instance of TrackedResource. /// 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. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". /// Azure Resource Manager metadata containing createdBy and modifiedBy information. /// Resource tags. /// The geo-location where the resource lives. [SerializationConstructor] - protected TrackedResourceData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location) : base(id, name, type, systemData) + protected TrackedResourceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location) : base(id, name, resourceType, systemData) { Tags = tags; Location = location; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Common/Generated/Models/ArmResourceData.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Common/Generated/Models/ArmResourceData.cs index 61791563755fb..4663418665eca 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Common/Generated/Models/ArmResourceData.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Common/Generated/Models/ArmResourceData.cs @@ -23,14 +23,14 @@ protected ArmResourceData() /// Initializes a new instance of ArmResourceData. /// 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. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". /// Azure Resource Manager metadata containing createdBy and modifiedBy information. [SerializationConstructor] - protected ArmResourceData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData) + protected ArmResourceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData) { Id = id; Name = name; - Type = type; + ResourceType = resourceType; SystemData = systemData; } @@ -39,7 +39,7 @@ protected ArmResourceData(ResourceIdentifier id, string name, ResourceType type, /// The name of the resource. public string Name { get; } /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". - public ResourceType Type { get; } + public ResourceType ResourceType { get; } /// Azure Resource Manager metadata containing createdBy and modifiedBy information. public SystemData SystemData { get; } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Common/Generated/Models/ErrorAdditionalInfo.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Common/Generated/Models/ErrorAdditionalInfo.Serialization.cs index 4d6680b39f58e..ab2c4e0a4c76c 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Common/Generated/Models/ErrorAdditionalInfo.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Common/Generated/Models/ErrorAdditionalInfo.Serialization.cs @@ -23,18 +23,13 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) internal static ErrorAdditionalInfo DeserializeErrorAdditionalInfo(JsonElement element) { - Optional type = default; + Optional type = default; Optional info = default; foreach (var property in element.EnumerateObject()) { if (property.NameEquals("type")) { - if (property.Value.ValueKind == JsonValueKind.Null) - { - property.ThrowNonNullablePropertyIsNull(); - continue; - } - type = (ResourceType)property.Value.GetString(); + type = property.Value.GetString(); continue; } if (property.NameEquals("info")) @@ -48,7 +43,7 @@ internal static ErrorAdditionalInfo DeserializeErrorAdditionalInfo(JsonElement e continue; } } - return new ErrorAdditionalInfo(type, info.Value); + return new ErrorAdditionalInfo(type.Value, info.Value); } internal partial class ErrorAdditionalInfoConverter : JsonConverter diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Common/Generated/Models/ErrorAdditionalInfo.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Common/Generated/Models/ErrorAdditionalInfo.cs index e9b7e1c234dc0..cf745d4529332 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Common/Generated/Models/ErrorAdditionalInfo.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Common/Generated/Models/ErrorAdditionalInfo.cs @@ -5,7 +5,6 @@ #nullable disable -using Azure.Core; using Azure.ResourceManager.Core; namespace Azure.ResourceManager.Models @@ -21,17 +20,17 @@ public ErrorAdditionalInfo() } /// Initializes a new instance of ErrorAdditionalInfo. - /// The additional info type. + /// The additional info type. /// The additional info. [SerializationConstructor] - internal ErrorAdditionalInfo(ResourceType type, object info) + internal ErrorAdditionalInfo(string errorAdditionalInfoType, object info) { - Type = type; + ErrorAdditionalInfoType = errorAdditionalInfoType; Info = info; } /// The additional info type. - public ResourceType Type { get; } + public string ErrorAdditionalInfoType { get; } /// The additional info. public object Info { get; } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Common/Generated/Models/ErrorResponse.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Common/Generated/Models/ErrorResponse.Serialization.cs deleted file mode 100644 index 5fd249fdaaf89..0000000000000 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Common/Generated/Models/ErrorResponse.Serialization.cs +++ /dev/null @@ -1,61 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.Text.Json; -using System.Text.Json.Serialization; -using Azure.Core; - -namespace Azure.ResourceManager.Models -{ - [JsonConverter(typeof(ErrorResponseConverter))] - public partial class ErrorResponse : IUtf8JsonSerializable - { - void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) - { - writer.WriteStartObject(); - if (Optional.IsDefined(Error)) - { - writer.WritePropertyName("error"); - writer.WriteObjectValue(Error); - } - writer.WriteEndObject(); - } - - internal static ErrorResponse DeserializeErrorResponse(JsonElement element) - { - Optional error = default; - foreach (var property in element.EnumerateObject()) - { - if (property.NameEquals("error")) - { - if (property.Value.ValueKind == JsonValueKind.Null) - { - property.ThrowNonNullablePropertyIsNull(); - continue; - } - error = ErrorDetail.DeserializeErrorDetail(property.Value); - continue; - } - } - return new ErrorResponse(error.Value); - } - - internal partial class ErrorResponseConverter : JsonConverter - { - public override void Write(Utf8JsonWriter writer, ErrorResponse model, JsonSerializerOptions options) - { - writer.WriteObjectValue(model); - } - public override ErrorResponse Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) - { - using var document = JsonDocument.ParseValue(ref reader); - return DeserializeErrorResponse(document.RootElement); - } - } - } -} diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Common/Generated/Models/SystemAssignedServiceIdentity.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Common/Generated/Models/SystemAssignedServiceIdentity.Serialization.cs index 15332207563b3..32546be050ed9 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Common/Generated/Models/SystemAssignedServiceIdentity.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Common/Generated/Models/SystemAssignedServiceIdentity.Serialization.cs @@ -19,7 +19,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); writer.WritePropertyName("type"); - writer.WriteStringValue(Type.ToString()); + writer.WriteStringValue(SystemAssignedServiceIdentityType.ToString()); writer.WriteEndObject(); } diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Common/Generated/Models/SystemAssignedServiceIdentity.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Common/Generated/Models/SystemAssignedServiceIdentity.cs index 69b5c28b8c9ea..2e3be1438d2a3 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Common/Generated/Models/SystemAssignedServiceIdentity.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Common/Generated/Models/SystemAssignedServiceIdentity.cs @@ -15,23 +15,23 @@ namespace Azure.ResourceManager.Models public partial class SystemAssignedServiceIdentity { /// Initializes a new instance of SystemAssignedServiceIdentity. - /// Type of managed service identity (either system assigned, or none). + /// Type of managed service identity (either system assigned, or none). [InitializationConstructor] - public SystemAssignedServiceIdentity(SystemAssignedServiceIdentityType type) + public SystemAssignedServiceIdentity(SystemAssignedServiceIdentityType systemAssignedServiceIdentityType) { - Type = type; + SystemAssignedServiceIdentityType = systemAssignedServiceIdentityType; } /// Initializes a new instance of SystemAssignedServiceIdentity. /// The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. /// The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. - /// Type of managed service identity (either system assigned, or none). + /// Type of managed service identity (either system assigned, or none). [SerializationConstructor] - internal SystemAssignedServiceIdentity(Guid? principalId, Guid? tenantId, SystemAssignedServiceIdentityType type) + internal SystemAssignedServiceIdentity(Guid? principalId, Guid? tenantId, SystemAssignedServiceIdentityType systemAssignedServiceIdentityType) { PrincipalId = principalId; TenantId = tenantId; - Type = type; + SystemAssignedServiceIdentityType = systemAssignedServiceIdentityType; } /// The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. @@ -39,6 +39,6 @@ internal SystemAssignedServiceIdentity(Guid? principalId, Guid? tenantId, System /// The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. public Guid? TenantId { get; } /// Type of managed service identity (either system assigned, or none). - public SystemAssignedServiceIdentityType Type { get; set; } + public SystemAssignedServiceIdentityType SystemAssignedServiceIdentityType { get; set; } } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/ManagementGroupData.cs b/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/ManagementGroupData.cs index 5b62de3295b00..76b704ee77b60 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/ManagementGroupData.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/ManagementGroupData.cs @@ -24,13 +24,13 @@ internal ManagementGroupData() /// Initializes a new instance of ManagementGroupData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The AAD Tenant ID associated with the management group. For example, 00000000-0000-0000-0000-000000000000. /// The friendly name of the management group. /// The details of a management group. /// The list of children. - internal ManagementGroupData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string tenantId, string displayName, ManagementGroupDetails details, IReadOnlyList children) : base(id, name, type, systemData) + internal ManagementGroupData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string tenantId, string displayName, ManagementGroupDetails details, IReadOnlyList children) : base(id, name, resourceType, systemData) { TenantId = tenantId; DisplayName = displayName; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/CheckNameAvailabilityOptions.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/CheckNameAvailabilityOptions.Serialization.cs index a80f7d6095745..9bf7a19ced481 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/CheckNameAvailabilityOptions.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/CheckNameAvailabilityOptions.Serialization.cs @@ -20,10 +20,10 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("name"); writer.WriteStringValue(Name); } - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(ResourceType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type); + writer.WriteStringValue(ResourceType); } writer.WriteEndObject(); } diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/CheckNameAvailabilityOptions.cs b/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/CheckNameAvailabilityOptions.cs index b3be61bfb948a..92bfb261290e7 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/CheckNameAvailabilityOptions.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/CheckNameAvailabilityOptions.cs @@ -13,12 +13,12 @@ public partial class CheckNameAvailabilityOptions /// Initializes a new instance of CheckNameAvailabilityOptions. public CheckNameAvailabilityOptions() { - Type = "Microsoft.Management/managementGroups"; + ResourceType = "Microsoft.Management/managementGroups"; } /// the name to check for availability. public string Name { get; set; } /// fully qualified resource type which includes provider namespace. - public string Type { get; set; } + public string ResourceType { get; set; } } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/CreateManagementGroupOptions.cs b/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/CreateManagementGroupOptions.cs index 8564bbff404e1..6500dd0315055 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/CreateManagementGroupOptions.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/CreateManagementGroupOptions.cs @@ -22,7 +22,7 @@ public CreateManagementGroupOptions() /// The fully qualified ID for the management group. For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000. public string Id { get; } /// The type of the resource. For example, Microsoft.Management/managementGroups. - public string Type { get; } + public string ResourceType { get; } /// The name of the management group. For example, 00000000-0000-0000-0000-000000000000. public string Name { get; set; } /// The AAD Tenant ID associated with the management group. For example, 00000000-0000-0000-0000-000000000000. diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/DescendantInfo.cs b/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/DescendantInfo.cs index 0829c2146ca23..bae6a84aa385b 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/DescendantInfo.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/DescendantInfo.cs @@ -21,11 +21,11 @@ internal DescendantInfo() /// Initializes a new instance of DescendantInfo. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The friendly name of the management group. /// The ID of the parent management group. - internal DescendantInfo(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string displayName, DescendantParentGroupInfo parent) : base(id, name, type, systemData) + internal DescendantInfo(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string displayName, DescendantParentGroupInfo parent) : base(id, name, resourceType, systemData) { DisplayName = displayName; Parent = parent; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/ManagementGroupChildInfo.cs b/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/ManagementGroupChildInfo.cs index e437b12ab5190..c57e7b2e25442 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/ManagementGroupChildInfo.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/ManagementGroupChildInfo.cs @@ -20,14 +20,14 @@ internal ManagementGroupChildInfo() } /// Initializes a new instance of ManagementGroupChildInfo. - /// The fully qualified resource type which includes provider namespace (e.g. Microsoft.Management/managementGroups). + /// The fully qualified resource type which includes provider namespace (e.g. Microsoft.Management/managementGroups). /// The fully qualified ID for the child resource (management group or subscription). For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000. /// The name of the child entity. /// The friendly name of the child resource. /// The list of children. - internal ManagementGroupChildInfo(ManagementGroupChildType? type, string id, string name, string displayName, IReadOnlyList children) + internal ManagementGroupChildInfo(ManagementGroupChildType? managementGroupChildType, string id, string name, string displayName, IReadOnlyList children) { - Type = type; + ManagementGroupChildType = managementGroupChildType; Id = id; Name = name; DisplayName = displayName; @@ -35,7 +35,7 @@ internal ManagementGroupChildInfo(ManagementGroupChildType? type, string id, str } /// The fully qualified resource type which includes provider namespace (e.g. Microsoft.Management/managementGroups). - public ManagementGroupChildType? Type { get; } + public ManagementGroupChildType? ManagementGroupChildType { get; } /// The fully qualified ID for the child resource (management group or subscription). For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000. public string Id { get; } /// The name of the child entity. diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/ManagementGroupChildOptions.cs b/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/ManagementGroupChildOptions.cs index 64ef3187e195d..baa3a3ff72a36 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/ManagementGroupChildOptions.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/ManagementGroupChildOptions.cs @@ -20,7 +20,7 @@ internal ManagementGroupChildOptions() } /// The fully qualified resource type which includes provider namespace (e.g. Microsoft.Management/managementGroups). - public ManagementGroupChildType? Type { get; } + public ManagementGroupChildType? ManagementGroupChildType { get; } /// The fully qualified ID for the child resource (management group or subscription). For example, /providers/Microsoft.Management/managementGroups/0000000-0000-0000-0000-000000000000. public string Id { get; } /// The name of the child entity. diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Custom/Models/LocationExpanded.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Custom/Models/LocationExpanded.cs index 9ffc67d07ff2e..6f931f7add7cc 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Custom/Models/LocationExpanded.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Custom/Models/LocationExpanded.cs @@ -6,6 +6,7 @@ [assembly:CodeGenSuppressType("CreatedByType")] [assembly:CodeGenSuppressType("PolicyAssignmentIdentityType")] [assembly:CodeGenSuppressType("PolicyAssignmentIdentityTypeExtensions")] +[assembly:CodeGenSuppressType("CloudError")] namespace Azure.ResourceManager.Resources.Models { public partial class LocationExpanded @@ -23,17 +24,17 @@ public static implicit operator AzureLocation(LocationExpanded location) /// The fully qualified ID of the location. For example, /subscriptions/00000000-0000-0000-0000-000000000000/locations/westus. /// The subscription ID. /// The location name. - /// The location type. + /// The location type. /// The display name of the location. /// The display name of the location and its region. /// Metadata of the location, such as lat/long, paired region, and others. - internal LocationExpanded(string id, string subscriptionId, string name, LocationType? type, string displayName, string regionalDisplayName, LocationMetadata metadata) + internal LocationExpanded(string id, string subscriptionId, string name, LocationType? locationType, string displayName, string regionalDisplayName, LocationMetadata metadata) { Id = id; ResourceIdentifier subId = new ResourceIdentifier(id); SubscriptionId = subscriptionId ?? subId.SubscriptionId; Name = name; - Type = type; + LocationType = locationType; DisplayName = displayName; RegionalDisplayName = regionalDisplayName; Metadata = metadata; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/DataPolicyManifestData.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/DataPolicyManifestData.cs index 5132479642738..59aeaba3f53f7 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/DataPolicyManifestData.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/DataPolicyManifestData.cs @@ -29,7 +29,7 @@ internal DataPolicyManifestData() /// Initializes a new instance of DataPolicyManifestData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The list of namespaces for the data policy manifest. /// The policy mode of the data policy manifest. @@ -39,7 +39,7 @@ internal DataPolicyManifestData() /// The non-alias field accessor values that can be used in the policy rule. /// The standard resource functions (subscription and/or resourceGroup). /// An array of data manifest custom resource definition. - internal DataPolicyManifestData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IReadOnlyList namespaces, string policyMode, bool? isBuiltInOnly, IReadOnlyList resourceTypeAliases, IReadOnlyList effects, IReadOnlyList fieldValues, IReadOnlyList standard, IReadOnlyList custom) : base(id, name, type, systemData) + internal DataPolicyManifestData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IReadOnlyList namespaces, string policyMode, bool? isBuiltInOnly, IReadOnlyList resourceTypeAliases, IReadOnlyList effects, IReadOnlyList fieldValues, IReadOnlyList standard, IReadOnlyList custom) : base(id, name, resourceType, systemData) { Namespaces = namespaces; PolicyMode = policyMode; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/FeatureData.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/FeatureData.cs index 5a74f4080ad38..bd2bdf0fb4fae 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/FeatureData.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/FeatureData.cs @@ -22,10 +22,10 @@ internal FeatureData() /// Initializes a new instance of FeatureData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Properties of the previewed feature. - internal FeatureData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, FeatureProperties properties) : base(id, name, type, systemData) + internal FeatureData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, FeatureProperties properties) : base(id, name, resourceType, systemData) { Properties = properties; } diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/GenericResourceData.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/GenericResourceData.cs index 14420d3a833ad..8c69118104287 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/GenericResourceData.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/GenericResourceData.cs @@ -25,7 +25,7 @@ public GenericResourceData(AzureLocation location) : base(location) /// Initializes a new instance of GenericResourceData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -39,7 +39,7 @@ public GenericResourceData(AzureLocation location) : base(location) /// The created time of the resource. This is only present if requested via the $expand query parameter. /// The changed time of the resource. This is only present if requested via the $expand query parameter. /// The provisioning state of the resource. This is only present if requested via the $expand query parameter. - internal GenericResourceData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, ExtendedLocation extendedLocation, ArmPlan plan, object properties, string kind, string managedBy, ResourcesSku sku, ManagedServiceIdentity identity, DateTimeOffset? createdTime, DateTimeOffset? changedTime, string provisioningState) : base(id, name, type, systemData, tags, location, extendedLocation) + internal GenericResourceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ExtendedLocation extendedLocation, ArmPlan plan, object properties, string kind, string managedBy, ResourcesSku sku, ManagedServiceIdentity identity, DateTimeOffset? createdTime, DateTimeOffset? changedTime, string provisioningState) : base(id, name, resourceType, systemData, tags, location, extendedLocation) { Plan = plan; Properties = properties; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/ManagementLockData.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/ManagementLockData.cs index 89df83481151b..bb99d2cc86c90 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/ManagementLockData.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/ManagementLockData.cs @@ -26,12 +26,12 @@ public ManagementLockData(LockLevel level) /// Initializes a new instance of ManagementLockData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The level of the lock. Possible values are: NotSpecified, CanNotDelete, ReadOnly. CanNotDelete means authorized users are able to read and modify the resources, but not delete. ReadOnly means authorized users can only read from a resource, but they can't modify or delete it. /// Notes about the lock. Maximum of 512 characters. /// The owners of the lock. - internal ManagementLockData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, LockLevel level, string notes, IList owners) : base(id, name, type, systemData) + internal ManagementLockData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, LockLevel level, string notes, IList owners) : base(id, name, resourceType, systemData) { Level = level; Notes = notes; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/Alias.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/Alias.cs index 45ab40d89be11..587c78351e489 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/Alias.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/Alias.cs @@ -22,15 +22,15 @@ internal Alias() /// Initializes a new instance of Alias. /// The alias name. /// The paths for an alias. - /// The type of the alias. + /// The type of the alias. /// The default path for an alias. /// The default pattern for an alias. /// The default alias path metadata. Applies to the default path and to any alias path that doesn't have metadata. - internal Alias(string name, IReadOnlyList paths, AliasType? type, string defaultPath, AliasPattern defaultPattern, AliasPathMetadata defaultMetadata) + internal Alias(string name, IReadOnlyList paths, AliasType? aliasType, string defaultPath, AliasPattern defaultPattern, AliasPathMetadata defaultMetadata) { Name = name; Paths = paths; - Type = type; + AliasType = aliasType; DefaultPath = defaultPath; DefaultPattern = defaultPattern; DefaultMetadata = defaultMetadata; @@ -41,7 +41,7 @@ internal Alias(string name, IReadOnlyList paths, AliasType? type, str /// The paths for an alias. public IReadOnlyList Paths { get; } /// The type of the alias. - public AliasType? Type { get; } + public AliasType? AliasType { get; } /// The default path for an alias. public string DefaultPath { get; } /// The default pattern for an alias. diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/AliasPathMetadata.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/AliasPathMetadata.cs index 405f9ce6555bd..9fb2a81153313 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/AliasPathMetadata.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/AliasPathMetadata.cs @@ -16,16 +16,16 @@ internal AliasPathMetadata() } /// Initializes a new instance of AliasPathMetadata. - /// The type of the token that the alias path is referring to. + /// The type of the token that the alias path is referring to. /// The attributes of the token that the alias path is referring to. - internal AliasPathMetadata(AliasPathTokenType? type, AliasPathAttributes? attributes) + internal AliasPathMetadata(AliasPathTokenType? aliasPathTokenType, AliasPathAttributes? attributes) { - Type = type; + AliasPathTokenType = aliasPathTokenType; Attributes = attributes; } /// The type of the token that the alias path is referring to. - public AliasPathTokenType? Type { get; } + public AliasPathTokenType? AliasPathTokenType { get; } /// The attributes of the token that the alias path is referring to. public AliasPathAttributes? Attributes { get; } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/AliasPattern.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/AliasPattern.cs index 868fc48616fd6..1dde13fa6474b 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/AliasPattern.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/AliasPattern.cs @@ -18,12 +18,12 @@ internal AliasPattern() /// Initializes a new instance of AliasPattern. /// The alias pattern phrase. /// The alias pattern variable. - /// The type of alias pattern. - internal AliasPattern(string phrase, string variable, AliasPatternType? type) + /// The type of alias pattern. + internal AliasPattern(string phrase, string variable, AliasPatternType? aliasPatternType) { Phrase = phrase; Variable = variable; - Type = type; + AliasPatternType = aliasPatternType; } /// The alias pattern phrase. @@ -31,6 +31,6 @@ internal AliasPattern(string phrase, string variable, AliasPatternType? type) /// The alias pattern variable. public string Variable { get; } /// The type of alias pattern. - public AliasPatternType? Type { get; } + public AliasPatternType? AliasPatternType { get; } } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ExtendedLocation.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ExtendedLocation.Serialization.cs index 042638356620b..3f231fc67ecf7 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ExtendedLocation.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ExtendedLocation.Serialization.cs @@ -15,10 +15,10 @@ public partial class ExtendedLocation : IUtf8JsonSerializable void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(ExtendedLocationType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type.Value.ToString()); + writer.WriteStringValue(ExtendedLocationType.Value.ToString()); } if (Optional.IsDefined(Name)) { diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ExtendedLocation.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ExtendedLocation.cs index 1729278db7add..3c0ec049591a6 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ExtendedLocation.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ExtendedLocation.cs @@ -16,16 +16,16 @@ public ExtendedLocation() } /// Initializes a new instance of ExtendedLocation. - /// The extended location type. + /// The extended location type. /// The extended location name. - internal ExtendedLocation(ExtendedLocationType? type, string name) + internal ExtendedLocation(ExtendedLocationType? extendedLocationType, string name) { - Type = type; + ExtendedLocationType = extendedLocationType; Name = name; } /// The extended location type. - public ExtendedLocationType? Type { get; set; } + public ExtendedLocationType? ExtendedLocationType { get; set; } /// The extended location name. public string Name { get; set; } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/LocationExpanded.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/LocationExpanded.cs index 6e2660a61a519..cecda0a628592 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/LocationExpanded.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/LocationExpanded.cs @@ -22,7 +22,7 @@ internal LocationExpanded() /// The location name. public string Name { get; } /// The location type. - public LocationType? Type { get; } + public LocationType? LocationType { get; } /// The display name of the location. public string DisplayName { get; } /// The display name of the location and its region. diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ParameterDefinitionsValue.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ParameterDefinitionsValue.Serialization.cs index 07c80fc95add7..0ad2cadbb4b87 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ParameterDefinitionsValue.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ParameterDefinitionsValue.Serialization.cs @@ -16,10 +16,10 @@ public partial class ParameterDefinitionsValue : IUtf8JsonSerializable void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(ParameterType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type.Value.ToString()); + writer.WriteStringValue(ParameterType.Value.ToString()); } if (Optional.IsCollectionDefined(AllowedValues)) { diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ParameterDefinitionsValue.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ParameterDefinitionsValue.cs index 33b179c1dbe76..e288e23f9229c 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ParameterDefinitionsValue.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ParameterDefinitionsValue.cs @@ -20,20 +20,20 @@ public ParameterDefinitionsValue() } /// Initializes a new instance of ParameterDefinitionsValue. - /// The data type of the parameter. + /// The data type of the parameter. /// The allowed values for the parameter. /// The default value for the parameter if no value is provided. /// General metadata for the parameter. - internal ParameterDefinitionsValue(ParameterType? type, IList allowedValues, object defaultValue, ParameterDefinitionsValueMetadata metadata) + internal ParameterDefinitionsValue(ParameterType? parameterType, IList allowedValues, object defaultValue, ParameterDefinitionsValueMetadata metadata) { - Type = type; + ParameterType = parameterType; AllowedValues = allowedValues; DefaultValue = defaultValue; Metadata = metadata; } /// The data type of the parameter. - public ParameterType? Type { get; set; } + public ParameterType? ParameterType { get; set; } /// The allowed values for the parameter. public IList AllowedValues { get; } /// The default value for the parameter if no value is provided. diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/PredefinedTagCount.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/PredefinedTagCount.cs index 209fc7c601049..7261a7048c013 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/PredefinedTagCount.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/PredefinedTagCount.cs @@ -16,16 +16,16 @@ internal PredefinedTagCount() } /// Initializes a new instance of PredefinedTagCount. - /// Type of count. + /// Type of count. /// Value of count. - internal PredefinedTagCount(string type, int? value) + internal PredefinedTagCount(string predefinedTagCountType, int? value) { - Type = type; + PredefinedTagCountType = predefinedTagCountType; Value = value; } /// Type of count. - public string Type { get; } + public string PredefinedTagCountType { get; } /// Value of count. public int? Value { get; } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ProviderExtendedLocation.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ProviderExtendedLocation.cs index f65de4237645a..7b4e0d781e6b9 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ProviderExtendedLocation.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ProviderExtendedLocation.cs @@ -21,19 +21,19 @@ internal ProviderExtendedLocation() /// Initializes a new instance of ProviderExtendedLocation. /// The azure location. - /// The extended location type. + /// The extended location type. /// The extended locations for the azure location. - internal ProviderExtendedLocation(string location, string type, IReadOnlyList extendedLocations) + internal ProviderExtendedLocation(string location, string providerExtendedLocationType, IReadOnlyList extendedLocations) { Location = location; - Type = type; + ProviderExtendedLocationType = providerExtendedLocationType; ExtendedLocations = extendedLocations; } /// The azure location. public string Location { get; } /// The extended location type. - public string Type { get; } + public string ProviderExtendedLocationType { get; } /// The extended locations for the azure location. public IReadOnlyList ExtendedLocations { get; } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceLinkData.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceLinkData.Serialization.cs index c34b17353fcd5..5803a1140c099 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceLinkData.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceLinkData.Serialization.cs @@ -7,6 +7,7 @@ using System.Text.Json; using Azure.Core; +using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources.Models; namespace Azure.ResourceManager.Resources @@ -26,15 +27,26 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) internal static ResourceLinkData DeserializeResourceLinkData(JsonElement element) { - Optional id = default; - Optional name = default; - Optional type = default; Optional properties = default; + ResourceIdentifier id = default; + string name = default; + ResourceType type = default; + SystemData systemData = default; foreach (var property in element.EnumerateObject()) { + if (property.NameEquals("properties")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + properties = ResourceLinkProperties.DeserializeResourceLinkProperties(property.Value); + continue; + } if (property.NameEquals("id")) { - id = property.Value.GetString(); + id = new ResourceIdentifier(property.Value.GetString()); continue; } if (property.NameEquals("name")) @@ -44,26 +56,16 @@ internal static ResourceLinkData DeserializeResourceLinkData(JsonElement element } if (property.NameEquals("type")) { - if (property.Value.ValueKind == JsonValueKind.Null) - { - property.ThrowNonNullablePropertyIsNull(); - continue; - } - type = property.Value.GetObject(); + type = property.Value.GetString(); continue; } - if (property.NameEquals("properties")) + if (property.NameEquals("systemData")) { - if (property.Value.ValueKind == JsonValueKind.Null) - { - property.ThrowNonNullablePropertyIsNull(); - continue; - } - properties = ResourceLinkProperties.DeserializeResourceLinkProperties(property.Value); + systemData = JsonSerializer.Deserialize(property.Value.ToString()); continue; } } - return new ResourceLinkData(id.Value, name.Value, type.Value, properties.Value); + return new ResourceLinkData(id, name, type, systemData, properties.Value); } } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/TrackedResourceExtended.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/TrackedResourceExtended.cs index cce7b759312a6..589e0abae513e 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/TrackedResourceExtended.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/TrackedResourceExtended.cs @@ -23,12 +23,12 @@ public TrackedResourceExtended(AzureLocation location) : base(location) /// Initializes a new instance of TrackedResourceExtended. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. /// Resource extended location. - internal TrackedResourceExtended(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, ExtendedLocation extendedLocation) : base(id, name, type, systemData, tags, location) + internal TrackedResourceExtended(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ExtendedLocation extendedLocation) : base(id, name, resourceType, systemData, tags, location) { ExtendedLocation = extendedLocation; } diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/PolicyAssignmentData.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/PolicyAssignmentData.cs index af147aefff242..cb8c2233d4f23 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/PolicyAssignmentData.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/PolicyAssignmentData.cs @@ -26,7 +26,7 @@ public PolicyAssignmentData() /// Initializes a new instance of PolicyAssignmentData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The location of the policy assignment. Only required when utilizing managed identity. /// The managed identity associated with the policy assignment. @@ -39,7 +39,7 @@ public PolicyAssignmentData() /// The policy assignment metadata. Metadata is an open ended object and is typically a collection of key value pairs. /// The policy assignment enforcement mode. Possible values are Default and DoNotEnforce. /// The messages that describe why a resource is non-compliant with the policy. - internal PolicyAssignmentData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string location, SystemAssignedServiceIdentity identity, string displayName, string policyDefinitionId, string scope, IList notScopes, IDictionary parameters, string description, object metadata, EnforcementMode? enforcementMode, IList nonComplianceMessages) : base(id, name, type, systemData) + internal PolicyAssignmentData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string location, SystemAssignedServiceIdentity identity, string displayName, string policyDefinitionId, string scope, IList notScopes, IDictionary parameters, string description, object metadata, EnforcementMode? enforcementMode, IList nonComplianceMessages) : base(id, name, resourceType, systemData) { Location = location; Identity = identity; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/PolicyDefinitionData.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/PolicyDefinitionData.cs index 970088e2b2e69..f2c7ec08f260c 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/PolicyDefinitionData.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/PolicyDefinitionData.cs @@ -24,7 +24,7 @@ public PolicyDefinitionData() /// Initializes a new instance of PolicyDefinitionData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static. /// The policy definition mode. Some examples are All, Indexed, Microsoft.KeyVault.Data. @@ -33,7 +33,7 @@ public PolicyDefinitionData() /// The policy rule. /// The policy definition metadata. Metadata is an open ended object and is typically a collection of key value pairs. /// The parameter definitions for parameters used in the policy rule. The keys are the parameter names. - internal PolicyDefinitionData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, PolicyType? policyType, string mode, string displayName, string description, object policyRule, object metadata, IDictionary parameters) : base(id, name, type, systemData) + internal PolicyDefinitionData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, PolicyType? policyType, string mode, string displayName, string description, object policyRule, object metadata, IDictionary parameters) : base(id, name, resourceType, systemData) { PolicyType = policyType; Mode = mode; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/PolicyExemptionData.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/PolicyExemptionData.cs index 5b6a17d329be5..3523ccb1248f8 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/PolicyExemptionData.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/PolicyExemptionData.cs @@ -35,7 +35,7 @@ public PolicyExemptionData(string policyAssignmentId, ExemptionCategory exemptio /// Initializes a new instance of PolicyExemptionData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The ID of the policy assignment that is being exempted. /// The policy definition reference ID list when the associated policy assignment is an assignment of a policy set definition. @@ -44,7 +44,7 @@ public PolicyExemptionData(string policyAssignmentId, ExemptionCategory exemptio /// The display name of the policy exemption. /// The description of the policy exemption. /// The policy exemption metadata. Metadata is an open ended object and is typically a collection of key value pairs. - internal PolicyExemptionData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string policyAssignmentId, IList policyDefinitionReferenceIds, ExemptionCategory exemptionCategory, DateTimeOffset? expiresOn, string displayName, string description, object metadata) : base(id, name, type, systemData) + internal PolicyExemptionData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string policyAssignmentId, IList policyDefinitionReferenceIds, ExemptionCategory exemptionCategory, DateTimeOffset? expiresOn, string displayName, string description, object metadata) : base(id, name, resourceType, systemData) { PolicyAssignmentId = policyAssignmentId; PolicyDefinitionReferenceIds = policyDefinitionReferenceIds; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/PolicySetDefinitionData.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/PolicySetDefinitionData.cs index 31f2d5b6365df..293ef528a6ade 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/PolicySetDefinitionData.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/PolicySetDefinitionData.cs @@ -26,7 +26,7 @@ public PolicySetDefinitionData() /// Initializes a new instance of PolicySetDefinitionData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static. /// The display name of the policy set definition. @@ -35,7 +35,7 @@ public PolicySetDefinitionData() /// The policy set definition parameters that can be used in policy definition references. /// An array of policy definition references. /// The metadata describing groups of policy definition references within the policy set definition. - internal PolicySetDefinitionData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, PolicyType? policyType, string displayName, string description, object metadata, IDictionary parameters, IList policyDefinitions, IList policyDefinitionGroups) : base(id, name, type, systemData) + internal PolicySetDefinitionData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, PolicyType? policyType, string displayName, string description, object metadata, IDictionary parameters, IList policyDefinitions, IList policyDefinitionGroups) : base(id, name, resourceType, systemData) { PolicyType = policyType; DisplayName = displayName; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/ResourceGroupData.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/ResourceGroupData.cs index 407b2ba763979..edceb61e6b546 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/ResourceGroupData.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/ResourceGroupData.cs @@ -24,13 +24,13 @@ public ResourceGroupData(AzureLocation location) : base(location) /// Initializes a new instance of ResourceGroupData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. /// The resource group properties. /// The ID of the resource that manages this resource group. - internal ResourceGroupData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, ResourceGroupProperties properties, string managedBy) : base(id, name, type, systemData, tags, location) + internal ResourceGroupData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ResourceGroupProperties properties, string managedBy) : base(id, name, resourceType, systemData, tags, location) { Properties = properties; ManagedBy = managedBy; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/ResourceLink.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/ResourceLink.cs index 07de62d0e6cd4..a8b199e1e498d 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/ResourceLink.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/ResourceLink.cs @@ -39,7 +39,7 @@ protected ResourceLink() /// Initializes a new instance of the class. /// The client parameters to use in these operations. /// The resource that is the target of operations. - internal ResourceLink(ArmClient client, ResourceLinkData data) : this(client, new ResourceIdentifier(data.Id)) + internal ResourceLink(ArmClient client, ResourceLinkData data) : this(client, data.Id) { HasData = true; _data = data; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/ResourceLinkData.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/ResourceLinkData.cs index 4b7f6fecc0f7c..b8d27d10186bc 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/ResourceLinkData.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/ResourceLinkData.cs @@ -5,12 +5,14 @@ #nullable disable +using Azure.Core; +using Azure.ResourceManager.Models; using Azure.ResourceManager.Resources.Models; namespace Azure.ResourceManager.Resources { /// A class representing the ResourceLink data model. - public partial class ResourceLinkData + public partial class ResourceLinkData : ResourceData { /// Initializes a new instance of ResourceLinkData. public ResourceLinkData() @@ -18,24 +20,16 @@ public ResourceLinkData() } /// Initializes a new instance of ResourceLinkData. - /// The fully qualified ID of the resource link. - /// The name of the resource link. - /// The resource link object. + /// The id. + /// The name. + /// The resourceType. + /// The systemData. /// Properties for resource link. - internal ResourceLinkData(string id, string name, object type, ResourceLinkProperties properties) + internal ResourceLinkData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, ResourceLinkProperties properties) : base(id, name, resourceType, systemData) { - Id = id; - Name = name; - Type = type; Properties = properties; } - /// The fully qualified ID of the resource link. - public string Id { get; } - /// The name of the resource link. - public string Name { get; } - /// The resource link object. - public object Type { get; } /// Properties for resource link. public ResourceLinkProperties Properties { get; set; } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/TagResourceData.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/TagResourceData.cs index ffe2afb919d80..14ad07acd2f76 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/TagResourceData.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/TagResourceData.cs @@ -32,10 +32,10 @@ public TagResourceData(Tag properties) /// Initializes a new instance of TagResourceData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The set of tags. - internal TagResourceData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, Tag properties) : base(id, name, type, systemData) + internal TagResourceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, Tag properties) : base(id, name, resourceType, systemData) { Properties = properties; } diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/autorest.md b/sdk/resourcemanager/Azure.ResourceManager/src/autorest.md index 4d41adcbf74a8..d9b9cf0c5ef52 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/autorest.md +++ b/sdk/resourcemanager/Azure.ResourceManager/src/autorest.md @@ -39,6 +39,7 @@ directive: - remove-model: "locationData" - remove-model: "CheckNameAvailabilityRequest" - remove-model: "CheckNameAvailabilityResponse" + - remove-model: "ErrorResponse" - from: types.json where: $.definitions['Resource'] transform: > @@ -73,6 +74,9 @@ directive: $["x-accessibility"] = "public"; $["x-csharp-formats"] = "json"; $["x-csharp-usage"] = "model,input,output"; + - from: managedidentity.json + where: $.definitions.SystemAssignedServiceIdentity.properties.type + transform: $["x-ms-client-name"] = "SystemAssignedServiceIdentityType" ``` ### Tag: package-resources @@ -98,8 +102,6 @@ list-exception: - /{linkId} - /{resourceId} request-path-to-resource-data: - # model of ResourceLink has id, type and name, but its type has the type of `object` instead of `string` - /{linkId}: ResourceLink # subscription does not have name and type /subscriptions/{subscriptionId}: Subscription # tenant does not have name and type @@ -150,7 +152,7 @@ override-operation-name: Resources_ListByResourceGroup: GetGenericResources Providers_RegisterAtManagementGroupScope: RegisterProvider ResourceLinks_ListAtSubscription: GetResourceLinks -no-property-type-replacement: ProviderData;Provider +no-property-type-replacement: ProviderData;Provider; directive: # These methods can be replaced by using other methods in the same operation group, remove for Preview. - remove-operation: PolicyAssignments_DeleteById @@ -396,6 +398,11 @@ directive: - from: locks.json where: $.definitions.ManagementLockObject transform: $["x-ms-client-name"] = "ManagementLock" + - from: links.json + where: $.definitions.ResourceLink.properties.type + transform: > + $["x-ms-client-name"] = "ResourceType"; + $["type"] = "string"; ``` ### Tag: package-management @@ -432,6 +439,10 @@ directive: - rename-model: from: CreateParentGroupInfo to: ManagementGroupParentCreateOptions + - from: management.json + where: $.definitions.CheckNameAvailabilityRequest.properties.type + transform: > + $['x-ms-client-name'] = "ResourceType" - rename-model: from: CheckNameAvailabilityRequest to: CheckNameAvailabilityOptions diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/DataPolicyManifestCollectionTests.cs b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/DataPolicyManifestCollectionTests.cs index 03c64a830f103..fe281935e97a2 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/DataPolicyManifestCollectionTests.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/DataPolicyManifestCollectionTests.cs @@ -23,7 +23,7 @@ public async Task List() { await foreach (var tempDataPolicyManifest in tenant.GetDataPolicyManifests().GetAllAsync()) { - Assert.AreEqual(tempDataPolicyManifest.Data.Type, "Microsoft.Authorization/dataPolicyManifests"); + Assert.AreEqual(tempDataPolicyManifest.Data.ResourceType, "Microsoft.Authorization/dataPolicyManifests"); } } } @@ -35,7 +35,7 @@ public async Task Get() await foreach (var tenant in Client.GetTenants().GetAllAsync()) { DataPolicyManifest dataPolicyManifest = await tenant.GetDataPolicyManifests().GetAsync("Microsoft.Network.Data"); - Assert.AreEqual(dataPolicyManifest.Data.Type, "Microsoft.Authorization/dataPolicyManifests"); + Assert.AreEqual(dataPolicyManifest.Data.ResourceType, "Microsoft.Authorization/dataPolicyManifests"); Assert.AreEqual(dataPolicyManifest.Data.PolicyMode, "Microsoft.Network.Data"); } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/FeatureCollectionTests.cs b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/FeatureCollectionTests.cs index de0d6a6389ca8..f7cf4e120fec1 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/FeatureCollectionTests.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/FeatureCollectionTests.cs @@ -26,7 +26,7 @@ public async Task List() Assert.IsNotNull(testFeature.Data.Id); Assert.IsNotNull(testFeature.Data.Name); Assert.IsNotNull(testFeature.Data.Properties); - Assert.IsNotNull(testFeature.Data.Type); + Assert.IsNotNull(testFeature.Data.ResourceType); } [RecordedTest] @@ -38,7 +38,7 @@ public async Task Get() Assert.IsNotNull(feature.Data.Id); Assert.AreEqual("Microsoft.Compute/AHUB", feature.Data.Name); Assert.IsNotNull(feature.Data.Properties); - Assert.IsNotNull(feature.Data.Type); + Assert.IsNotNull(feature.Data.ResourceType); var ex = Assert.ThrowsAsync(async () => _ = await provider.GetFeatures().GetAsync("DoesNotExist")); Assert.AreEqual(404, ex.Status); @@ -53,7 +53,7 @@ public async Task TryGet() Assert.IsNotNull(feature.Data.Id); Assert.AreEqual("Microsoft.Compute/AHUB", feature.Data.Name); Assert.IsNotNull(feature.Data.Properties); - Assert.IsNotNull(feature.Data.Type); + Assert.IsNotNull(feature.Data.ResourceType); var response = await provider.GetFeatures().GetIfExistsAsync("DoesNotExist"); Assert.IsNull(response.Value); diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/FeatureOperationsTests.cs b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/FeatureOperationsTests.cs index 33cdf715fac5f..82cf03636c57a 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/FeatureOperationsTests.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/FeatureOperationsTests.cs @@ -33,7 +33,7 @@ public async Task Get() Assert.AreEqual(featureFromCollection.Data.Id, feature.Data.Id); Assert.AreEqual(featureFromCollection.Data.Name, feature.Data.Name); Assert.AreEqual(featureFromCollection.Data.Properties.State, feature.Data.Properties.State); - Assert.AreEqual(featureFromCollection.Data.Type, feature.Data.Type); + Assert.AreEqual(featureFromCollection.Data.ResourceType, feature.Data.ResourceType); ResourceIdentifier invalidId = new ResourceIdentifier(feature.Data.Id.ToString() + "x"); var ex = Assert.ThrowsAsync(async () => _ = await Client.GetFeature(invalidId).GetAsync()); @@ -72,13 +72,13 @@ public async Task RegisterAndUnregister() Assert.AreEqual(feature.Data.Id, afterRegister.Data.Id); Assert.AreEqual(feature.Data.Name, afterRegister.Data.Name); Assert.AreEqual("Pending", afterRegister.Data.Properties.State); - Assert.AreEqual(feature.Data.Type, afterRegister.Data.Type); + Assert.AreEqual(feature.Data.ResourceType, afterRegister.Data.ResourceType); Feature afterUnRegister = await feature.UnregisterAsync(); Assert.AreEqual(feature.Data.Id, afterUnRegister.Data.Id); Assert.AreEqual(feature.Data.Name, afterUnRegister.Data.Name); Assert.AreEqual("Unregistering", afterUnRegister.Data.Properties.State); - Assert.AreEqual(feature.Data.Type, afterUnRegister.Data.Type); + Assert.AreEqual(feature.Data.ResourceType, afterUnRegister.Data.ResourceType); } } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ManagementGroupCollectionTests.cs b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ManagementGroupCollectionTests.cs index 75ee5392589eb..6fa1464329883 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ManagementGroupCollectionTests.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ManagementGroupCollectionTests.cs @@ -42,7 +42,7 @@ public async Task List() Assert.IsNotNull(mgmtGroup.Data.Id, "Id was null"); Assert.IsNotNull(mgmtGroup.Data.Name, "Name was null"); Assert.IsNotNull(mgmtGroup.Data.TenantId, "TenantId was null"); - Assert.IsNotNull(mgmtGroup.Data.Type, "Type was null"); + Assert.IsNotNull(mgmtGroup.Data.ResourceType, "Type was null"); Assert.IsEmpty(mgmtGroup.Data.Children); Assert.IsNull(mgmtGroup.Data.Details); } @@ -82,7 +82,7 @@ public async Task CreateOrUpdate() Assert.AreEqual($"/providers/Microsoft.Management/managementGroups/{mgmtGroupName}", mgmtGroup.Data.Id.ToString()); Assert.AreEqual(mgmtGroupName, mgmtGroup.Data.Name); Assert.AreEqual(mgmtGroupName, mgmtGroup.Data.DisplayName); - Assert.AreEqual(ManagementGroup.ResourceType, mgmtGroup.Data.Type); + Assert.AreEqual(ManagementGroup.ResourceType, mgmtGroup.Data.ResourceType); } [RecordedTest] @@ -94,7 +94,7 @@ public async Task StartCreateOrUpdate() Assert.AreEqual($"/providers/Microsoft.Management/managementGroups/{mgmtGroupName}", mgmtGroup.Data.Id.ToString()); Assert.AreEqual(mgmtGroupName, mgmtGroup.Data.Name); Assert.AreEqual(mgmtGroupName, mgmtGroup.Data.DisplayName); - Assert.AreEqual(ManagementGroup.ResourceType, mgmtGroup.Data.Type); + Assert.AreEqual(ManagementGroup.ResourceType, mgmtGroup.Data.ResourceType); } [RecordedTest] diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ManagementGroupOperationsTests.cs b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ManagementGroupOperationsTests.cs index cb2f08799411a..b4cad67acd2b4 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ManagementGroupOperationsTests.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ManagementGroupOperationsTests.cs @@ -88,7 +88,7 @@ public async Task Update() Assert.AreEqual(mgmtGroup.Data.Id, patchedMgmtGroup.Data.Id); Assert.AreEqual(mgmtGroup.Data.Name, patchedMgmtGroup.Data.Name); Assert.AreEqual(mgmtGroup.Data.TenantId, patchedMgmtGroup.Data.TenantId); - Assert.AreEqual(mgmtGroup.Data.Type, patchedMgmtGroup.Data.Type); + Assert.AreEqual(mgmtGroup.Data.ResourceType, patchedMgmtGroup.Data.ResourceType); } } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ManagementLockObjectCollectionTests.cs b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ManagementLockObjectCollectionTests.cs index 270a964e69b8f..e2bb585c17c45 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ManagementLockObjectCollectionTests.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ManagementLockObjectCollectionTests.cs @@ -101,7 +101,7 @@ private void AssertValidManagementLockObject(ManagementLock model, ManagementLoc { Assert.AreEqual(model.Data.Name, getResult.Data.Name); Assert.AreEqual(model.Data.Id, getResult.Data.Id); - Assert.AreEqual(model.Data.Type, getResult.Data.Type); + Assert.AreEqual(model.Data.ResourceType, getResult.Data.ResourceType); Assert.AreEqual(model.Data.Level, getResult.Data.Level); Assert.AreEqual(model.Data.Notes, getResult.Data.Notes); if(model.Data.Owners != null || getResult.Data.Owners != null) diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/PolicyAssignmentCollectionTests.cs b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/PolicyAssignmentCollectionTests.cs index 84a7257a3de1d..16dec71df62e9 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/PolicyAssignmentCollectionTests.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/PolicyAssignmentCollectionTests.cs @@ -115,7 +115,7 @@ private void AssertValidPolicyAssignment(PolicyAssignment model, PolicyAssignmen { Assert.AreEqual(model.Data.Name, getResult.Data.Name); Assert.AreEqual(model.Data.Id, getResult.Data.Id); - Assert.AreEqual(model.Data.Type, getResult.Data.Type); + Assert.AreEqual(model.Data.ResourceType, getResult.Data.ResourceType); Assert.AreEqual(model.Data.Location, getResult.Data.Location); Assert.AreEqual(model.Data.Identity, getResult.Data.Identity); Assert.AreEqual(model.Data.DisplayName, getResult.Data.DisplayName); diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/PolicyDefinitionCollectionTests.cs b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/PolicyDefinitionCollectionTests.cs index 1dfb1cf8512d3..3fa9e4af42571 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/PolicyDefinitionCollectionTests.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/PolicyDefinitionCollectionTests.cs @@ -101,7 +101,7 @@ private static void AssertValidPolicyDefinition(SubscriptionPolicyDefinition mod { Assert.AreEqual(model.Data.Name, getResult.Data.Name); Assert.AreEqual(model.Data.Id, getResult.Data.Id); - Assert.AreEqual(model.Data.Type, getResult.Data.Type); + Assert.AreEqual(model.Data.ResourceType, getResult.Data.ResourceType); Assert.AreEqual(model.Data.PolicyType, getResult.Data.PolicyType); Assert.AreEqual(model.Data.Mode, getResult.Data.Mode); Assert.AreEqual(model.Data.DisplayName, getResult.Data.DisplayName); @@ -117,7 +117,7 @@ private static void AssertValidPolicyDefinition(SubscriptionPolicyDefinition mod { Assert.AreEqual(getResult.Data.Parameters.ContainsKey(kvp.Key), true); ParameterDefinitionsValue getParameterDefinitionsValue = getResult.Data.Parameters[kvp.Key]; - Assert.AreEqual(kvp.Value.Type, getParameterDefinitionsValue.Type); + Assert.AreEqual(kvp.Value.ParameterType, getParameterDefinitionsValue.ParameterType); if (kvp.Value.AllowedValues != null || getParameterDefinitionsValue.AllowedValues != null) { Assert.NotNull(kvp.Value.AllowedValues); diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/PolicyExemptionCollectionTests.cs b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/PolicyExemptionCollectionTests.cs index c78bb3320fc26..0485ab689cccd 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/PolicyExemptionCollectionTests.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/PolicyExemptionCollectionTests.cs @@ -123,7 +123,7 @@ private void AssertValidPolicyExemption(PolicyExemption model, PolicyExemption g { Assert.AreEqual(model.Data.Name, getResult.Data.Name); Assert.AreEqual(model.Data.Id, getResult.Data.Id); - Assert.AreEqual(model.Data.Type, getResult.Data.Type); + Assert.AreEqual(model.Data.ResourceType, getResult.Data.ResourceType); if(model.Data.SystemData != null || getResult.Data.SystemData != null) { Assert.NotNull(model.Data.SystemData); diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/PolicySetDefinitionCollectionTests.cs b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/PolicySetDefinitionCollectionTests.cs index 0a214be98b476..721a18c67699a 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/PolicySetDefinitionCollectionTests.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/PolicySetDefinitionCollectionTests.cs @@ -110,7 +110,7 @@ private static void AssertValidPolicySetDefinition(SubscriptionPolicySetDefiniti { Assert.AreEqual(model.Data.Name, getResult.Data.Name); Assert.AreEqual(model.Data.Id, getResult.Data.Id); - Assert.AreEqual(model.Data.Type, getResult.Data.Type); + Assert.AreEqual(model.Data.ResourceType, getResult.Data.ResourceType); Assert.AreEqual(model.Data.PolicyType, getResult.Data.PolicyType); Assert.AreEqual(model.Data.DisplayName, getResult.Data.DisplayName); Assert.AreEqual(model.Data.Description, getResult.Data.Description); @@ -124,7 +124,7 @@ private static void AssertValidPolicySetDefinition(SubscriptionPolicySetDefiniti { Assert.AreEqual(getResult.Data.Parameters.ContainsKey(kvp.Key), true); ParameterDefinitionsValue getParameterDefinitionsValue = getResult.Data.Parameters[kvp.Key]; - Assert.AreEqual(kvp.Value.Type, getParameterDefinitionsValue.Type); + Assert.AreEqual(kvp.Value.ParameterType, getParameterDefinitionsValue.ParameterType); if (kvp.Value.AllowedValues != null || getParameterDefinitionsValue.AllowedValues != null) { Assert.NotNull(kvp.Value.AllowedValues); diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ResourceGroupCollectionTests.cs b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ResourceGroupCollectionTests.cs index 1f2299af83051..b311a0616165b 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ResourceGroupCollectionTests.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ResourceGroupCollectionTests.cs @@ -101,7 +101,7 @@ public async Task Get() ResourceGroup rg2 = await subscription.GetResourceGroups().GetAsync(rgName); Assert.AreEqual(rg.Data.Name, rg2.Data.Name); Assert.AreEqual(rg.Data.Id, rg2.Data.Id); - Assert.AreEqual(rg.Data.Type, rg2.Data.Type); + Assert.AreEqual(rg.Data.ResourceType, rg2.Data.ResourceType); Assert.AreEqual(rg.Data.Properties.ProvisioningState, rg2.Data.Properties.ProvisioningState); Assert.AreEqual(rg.Data.Location, rg2.Data.Location); Assert.AreEqual(rg.Data.ManagedBy, rg2.Data.ManagedBy); diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ResourceGroupOperationsTests.cs b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ResourceGroupOperationsTests.cs index 54d8ecc43c7ab..ce80540aa82ce 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ResourceGroupOperationsTests.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ResourceGroupOperationsTests.cs @@ -73,7 +73,7 @@ public async Task Get() ResourceGroup rg2 = await rg1.GetAsync(); Assert.AreEqual(rg1.Data.Name, rg2.Data.Name); Assert.AreEqual(rg1.Data.Id, rg2.Data.Id); - Assert.AreEqual(rg1.Data.Type, rg2.Data.Type); + Assert.AreEqual(rg1.Data.ResourceType, rg2.Data.ResourceType); Assert.AreEqual(rg1.Data.Properties.ProvisioningState, rg2.Data.Properties.ProvisioningState); Assert.AreEqual(rg1.Data.Location, rg2.Data.Location); Assert.AreEqual(rg1.Data.ManagedBy, rg2.Data.ManagedBy); @@ -99,7 +99,7 @@ public async Task Update() ResourceGroup rg2 = await rg1.UpdateAsync(parameters); Assert.AreEqual(rg1.Data.Name, rg2.Data.Name); Assert.AreEqual(rg1.Data.Id, rg2.Data.Id); - Assert.AreEqual(rg1.Data.Type, rg2.Data.Type); + Assert.AreEqual(rg1.Data.ResourceType, rg2.Data.ResourceType); Assert.AreEqual(rg1.Data.Properties.ProvisioningState, rg2.Data.Properties.ProvisioningState); Assert.AreEqual(rg1.Data.Location, rg2.Data.Location); Assert.AreEqual(rg1.Data.ManagedBy, rg2.Data.ManagedBy); @@ -140,7 +140,7 @@ public async Task AddTag() Assert.IsTrue(rg2.Data.Tags.Contains(new KeyValuePair("key", "value"))); Assert.AreEqual(rg1.Data.Name, rg2.Data.Name); Assert.AreEqual(rg1.Data.Id, rg2.Data.Id); - Assert.AreEqual(rg1.Data.Type, rg2.Data.Type); + Assert.AreEqual(rg1.Data.ResourceType, rg2.Data.ResourceType); Assert.AreEqual(rg1.Data.Properties.ProvisioningState, rg2.Data.Properties.ProvisioningState); Assert.AreEqual(rg1.Data.Location, rg2.Data.Location); Assert.AreEqual(rg1.Data.ManagedBy, rg2.Data.ManagedBy); @@ -166,7 +166,7 @@ public async Task SetTags() Assert.AreEqual(tags, rg2.Data.Tags); Assert.AreEqual(rg1.Data.Name, rg2.Data.Name); Assert.AreEqual(rg1.Data.Id, rg2.Data.Id); - Assert.AreEqual(rg1.Data.Type, rg2.Data.Type); + Assert.AreEqual(rg1.Data.ResourceType, rg2.Data.ResourceType); Assert.AreEqual(rg1.Data.Properties.ProvisioningState, rg2.Data.Properties.ProvisioningState); Assert.AreEqual(rg1.Data.Location, rg2.Data.Location); Assert.AreEqual(rg1.Data.ManagedBy, rg2.Data.ManagedBy); @@ -195,7 +195,7 @@ public async Task RemoveTag() Assert.AreEqual(tags2, rg2.Data.Tags); Assert.AreEqual(rg1.Data.Name, rg2.Data.Name); Assert.AreEqual(rg1.Data.Id, rg2.Data.Id); - Assert.AreEqual(rg1.Data.Type, rg2.Data.Type); + Assert.AreEqual(rg1.Data.ResourceType, rg2.Data.ResourceType); Assert.AreEqual(rg1.Data.Properties.ProvisioningState, rg2.Data.Properties.ProvisioningState); Assert.AreEqual(rg1.Data.Location, rg2.Data.Location); Assert.AreEqual(rg1.Data.ManagedBy, rg2.Data.ManagedBy); diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ResourceLinkCollectionTests.cs b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ResourceLinkCollectionTests.cs index 523b3dac8bc86..23aa56e789c11 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ResourceLinkCollectionTests.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ResourceLinkCollectionTests.cs @@ -87,7 +87,7 @@ private void AssertValidResourceLink(ResourceLink model, ResourceLink getResult) { Assert.AreEqual(model.Data.Name, getResult.Data.Name); Assert.AreEqual(model.Data.Id, getResult.Data.Id); - Assert.AreEqual(model.Data.Type, getResult.Data.Type); + Assert.AreEqual(model.Data.ResourceType, getResult.Data.ResourceType); if(model.Data.Properties != null || getResult.Data.Properties != null) { Assert.NotNull(model.Data.Properties); diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ResourceManagerTestBase.cs b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ResourceManagerTestBase.cs index 758fbfb9c0430..afe1faf8fb12c 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ResourceManagerTestBase.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/Scenario/ResourceManagerTestBase.cs @@ -103,7 +103,7 @@ protected void CompareMgmtGroups(ManagementGroup expected, ManagementGroup actua Assert.AreEqual(expected.Data.Id, actual.Data.Id); Assert.AreEqual(expected.Data.Name, actual.Data.Name); Assert.AreEqual(expected.Data.TenantId, actual.Data.TenantId); - Assert.AreEqual(expected.Data.Type, actual.Data.Type); + Assert.AreEqual(expected.Data.ResourceType, actual.Data.ResourceType); Assert.IsNotNull(actual.Data.Details, "Details were null"); Assert.IsNotNull(actual.Data.Children, "Children were null"); } diff --git a/sdk/resourcemanager/Azure.ResourceManager/tests/Unit/ManagedServiceIdentityTest.cs b/sdk/resourcemanager/Azure.ResourceManager/tests/Unit/ManagedServiceIdentityTest.cs index 76b3d8d164179..2831083ffe431 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/tests/Unit/ManagedServiceIdentityTest.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/tests/Unit/ManagedServiceIdentityTest.cs @@ -141,7 +141,7 @@ public void TestDeserializerValidSystemAndUserAssigned() Assert.AreEqual("/subscriptions/db1ab6f0-4769-4aa7-930e-01e2ef9c123c/resourceGroups/tester/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity", user.Keys.First().ToString()); Assert.AreEqual("9a9eaa6a-b49c-4c63-afb5-3b72e3e65422", user.Values.First().ClientId.ToString()); Assert.AreEqual("77563a98-c9d9-407b-a7af-592d21fa2153", user.Values.First().PrincipalId.ToString()); - Assert.AreEqual("SystemAssigned, UserAssigned", back.Type.ToString()); + Assert.AreEqual("SystemAssigned, UserAssigned", back.ManagedServiceIdentityType.ToString()); } [TestCase] @@ -158,7 +158,7 @@ public void TestDeserializerValidSystemAndUserAssignedV3() Assert.AreEqual("9a9eaa6a-b49c-4c63-afb5-3b72e3e65422", user.Values.First().ClientId.ToString()); Assert.AreEqual("77563a98-c9d9-407b-a7af-592d21fa2153", user.Values.First().PrincipalId.ToString()); Assert.IsTrue(identityJson.Contains("SystemAssigned,UserAssigned")); - Assert.AreEqual("SystemAssigned, UserAssigned", back.Type.ToString()); + Assert.AreEqual("SystemAssigned, UserAssigned", back.ManagedServiceIdentityType.ToString()); } [TestCase] @@ -209,7 +209,7 @@ public void TestDeserializeFromV4AndSerializeToV3SystemAndUser() Assert.AreEqual("/subscriptions/db1ab6f0-4769-4aa7-930e-01e2ef9c123c/resourceGroups/tester/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity", userIdentities.Keys.First().ToString()); Assert.AreEqual("9a9eaa6a-b49c-4c63-afb5-3b72e3e65422", userIdentities.Values.First().ClientId.ToString()); Assert.AreEqual("77563a98-c9d9-407b-a7af-592d21fa2153", userIdentities.Values.First().PrincipalId.ToString()); - Assert.AreEqual("SystemAssigned, UserAssigned", back.Type.ToString()); + Assert.AreEqual("SystemAssigned, UserAssigned", back.ManagedServiceIdentityType.ToString()); //Serialize to v3 string user = "{}"; string expectedV3 = "{" + @@ -236,7 +236,7 @@ public void TestDeserializeFromV3AndSerializeToV4SystemAndUser() Assert.AreEqual("/subscriptions/db1ab6f0-4769-4aa7-930e-01e2ef9c123c/resourceGroups/tester/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity", userIdentities.Keys.First().ToString()); Assert.AreEqual("9a9eaa6a-b49c-4c63-afb5-3b72e3e65422", userIdentities.Values.First().ClientId.ToString()); Assert.AreEqual("77563a98-c9d9-407b-a7af-592d21fa2153", userIdentities.Values.First().PrincipalId.ToString()); - Assert.AreEqual("SystemAssigned, UserAssigned", back.Type.ToString()); + Assert.AreEqual("SystemAssigned, UserAssigned", back.ManagedServiceIdentityType.ToString()); //Serialize to v4 string user = "{}"; string expectedV4 = "{" + diff --git a/sdk/resources/Azure.ResourceManager.Resources/api/Azure.ResourceManager.Resources.netstandard2.0.cs b/sdk/resources/Azure.ResourceManager.Resources/api/Azure.ResourceManager.Resources.netstandard2.0.cs index 24b917f6d7118..9fcccda7d5ddf 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/api/Azure.ResourceManager.Resources.netstandard2.0.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/api/Azure.ResourceManager.Resources.netstandard2.0.cs @@ -443,8 +443,8 @@ namespace Azure.ResourceManager.Resources.Models public partial class ApplicationArtifact { internal ApplicationArtifact() { } + public Azure.ResourceManager.Resources.Models.ApplicationArtifactType ApplicationArtifactType { get { throw null; } } public Azure.ResourceManager.Resources.Models.ApplicationArtifactName Name { get { throw null; } } - public Azure.ResourceManager.Resources.Models.ApplicationArtifactType Type { get { throw null; } } public System.Uri Uri { get { throw null; } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] @@ -488,9 +488,9 @@ internal ApplicationClientDetails() { } } public partial class ApplicationDefinitionArtifact { - public ApplicationDefinitionArtifact(Azure.ResourceManager.Resources.Models.ApplicationDefinitionArtifactName name, System.Uri uri, Azure.ResourceManager.Resources.Models.ApplicationArtifactType type) { } + public ApplicationDefinitionArtifact(Azure.ResourceManager.Resources.Models.ApplicationDefinitionArtifactName name, System.Uri uri, Azure.ResourceManager.Resources.Models.ApplicationArtifactType applicationArtifactType) { } + public Azure.ResourceManager.Resources.Models.ApplicationArtifactType ApplicationArtifactType { get { throw null; } set { } } public Azure.ResourceManager.Resources.Models.ApplicationDefinitionArtifactName Name { get { throw null; } set { } } - public Azure.ResourceManager.Resources.Models.ApplicationArtifactType Type { get { throw null; } set { } } public System.Uri Uri { get { throw null; } set { } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] @@ -530,9 +530,9 @@ public enum ApplicationLockLevel public partial class ApplicationManagedIdentity { public ApplicationManagedIdentity() { } + public Azure.ResourceManager.Resources.Models.ApplicationManagedIdentityType? ApplicationManagedIdentityType { get { throw null; } set { } } public string PrincipalId { get { throw null; } } public string TenantId { get { throw null; } } - public Azure.ResourceManager.Resources.Models.ApplicationManagedIdentityType? Type { get { throw null; } set { } } public System.Collections.Generic.IDictionary UserAssignedIdentities { get { throw null; } } } public enum ApplicationManagedIdentityType @@ -772,8 +772,8 @@ internal DeploymentPropertiesExtended() { } public partial class DeploymentScriptManagedIdentity { public DeploymentScriptManagedIdentity() { } + public Azure.ResourceManager.Resources.Models.DeploymentScriptManagedIdentityType? DeploymentScriptManagedIdentityType { get { throw null; } set { } } public string TenantId { get { throw null; } } - public Azure.ResourceManager.Resources.Models.DeploymentScriptManagedIdentityType? Type { get { throw null; } set { } } public System.Collections.Generic.IDictionary UserAssignedIdentities { get { throw null; } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] @@ -860,7 +860,7 @@ public partial class JitApproverDefinition public JitApproverDefinition(string id) { } public string DisplayName { get { throw null; } set { } } public string Id { get { throw null; } set { } } - public Azure.ResourceManager.Resources.Models.JitApproverType? Type { get { throw null; } set { } } + public Azure.ResourceManager.Resources.Models.JitApproverType? JitApproverType { get { throw null; } set { } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct JitApproverType : System.IEquatable @@ -912,10 +912,10 @@ public JitAuthorizationPolicies(string principalId, string roleDefinitionId) { } } public partial class JitSchedulingPolicy { - public JitSchedulingPolicy(Azure.ResourceManager.Resources.Models.JitSchedulingType type, System.TimeSpan duration, System.DateTimeOffset startTime) { } + public JitSchedulingPolicy(Azure.ResourceManager.Resources.Models.JitSchedulingType jitSchedulingType, System.TimeSpan duration, System.DateTimeOffset startTime) { } public System.TimeSpan Duration { get { throw null; } set { } } + public Azure.ResourceManager.Resources.Models.JitSchedulingType JitSchedulingType { get { throw null; } } public System.DateTimeOffset StartTime { get { throw null; } set { } } - public Azure.ResourceManager.Resources.Models.JitSchedulingType Type { get { throw null; } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct JitSchedulingType : System.IEquatable @@ -946,14 +946,14 @@ public partial class OnErrorDeployment { public OnErrorDeployment() { } public string DeploymentName { get { throw null; } set { } } - public Azure.ResourceManager.Resources.Models.OnErrorDeploymentType? Type { get { throw null; } set { } } + public Azure.ResourceManager.Resources.Models.OnErrorDeploymentType? OnErrorDeploymentType { get { throw null; } set { } } } public partial class OnErrorDeploymentExtended { internal OnErrorDeploymentExtended() { } public string DeploymentName { get { throw null; } } + public Azure.ResourceManager.Resources.Models.OnErrorDeploymentType? OnErrorDeploymentType { get { throw null; } } public string ProvisioningState { get { throw null; } } - public Azure.ResourceManager.Resources.Models.OnErrorDeploymentType? Type { get { throw null; } } } public enum OnErrorDeploymentType { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ApplicationData.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ApplicationData.cs index df9b0d6f50d98..c9161fcbeb622 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ApplicationData.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ApplicationData.cs @@ -35,7 +35,7 @@ public ApplicationData(AzureLocation location, string kind) : base(location) /// Initializes a new instance of ApplicationData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -59,7 +59,7 @@ public ApplicationData(AzureLocation location, string kind) : base(location) /// The collection of managed application artifacts. /// The client entity that created the JIT request. /// The client entity that last updated the JIT request. - internal ApplicationData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, string managedBy, ApplicationSku sku, ArmPlan plan, string kind, ApplicationManagedIdentity identity, string managedResourceGroupId, string applicationDefinitionId, object parameters, object outputs, ProvisioningState? provisioningState, ApplicationBillingDetailsDefinition billingDetails, ApplicationJitAccessPolicy jitAccessPolicy, string publisherTenantId, IReadOnlyList authorizations, ApplicationManagementMode? managementMode, ApplicationPackageContact customerSupport, ApplicationPackageSupportUrls supportUrls, IReadOnlyList artifacts, ApplicationClientDetails createdBy, ApplicationClientDetails updatedBy) : base(id, name, type, systemData, tags, location, managedBy, sku) + internal ApplicationData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string managedBy, ApplicationSku sku, ArmPlan plan, string kind, ApplicationManagedIdentity identity, string managedResourceGroupId, string applicationDefinitionId, object parameters, object outputs, ProvisioningState? provisioningState, ApplicationBillingDetailsDefinition billingDetails, ApplicationJitAccessPolicy jitAccessPolicy, string publisherTenantId, IReadOnlyList authorizations, ApplicationManagementMode? managementMode, ApplicationPackageContact customerSupport, ApplicationPackageSupportUrls supportUrls, IReadOnlyList artifacts, ApplicationClientDetails createdBy, ApplicationClientDetails updatedBy) : base(id, name, resourceType, systemData, tags, location, managedBy, sku) { Plan = plan; Kind = kind; diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ApplicationDefinitionData.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ApplicationDefinitionData.cs index c1c30db2d1a37..be37f5a7d0624 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ApplicationDefinitionData.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ApplicationDefinitionData.cs @@ -30,7 +30,7 @@ public ApplicationDefinitionData(AzureLocation location, ApplicationLockLevel lo /// Initializes a new instance of ApplicationDefinitionData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -50,7 +50,7 @@ public ApplicationDefinitionData(AzureLocation location, ApplicationLockLevel lo /// The managed application deployment policy. /// The managed application management policy that determines publisher's access to the managed resource group. /// The managed application provider policies. - internal ApplicationDefinitionData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, string managedBy, ApplicationSku sku, ApplicationLockLevel lockLevel, string displayName, bool? isEnabled, IList authorizations, IList artifacts, string description, Uri packageFileUri, object mainTemplate, object createUiDefinition, ApplicationNotificationPolicy notificationPolicy, ApplicationPackageLockingPolicyDefinition lockingPolicy, ApplicationDeploymentPolicy deploymentPolicy, ApplicationManagementPolicy managementPolicy, IList policies) : base(id, name, type, systemData, tags, location, managedBy, sku) + internal ApplicationDefinitionData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string managedBy, ApplicationSku sku, ApplicationLockLevel lockLevel, string displayName, bool? isEnabled, IList authorizations, IList artifacts, string description, Uri packageFileUri, object mainTemplate, object createUiDefinition, ApplicationNotificationPolicy notificationPolicy, ApplicationPackageLockingPolicyDefinition lockingPolicy, ApplicationDeploymentPolicy deploymentPolicy, ApplicationManagementPolicy managementPolicy, IList policies) : base(id, name, resourceType, systemData, tags, location, managedBy, sku) { LockLevel = lockLevel; DisplayName = displayName; diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentData.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentData.cs index 8e183203296d8..92029b766f792 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentData.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentData.cs @@ -24,12 +24,12 @@ internal DeploymentData() /// Initializes a new instance of DeploymentData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// the location of the deployment. /// Deployment properties. /// Deployment tags. - internal DeploymentData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string location, DeploymentPropertiesExtended properties, IReadOnlyDictionary tags) : base(id, name, type, systemData) + internal DeploymentData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string location, DeploymentPropertiesExtended properties, IReadOnlyDictionary tags) : base(id, name, resourceType, systemData) { Location = location; Properties = properties; diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentScriptData.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentScriptData.cs index d51d3db1ee99c..cedeff9ef6068 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentScriptData.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/DeploymentScriptData.cs @@ -33,13 +33,13 @@ public DeploymentScriptData(string location) /// Initializes a new instance of DeploymentScriptData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Optional property. Managed identity to be used for this deployment script. Currently, only user-assigned MSI is supported. /// The location of the ACI and the storage account for the deployment script. /// Resource tags. /// Type of the script. - internal DeploymentScriptData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, DeploymentScriptManagedIdentity identity, string location, IDictionary tags, ScriptType kind) : base(id, name, type, systemData) + internal DeploymentScriptData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, DeploymentScriptManagedIdentity identity, string location, IDictionary tags, ScriptType kind) : base(id, name, resourceType, systemData) { Identity = identity; Location = location; diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/JitRequestData.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/JitRequestData.cs index f6b365f88aa4f..3b1ae480a5e43 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/JitRequestData.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/JitRequestData.cs @@ -25,7 +25,7 @@ public JitRequestData(AzureLocation location) : base(location) /// Initializes a new instance of JitRequestData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -37,7 +37,7 @@ public JitRequestData(AzureLocation location) : base(location) /// The JIT request state. /// The client entity that created the JIT request. /// The client entity that last updated the JIT request. - internal JitRequestData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, string applicationResourceId, string publisherTenantId, IList jitAuthorizationPolicies, JitSchedulingPolicy jitSchedulingPolicy, ProvisioningState? provisioningState, JitRequestState? jitRequestState, ApplicationClientDetails createdBy, ApplicationClientDetails updatedBy) : base(id, name, type, systemData, tags, location) + internal JitRequestData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string applicationResourceId, string publisherTenantId, IList jitAuthorizationPolicies, JitSchedulingPolicy jitSchedulingPolicy, ProvisioningState? provisioningState, JitRequestState? jitRequestState, ApplicationClientDetails createdBy, ApplicationClientDetails updatedBy) : base(id, name, resourceType, systemData, tags, location) { ApplicationResourceId = applicationResourceId; PublisherTenantId = publisherTenantId; diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ApplicationArtifact.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ApplicationArtifact.cs index d432cbd843c2f..dfe5fb286fc90 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ApplicationArtifact.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ApplicationArtifact.cs @@ -15,9 +15,9 @@ public partial class ApplicationArtifact /// Initializes a new instance of ApplicationArtifact. /// The managed application artifact name. /// The managed application artifact blob uri. - /// The managed application artifact type. + /// The managed application artifact type. /// is null. - internal ApplicationArtifact(ApplicationArtifactName name, Uri uri, ApplicationArtifactType type) + internal ApplicationArtifact(ApplicationArtifactName name, Uri uri, ApplicationArtifactType applicationArtifactType) { if (uri == null) { @@ -26,7 +26,7 @@ internal ApplicationArtifact(ApplicationArtifactName name, Uri uri, ApplicationA Name = name; Uri = uri; - Type = type; + ApplicationArtifactType = applicationArtifactType; } /// The managed application artifact name. @@ -34,6 +34,6 @@ internal ApplicationArtifact(ApplicationArtifactName name, Uri uri, ApplicationA /// The managed application artifact blob uri. public Uri Uri { get; } /// The managed application artifact type. - public ApplicationArtifactType Type { get; } + public ApplicationArtifactType ApplicationArtifactType { get; } } } diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ApplicationDefinitionArtifact.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ApplicationDefinitionArtifact.Serialization.cs index 6ebde842e34d8..48064399c520a 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ApplicationDefinitionArtifact.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ApplicationDefinitionArtifact.Serialization.cs @@ -21,7 +21,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("uri"); writer.WriteStringValue(Uri.AbsoluteUri); writer.WritePropertyName("type"); - writer.WriteStringValue(Type.ToSerialString()); + writer.WriteStringValue(ApplicationArtifactType.ToSerialString()); writer.WriteEndObject(); } diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ApplicationDefinitionArtifact.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ApplicationDefinitionArtifact.cs index 4d309761d49d2..7f2ed62ae353d 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ApplicationDefinitionArtifact.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ApplicationDefinitionArtifact.cs @@ -15,9 +15,9 @@ public partial class ApplicationDefinitionArtifact /// Initializes a new instance of ApplicationDefinitionArtifact. /// The managed application definition artifact name. /// The managed application definition artifact blob uri. - /// The managed application definition artifact type. + /// The managed application definition artifact type. /// is null. - public ApplicationDefinitionArtifact(ApplicationDefinitionArtifactName name, Uri uri, ApplicationArtifactType type) + public ApplicationDefinitionArtifact(ApplicationDefinitionArtifactName name, Uri uri, ApplicationArtifactType applicationArtifactType) { if (uri == null) { @@ -26,7 +26,7 @@ public ApplicationDefinitionArtifact(ApplicationDefinitionArtifactName name, Uri Name = name; Uri = uri; - Type = type; + ApplicationArtifactType = applicationArtifactType; } /// The managed application definition artifact name. @@ -34,6 +34,6 @@ public ApplicationDefinitionArtifact(ApplicationDefinitionArtifactName name, Uri /// The managed application definition artifact blob uri. public Uri Uri { get; set; } /// The managed application definition artifact type. - public ApplicationArtifactType Type { get; set; } + public ApplicationArtifactType ApplicationArtifactType { get; set; } } } diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ApplicationManagedIdentity.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ApplicationManagedIdentity.Serialization.cs index db53e7e41ff81..bff7cd877dae5 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ApplicationManagedIdentity.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ApplicationManagedIdentity.Serialization.cs @@ -16,10 +16,10 @@ public partial class ApplicationManagedIdentity : IUtf8JsonSerializable void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(ApplicationManagedIdentityType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type.Value.ToSerialString()); + writer.WriteStringValue(ApplicationManagedIdentityType.Value.ToSerialString()); } if (Optional.IsCollectionDefined(UserAssignedIdentities)) { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ApplicationManagedIdentity.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ApplicationManagedIdentity.cs index 30ca7f35feb69..2c4f32ac8e2b8 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ApplicationManagedIdentity.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ApplicationManagedIdentity.cs @@ -22,13 +22,13 @@ public ApplicationManagedIdentity() /// Initializes a new instance of ApplicationManagedIdentity. /// The principal ID of resource identity. /// The tenant ID of resource. - /// The identity type. + /// The identity type. /// The list of user identities associated with the resource. The user identity dictionary key references will be resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. - internal ApplicationManagedIdentity(string principalId, string tenantId, ApplicationManagedIdentityType? type, IDictionary userAssignedIdentities) + internal ApplicationManagedIdentity(string principalId, string tenantId, ApplicationManagedIdentityType? applicationManagedIdentityType, IDictionary userAssignedIdentities) { PrincipalId = principalId; TenantId = tenantId; - Type = type; + ApplicationManagedIdentityType = applicationManagedIdentityType; UserAssignedIdentities = userAssignedIdentities; } @@ -37,7 +37,7 @@ internal ApplicationManagedIdentity(string principalId, string tenantId, Applica /// The tenant ID of resource. public string TenantId { get; } /// The identity type. - public ApplicationManagedIdentityType? Type { get; set; } + public ApplicationManagedIdentityType? ApplicationManagedIdentityType { get; set; } /// The list of user identities associated with the resource. The user identity dictionary key references will be resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. public IDictionary UserAssignedIdentities { get; } } diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ApplicationResource.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ApplicationResource.cs index 72e057b781645..5814d91c27951 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ApplicationResource.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ApplicationResource.cs @@ -23,13 +23,13 @@ public ApplicationResource(AzureLocation location) : base(location) /// Initializes a new instance of ApplicationResource. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. /// ID of the resource that manages this resource. /// The SKU of the resource. - internal ApplicationResource(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, string managedBy, ApplicationSku sku) : base(id, name, type, systemData, tags, location) + internal ApplicationResource(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string managedBy, ApplicationSku sku) : base(id, name, resourceType, systemData, tags, location) { ManagedBy = managedBy; Sku = sku; diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/AzureCliScript.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/AzureCliScript.cs index 916a5f49680cf..80b95b6760525 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/AzureCliScript.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/AzureCliScript.cs @@ -43,7 +43,7 @@ public AzureCliScript(string location, TimeSpan retentionInterval, string azCliV /// Initializes a new instance of AzureCliScript. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Optional property. Managed identity to be used for this deployment script. Currently, only user-assigned MSI is supported. /// The location of the ACI and the storage account for the deployment script. @@ -64,7 +64,7 @@ public AzureCliScript(string location, TimeSpan retentionInterval, string azCliV /// Interval for which the service retains the script resource after it reaches a terminal state. Resource will be deleted when this duration expires. Duration is based on ISO 8601 pattern (for example P1D means one day). /// Maximum allowed script execution time specified in ISO 8601 format. Default value is P1D. /// Azure CLI module version to be used. - internal AzureCliScript(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, DeploymentScriptManagedIdentity identity, string location, IDictionary tags, ScriptType kind, ContainerConfiguration containerSettings, StorageAccountConfiguration storageAccountSettings, CleanupOptions? cleanupPreference, ScriptProvisioningState? provisioningState, ScriptStatus status, IReadOnlyDictionary outputs, Uri primaryScriptUri, IList supportingScriptUris, string scriptContent, string arguments, IList environmentVariables, string forceUpdateTag, TimeSpan retentionInterval, TimeSpan? timeout, string azCliVersion) : base(id, name, type, systemData, identity, location, tags, kind) + internal AzureCliScript(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, DeploymentScriptManagedIdentity identity, string location, IDictionary tags, ScriptType kind, ContainerConfiguration containerSettings, StorageAccountConfiguration storageAccountSettings, CleanupOptions? cleanupPreference, ScriptProvisioningState? provisioningState, ScriptStatus status, IReadOnlyDictionary outputs, Uri primaryScriptUri, IList supportingScriptUris, string scriptContent, string arguments, IList environmentVariables, string forceUpdateTag, TimeSpan retentionInterval, TimeSpan? timeout, string azCliVersion) : base(id, name, resourceType, systemData, identity, location, tags, kind) { ContainerSettings = containerSettings; StorageAccountSettings = storageAccountSettings; diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/AzurePowerShellScript.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/AzurePowerShellScript.cs index 2b87b2bca8533..665a65cea279e 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/AzurePowerShellScript.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/AzurePowerShellScript.cs @@ -43,7 +43,7 @@ public AzurePowerShellScript(string location, TimeSpan retentionInterval, string /// Initializes a new instance of AzurePowerShellScript. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Optional property. Managed identity to be used for this deployment script. Currently, only user-assigned MSI is supported. /// The location of the ACI and the storage account for the deployment script. @@ -64,7 +64,7 @@ public AzurePowerShellScript(string location, TimeSpan retentionInterval, string /// Interval for which the service retains the script resource after it reaches a terminal state. Resource will be deleted when this duration expires. Duration is based on ISO 8601 pattern (for example P1D means one day). /// Maximum allowed script execution time specified in ISO 8601 format. Default value is P1D. /// Azure PowerShell module version to be used. - internal AzurePowerShellScript(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, DeploymentScriptManagedIdentity identity, string location, IDictionary tags, ScriptType kind, ContainerConfiguration containerSettings, StorageAccountConfiguration storageAccountSettings, CleanupOptions? cleanupPreference, ScriptProvisioningState? provisioningState, ScriptStatus status, IReadOnlyDictionary outputs, Uri primaryScriptUri, IList supportingScriptUris, string scriptContent, string arguments, IList environmentVariables, string forceUpdateTag, TimeSpan retentionInterval, TimeSpan? timeout, string azPowerShellVersion) : base(id, name, type, systemData, identity, location, tags, kind) + internal AzurePowerShellScript(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, DeploymentScriptManagedIdentity identity, string location, IDictionary tags, ScriptType kind, ContainerConfiguration containerSettings, StorageAccountConfiguration storageAccountSettings, CleanupOptions? cleanupPreference, ScriptProvisioningState? provisioningState, ScriptStatus status, IReadOnlyDictionary outputs, Uri primaryScriptUri, IList supportingScriptUris, string scriptContent, string arguments, IList environmentVariables, string forceUpdateTag, TimeSpan retentionInterval, TimeSpan? timeout, string azPowerShellVersion) : base(id, name, resourceType, systemData, identity, location, tags, kind) { ContainerSettings = containerSettings; StorageAccountSettings = storageAccountSettings; diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/DeploymentScriptManagedIdentity.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/DeploymentScriptManagedIdentity.Serialization.cs index 1c99aa419197e..810344784750b 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/DeploymentScriptManagedIdentity.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/DeploymentScriptManagedIdentity.Serialization.cs @@ -17,10 +17,10 @@ public partial class DeploymentScriptManagedIdentity : IUtf8JsonSerializable void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(DeploymentScriptManagedIdentityType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type.Value.ToString()); + writer.WriteStringValue(DeploymentScriptManagedIdentityType.Value.ToString()); } if (Optional.IsCollectionDefined(UserAssignedIdentities)) { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/DeploymentScriptManagedIdentity.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/DeploymentScriptManagedIdentity.cs index f24aa4decea2c..9dbced0d7288f 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/DeploymentScriptManagedIdentity.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/DeploymentScriptManagedIdentity.cs @@ -21,18 +21,18 @@ public DeploymentScriptManagedIdentity() } /// Initializes a new instance of DeploymentScriptManagedIdentity. - /// Type of the managed identity. + /// Type of the managed identity. /// ID of the Azure Active Directory. /// The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity. - internal DeploymentScriptManagedIdentity(DeploymentScriptManagedIdentityType? type, string tenantId, IDictionary userAssignedIdentities) + internal DeploymentScriptManagedIdentity(DeploymentScriptManagedIdentityType? deploymentScriptManagedIdentityType, string tenantId, IDictionary userAssignedIdentities) { - Type = type; + DeploymentScriptManagedIdentityType = deploymentScriptManagedIdentityType; TenantId = tenantId; UserAssignedIdentities = userAssignedIdentities; } /// Type of the managed identity. - public DeploymentScriptManagedIdentityType? Type { get; set; } + public DeploymentScriptManagedIdentityType? DeploymentScriptManagedIdentityType { get; set; } /// ID of the Azure Active Directory. public string TenantId { get; } /// The list of user-assigned managed identities associated with the resource. Key is the Azure resource Id of the managed identity. diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/DeploymentScriptsError.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/DeploymentScriptsError.Serialization.cs new file mode 100644 index 0000000000000..88016b1112fba --- /dev/null +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/DeploymentScriptsError.Serialization.cs @@ -0,0 +1,35 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Text.Json; +using Azure.Core; +using Azure.ResourceManager.Models; + +namespace Azure.ResourceManager.Resources.Models +{ + internal partial class DeploymentScriptsError + { + internal static DeploymentScriptsError DeserializeDeploymentScriptsError(JsonElement element) + { + Optional error = default; + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("error")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + error = JsonSerializer.Deserialize(property.Value.ToString()); + continue; + } + } + return new DeploymentScriptsError(error); + } + } +} diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/DeploymentScriptsError.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/DeploymentScriptsError.cs new file mode 100644 index 0000000000000..0f2872dec3c7b --- /dev/null +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/DeploymentScriptsError.cs @@ -0,0 +1,30 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using Azure.ResourceManager.Models; + +namespace Azure.ResourceManager.Resources.Models +{ + /// Deployment scripts error response. + internal partial class DeploymentScriptsError + { + /// Initializes a new instance of DeploymentScriptsError. + internal DeploymentScriptsError() + { + } + + /// Initializes a new instance of DeploymentScriptsError. + /// Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). + internal DeploymentScriptsError(ErrorDetail error) + { + Error = error; + } + + /// Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). + public ErrorDetail Error { get; } + } +} diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/JitApproverDefinition.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/JitApproverDefinition.Serialization.cs index b1d866b68f2a4..f37c28d52937b 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/JitApproverDefinition.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/JitApproverDefinition.Serialization.cs @@ -17,10 +17,10 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WriteStartObject(); writer.WritePropertyName("id"); writer.WriteStringValue(Id); - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(JitApproverType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type.Value.ToString()); + writer.WriteStringValue(JitApproverType.Value.ToString()); } if (Optional.IsDefined(DisplayName)) { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/JitApproverDefinition.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/JitApproverDefinition.cs index 0451b994416c7..4eab543780247 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/JitApproverDefinition.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/JitApproverDefinition.cs @@ -27,19 +27,19 @@ public JitApproverDefinition(string id) /// Initializes a new instance of JitApproverDefinition. /// The approver service principal Id. - /// The approver type. + /// The approver type. /// The approver display name. - internal JitApproverDefinition(string id, JitApproverType? type, string displayName) + internal JitApproverDefinition(string id, JitApproverType? jitApproverType, string displayName) { Id = id; - Type = type; + JitApproverType = jitApproverType; DisplayName = displayName; } /// The approver service principal Id. public string Id { get; set; } /// The approver type. - public JitApproverType? Type { get; set; } + public JitApproverType? JitApproverType { get; set; } /// The approver display name. public string DisplayName { get; set; } } diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/JitSchedulingPolicy.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/JitSchedulingPolicy.cs index 2926c1c743e3d..44eebd9ca333d 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/JitSchedulingPolicy.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/JitSchedulingPolicy.cs @@ -13,18 +13,18 @@ namespace Azure.ResourceManager.Resources.Models public partial class JitSchedulingPolicy { /// Initializes a new instance of JitSchedulingPolicy. - /// The type of JIT schedule. + /// The type of JIT schedule. /// The required duration of the JIT request. /// The start time of the request. - public JitSchedulingPolicy(JitSchedulingType type, TimeSpan duration, DateTimeOffset startTime) + public JitSchedulingPolicy(JitSchedulingType jitSchedulingType, TimeSpan duration, DateTimeOffset startTime) { - Type = type; + JitSchedulingType = jitSchedulingType; Duration = duration; StartTime = startTime; } /// The type of JIT schedule. - public JitSchedulingType Type { get; } + public JitSchedulingType JitSchedulingType { get; } /// The required duration of the JIT request. public TimeSpan Duration { get; set; } /// The start time of the request. diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/OnErrorDeployment.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/OnErrorDeployment.Serialization.cs index dba06381e3dc1..a6a3a54db5e96 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/OnErrorDeployment.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/OnErrorDeployment.Serialization.cs @@ -15,10 +15,10 @@ public partial class OnErrorDeployment : IUtf8JsonSerializable void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(OnErrorDeploymentType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type.Value.ToSerialString()); + writer.WriteStringValue(OnErrorDeploymentType.Value.ToSerialString()); } if (Optional.IsDefined(DeploymentName)) { diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/OnErrorDeployment.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/OnErrorDeployment.cs index f5e6f6795441b..cca533b9c4db5 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/OnErrorDeployment.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/OnErrorDeployment.cs @@ -16,7 +16,7 @@ public OnErrorDeployment() } /// The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment. - public OnErrorDeploymentType? Type { get; set; } + public OnErrorDeploymentType? OnErrorDeploymentType { get; set; } /// The deployment to be used on error case. public string DeploymentName { get; set; } } diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/OnErrorDeploymentExtended.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/OnErrorDeploymentExtended.cs index db43a4f3af9b1..90c4fde77deeb 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/OnErrorDeploymentExtended.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/OnErrorDeploymentExtended.cs @@ -17,19 +17,19 @@ internal OnErrorDeploymentExtended() /// Initializes a new instance of OnErrorDeploymentExtended. /// The state of the provisioning for the on error deployment. - /// The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment. + /// The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment. /// The deployment to be used on error case. - internal OnErrorDeploymentExtended(string provisioningState, OnErrorDeploymentType? type, string deploymentName) + internal OnErrorDeploymentExtended(string provisioningState, OnErrorDeploymentType? onErrorDeploymentType, string deploymentName) { ProvisioningState = provisioningState; - Type = type; + OnErrorDeploymentType = onErrorDeploymentType; DeploymentName = deploymentName; } /// The state of the provisioning for the on error deployment. public string ProvisioningState { get; } /// The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment. - public OnErrorDeploymentType? Type { get; } + public OnErrorDeploymentType? OnErrorDeploymentType { get; } /// The deployment to be used on error case. public string DeploymentName { get; } } diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/PatchableApplicationData.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/PatchableApplicationData.cs index 459ac5ed7e47a..b8520ace0c000 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/PatchableApplicationData.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/PatchableApplicationData.cs @@ -25,7 +25,7 @@ public PatchableApplicationData(AzureLocation location) : base(location) /// Initializes a new instance of PatchableApplicationData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -49,7 +49,7 @@ public PatchableApplicationData(AzureLocation location) : base(location) /// The collection of managed application artifacts. /// The client entity that created the JIT request. /// The client entity that last updated the JIT request. - internal PatchableApplicationData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, string managedBy, ApplicationSku sku, ArmPlan plan, string kind, ApplicationManagedIdentity identity, string managedResourceGroupId, string applicationDefinitionId, object parameters, object outputs, ProvisioningState? provisioningState, ApplicationBillingDetailsDefinition billingDetails, ApplicationJitAccessPolicy jitAccessPolicy, string publisherTenantId, IReadOnlyList authorizations, ApplicationManagementMode? managementMode, ApplicationPackageContact customerSupport, ApplicationPackageSupportUrls supportUrls, IReadOnlyList artifacts, ApplicationClientDetails createdBy, ApplicationClientDetails updatedBy) : base(id, name, type, systemData, tags, location, managedBy, sku) + internal PatchableApplicationData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string managedBy, ApplicationSku sku, ArmPlan plan, string kind, ApplicationManagedIdentity identity, string managedResourceGroupId, string applicationDefinitionId, object parameters, object outputs, ProvisioningState? provisioningState, ApplicationBillingDetailsDefinition billingDetails, ApplicationJitAccessPolicy jitAccessPolicy, string publisherTenantId, IReadOnlyList authorizations, ApplicationManagementMode? managementMode, ApplicationPackageContact customerSupport, ApplicationPackageSupportUrls supportUrls, IReadOnlyList artifacts, ApplicationClientDetails createdBy, ApplicationClientDetails updatedBy) : base(id, name, resourceType, systemData, tags, location, managedBy, sku) { Plan = plan; Kind = kind; diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/PatchableDeploymentScriptData.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/PatchableDeploymentScriptData.cs index 2f310c0e8b1b4..ade155652d959 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/PatchableDeploymentScriptData.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/PatchableDeploymentScriptData.cs @@ -23,10 +23,10 @@ public PatchableDeploymentScriptData() /// Initializes a new instance of PatchableDeploymentScriptData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Resource tags to be updated. - internal PatchableDeploymentScriptData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags) : base(id, name, type, systemData) + internal PatchableDeploymentScriptData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags) : base(id, name, resourceType, systemData) { Tags = tags; } diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/PatchableTemplateSpecData.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/PatchableTemplateSpecData.cs index ae6bcc2f3853c..564f766173535 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/PatchableTemplateSpecData.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/PatchableTemplateSpecData.cs @@ -23,10 +23,10 @@ public PatchableTemplateSpecData() /// Initializes a new instance of PatchableTemplateSpecData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Resource tags. - internal PatchableTemplateSpecData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags) : base(id, name, type, systemData) + internal PatchableTemplateSpecData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags) : base(id, name, resourceType, systemData) { Tags = tags; } diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/PatchableTemplateSpecVersionData.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/PatchableTemplateSpecVersionData.cs index 3b856891bafd0..6edcc8ca4cca4 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/PatchableTemplateSpecVersionData.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/PatchableTemplateSpecVersionData.cs @@ -23,10 +23,10 @@ public PatchableTemplateSpecVersionData() /// Initializes a new instance of PatchableTemplateSpecVersionData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Resource tags. - internal PatchableTemplateSpecVersionData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags) : base(id, name, type, systemData) + internal PatchableTemplateSpecVersionData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags) : base(id, name, resourceType, systemData) { Tags = tags; } diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/TemplateSpecsError.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/TemplateSpecsError.Serialization.cs new file mode 100644 index 0000000000000..f56c85c1c761e --- /dev/null +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/TemplateSpecsError.Serialization.cs @@ -0,0 +1,35 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Text.Json; +using Azure.Core; +using Azure.ResourceManager.Models; + +namespace Azure.ResourceManager.Resources.Models +{ + internal partial class TemplateSpecsError + { + internal static TemplateSpecsError DeserializeTemplateSpecsError(JsonElement element) + { + Optional error = default; + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("error")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + error = JsonSerializer.Deserialize(property.Value.ToString()); + continue; + } + } + return new TemplateSpecsError(error); + } + } +} diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/TemplateSpecsError.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/TemplateSpecsError.cs new file mode 100644 index 0000000000000..9c4ce900cb212 --- /dev/null +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/TemplateSpecsError.cs @@ -0,0 +1,30 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using Azure.ResourceManager.Models; + +namespace Azure.ResourceManager.Resources.Models +{ + /// Template Specs error response. + internal partial class TemplateSpecsError + { + /// Initializes a new instance of TemplateSpecsError. + internal TemplateSpecsError() + { + } + + /// Initializes a new instance of TemplateSpecsError. + /// Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). + internal TemplateSpecsError(ErrorDetail error) + { + Error = error; + } + + /// Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). + public ErrorDetail Error { get; } + } +} diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ScriptLogData.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ScriptLogData.cs index adb4c20f458a0..5d5919fd3680c 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ScriptLogData.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ScriptLogData.cs @@ -21,10 +21,10 @@ public ScriptLogData() /// Initializes a new instance of ScriptLogData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Script execution logs in text format. - internal ScriptLogData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string log) : base(id, name, type, systemData) + internal ScriptLogData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string log) : base(id, name, resourceType, systemData) { Log = log; } diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/TemplateSpecData.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/TemplateSpecData.cs index e46b67597c597..ba234e9d9d690 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/TemplateSpecData.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/TemplateSpecData.cs @@ -34,7 +34,7 @@ public TemplateSpecData(string location) /// Initializes a new instance of TemplateSpecData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The location of the Template Spec. It cannot be changed after Template Spec creation. It must be one of the supported Azure locations. /// Resource tags. @@ -42,7 +42,7 @@ public TemplateSpecData(string location) /// Template Spec display name. /// The Template Spec metadata. Metadata is an open-ended object and is typically a collection of key-value pairs. /// High-level information about the versions within this Template Spec. The keys are the version names. Only populated if the $expand query parameter is set to 'versions'. - internal TemplateSpecData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string location, IDictionary tags, string description, string displayName, object metadata, IReadOnlyDictionary versions) : base(id, name, type, systemData) + internal TemplateSpecData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string location, IDictionary tags, string description, string displayName, object metadata, IReadOnlyDictionary versions) : base(id, name, resourceType, systemData) { Location = location; Tags = tags; diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/TemplateSpecVersionData.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/TemplateSpecVersionData.cs index 7f5b781483804..12afc899af431 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/TemplateSpecVersionData.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/TemplateSpecVersionData.cs @@ -34,7 +34,7 @@ public TemplateSpecVersionData(string location) /// Initializes a new instance of TemplateSpecVersionData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The location of the Template Spec Version. It must match the location of the parent Template Spec. /// Resource tags. @@ -43,7 +43,7 @@ public TemplateSpecVersionData(string location) /// The version metadata. Metadata is an open-ended object and is typically a collection of key-value pairs. /// The main Azure Resource Manager template content. /// The Azure Resource Manager template UI definition content. - internal TemplateSpecVersionData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string location, IDictionary tags, string description, IList linkedTemplates, object metadata, object mainTemplate, object uiFormDefinition) : base(id, name, type, systemData) + internal TemplateSpecVersionData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string location, IDictionary tags, string description, IList linkedTemplates, object metadata, object mainTemplate, object uiFormDefinition) : base(id, name, resourceType, systemData) { Location = location; Tags = tags; diff --git a/sdk/resources/Azure.ResourceManager.Resources/tests/ResourcesTestBase.cs b/sdk/resources/Azure.ResourceManager.Resources/tests/ResourcesTestBase.cs index 6c0fa6019b1cc..adb7447cd1a5c 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/tests/ResourcesTestBase.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/tests/ResourcesTestBase.cs @@ -131,7 +131,7 @@ protected async Task GetDeploymentScriptDataAsync() GenericResource userAssignedIdentities = lro2.Value; var managedIdentity = new DeploymentScriptManagedIdentity() { - Type = "UserAssigned", + DeploymentScriptManagedIdentityType = "UserAssigned", UserAssignedIdentities = { { diff --git a/sdk/resources/Azure.ResourceManager.Resources/tests/Scenario/ApplicationCollectionTests.cs b/sdk/resources/Azure.ResourceManager.Resources/tests/Scenario/ApplicationCollectionTests.cs index 230c3e7b7f57e..d43c3c65dc777 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/tests/Scenario/ApplicationCollectionTests.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/tests/Scenario/ApplicationCollectionTests.cs @@ -110,7 +110,7 @@ private static void AssertValidApplication(Application model, Application getRes { Assert.AreEqual(model.Data.Name, getResult.Data.Name); Assert.AreEqual(model.Data.Id, getResult.Data.Id); - Assert.AreEqual(model.Data.Type, getResult.Data.Type); + Assert.AreEqual(model.Data.ResourceType, getResult.Data.ResourceType); if (model.Data.Plan != null || getResult.Data.Plan != null) { Assert.NotNull(model.Data.Plan); @@ -144,7 +144,7 @@ private static void AssertValidApplication(Application model, Application getRes for (int i = 0; i < model.Data.JitAccessPolicy.JitApprovers.Count; ++i) { Assert.AreEqual(model.Data.JitAccessPolicy.JitApprovers[i].DisplayName, getResult.Data.JitAccessPolicy.JitApprovers[i].DisplayName); - Assert.AreEqual(model.Data.JitAccessPolicy.JitApprovers[i].Type, getResult.Data.JitAccessPolicy.JitApprovers[i].Type); + Assert.AreEqual(model.Data.JitAccessPolicy.JitApprovers[i].JitApproverType, getResult.Data.JitAccessPolicy.JitApprovers[i].JitApproverType); } Assert.AreEqual(model.Data.JitAccessPolicy.MaximumJitAccessDuration, getResult.Data.JitAccessPolicy.MaximumJitAccessDuration); } @@ -180,7 +180,7 @@ private static void AssertValidApplication(Application model, Application getRes { Assert.AreEqual(model.Data.Artifacts[i].Name, getResult.Data.Artifacts[i].Name); Assert.AreEqual(model.Data.Artifacts[i].Uri, getResult.Data.Artifacts[i].Uri); - Assert.AreEqual(model.Data.Artifacts[i].Type, getResult.Data.Artifacts[i].Type); + Assert.AreEqual(model.Data.Artifacts[i].ApplicationArtifactType, getResult.Data.Artifacts[i].ApplicationArtifactType); } } if (model.Data.CreatedBy != null || getResult.Data.CreatedBy != null) diff --git a/sdk/resources/Azure.ResourceManager.Resources/tests/Scenario/ApplicationDefinitionCollectionTests.cs b/sdk/resources/Azure.ResourceManager.Resources/tests/Scenario/ApplicationDefinitionCollectionTests.cs index be9bf78d6a239..7c36ce32ca5db 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/tests/Scenario/ApplicationDefinitionCollectionTests.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/tests/Scenario/ApplicationDefinitionCollectionTests.cs @@ -74,7 +74,7 @@ private static void AssertValidApplicationDefinition(ApplicationDefinition model { Assert.AreEqual(model.Data.Name, getResult.Data.Name); Assert.AreEqual(model.Data.Id, getResult.Data.Id); - Assert.AreEqual(model.Data.Type, getResult.Data.Type); + Assert.AreEqual(model.Data.ResourceType, getResult.Data.ResourceType); Assert.AreEqual(model.Data.LockLevel, getResult.Data.LockLevel); Assert.AreEqual(model.Data.DisplayName, getResult.Data.DisplayName); Assert.AreEqual(model.Data.IsEnabled, getResult.Data.IsEnabled); @@ -170,7 +170,7 @@ private static void AssertValidArtifacts(ApplicationDefinitionArtifact model, Ap { Assert.AreEqual(model.Name, getResult.Name); Assert.AreEqual(model.Uri, getResult.Uri); - Assert.AreEqual(model.Type, getResult.Type); + Assert.AreEqual(model.ApplicationArtifactType, getResult.ApplicationArtifactType); } private static void AssertValidPolicy(ApplicationPolicy model, ApplicationPolicy getResult) diff --git a/sdk/resources/Azure.ResourceManager.Resources/tests/Scenario/DeploymentCollectionTests.cs b/sdk/resources/Azure.ResourceManager.Resources/tests/Scenario/DeploymentCollectionTests.cs index 1491ba3572f70..d4ea59618466a 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/tests/Scenario/DeploymentCollectionTests.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/tests/Scenario/DeploymentCollectionTests.cs @@ -108,7 +108,7 @@ private static void AssertValidDeployment(Deployment model, Deployment getResult { Assert.AreEqual(model.Data.Name, getResult.Data.Name); Assert.AreEqual(model.Data.Id, getResult.Data.Id); - Assert.AreEqual(model.Data.Type, getResult.Data.Type); + Assert.AreEqual(model.Data.ResourceType, getResult.Data.ResourceType); Assert.AreEqual(model.Data.Location, getResult.Data.Location); if (model.Data.Properties != null || getResult.Data.Properties != null) { @@ -151,7 +151,7 @@ private static void AssertValidDeployment(Deployment model, Deployment getResult Assert.NotNull(getResult.Data.Properties.OnErrorDeployment); Assert.AreEqual(model.Data.Properties.OnErrorDeployment.DeploymentName, getResult.Data.Properties.OnErrorDeployment.DeploymentName); Assert.AreEqual(model.Data.Properties.OnErrorDeployment.ProvisioningState, getResult.Data.Properties.OnErrorDeployment.ProvisioningState); - Assert.AreEqual(model.Data.Properties.OnErrorDeployment.Type, getResult.Data.Properties.OnErrorDeployment.Type); + Assert.AreEqual(model.Data.Properties.OnErrorDeployment.OnErrorDeploymentType, getResult.Data.Properties.OnErrorDeployment.OnErrorDeploymentType); } Assert.AreEqual(model.Data.Properties.TemplateHash, getResult.Data.Properties.TemplateHash); if (model.Data.Properties.OutputResources != null || getResult.Data.Properties.OutputResources != null) diff --git a/sdk/resources/Azure.ResourceManager.Resources/tests/Scenario/DeploymentScriptCollectionTests.cs b/sdk/resources/Azure.ResourceManager.Resources/tests/Scenario/DeploymentScriptCollectionTests.cs index 816f60508ebdf..581204ce09fb2 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/tests/Scenario/DeploymentScriptCollectionTests.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/tests/Scenario/DeploymentScriptCollectionTests.cs @@ -99,7 +99,7 @@ private static void AssertValidDeploymentScript(AzurePowerShellScript model, Azu { Assert.AreEqual(model.Id, getResult.Id); Assert.AreEqual(model.Name, getResult.Name); - Assert.AreEqual(model.Type, getResult.Type); + Assert.AreEqual(model.ResourceType, getResult.ResourceType); if (model.ContainerSettings != null || getResult.ContainerSettings != null) { Assert.NotNull(model.ContainerSettings); diff --git a/sdk/resources/Azure.ResourceManager.Resources/tests/Scenario/TemplateSpecCollectionTests.cs b/sdk/resources/Azure.ResourceManager.Resources/tests/Scenario/TemplateSpecCollectionTests.cs index 2ca09daf60597..822157fec6ec5 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/tests/Scenario/TemplateSpecCollectionTests.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/tests/Scenario/TemplateSpecCollectionTests.cs @@ -98,7 +98,7 @@ private static void AssertValidTemplateSpec(TemplateSpec model, TemplateSpec get { Assert.AreEqual(model.Data.Name, getResult.Data.Name); Assert.AreEqual(model.Data.Id, getResult.Data.Id); - Assert.AreEqual(model.Data.Type, getResult.Data.Type); + Assert.AreEqual(model.Data.ResourceType, getResult.Data.ResourceType); Assert.AreEqual(model.Data.Location, getResult.Data.Location); Assert.AreEqual(model.Data.Tags, getResult.Data.Tags); Assert.AreEqual(model.Data.Description, getResult.Data.Description); diff --git a/sdk/resources/Azure.ResourceManager.Resources/tests/Scenario/TemplateSpecVersionCollectionTests.cs b/sdk/resources/Azure.ResourceManager.Resources/tests/Scenario/TemplateSpecVersionCollectionTests.cs index 8f65f4c15aade..95088db3e5ecc 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/tests/Scenario/TemplateSpecVersionCollectionTests.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/tests/Scenario/TemplateSpecVersionCollectionTests.cs @@ -84,7 +84,7 @@ private static void AssertValidTemplateSpecVersion(TemplateSpecVersion model, Te { Assert.AreEqual(model.Data.Name, getResult.Data.Name); Assert.AreEqual(model.Data.Id, getResult.Data.Id); - Assert.AreEqual(model.Data.Type, getResult.Data.Type); + Assert.AreEqual(model.Data.ResourceType, getResult.Data.ResourceType); Assert.AreEqual(model.Data.Location, getResult.Data.Location); Assert.AreEqual(model.Data.Tags, getResult.Data.Tags); Assert.AreEqual(model.Data.Description, getResult.Data.Description); diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/DisasterRecoveryData.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/DisasterRecoveryData.cs index a4df3e9aef910..78f5956a865b4 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/DisasterRecoveryData.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/DisasterRecoveryData.cs @@ -22,14 +22,14 @@ public DisasterRecoveryData() /// Initializes a new instance of DisasterRecoveryData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Provisioning state of the Alias(Disaster Recovery configuration) - possible values 'Accepted' or 'Succeeded' or 'Failed'. /// Number of entities pending to be replicated. /// ARM Id of the Primary/Secondary eventhub namespace name, which is part of GEO DR pairing. /// Primary/Secondary eventhub namespace name, which is part of GEO DR pairing. /// role of namespace in GEO DR - possible values 'Primary' or 'PrimaryNotReplicating' or 'Secondary'. - internal DisasterRecoveryData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, ProvisioningStateDisasterRecovery? provisioningState, long? pendingReplicationOperationsCount, string partnerNamespace, string alternateName, RoleDisasterRecovery? role) : base(id, name, type, systemData) + internal DisasterRecoveryData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, ProvisioningStateDisasterRecovery? provisioningState, long? pendingReplicationOperationsCount, string partnerNamespace, string alternateName, RoleDisasterRecovery? role) : base(id, name, resourceType, systemData) { ProvisioningState = provisioningState; PendingReplicationOperationsCount = pendingReplicationOperationsCount; diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/MigrationConfigPropertiesData.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/MigrationConfigPropertiesData.cs index 3a607029ba8f6..ccdeb405c5c60 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/MigrationConfigPropertiesData.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/MigrationConfigPropertiesData.cs @@ -21,14 +21,14 @@ public MigrationConfigPropertiesData() /// Initializes a new instance of MigrationConfigPropertiesData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Provisioning state of Migration Configuration. /// Number of entities pending to be replicated. /// Existing premium Namespace ARM Id name which has no entities, will be used for migration. /// Name to access Standard Namespace after migration. /// State in which Standard to Premium Migration is, possible values : Unknown, Reverting, Completing, Initiating, Syncing, Active. - internal MigrationConfigPropertiesData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string provisioningState, long? pendingReplicationOperationsCount, string targetNamespace, string postMigrationName, string migrationState) : base(id, name, type, systemData) + internal MigrationConfigPropertiesData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string provisioningState, long? pendingReplicationOperationsCount, string targetNamespace, string postMigrationName, string migrationState) : base(id, name, resourceType, systemData) { ProvisioningState = provisioningState; PendingReplicationOperationsCount = pendingReplicationOperationsCount; diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/PatchableServiceBusNamespaceData.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/PatchableServiceBusNamespaceData.cs index a1fc022c9ab69..8f671db96decd 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/PatchableServiceBusNamespaceData.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/PatchableServiceBusNamespaceData.cs @@ -26,7 +26,7 @@ public PatchableServiceBusNamespaceData(AzureLocation location) : base(location) /// Initializes a new instance of PatchableServiceBusNamespaceData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -42,7 +42,7 @@ public PatchableServiceBusNamespaceData(AzureLocation location) : base(location) /// Properties of BYOK Encryption description. /// List of private endpoint connections. /// This property disables SAS authentication for the Service Bus namespace. - internal PatchableServiceBusNamespaceData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, ServiceBusSku sku, ManagedServiceIdentity identity, string provisioningState, string status, DateTimeOffset? createdAt, DateTimeOffset? updatedAt, string serviceBusEndpoint, string metricId, bool? zoneRedundant, EncryptionProperties encryption, IList privateEndpointConnections, bool? disableLocalAuth) : base(id, name, type, systemData, tags, location) + internal PatchableServiceBusNamespaceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ServiceBusSku sku, ManagedServiceIdentity identity, string provisioningState, string status, DateTimeOffset? createdAt, DateTimeOffset? updatedAt, string serviceBusEndpoint, string metricId, bool? zoneRedundant, EncryptionProperties encryption, IList privateEndpointConnections, bool? disableLocalAuth) : base(id, name, resourceType, systemData, tags, location) { Sku = sku; Identity = identity; diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/PrivateLinkResource.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/PrivateLinkResource.cs index 41a17b13a8589..caf119cf9b2d1 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/PrivateLinkResource.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/PrivateLinkResource.cs @@ -24,12 +24,12 @@ internal PrivateLinkResource() /// Initializes a new instance of PrivateLinkResource. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// /// Required Members. /// Required Zone Names. - internal PrivateLinkResource(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string groupId, IReadOnlyList requiredMembers, IReadOnlyList requiredZoneNames) : base(id, name, type, systemData) + internal PrivateLinkResource(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string groupId, IReadOnlyList requiredMembers, IReadOnlyList requiredZoneNames) : base(id, name, resourceType, systemData) { GroupId = groupId; RequiredMembers = requiredMembers; diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/NetworkRuleSetData.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/NetworkRuleSetData.cs index 8110165a4d403..4563a3d291f24 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/NetworkRuleSetData.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/NetworkRuleSetData.cs @@ -25,14 +25,14 @@ public NetworkRuleSetData() /// Initializes a new instance of NetworkRuleSetData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Value that indicates whether Trusted Service Access is Enabled or not. /// Default Action for Network Rule Set. /// List VirtualNetwork Rules. /// List of IpRules. /// This determines if traffic is allowed over public network. By default it is enabled. - internal NetworkRuleSetData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, bool? trustedServiceAccessEnabled, DefaultAction? defaultAction, IList virtualNetworkRules, IList ipRules, PublicNetworkAccessFlag? publicNetworkAccess) : base(id, name, type, systemData) + internal NetworkRuleSetData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, bool? trustedServiceAccessEnabled, DefaultAction? defaultAction, IList virtualNetworkRules, IList ipRules, PublicNetworkAccessFlag? publicNetworkAccess) : base(id, name, resourceType, systemData) { TrustedServiceAccessEnabled = trustedServiceAccessEnabled; DefaultAction = defaultAction; diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/PrivateEndpointConnectionData.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/PrivateEndpointConnectionData.cs index fa5649f268aa3..12821875d77e8 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/PrivateEndpointConnectionData.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/PrivateEndpointConnectionData.cs @@ -23,12 +23,12 @@ public PrivateEndpointConnectionData() /// Initializes a new instance of PrivateEndpointConnectionData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The Private Endpoint resource for this Connection. /// Details about the state of the connection. /// Provisioning state of the Private Endpoint Connection. - internal PrivateEndpointConnectionData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, WritableSubResource privateEndpoint, ConnectionState privateLinkServiceConnectionState, EndpointProvisioningState? provisioningState) : base(id, name, type, systemData) + internal PrivateEndpointConnectionData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, WritableSubResource privateEndpoint, ConnectionState privateLinkServiceConnectionState, EndpointProvisioningState? provisioningState) : base(id, name, resourceType, systemData) { PrivateEndpoint = privateEndpoint; PrivateLinkServiceConnectionState = privateLinkServiceConnectionState; diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusAuthorizationRuleData.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusAuthorizationRuleData.cs index bd9ab5ff64050..4d5c1582d4573 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusAuthorizationRuleData.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusAuthorizationRuleData.cs @@ -24,10 +24,10 @@ public ServiceBusAuthorizationRuleData() /// Initializes a new instance of ServiceBusAuthorizationRuleData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The rights associated with the rule. - internal ServiceBusAuthorizationRuleData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IList rights) : base(id, name, type, systemData) + internal ServiceBusAuthorizationRuleData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IList rights) : base(id, name, resourceType, systemData) { Rights = rights; } diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusNamespaceData.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusNamespaceData.cs index 04d0a4727f99d..bd08f319d0bc5 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusNamespaceData.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusNamespaceData.cs @@ -26,7 +26,7 @@ public ServiceBusNamespaceData(AzureLocation location) : base(location) /// Initializes a new instance of ServiceBusNamespaceData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -42,7 +42,7 @@ public ServiceBusNamespaceData(AzureLocation location) : base(location) /// Properties of BYOK Encryption description. /// List of private endpoint connections. /// This property disables SAS authentication for the Service Bus namespace. - internal ServiceBusNamespaceData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, ServiceBusSku sku, ManagedServiceIdentity identity, string provisioningState, string status, DateTimeOffset? createdAt, DateTimeOffset? updatedAt, string serviceBusEndpoint, string metricId, bool? zoneRedundant, Models.EncryptionProperties encryption, IList privateEndpointConnections, bool? disableLocalAuth) : base(id, name, type, systemData, tags, location) + internal ServiceBusNamespaceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ServiceBusSku sku, ManagedServiceIdentity identity, string provisioningState, string status, DateTimeOffset? createdAt, DateTimeOffset? updatedAt, string serviceBusEndpoint, string metricId, bool? zoneRedundant, Models.EncryptionProperties encryption, IList privateEndpointConnections, bool? disableLocalAuth) : base(id, name, resourceType, systemData, tags, location) { Sku = sku; Identity = identity; diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusQueueData.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusQueueData.cs index e585ec2fb92f4..6ec56c05d3ac1 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusQueueData.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusQueueData.cs @@ -23,7 +23,7 @@ public ServiceBusQueueData() /// Initializes a new instance of ServiceBusQueueData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Message Count Details. /// The exact time the message was created. @@ -47,7 +47,7 @@ public ServiceBusQueueData() /// A value that indicates whether Express Entities are enabled. An express queue holds a message in memory temporarily before writing it to persistent storage. /// Queue/Topic name to forward the messages. /// Queue/Topic name to forward the Dead Letter message. - internal ServiceBusQueueData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, MessageCountDetails countDetails, DateTimeOffset? createdAt, DateTimeOffset? updatedAt, DateTimeOffset? accessedAt, long? sizeInBytes, long? messageCount, TimeSpan? lockDuration, int? maxSizeInMegabytes, long? maxMessageSizeInKilobytes, bool? requiresDuplicateDetection, bool? requiresSession, TimeSpan? defaultMessageTimeToLive, bool? deadLetteringOnMessageExpiration, TimeSpan? duplicateDetectionHistoryTimeWindow, int? maxDeliveryCount, EntityStatus? status, bool? enableBatchedOperations, TimeSpan? autoDeleteOnIdle, bool? enablePartitioning, bool? enableExpress, string forwardTo, string forwardDeadLetteredMessagesTo) : base(id, name, type, systemData) + internal ServiceBusQueueData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, MessageCountDetails countDetails, DateTimeOffset? createdAt, DateTimeOffset? updatedAt, DateTimeOffset? accessedAt, long? sizeInBytes, long? messageCount, TimeSpan? lockDuration, int? maxSizeInMegabytes, long? maxMessageSizeInKilobytes, bool? requiresDuplicateDetection, bool? requiresSession, TimeSpan? defaultMessageTimeToLive, bool? deadLetteringOnMessageExpiration, TimeSpan? duplicateDetectionHistoryTimeWindow, int? maxDeliveryCount, EntityStatus? status, bool? enableBatchedOperations, TimeSpan? autoDeleteOnIdle, bool? enablePartitioning, bool? enableExpress, string forwardTo, string forwardDeadLetteredMessagesTo) : base(id, name, resourceType, systemData) { CountDetails = countDetails; CreatedAt = createdAt; diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusRuleData.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusRuleData.cs index a5cfc1494ecdb..d006ddab356fd 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusRuleData.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusRuleData.cs @@ -22,13 +22,13 @@ public ServiceBusRuleData() /// Initializes a new instance of ServiceBusRuleData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Represents the filter actions which are allowed for the transformation of a message that have been matched by a filter expression. /// Filter type that is evaluated against a BrokeredMessage. /// Properties of sqlFilter. /// Properties of correlationFilter. - internal ServiceBusRuleData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, FilterAction action, FilterType? filterType, SqlFilter sqlFilter, CorrelationFilter correlationFilter) : base(id, name, type, systemData) + internal ServiceBusRuleData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, FilterAction action, FilterType? filterType, SqlFilter sqlFilter, CorrelationFilter correlationFilter) : base(id, name, resourceType, systemData) { Action = action; FilterType = filterType; diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusSubscriptionData.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusSubscriptionData.cs index 706f0ed5eaa9b..adf3ce5c3be8b 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusSubscriptionData.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusSubscriptionData.cs @@ -23,7 +23,7 @@ public ServiceBusSubscriptionData() /// Initializes a new instance of ServiceBusSubscriptionData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Number of messages. /// Exact time the message was created. @@ -44,7 +44,7 @@ public ServiceBusSubscriptionData() /// Queue/Topic name to forward the Dead Letter message. /// Value that indicates whether the subscription has an affinity to the client id. /// Properties specific to client affine subscriptions. - internal ServiceBusSubscriptionData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, long? messageCount, DateTimeOffset? createdAt, DateTimeOffset? accessedAt, DateTimeOffset? updatedAt, MessageCountDetails countDetails, TimeSpan? lockDuration, bool? requiresSession, TimeSpan? defaultMessageTimeToLive, bool? deadLetteringOnFilterEvaluationExceptions, bool? deadLetteringOnMessageExpiration, TimeSpan? duplicateDetectionHistoryTimeWindow, int? maxDeliveryCount, EntityStatus? status, bool? enableBatchedOperations, TimeSpan? autoDeleteOnIdle, string forwardTo, string forwardDeadLetteredMessagesTo, bool? isClientAffine, ServiceBusClientAffineProperties clientAffineProperties) : base(id, name, type, systemData) + internal ServiceBusSubscriptionData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, long? messageCount, DateTimeOffset? createdAt, DateTimeOffset? accessedAt, DateTimeOffset? updatedAt, MessageCountDetails countDetails, TimeSpan? lockDuration, bool? requiresSession, TimeSpan? defaultMessageTimeToLive, bool? deadLetteringOnFilterEvaluationExceptions, bool? deadLetteringOnMessageExpiration, TimeSpan? duplicateDetectionHistoryTimeWindow, int? maxDeliveryCount, EntityStatus? status, bool? enableBatchedOperations, TimeSpan? autoDeleteOnIdle, string forwardTo, string forwardDeadLetteredMessagesTo, bool? isClientAffine, ServiceBusClientAffineProperties clientAffineProperties) : base(id, name, resourceType, systemData) { MessageCount = messageCount; CreatedAt = createdAt; diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusTopicData.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusTopicData.cs index 771597ba9e7cc..c0dbc924db75d 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusTopicData.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusTopicData.cs @@ -23,7 +23,7 @@ public ServiceBusTopicData() /// Initializes a new instance of ServiceBusTopicData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Size of the topic, in bytes. /// Exact time the message was created. @@ -42,7 +42,7 @@ public ServiceBusTopicData() /// ISO 8601 timespan idle interval after which the topic is automatically deleted. The minimum duration is 5 minutes. /// Value that indicates whether the topic to be partitioned across multiple message brokers is enabled. /// Value that indicates whether Express Entities are enabled. An express topic holds a message in memory temporarily before writing it to persistent storage. - internal ServiceBusTopicData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, long? sizeInBytes, DateTimeOffset? createdAt, DateTimeOffset? updatedAt, DateTimeOffset? accessedAt, int? subscriptionCount, MessageCountDetails countDetails, TimeSpan? defaultMessageTimeToLive, int? maxSizeInMegabytes, long? maxMessageSizeInKilobytes, bool? requiresDuplicateDetection, TimeSpan? duplicateDetectionHistoryTimeWindow, bool? enableBatchedOperations, EntityStatus? status, bool? supportOrdering, TimeSpan? autoDeleteOnIdle, bool? enablePartitioning, bool? enableExpress) : base(id, name, type, systemData) + internal ServiceBusTopicData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, long? sizeInBytes, DateTimeOffset? createdAt, DateTimeOffset? updatedAt, DateTimeOffset? accessedAt, int? subscriptionCount, MessageCountDetails countDetails, TimeSpan? defaultMessageTimeToLive, int? maxSizeInMegabytes, long? maxMessageSizeInKilobytes, bool? requiresDuplicateDetection, TimeSpan? duplicateDetectionHistoryTimeWindow, bool? enableBatchedOperations, EntityStatus? status, bool? supportOrdering, TimeSpan? autoDeleteOnIdle, bool? enablePartitioning, bool? enableExpress) : base(id, name, resourceType, systemData) { SizeInBytes = sizeInBytes; CreatedAt = createdAt; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/api/Azure.ResourceManager.Sql.netstandard2.0.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/api/Azure.ResourceManager.Sql.netstandard2.0.cs index d899ea3f62417..b3b8c022c5a6d 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/api/Azure.ResourceManager.Sql.netstandard2.0.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/api/Azure.ResourceManager.Sql.netstandard2.0.cs @@ -4572,7 +4572,7 @@ public partial class CheckNameAvailabilityRequest { public CheckNameAvailabilityRequest(string name) { } public string Name { get { throw null; } } - public string Type { get { throw null; } } + public string ResourceType { get { throw null; } } } public partial class CheckNameAvailabilityResponse { @@ -5297,10 +5297,10 @@ public partial class InstancePoolUsage internal InstancePoolUsage() { } public int? CurrentValue { get { throw null; } } public string Id { get { throw null; } } + public string InstancePoolUsageType { get { throw null; } } public int? Limit { get { throw null; } } public Azure.ResourceManager.Sql.Models.UsageName Name { get { throw null; } } public int? RequestedLimit { get { throw null; } } - public string Type { get { throw null; } } public string Unit { get { throw null; } } } public partial class InstancePoolVcoresCapability @@ -5368,8 +5368,8 @@ public partial class JobExecutionTarget { internal JobExecutionTarget() { } public string DatabaseName { get { throw null; } } + public Azure.ResourceManager.Sql.Models.JobTargetType? JobTargetType { get { throw null; } } public string ServerName { get { throw null; } } - public Azure.ResourceManager.Sql.Models.JobTargetType? Type { get { throw null; } } } public partial class JobSchedule { @@ -5377,8 +5377,8 @@ public JobSchedule() { } public bool? Enabled { get { throw null; } set { } } public System.DateTimeOffset? EndTime { get { throw null; } set { } } public string Interval { get { throw null; } set { } } + public Azure.ResourceManager.Sql.Models.JobScheduleType? JobScheduleType { get { throw null; } set { } } public System.DateTimeOffset? StartTime { get { throw null; } set { } } - public Azure.ResourceManager.Sql.Models.JobScheduleType? Type { get { throw null; } set { } } } public enum JobScheduleType { @@ -5388,8 +5388,8 @@ public enum JobScheduleType public partial class JobStepAction { public JobStepAction(string value) { } + public Azure.ResourceManager.Sql.Models.JobStepActionType? JobStepActionType { get { throw null; } set { } } public Azure.ResourceManager.Sql.Models.JobStepActionSource? Source { get { throw null; } set { } } - public Azure.ResourceManager.Sql.Models.JobStepActionType? Type { get { throw null; } set { } } public string Value { get { throw null; } set { } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] @@ -5440,12 +5440,12 @@ public partial class JobStepOutput public JobStepOutput(string serverName, string databaseName, string tableName, string credential) { } public string Credential { get { throw null; } set { } } public string DatabaseName { get { throw null; } set { } } + public Azure.ResourceManager.Sql.Models.JobStepOutputType? JobStepOutputType { get { throw null; } set { } } public string ResourceGroupName { get { throw null; } set { } } public string SchemaName { get { throw null; } set { } } public string ServerName { get { throw null; } set { } } public System.Guid? SubscriptionId { get { throw null; } set { } } public string TableName { get { throw null; } set { } } - public Azure.ResourceManager.Sql.Models.JobStepOutputType? Type { get { throw null; } set { } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct JobStepOutputType : System.IEquatable @@ -5466,14 +5466,14 @@ public JobStepOutput(string serverName, string databaseName, string tableName, s } public partial class JobTarget { - public JobTarget(Azure.ResourceManager.Sql.Models.JobTargetType type) { } + public JobTarget(Azure.ResourceManager.Sql.Models.JobTargetType jobTargetType) { } public string DatabaseName { get { throw null; } set { } } public string ElasticPoolName { get { throw null; } set { } } + public Azure.ResourceManager.Sql.Models.JobTargetType JobTargetType { get { throw null; } set { } } public Azure.ResourceManager.Sql.Models.JobTargetGroupMembershipType? MembershipType { get { throw null; } set { } } public string RefreshCredential { get { throw null; } set { } } public string ServerName { get { throw null; } set { } } public string ShardMapName { get { throw null; } set { } } - public Azure.ResourceManager.Sql.Models.JobTargetType Type { get { throw null; } set { } } } public enum JobTargetGroupMembershipType { @@ -6693,7 +6693,7 @@ public partial class ResourceWithWritableName public ResourceWithWritableName() { } public string Id { get { throw null; } } public string Name { get { throw null; } set { } } - public string Type { get { throw null; } } + public string ResourceType { get { throw null; } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct RestorableDroppedDatabasePropertiesBackupStorageRedundancy : System.IEquatable @@ -7278,9 +7278,9 @@ internal SyncGroupLogProperties() { } public string Details { get { throw null; } } public string OperationStatus { get { throw null; } } public string Source { get { throw null; } } + public Azure.ResourceManager.Sql.Models.SyncGroupLogType? SyncGroupLogType { get { throw null; } } public System.DateTimeOffset? Timestamp { get { throw null; } } public System.Guid? TracingId { get { throw null; } } - public Azure.ResourceManager.Sql.Models.SyncGroupLogType? Type { get { throw null; } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct SyncGroupLogType : System.IEquatable diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Sample1_ManagingManagedInstance.md b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Sample1_ManagingManagedInstance.md index 5f95451810bab..068e67e7324f5 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Sample1_ManagingManagedInstance.md +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/samples/Sample1_ManagingManagedInstance.md @@ -70,7 +70,7 @@ var vnetData = new VirtualNetworkData() AddressPrefix = "10.10.2.0/24", Delegations = { - new Delegation() { ServiceName = "Microsoft.Sql/managedInstances",Name="Microsoft.Sql/managedInstances" ,Type="Microsoft.Sql"} + new Delegation() { ServiceName = "Microsoft.Sql/managedInstances",Name="Microsoft.Sql/managedInstances" ,ResourceType="Microsoft.Sql"} }, RouteTable = new RouteTableData(){ Id = routeTable.Value.Data.Id.ToString() }, NetworkSecurityGroup = new NetworkSecurityGroupData(){ Id = networkSecurityGroup.Value.Data.Id.ToString() }, diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/AdvisorData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/AdvisorData.cs index 37898230de964..fa0a6fe2cfd9f 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/AdvisorData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/AdvisorData.cs @@ -25,7 +25,7 @@ public AdvisorData() /// Initializes a new instance of AdvisorData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Resource kind. /// Resource location. @@ -35,7 +35,7 @@ public AdvisorData() /// Gets that status of recommendations for this advisor and reason for not having any recommendations. Possible values include, but are not limited to, 'Ok' (Recommendations available),LowActivity (not enough workload to analyze), 'DbSeemsTuned' (Database is doing well), etc. /// Gets the time when the current resource was analyzed for recommendations by this advisor. /// Gets the recommended actions for this advisor. - internal AdvisorData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string location, AdvisorStatus? advisorStatus, AutoExecuteStatus? autoExecuteStatus, AutoExecuteStatusInheritedFrom? autoExecuteStatusInheritedFrom, string recommendationsStatus, DateTimeOffset? lastChecked, IReadOnlyList recommendedActions) : base(id, name, type, systemData) + internal AdvisorData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string location, AdvisorStatus? advisorStatus, AutoExecuteStatus? autoExecuteStatus, AutoExecuteStatusInheritedFrom? autoExecuteStatusInheritedFrom, string recommendationsStatus, DateTimeOffset? lastChecked, IReadOnlyList recommendedActions) : base(id, name, resourceType, systemData) { Kind = kind; Location = location; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/BackupShortTermRetentionPolicyData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/BackupShortTermRetentionPolicyData.cs index 76ccf3b42ce95..cbb08e12ac1e9 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/BackupShortTermRetentionPolicyData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/BackupShortTermRetentionPolicyData.cs @@ -22,11 +22,11 @@ public BackupShortTermRetentionPolicyData() /// Initializes a new instance of BackupShortTermRetentionPolicyData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The backup retention period in days. This is how many days Point-in-Time Restore will be supported. /// The differential backup interval in hours. This is how many interval hours between each differential backup will be supported. This is only applicable to live databases but not dropped databases. - internal BackupShortTermRetentionPolicyData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, int? retentionDays, DiffBackupIntervalInHours? diffBackupIntervalInHours) : base(id, name, type, systemData) + internal BackupShortTermRetentionPolicyData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, int? retentionDays, DiffBackupIntervalInHours? diffBackupIntervalInHours) : base(id, name, resourceType, systemData) { RetentionDays = retentionDays; DiffBackupIntervalInHours = diffBackupIntervalInHours; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DataMaskingPolicyData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DataMaskingPolicyData.cs index ada8f37e41b29..8af559083c0b1 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DataMaskingPolicyData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DataMaskingPolicyData.cs @@ -22,7 +22,7 @@ public DataMaskingPolicyData() /// Initializes a new instance of DataMaskingPolicyData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The location of the data masking policy. /// The kind of data masking policy. Metadata, used for Azure portal. @@ -30,7 +30,7 @@ public DataMaskingPolicyData() /// The list of the exempt principals. Specifies the semicolon-separated list of database users for which the data masking policy does not apply. The specified users receive data results without masking for all of the database queries. /// The list of the application principals. This is a legacy parameter and is no longer used. /// The masking level. This is a legacy parameter and is no longer used. - internal DataMaskingPolicyData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string location, string kind, DataMaskingState? dataMaskingState, string exemptPrincipals, string applicationPrincipals, string maskingLevel) : base(id, name, type, systemData) + internal DataMaskingPolicyData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string location, string kind, DataMaskingState? dataMaskingState, string exemptPrincipals, string applicationPrincipals, string maskingLevel) : base(id, name, resourceType, systemData) { Location = location; Kind = kind; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DataWarehouseUserActivitiesData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DataWarehouseUserActivitiesData.cs index 7fea8756be2ed..fc527f74bd17c 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DataWarehouseUserActivitiesData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DataWarehouseUserActivitiesData.cs @@ -21,10 +21,10 @@ public DataWarehouseUserActivitiesData() /// Initializes a new instance of DataWarehouseUserActivitiesData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Count of running and suspended queries. - internal DataWarehouseUserActivitiesData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, int? activeQueriesCount) : base(id, name, type, systemData) + internal DataWarehouseUserActivitiesData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, int? activeQueriesCount) : base(id, name, resourceType, systemData) { ActiveQueriesCount = activeQueriesCount; } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DatabaseAutomaticTuningData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DatabaseAutomaticTuningData.cs index ce9716e395cfa..cffdd381c5c6c 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DatabaseAutomaticTuningData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DatabaseAutomaticTuningData.cs @@ -24,12 +24,12 @@ public DatabaseAutomaticTuningData() /// Initializes a new instance of DatabaseAutomaticTuningData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Automatic tuning desired state. /// Automatic tuning actual state. /// Automatic tuning options definition. - internal DatabaseAutomaticTuningData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, AutomaticTuningMode? desiredState, AutomaticTuningMode? actualState, IDictionary options) : base(id, name, type, systemData) + internal DatabaseAutomaticTuningData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, AutomaticTuningMode? desiredState, AutomaticTuningMode? actualState, IDictionary options) : base(id, name, resourceType, systemData) { DesiredState = desiredState; ActualState = actualState; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DatabaseBlobAuditingPolicyData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DatabaseBlobAuditingPolicyData.cs index 3155515e35c48..5ff208109bcef 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DatabaseBlobAuditingPolicyData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DatabaseBlobAuditingPolicyData.cs @@ -25,7 +25,7 @@ public DatabaseBlobAuditingPolicyData() /// Initializes a new instance of DatabaseBlobAuditingPolicyData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Resource kind. /// Specifies the number of days to keep in the audit logs in the storage account. @@ -118,7 +118,7 @@ public DatabaseBlobAuditingPolicyData() /// For more information, see [Auditing to storage using Managed Identity authentication](https://go.microsoft.com/fwlink/?linkid=2114355) /// /// Specifies the blob storage subscription Id. - internal DatabaseBlobAuditingPolicyData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, int? retentionDays, IList auditActionsAndGroups, bool? isStorageSecondaryKeyInUse, bool? isAzureMonitorTargetEnabled, int? queueDelayMs, BlobAuditingPolicyState? state, string storageEndpoint, string storageAccountAccessKey, Guid? storageAccountSubscriptionId) : base(id, name, type, systemData) + internal DatabaseBlobAuditingPolicyData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, int? retentionDays, IList auditActionsAndGroups, bool? isStorageSecondaryKeyInUse, bool? isAzureMonitorTargetEnabled, int? queueDelayMs, BlobAuditingPolicyState? state, string storageEndpoint, string storageAccountAccessKey, Guid? storageAccountSubscriptionId) : base(id, name, resourceType, systemData) { Kind = kind; RetentionDays = retentionDays; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DatabaseColumnData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DatabaseColumnData.cs index 85ecfcce0d9eb..e148bbc342e91 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DatabaseColumnData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DatabaseColumnData.cs @@ -22,13 +22,13 @@ public DatabaseColumnData() /// Initializes a new instance of DatabaseColumnData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The column data type. /// The table temporal type. /// Whether or not the column belongs to a memory optimized table. /// Whether or not the column is computed. - internal DatabaseColumnData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, ColumnDataType? columnType, TableTemporalType? temporalType, bool? memoryOptimized, bool? isComputed) : base(id, name, type, systemData) + internal DatabaseColumnData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, ColumnDataType? columnType, TableTemporalType? temporalType, bool? memoryOptimized, bool? isComputed) : base(id, name, resourceType, systemData) { ColumnType = columnType; TemporalType = temporalType; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DatabaseSchemaData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DatabaseSchemaData.cs index 6a005bfb216d9..1beef0a12dcc7 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DatabaseSchemaData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DatabaseSchemaData.cs @@ -21,9 +21,9 @@ public DatabaseSchemaData() /// Initializes a new instance of DatabaseSchemaData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. - internal DatabaseSchemaData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData) : base(id, name, type, systemData) + internal DatabaseSchemaData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData) : base(id, name, resourceType, systemData) { } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DatabaseSecurityAlertPolicyData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DatabaseSecurityAlertPolicyData.cs index 79bf7eefba359..3073409bc187a 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DatabaseSecurityAlertPolicyData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DatabaseSecurityAlertPolicyData.cs @@ -26,7 +26,7 @@ public DatabaseSecurityAlertPolicyData() /// Initializes a new instance of DatabaseSecurityAlertPolicyData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific database. /// Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action, Brute_Force. @@ -36,7 +36,7 @@ public DatabaseSecurityAlertPolicyData() /// Specifies the identifier key of the Threat Detection audit storage account. /// Specifies the number of days to keep in the Threat Detection audit logs. /// Specifies the UTC creation time of the policy. - internal DatabaseSecurityAlertPolicyData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, SecurityAlertsPolicyState? state, IList disabledAlerts, IList emailAddresses, bool? emailAccountAdmins, string storageEndpoint, string storageAccountAccessKey, int? retentionDays, DateTimeOffset? creationTime) : base(id, name, type, systemData) + internal DatabaseSecurityAlertPolicyData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, SecurityAlertsPolicyState? state, IList disabledAlerts, IList emailAddresses, bool? emailAccountAdmins, string storageEndpoint, string storageAccountAccessKey, int? retentionDays, DateTimeOffset? creationTime) : base(id, name, resourceType, systemData) { State = state; DisabledAlerts = disabledAlerts; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DatabaseTableData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DatabaseTableData.cs index 6a06f7126adaa..987b484d96ded 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DatabaseTableData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DatabaseTableData.cs @@ -22,11 +22,11 @@ public DatabaseTableData() /// Initializes a new instance of DatabaseTableData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The table temporal type. /// Whether or not the table is memory optimized. - internal DatabaseTableData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, TableTemporalType? temporalType, bool? memoryOptimized) : base(id, name, type, systemData) + internal DatabaseTableData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, TableTemporalType? temporalType, bool? memoryOptimized) : base(id, name, resourceType, systemData) { TemporalType = temporalType; MemoryOptimized = memoryOptimized; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DatabaseVulnerabilityAssessmentData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DatabaseVulnerabilityAssessmentData.cs index 2d11e018094f6..31a83a0b6d992 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DatabaseVulnerabilityAssessmentData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DatabaseVulnerabilityAssessmentData.cs @@ -22,13 +22,13 @@ public DatabaseVulnerabilityAssessmentData() /// Initializes a new instance of DatabaseVulnerabilityAssessmentData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/). It is required if server level vulnerability assessment policy doesn't set. /// A shared access signature (SAS Key) that has write access to the blob container specified in 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified, StorageContainerSasKey is required. /// Specifies the identifier key of the storage account for vulnerability assessment scan results. If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. /// The recurring scans settings. - internal DatabaseVulnerabilityAssessmentData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string storageContainerPath, string storageContainerSasKey, string storageAccountAccessKey, VulnerabilityAssessmentRecurringScansProperties recurringScans) : base(id, name, type, systemData) + internal DatabaseVulnerabilityAssessmentData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string storageContainerPath, string storageContainerSasKey, string storageAccountAccessKey, VulnerabilityAssessmentRecurringScansProperties recurringScans) : base(id, name, resourceType, systemData) { StorageContainerPath = storageContainerPath; StorageContainerSasKey = storageContainerSasKey; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DatabaseVulnerabilityAssessmentRuleBaselineData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DatabaseVulnerabilityAssessmentRuleBaselineData.cs index 159bc224dde13..9d229479e4895 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DatabaseVulnerabilityAssessmentRuleBaselineData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DatabaseVulnerabilityAssessmentRuleBaselineData.cs @@ -24,10 +24,10 @@ public DatabaseVulnerabilityAssessmentRuleBaselineData() /// Initializes a new instance of DatabaseVulnerabilityAssessmentRuleBaselineData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The rule baseline result. - internal DatabaseVulnerabilityAssessmentRuleBaselineData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IList baselineResults) : base(id, name, type, systemData) + internal DatabaseVulnerabilityAssessmentRuleBaselineData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IList baselineResults) : base(id, name, resourceType, systemData) { BaselineResults = baselineResults; } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DeletedServerData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DeletedServerData.cs index 4503461cd8801..3bdb13087fd57 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DeletedServerData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DeletedServerData.cs @@ -22,13 +22,13 @@ public DeletedServerData() /// Initializes a new instance of DeletedServerData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The version of the deleted server. /// The deletion time of the deleted server. /// The original ID of the server before deletion. /// The fully qualified domain name of the server. - internal DeletedServerData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string version, DateTimeOffset? deletionTime, string originalId, string fullyQualifiedDomainName) : base(id, name, type, systemData) + internal DeletedServerData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string version, DateTimeOffset? deletionTime, string originalId, string fullyQualifiedDomainName) : base(id, name, resourceType, systemData) { Version = version; DeletionTime = deletionTime; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ElasticPoolData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ElasticPoolData.cs index 2ce182f6f7d54..62cc992bf9cef 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ElasticPoolData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ElasticPoolData.cs @@ -25,7 +25,7 @@ public ElasticPoolData(AzureLocation location) : base(location) /// Initializes a new instance of ElasticPoolData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -47,7 +47,7 @@ public ElasticPoolData(AzureLocation location) : base(location) /// Whether or not this elastic pool is zone redundant, which means the replicas of this elastic pool will be spread across multiple availability zones. /// The license type to apply for this elastic pool. /// Maintenance configuration id assigned to the elastic pool. This configuration defines the period when the maintenance updates will will occur. - internal ElasticPoolData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, SqlSku sku, string kind, ElasticPoolState? state, DateTimeOffset? creationDate, long? maxSizeBytes, ElasticPoolPerDatabaseSettings perDatabaseSettings, bool? zoneRedundant, ElasticPoolLicenseType? licenseType, string maintenanceConfigurationId) : base(id, name, type, systemData, tags, location) + internal ElasticPoolData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, SqlSku sku, string kind, ElasticPoolState? state, DateTimeOffset? creationDate, long? maxSizeBytes, ElasticPoolPerDatabaseSettings perDatabaseSettings, bool? zoneRedundant, ElasticPoolLicenseType? licenseType, string maintenanceConfigurationId) : base(id, name, resourceType, systemData, tags, location) { Sku = sku; Kind = kind; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/EncryptionProtectorData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/EncryptionProtectorData.cs index 0c56cd1a1c30b..adfa8e0c9dec1 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/EncryptionProtectorData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/EncryptionProtectorData.cs @@ -23,7 +23,7 @@ public EncryptionProtectorData() /// Initializes a new instance of EncryptionProtectorData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of encryption protector. This is metadata used for the Azure portal experience. /// Resource location. @@ -33,7 +33,7 @@ public EncryptionProtectorData() /// The URI of the server key. /// Thumbprint of the server key. /// Key auto rotation opt-in flag. Either true or false. - internal EncryptionProtectorData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string location, string subregion, string serverKeyName, ServerKeyType? serverKeyType, Uri uri, string thumbprint, bool? autoRotationEnabled) : base(id, name, type, systemData) + internal EncryptionProtectorData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string location, string subregion, string serverKeyName, ServerKeyType? serverKeyType, Uri uri, string thumbprint, bool? autoRotationEnabled) : base(id, name, resourceType, systemData) { Kind = kind; Location = location; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ExtendedDatabaseBlobAuditingPolicyData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ExtendedDatabaseBlobAuditingPolicyData.cs index edac2a1e04bd7..2f7185dc9a1fa 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ExtendedDatabaseBlobAuditingPolicyData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ExtendedDatabaseBlobAuditingPolicyData.cs @@ -25,7 +25,7 @@ public ExtendedDatabaseBlobAuditingPolicyData() /// Initializes a new instance of ExtendedDatabaseBlobAuditingPolicyData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Specifies condition of where clause when creating an audit. /// Specifies the number of days to keep in the audit logs in the storage account. @@ -118,7 +118,7 @@ public ExtendedDatabaseBlobAuditingPolicyData() /// For more information, see [Auditing to storage using Managed Identity authentication](https://go.microsoft.com/fwlink/?linkid=2114355) /// /// Specifies the blob storage subscription Id. - internal ExtendedDatabaseBlobAuditingPolicyData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string predicateExpression, int? retentionDays, IList auditActionsAndGroups, bool? isStorageSecondaryKeyInUse, bool? isAzureMonitorTargetEnabled, int? queueDelayMs, BlobAuditingPolicyState? state, string storageEndpoint, string storageAccountAccessKey, Guid? storageAccountSubscriptionId) : base(id, name, type, systemData) + internal ExtendedDatabaseBlobAuditingPolicyData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string predicateExpression, int? retentionDays, IList auditActionsAndGroups, bool? isStorageSecondaryKeyInUse, bool? isAzureMonitorTargetEnabled, int? queueDelayMs, BlobAuditingPolicyState? state, string storageEndpoint, string storageAccountAccessKey, Guid? storageAccountSubscriptionId) : base(id, name, resourceType, systemData) { PredicateExpression = predicateExpression; RetentionDays = retentionDays; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ExtendedServerBlobAuditingPolicyData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ExtendedServerBlobAuditingPolicyData.cs index 20603b9f0b886..ff2460a1677c1 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ExtendedServerBlobAuditingPolicyData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ExtendedServerBlobAuditingPolicyData.cs @@ -25,7 +25,7 @@ public ExtendedServerBlobAuditingPolicyData() /// Initializes a new instance of ExtendedServerBlobAuditingPolicyData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// /// Specifies the state of devops audit. If state is Enabled, devops logs will be sent to Azure Monitor. @@ -131,7 +131,7 @@ public ExtendedServerBlobAuditingPolicyData() /// For more information, see [Auditing to storage using Managed Identity authentication](https://go.microsoft.com/fwlink/?linkid=2114355) /// /// Specifies the blob storage subscription Id. - internal ExtendedServerBlobAuditingPolicyData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, bool? isDevopsAuditEnabled, string predicateExpression, int? retentionDays, IList auditActionsAndGroups, bool? isStorageSecondaryKeyInUse, bool? isAzureMonitorTargetEnabled, int? queueDelayMs, BlobAuditingPolicyState? state, string storageEndpoint, string storageAccountAccessKey, Guid? storageAccountSubscriptionId) : base(id, name, type, systemData) + internal ExtendedServerBlobAuditingPolicyData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, bool? isDevopsAuditEnabled, string predicateExpression, int? retentionDays, IList auditActionsAndGroups, bool? isStorageSecondaryKeyInUse, bool? isAzureMonitorTargetEnabled, int? queueDelayMs, BlobAuditingPolicyState? state, string storageEndpoint, string storageAccountAccessKey, Guid? storageAccountSubscriptionId) : base(id, name, resourceType, systemData) { IsDevopsAuditEnabled = isDevopsAuditEnabled; PredicateExpression = predicateExpression; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/FailoverGroupData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/FailoverGroupData.cs index 8f18773e79ee6..099c7352c3a9b 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/FailoverGroupData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/FailoverGroupData.cs @@ -26,7 +26,7 @@ public FailoverGroupData() /// Initializes a new instance of FailoverGroupData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Resource location. /// Resource tags. @@ -36,7 +36,7 @@ public FailoverGroupData() /// Replication state of the failover group instance. /// List of partner server information for the failover group. /// List of databases in the failover group. - internal FailoverGroupData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string location, IDictionary tags, FailoverGroupReadWriteEndpoint readWriteEndpoint, FailoverGroupReadOnlyEndpoint readOnlyEndpoint, FailoverGroupReplicationRole? replicationRole, string replicationState, IList partnerServers, IList databases) : base(id, name, type, systemData) + internal FailoverGroupData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string location, IDictionary tags, FailoverGroupReadWriteEndpoint readWriteEndpoint, FailoverGroupReadOnlyEndpoint readOnlyEndpoint, FailoverGroupReplicationRole? replicationRole, string replicationState, IList partnerServers, IList databases) : base(id, name, resourceType, systemData) { Location = location; Tags = tags; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/FirewallRuleData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/FirewallRuleData.cs index 6ce1817e341ee..db814b60364a4 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/FirewallRuleData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/FirewallRuleData.cs @@ -20,10 +20,10 @@ public FirewallRuleData() /// Initializes a new instance of FirewallRuleData. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// The start IP address of the firewall rule. Must be IPv4 format. Use value '0.0.0.0' for all Azure-internal IP addresses. /// The end IP address of the firewall rule. Must be IPv4 format. Must be greater than or equal to startIpAddress. Use value '0.0.0.0' for all Azure-internal IP addresses. - internal FirewallRuleData(string id, string name, string type, string startIPAddress, string endIPAddress) : base(id, name, type) + internal FirewallRuleData(string id, string name, string resourceType, string startIPAddress, string endIPAddress) : base(id, name, resourceType) { StartIPAddress = startIPAddress; EndIPAddress = endIPAddress; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/GeoBackupPolicyData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/GeoBackupPolicyData.cs index 8b3b0865f2526..380ab595d979d 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/GeoBackupPolicyData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/GeoBackupPolicyData.cs @@ -24,13 +24,13 @@ public GeoBackupPolicyData(GeoBackupPolicyState state) /// Initializes a new instance of GeoBackupPolicyData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of geo backup policy. This is metadata used for the Azure portal experience. /// Backup policy location. /// The state of the geo backup policy. /// The storage type of the geo backup policy. - internal GeoBackupPolicyData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string location, GeoBackupPolicyState state, string storageType) : base(id, name, type, systemData) + internal GeoBackupPolicyData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string location, GeoBackupPolicyState state, string storageType) : base(id, name, resourceType, systemData) { Kind = kind; Location = location; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/InstanceFailoverGroupData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/InstanceFailoverGroupData.cs index 29eb9d8e1885f..adf00c5955456 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/InstanceFailoverGroupData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/InstanceFailoverGroupData.cs @@ -25,7 +25,7 @@ public InstanceFailoverGroupData() /// Initializes a new instance of InstanceFailoverGroupData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Read-write endpoint of the failover group instance. /// Read-only endpoint of the failover group instance. @@ -33,7 +33,7 @@ public InstanceFailoverGroupData() /// Replication state of the failover group instance. /// Partner region information for the failover group. /// List of managed instance pairs in the failover group. - internal InstanceFailoverGroupData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, InstanceFailoverGroupReadWriteEndpoint readWriteEndpoint, InstanceFailoverGroupReadOnlyEndpoint readOnlyEndpoint, InstanceFailoverGroupReplicationRole? replicationRole, string replicationState, IList partnerRegions, IList managedInstancePairs) : base(id, name, type, systemData) + internal InstanceFailoverGroupData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, InstanceFailoverGroupReadWriteEndpoint readWriteEndpoint, InstanceFailoverGroupReadOnlyEndpoint readOnlyEndpoint, InstanceFailoverGroupReplicationRole? replicationRole, string replicationState, IList partnerRegions, IList managedInstancePairs) : base(id, name, resourceType, systemData) { ReadWriteEndpoint = readWriteEndpoint; ReadOnlyEndpoint = readOnlyEndpoint; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/InstancePoolData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/InstancePoolData.cs index 8dd802884a6c7..b57057105f200 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/InstancePoolData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/InstancePoolData.cs @@ -24,7 +24,7 @@ public InstancePoolData(AzureLocation location) : base(location) /// Initializes a new instance of InstancePoolData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -32,7 +32,7 @@ public InstancePoolData(AzureLocation location) : base(location) /// Resource ID of the subnet to place this instance pool in. /// Count of vCores belonging to this instance pool. /// The license type. Possible values are 'LicenseIncluded' (price for SQL license is included) and 'BasePrice' (without SQL license price). - internal InstancePoolData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, SqlSku sku, string subnetId, int? vCores, InstancePoolLicenseType? licenseType) : base(id, name, type, systemData, tags, location) + internal InstancePoolData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, SqlSku sku, string subnetId, int? vCores, InstancePoolLicenseType? licenseType) : base(id, name, resourceType, systemData, tags, location) { Sku = sku; SubnetId = subnetId; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/JobAgentData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/JobAgentData.cs index 1227875e084e9..7c7e2db3ee664 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/JobAgentData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/JobAgentData.cs @@ -24,14 +24,14 @@ public JobAgentData(AzureLocation location) : base(location) /// Initializes a new instance of JobAgentData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. /// The name and tier of the SKU. /// Resource ID of the database to store job metadata in. /// The state of the job agent. - internal JobAgentData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, SqlSku sku, string databaseId, JobAgentState? state) : base(id, name, type, systemData, tags, location) + internal JobAgentData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, SqlSku sku, string databaseId, JobAgentState? state) : base(id, name, resourceType, systemData, tags, location) { Sku = sku; DatabaseId = databaseId; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/JobCredentialData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/JobCredentialData.cs index 6c4f839acf8a6..14accbfe2e398 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/JobCredentialData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/JobCredentialData.cs @@ -21,11 +21,11 @@ public JobCredentialData() /// Initializes a new instance of JobCredentialData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The credential user name. /// The credential password. - internal JobCredentialData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string username, string password) : base(id, name, type, systemData) + internal JobCredentialData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string username, string password) : base(id, name, resourceType, systemData) { Username = username; Password = password; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/JobExecutionData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/JobExecutionData.cs index 512398e63d0ea..bf5c5667cb1e2 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/JobExecutionData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/JobExecutionData.cs @@ -23,7 +23,7 @@ public JobExecutionData() /// Initializes a new instance of JobExecutionData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The job version number. /// The job step name. @@ -38,7 +38,7 @@ public JobExecutionData() /// Start time of the current attempt. /// The last status or error message. /// The target that this execution is executed on. - internal JobExecutionData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, int? jobVersion, string stepName, int? stepId, Guid? jobExecutionId, JobExecutionLifecycle? lifecycle, ProvisioningState? provisioningState, DateTimeOffset? createTime, DateTimeOffset? startTime, DateTimeOffset? endTime, int? currentAttempts, DateTimeOffset? currentAttemptStartTime, string lastMessage, JobExecutionTarget target) : base(id, name, type, systemData) + internal JobExecutionData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, int? jobVersion, string stepName, int? stepId, Guid? jobExecutionId, JobExecutionLifecycle? lifecycle, ProvisioningState? provisioningState, DateTimeOffset? createTime, DateTimeOffset? startTime, DateTimeOffset? endTime, int? currentAttempts, DateTimeOffset? currentAttemptStartTime, string lastMessage, JobExecutionTarget target) : base(id, name, resourceType, systemData) { JobVersion = jobVersion; StepName = stepName; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/JobStepData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/JobStepData.cs index 3b840fb20258c..ab4c8257c8e5a 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/JobStepData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/JobStepData.cs @@ -22,7 +22,7 @@ public JobStepData() /// Initializes a new instance of JobStepData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The job step's index within the job. If not specified when creating the job step, it will be created as the last step. If not specified when updating the job step, the step id is not modified. /// The resource ID of the target group that the job step will be executed on. @@ -30,7 +30,7 @@ public JobStepData() /// The action payload of the job step. /// Output destination properties of the job step. /// Execution options for the job step. - internal JobStepData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, int? stepId, string targetGroup, string credential, JobStepAction action, JobStepOutput output, JobStepExecutionOptions executionOptions) : base(id, name, type, systemData) + internal JobStepData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, int? stepId, string targetGroup, string credential, JobStepAction action, JobStepOutput output, JobStepExecutionOptions executionOptions) : base(id, name, resourceType, systemData) { StepId = stepId; TargetGroup = targetGroup; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/JobTargetGroupData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/JobTargetGroupData.cs index 23b0cfa762384..ab0689d2a6c1a 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/JobTargetGroupData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/JobTargetGroupData.cs @@ -24,10 +24,10 @@ public JobTargetGroupData() /// Initializes a new instance of JobTargetGroupData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Members of the target group. - internal JobTargetGroupData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IList members) : base(id, name, type, systemData) + internal JobTargetGroupData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IList members) : base(id, name, resourceType, systemData) { Members = members; } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/JobVersionData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/JobVersionData.cs index 05ff49058ef23..a3a29624bf22a 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/JobVersionData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/JobVersionData.cs @@ -21,9 +21,9 @@ public JobVersionData() /// Initializes a new instance of JobVersionData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. - internal JobVersionData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData) : base(id, name, type, systemData) + internal JobVersionData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData) : base(id, name, resourceType, systemData) { } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/LedgerDigestUploadsData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/LedgerDigestUploadsData.cs index de5c30bb3c74d..9564510df9a38 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/LedgerDigestUploadsData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/LedgerDigestUploadsData.cs @@ -22,11 +22,11 @@ public LedgerDigestUploadsData() /// Initializes a new instance of LedgerDigestUploadsData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The digest storage endpoint, which must be either an Azure blob storage endpoint or an URI for Azure Confidential Ledger. /// Specifies the state of ledger digest upload. - internal LedgerDigestUploadsData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string digestStorageEndpoint, LedgerDigestUploadsState? state) : base(id, name, type, systemData) + internal LedgerDigestUploadsData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string digestStorageEndpoint, LedgerDigestUploadsState? state) : base(id, name, resourceType, systemData) { DigestStorageEndpoint = digestStorageEndpoint; State = state; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/LogicalDatabaseTransparentDataEncryptionData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/LogicalDatabaseTransparentDataEncryptionData.cs index eeb0cae84949d..11598e5f28c6e 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/LogicalDatabaseTransparentDataEncryptionData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/LogicalDatabaseTransparentDataEncryptionData.cs @@ -22,10 +22,10 @@ public LogicalDatabaseTransparentDataEncryptionData() /// Initializes a new instance of LogicalDatabaseTransparentDataEncryptionData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Specifies the state of the transparent data encryption. - internal LogicalDatabaseTransparentDataEncryptionData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, TransparentDataEncryptionState? state) : base(id, name, type, systemData) + internal LogicalDatabaseTransparentDataEncryptionData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, TransparentDataEncryptionState? state) : base(id, name, resourceType, systemData) { State = state; } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/LongTermRetentionBackupData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/LongTermRetentionBackupData.cs index 069f7b418ff8a..b9042c617d5a5 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/LongTermRetentionBackupData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/LongTermRetentionBackupData.cs @@ -23,7 +23,7 @@ public LongTermRetentionBackupData() /// Initializes a new instance of LongTermRetentionBackupData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The server name that the backup database belong to. /// The create time of the server. @@ -33,7 +33,7 @@ public LongTermRetentionBackupData() /// The time the long term retention backup will expire. /// The storage redundancy type of the backup. /// The storage redundancy type of the backup. - internal LongTermRetentionBackupData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string serverName, DateTimeOffset? serverCreateTime, string databaseName, DateTimeOffset? databaseDeletionTime, DateTimeOffset? backupTime, DateTimeOffset? backupExpirationTime, BackupStorageRedundancy? backupStorageRedundancy, BackupStorageRedundancy? requestedBackupStorageRedundancy) : base(id, name, type, systemData) + internal LongTermRetentionBackupData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string serverName, DateTimeOffset? serverCreateTime, string databaseName, DateTimeOffset? databaseDeletionTime, DateTimeOffset? backupTime, DateTimeOffset? backupExpirationTime, BackupStorageRedundancy? backupStorageRedundancy, BackupStorageRedundancy? requestedBackupStorageRedundancy) : base(id, name, resourceType, systemData) { ServerName = serverName; ServerCreateTime = serverCreateTime; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/LongTermRetentionPolicyData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/LongTermRetentionPolicyData.cs index 70efaf8bc8f63..ab71b870fb1e8 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/LongTermRetentionPolicyData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/LongTermRetentionPolicyData.cs @@ -21,13 +21,13 @@ public LongTermRetentionPolicyData() /// Initializes a new instance of LongTermRetentionPolicyData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The weekly retention policy for an LTR backup in an ISO 8601 format. /// The monthly retention policy for an LTR backup in an ISO 8601 format. /// The yearly retention policy for an LTR backup in an ISO 8601 format. /// The week of year to take the yearly backup in an ISO 8601 format. - internal LongTermRetentionPolicyData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string weeklyRetention, string monthlyRetention, string yearlyRetention, int? weekOfYear) : base(id, name, type, systemData) + internal LongTermRetentionPolicyData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string weeklyRetention, string monthlyRetention, string yearlyRetention, int? weekOfYear) : base(id, name, resourceType, systemData) { WeeklyRetention = weeklyRetention; MonthlyRetention = monthlyRetention; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/MaintenanceWindowOptionsData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/MaintenanceWindowOptionsData.cs index 672551fc35f3d..fe9f85b51f8a6 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/MaintenanceWindowOptionsData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/MaintenanceWindowOptionsData.cs @@ -24,7 +24,7 @@ public MaintenanceWindowOptionsData() /// Initializes a new instance of MaintenanceWindowOptionsData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Whether maintenance windows are enabled for the database. /// Available maintenance cycles e.g. {Saturday, 0, 48*60}, {Wednesday, 0, 24*60}. @@ -33,7 +33,7 @@ public MaintenanceWindowOptionsData() /// Minimum number of maintenance windows cycles to be set on the database. /// Time granularity in minutes for maintenance windows. /// Whether we allow multiple maintenance windows per cycle. - internal MaintenanceWindowOptionsData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, bool? isEnabled, IList maintenanceWindowCycles, int? minDurationInMinutes, int? defaultDurationInMinutes, int? minCycles, int? timeGranularityInMinutes, bool? allowMultipleMaintenanceWindowsPerCycle) : base(id, name, type, systemData) + internal MaintenanceWindowOptionsData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, bool? isEnabled, IList maintenanceWindowCycles, int? minDurationInMinutes, int? defaultDurationInMinutes, int? minCycles, int? timeGranularityInMinutes, bool? allowMultipleMaintenanceWindowsPerCycle) : base(id, name, resourceType, systemData) { IsEnabled = isEnabled; MaintenanceWindowCycles = maintenanceWindowCycles; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/MaintenanceWindowsData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/MaintenanceWindowsData.cs index e814106d58353..1887286ad47f3 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/MaintenanceWindowsData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/MaintenanceWindowsData.cs @@ -24,10 +24,10 @@ public MaintenanceWindowsData() /// Initializes a new instance of MaintenanceWindowsData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// - internal MaintenanceWindowsData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IList timeRanges) : base(id, name, type, systemData) + internal MaintenanceWindowsData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IList timeRanges) : base(id, name, resourceType, systemData) { TimeRanges = timeRanges; } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedBackupShortTermRetentionPolicyData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedBackupShortTermRetentionPolicyData.cs index 4cbdc2c93a368..04d38e1b7101b 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedBackupShortTermRetentionPolicyData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedBackupShortTermRetentionPolicyData.cs @@ -21,10 +21,10 @@ public ManagedBackupShortTermRetentionPolicyData() /// Initializes a new instance of ManagedBackupShortTermRetentionPolicyData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The backup retention period in days. This is how many days Point-in-Time Restore will be supported. - internal ManagedBackupShortTermRetentionPolicyData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, int? retentionDays) : base(id, name, type, systemData) + internal ManagedBackupShortTermRetentionPolicyData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, int? retentionDays) : base(id, name, resourceType, systemData) { RetentionDays = retentionDays; } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedDatabaseData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedDatabaseData.cs index 0c49cdbd4ac65..2b57a426d2122 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedDatabaseData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedDatabaseData.cs @@ -25,7 +25,7 @@ public ManagedDatabaseData(AzureLocation location) : base(location) /// Initializes a new instance of ManagedDatabaseData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -46,7 +46,7 @@ public ManagedDatabaseData(AzureLocation location) : base(location) /// The name of the Long Term Retention backup to be used for restore of this managed database. /// Whether to auto complete restore of this managed database. /// Last backup file name for restore of this managed database. - internal ManagedDatabaseData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, string collation, ManagedDatabaseStatus? status, DateTimeOffset? creationDate, DateTimeOffset? earliestRestorePoint, DateTimeOffset? restorePointInTime, string defaultSecondaryLocation, CatalogCollationType? catalogCollation, ManagedDatabaseCreateMode? createMode, Uri storageContainerUri, string sourceDatabaseId, string restorableDroppedDatabaseId, string storageContainerSasToken, string failoverGroupId, string recoverableDatabaseId, string longTermRetentionBackupResourceId, bool? autoCompleteRestore, string lastBackupName) : base(id, name, type, systemData, tags, location) + internal ManagedDatabaseData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string collation, ManagedDatabaseStatus? status, DateTimeOffset? creationDate, DateTimeOffset? earliestRestorePoint, DateTimeOffset? restorePointInTime, string defaultSecondaryLocation, CatalogCollationType? catalogCollation, ManagedDatabaseCreateMode? createMode, Uri storageContainerUri, string sourceDatabaseId, string restorableDroppedDatabaseId, string storageContainerSasToken, string failoverGroupId, string recoverableDatabaseId, string longTermRetentionBackupResourceId, bool? autoCompleteRestore, string lastBackupName) : base(id, name, resourceType, systemData, tags, location) { Collation = collation; Status = status; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedDatabaseRestoreDetailsResultData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedDatabaseRestoreDetailsResultData.cs index ba6be9cefb554..b83e23d8f6534 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedDatabaseRestoreDetailsResultData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedDatabaseRestoreDetailsResultData.cs @@ -24,7 +24,7 @@ public ManagedDatabaseRestoreDetailsResultData() /// Initializes a new instance of ManagedDatabaseRestoreDetailsResultData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Restore status. /// Current restoring file name. @@ -36,7 +36,7 @@ public ManagedDatabaseRestoreDetailsResultData() /// Last uploaded file name. /// Last uploaded file time. /// The reason why restore is in Blocked state. - internal ManagedDatabaseRestoreDetailsResultData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string status, string currentRestoringFileName, string lastRestoredFileName, DateTimeOffset? lastRestoredFileTime, double? percentCompleted, IReadOnlyList unrestorableFiles, long? numberOfFilesDetected, string lastUploadedFileName, DateTimeOffset? lastUploadedFileTime, string blockReason) : base(id, name, type, systemData) + internal ManagedDatabaseRestoreDetailsResultData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string status, string currentRestoringFileName, string lastRestoredFileName, DateTimeOffset? lastRestoredFileTime, double? percentCompleted, IReadOnlyList unrestorableFiles, long? numberOfFilesDetected, string lastUploadedFileName, DateTimeOffset? lastUploadedFileTime, string blockReason) : base(id, name, resourceType, systemData) { Status = status; CurrentRestoringFileName = currentRestoringFileName; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedDatabaseSecurityAlertPolicyData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedDatabaseSecurityAlertPolicyData.cs index 0abc47e03dce6..0c357bec28e13 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedDatabaseSecurityAlertPolicyData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedDatabaseSecurityAlertPolicyData.cs @@ -26,7 +26,7 @@ public ManagedDatabaseSecurityAlertPolicyData() /// Initializes a new instance of ManagedDatabaseSecurityAlertPolicyData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific database. /// Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action, Brute_Force. @@ -36,7 +36,7 @@ public ManagedDatabaseSecurityAlertPolicyData() /// Specifies the identifier key of the Threat Detection audit storage account. /// Specifies the number of days to keep in the Threat Detection audit logs. /// Specifies the UTC creation time of the policy. - internal ManagedDatabaseSecurityAlertPolicyData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, SecurityAlertPolicyState? state, IList disabledAlerts, IList emailAddresses, bool? emailAccountAdmins, string storageEndpoint, string storageAccountAccessKey, int? retentionDays, DateTimeOffset? creationTime) : base(id, name, type, systemData) + internal ManagedDatabaseSecurityAlertPolicyData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, SecurityAlertPolicyState? state, IList disabledAlerts, IList emailAddresses, bool? emailAccountAdmins, string storageEndpoint, string storageAccountAccessKey, int? retentionDays, DateTimeOffset? creationTime) : base(id, name, resourceType, systemData) { State = state; DisabledAlerts = disabledAlerts; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceAdministratorData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceAdministratorData.cs index 52d07eb55f62e..a0e32c5d53f53 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceAdministratorData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceAdministratorData.cs @@ -23,13 +23,13 @@ public ManagedInstanceAdministratorData() /// Initializes a new instance of ManagedInstanceAdministratorData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Type of the managed instance administrator. /// Login name of the managed instance administrator. /// SID (object ID) of the managed instance administrator. /// Tenant ID of the managed instance administrator. - internal ManagedInstanceAdministratorData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, ManagedInstanceAdministratorType? administratorType, string login, Guid? sid, Guid? tenantId) : base(id, name, type, systemData) + internal ManagedInstanceAdministratorData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, ManagedInstanceAdministratorType? administratorType, string login, Guid? sid, Guid? tenantId) : base(id, name, resourceType, systemData) { AdministratorType = administratorType; Login = login; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceAzureADOnlyAuthenticationData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceAzureADOnlyAuthenticationData.cs index 297bb1b575c03..64a656e734824 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceAzureADOnlyAuthenticationData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceAzureADOnlyAuthenticationData.cs @@ -21,10 +21,10 @@ public ManagedInstanceAzureADOnlyAuthenticationData() /// Initializes a new instance of ManagedInstanceAzureADOnlyAuthenticationData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Azure Active Directory only Authentication enabled. - internal ManagedInstanceAzureADOnlyAuthenticationData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, bool? azureADOnlyAuthentication) : base(id, name, type, systemData) + internal ManagedInstanceAzureADOnlyAuthenticationData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, bool? azureADOnlyAuthentication) : base(id, name, resourceType, systemData) { AzureADOnlyAuthentication = azureADOnlyAuthentication; } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceData.cs index 0abe01f65bcd2..e734bb34de560 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceData.cs @@ -26,7 +26,7 @@ public ManagedInstanceData(AzureLocation location) : base(location) /// Initializes a new instance of ManagedInstanceData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -72,7 +72,7 @@ public ManagedInstanceData(AzureLocation location) : base(location) /// The resource id of a user assigned identity to be used by default. /// A CMK URI of the key to use for encryption. /// The Azure Active Directory administrator of the server. - internal ManagedInstanceData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, ManagedServiceIdentity identity, SqlSku sku, ManagedInstancePropertiesProvisioningState? provisioningState, ManagedServerCreateMode? managedInstanceCreateMode, string fullyQualifiedDomainName, string administratorLogin, string administratorLoginPassword, string subnetId, string state, ManagedInstanceLicenseType? licenseType, int? vCores, int? storageSizeInGB, string collation, string dnsZone, string dnsZonePartner, bool? publicDataEndpointEnabled, string sourceManagedInstanceId, DateTimeOffset? restorePointInTime, ManagedInstanceProxyOverride? proxyOverride, string timezoneId, string instancePoolId, string maintenanceConfigurationId, IReadOnlyList privateEndpointConnections, string minimalTlsVersion, StorageAccountType? storageAccountType, bool? zoneRedundant, string primaryUserAssignedIdentityId, string keyId, ManagedInstanceExternalAdministrator administrators) : base(id, name, type, systemData, tags, location) + internal ManagedInstanceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ManagedServiceIdentity identity, SqlSku sku, ManagedInstancePropertiesProvisioningState? provisioningState, ManagedServerCreateMode? managedInstanceCreateMode, string fullyQualifiedDomainName, string administratorLogin, string administratorLoginPassword, string subnetId, string state, ManagedInstanceLicenseType? licenseType, int? vCores, int? storageSizeInGB, string collation, string dnsZone, string dnsZonePartner, bool? publicDataEndpointEnabled, string sourceManagedInstanceId, DateTimeOffset? restorePointInTime, ManagedInstanceProxyOverride? proxyOverride, string timezoneId, string instancePoolId, string maintenanceConfigurationId, IReadOnlyList privateEndpointConnections, string minimalTlsVersion, StorageAccountType? storageAccountType, bool? zoneRedundant, string primaryUserAssignedIdentityId, string keyId, ManagedInstanceExternalAdministrator administrators) : base(id, name, resourceType, systemData, tags, location) { Identity = identity; Sku = sku; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceEncryptionProtectorData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceEncryptionProtectorData.cs index 8d7f4557f1f4f..ab7eba1d7693d 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceEncryptionProtectorData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceEncryptionProtectorData.cs @@ -23,7 +23,7 @@ public ManagedInstanceEncryptionProtectorData() /// Initializes a new instance of ManagedInstanceEncryptionProtectorData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of encryption protector. This is metadata used for the Azure portal experience. /// The name of the managed instance key. @@ -31,7 +31,7 @@ public ManagedInstanceEncryptionProtectorData() /// The URI of the server key. /// Thumbprint of the server key. /// Key auto rotation opt-in flag. Either true or false. - internal ManagedInstanceEncryptionProtectorData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string serverKeyName, ServerKeyType? serverKeyType, Uri uri, string thumbprint, bool? autoRotationEnabled) : base(id, name, type, systemData) + internal ManagedInstanceEncryptionProtectorData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string serverKeyName, ServerKeyType? serverKeyType, Uri uri, string thumbprint, bool? autoRotationEnabled) : base(id, name, resourceType, systemData) { Kind = kind; ServerKeyName = serverKeyName; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceKeyData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceKeyData.cs index f3b26938faeb7..a913edc5c5eac 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceKeyData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceKeyData.cs @@ -23,7 +23,7 @@ public ManagedInstanceKeyData() /// Initializes a new instance of ManagedInstanceKeyData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of encryption protector. This is metadata used for the Azure portal experience. /// The key type like 'ServiceManaged', 'AzureKeyVault'. @@ -31,7 +31,7 @@ public ManagedInstanceKeyData() /// Thumbprint of the key. /// The key creation date. /// Key auto rotation opt-in flag. Either true or false. - internal ManagedInstanceKeyData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, ServerKeyType? serverKeyType, Uri uri, string thumbprint, DateTimeOffset? creationDate, bool? autoRotationEnabled) : base(id, name, type, systemData) + internal ManagedInstanceKeyData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, ServerKeyType? serverKeyType, Uri uri, string thumbprint, DateTimeOffset? creationDate, bool? autoRotationEnabled) : base(id, name, resourceType, systemData) { Kind = kind; ServerKeyType = serverKeyType; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceLongTermRetentionBackupData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceLongTermRetentionBackupData.cs index 190725d139e4a..77eec8480fab6 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceLongTermRetentionBackupData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceLongTermRetentionBackupData.cs @@ -23,7 +23,7 @@ public ManagedInstanceLongTermRetentionBackupData() /// Initializes a new instance of ManagedInstanceLongTermRetentionBackupData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The managed instance that the backup database belongs to. /// The create time of the instance. @@ -32,7 +32,7 @@ public ManagedInstanceLongTermRetentionBackupData() /// The time the backup was taken. /// The time the long term retention backup will expire. /// The storage redundancy type of the backup. - internal ManagedInstanceLongTermRetentionBackupData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string managedInstanceName, DateTimeOffset? managedInstanceCreateTime, string databaseName, DateTimeOffset? databaseDeletionTime, DateTimeOffset? backupTime, DateTimeOffset? backupExpirationTime, BackupStorageRedundancy? backupStorageRedundancy) : base(id, name, type, systemData) + internal ManagedInstanceLongTermRetentionBackupData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string managedInstanceName, DateTimeOffset? managedInstanceCreateTime, string databaseName, DateTimeOffset? databaseDeletionTime, DateTimeOffset? backupTime, DateTimeOffset? backupExpirationTime, BackupStorageRedundancy? backupStorageRedundancy) : base(id, name, resourceType, systemData) { ManagedInstanceName = managedInstanceName; ManagedInstanceCreateTime = managedInstanceCreateTime; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceLongTermRetentionPolicyData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceLongTermRetentionPolicyData.cs index d30da57b20375..c4a82fbe3b752 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceLongTermRetentionPolicyData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceLongTermRetentionPolicyData.cs @@ -21,13 +21,13 @@ public ManagedInstanceLongTermRetentionPolicyData() /// Initializes a new instance of ManagedInstanceLongTermRetentionPolicyData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The weekly retention policy for an LTR backup in an ISO 8601 format. /// The monthly retention policy for an LTR backup in an ISO 8601 format. /// The yearly retention policy for an LTR backup in an ISO 8601 format. /// The week of year to take the yearly backup in an ISO 8601 format. - internal ManagedInstanceLongTermRetentionPolicyData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string weeklyRetention, string monthlyRetention, string yearlyRetention, int? weekOfYear) : base(id, name, type, systemData) + internal ManagedInstanceLongTermRetentionPolicyData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string weeklyRetention, string monthlyRetention, string yearlyRetention, int? weekOfYear) : base(id, name, resourceType, systemData) { WeeklyRetention = weeklyRetention; MonthlyRetention = monthlyRetention; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceOperationData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceOperationData.cs index b9d6b1ae31e54..24b107ed0d44e 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceOperationData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceOperationData.cs @@ -23,7 +23,7 @@ public ManagedInstanceOperationData() /// Initializes a new instance of ManagedInstanceOperationData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The name of the managed instance the operation is being performed on. /// The name of operation. @@ -40,7 +40,7 @@ public ManagedInstanceOperationData() /// Whether the operation can be cancelled. /// The operation parameters. /// The operation steps. - internal ManagedInstanceOperationData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string managedInstanceName, string operation, string operationFriendlyName, int? percentComplete, DateTimeOffset? startTime, ManagementOperationState? state, int? errorCode, string errorDescription, int? errorSeverity, bool? isUserError, DateTimeOffset? estimatedCompletionTime, string description, bool? isCancellable, ManagedInstanceOperationParametersPair operationParameters, ManagedInstanceOperationSteps operationSteps) : base(id, name, type, systemData) + internal ManagedInstanceOperationData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string managedInstanceName, string operation, string operationFriendlyName, int? percentComplete, DateTimeOffset? startTime, ManagementOperationState? state, int? errorCode, string errorDescription, int? errorSeverity, bool? isUserError, DateTimeOffset? estimatedCompletionTime, string description, bool? isCancellable, ManagedInstanceOperationParametersPair operationParameters, ManagedInstanceOperationSteps operationSteps) : base(id, name, resourceType, systemData) { ManagedInstanceName = managedInstanceName; Operation = operation; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstancePrivateEndpointConnectionData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstancePrivateEndpointConnectionData.cs index 69d86443b1530..b9492020889ec 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstancePrivateEndpointConnectionData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstancePrivateEndpointConnectionData.cs @@ -23,12 +23,12 @@ public ManagedInstancePrivateEndpointConnectionData() /// Initializes a new instance of ManagedInstancePrivateEndpointConnectionData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Private endpoint which the connection belongs to. /// Connection State of the Private Endpoint Connection. /// State of the Private Endpoint Connection. - internal ManagedInstancePrivateEndpointConnectionData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, WritableSubResource privateEndpoint, ManagedInstancePrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState, string provisioningState) : base(id, name, type, systemData) + internal ManagedInstancePrivateEndpointConnectionData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, WritableSubResource privateEndpoint, ManagedInstancePrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState, string provisioningState) : base(id, name, resourceType, systemData) { PrivateEndpoint = privateEndpoint; PrivateLinkServiceConnectionState = privateLinkServiceConnectionState; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstancePrivateLinkData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstancePrivateLinkData.cs index 88c3d1dd8cf7d..bcc6b34b6717c 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstancePrivateLinkData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstancePrivateLinkData.cs @@ -22,10 +22,10 @@ public ManagedInstancePrivateLinkData() /// Initializes a new instance of ManagedInstancePrivateLinkData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The private link resource group id. - internal ManagedInstancePrivateLinkData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, ManagedInstancePrivateLinkProperties properties) : base(id, name, type, systemData) + internal ManagedInstancePrivateLinkData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, ManagedInstancePrivateLinkProperties properties) : base(id, name, resourceType, systemData) { Properties = properties; } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceVulnerabilityAssessmentData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceVulnerabilityAssessmentData.cs index 54df50fc5c37e..c5c978bfdefcd 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceVulnerabilityAssessmentData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceVulnerabilityAssessmentData.cs @@ -22,13 +22,13 @@ public ManagedInstanceVulnerabilityAssessmentData() /// Initializes a new instance of ManagedInstanceVulnerabilityAssessmentData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/). /// A shared access signature (SAS Key) that has write access to the blob container specified in 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified, StorageContainerSasKey is required. Applies only if the storage account is not behind a Vnet or a firewall. /// Specifies the identifier key of the storage account for vulnerability assessment scan results. If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. Applies only if the storage account is not behind a Vnet or a firewall. /// The recurring scans settings. - internal ManagedInstanceVulnerabilityAssessmentData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string storageContainerPath, string storageContainerSasKey, string storageAccountAccessKey, VulnerabilityAssessmentRecurringScansProperties recurringScans) : base(id, name, type, systemData) + internal ManagedInstanceVulnerabilityAssessmentData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string storageContainerPath, string storageContainerSasKey, string storageAccountAccessKey, VulnerabilityAssessmentRecurringScansProperties recurringScans) : base(id, name, resourceType, systemData) { StorageContainerPath = storageContainerPath; StorageContainerSasKey = storageContainerSasKey; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedServerSecurityAlertPolicyData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedServerSecurityAlertPolicyData.cs index f90d5f7d3d818..dafca4199f48d 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedServerSecurityAlertPolicyData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedServerSecurityAlertPolicyData.cs @@ -26,7 +26,7 @@ public ManagedServerSecurityAlertPolicyData() /// Initializes a new instance of ManagedServerSecurityAlertPolicyData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific database. /// Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action, Brute_Force. @@ -36,7 +36,7 @@ public ManagedServerSecurityAlertPolicyData() /// Specifies the identifier key of the Threat Detection audit storage account. /// Specifies the number of days to keep in the Threat Detection audit logs. /// Specifies the UTC creation time of the policy. - internal ManagedServerSecurityAlertPolicyData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, SecurityAlertsPolicyState? state, IList disabledAlerts, IList emailAddresses, bool? emailAccountAdmins, string storageEndpoint, string storageAccountAccessKey, int? retentionDays, DateTimeOffset? creationTime) : base(id, name, type, systemData) + internal ManagedServerSecurityAlertPolicyData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, SecurityAlertsPolicyState? state, IList disabledAlerts, IList emailAddresses, bool? emailAccountAdmins, string storageEndpoint, string storageAccountAccessKey, int? retentionDays, DateTimeOffset? creationTime) : base(id, name, resourceType, systemData) { State = state; DisabledAlerts = disabledAlerts; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedTransparentDataEncryptionData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedTransparentDataEncryptionData.cs index bee10ec4b7893..b96145b2f8d7b 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedTransparentDataEncryptionData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedTransparentDataEncryptionData.cs @@ -22,10 +22,10 @@ public ManagedTransparentDataEncryptionData() /// Initializes a new instance of ManagedTransparentDataEncryptionData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Specifies the state of the transparent data encryption. - internal ManagedTransparentDataEncryptionData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, TransparentDataEncryptionState? state) : base(id, name, type, systemData) + internal ManagedTransparentDataEncryptionData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, TransparentDataEncryptionState? state) : base(id, name, resourceType, systemData) { State = state; } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/CheckNameAvailabilityRequest.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/CheckNameAvailabilityRequest.Serialization.cs index c2e23a241b6f5..1f73221e4d741 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/CheckNameAvailabilityRequest.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/CheckNameAvailabilityRequest.Serialization.cs @@ -18,7 +18,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("name"); writer.WriteStringValue(Name); writer.WritePropertyName("type"); - writer.WriteStringValue(Type); + writer.WriteStringValue(ResourceType); writer.WriteEndObject(); } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/CheckNameAvailabilityRequest.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/CheckNameAvailabilityRequest.cs index e517017585a8a..f9f3628f234b9 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/CheckNameAvailabilityRequest.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/CheckNameAvailabilityRequest.cs @@ -23,12 +23,12 @@ public CheckNameAvailabilityRequest(string name) } Name = name; - Type = "Microsoft.Sql/servers"; + ResourceType = "Microsoft.Sql/servers"; } /// Gets the name. public string Name { get; } - /// Gets the type. - public string Type { get; } + /// Gets the resource type. + public string ResourceType { get; } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DataMaskingRule.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DataMaskingRule.cs index 77ca4799f64ee..e89e25ea66c8f 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DataMaskingRule.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DataMaskingRule.cs @@ -21,7 +21,7 @@ public DataMaskingRule() /// Initializes a new instance of DataMaskingRule. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The location of the data masking rule. /// The kind of Data Masking Rule. Metadata, used for Azure portal. @@ -37,7 +37,7 @@ public DataMaskingRule() /// If maskingFunction is set to Text, the number of characters to show unmasked in the beginning of the string. Otherwise, this parameter will be ignored. /// If maskingFunction is set to Text, the number of characters to show unmasked at the end of the string. Otherwise, this parameter will be ignored. /// If maskingFunction is set to Text, the character to use for masking the unexposed part of the string. Otherwise, this parameter will be ignored. - internal DataMaskingRule(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string location, string kind, string idPropertiesId, string aliasName, DataMaskingRuleState? ruleState, string schemaName, string tableName, string columnName, DataMaskingFunction? maskingFunction, string numberFrom, string numberTo, string prefixSize, string suffixSize, string replacementString) : base(id, name, type, systemData) + internal DataMaskingRule(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string location, string kind, string idPropertiesId, string aliasName, DataMaskingRuleState? ruleState, string schemaName, string tableName, string columnName, DataMaskingFunction? maskingFunction, string numberFrom, string numberTo, string prefixSize, string suffixSize, string replacementString) : base(id, name, resourceType, systemData) { Location = location; Kind = kind; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseExtensions.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseExtensions.cs index 283308c20b6d4..c76ff67905b0a 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseExtensions.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseExtensions.cs @@ -22,13 +22,13 @@ public DatabaseExtensions() /// Initializes a new instance of DatabaseExtensions. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Operation Mode. /// Storage key type. /// Storage key. /// Storage Uri. - internal DatabaseExtensions(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, OperationMode? operationMode, StorageKeyType? storageKeyType, string storageKey, Uri storageUri) : base(id, name, type, systemData) + internal DatabaseExtensions(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, OperationMode? operationMode, StorageKeyType? storageKeyType, string storageKey, Uri storageUri) : base(id, name, resourceType, systemData) { OperationMode = operationMode; StorageKeyType = storageKeyType; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseOperation.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseOperation.cs index bed6f0c054aa2..8a986e5fa414d 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseOperation.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseOperation.cs @@ -22,7 +22,7 @@ public DatabaseOperation() /// Initializes a new instance of DatabaseOperation. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The name of the database the operation is being performed on. /// The name of operation. @@ -38,7 +38,7 @@ public DatabaseOperation() /// The estimated completion time of the operation. /// The operation description. /// Whether the operation can be cancelled. - internal DatabaseOperation(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string databaseName, string operation, string operationFriendlyName, int? percentComplete, string serverName, DateTimeOffset? startTime, ManagementOperationState? state, int? errorCode, string errorDescription, int? errorSeverity, bool? isUserError, DateTimeOffset? estimatedCompletionTime, string description, bool? isCancellable) : base(id, name, type, systemData) + internal DatabaseOperation(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string databaseName, string operation, string operationFriendlyName, int? percentComplete, string serverName, DateTimeOffset? startTime, ManagementOperationState? state, int? errorCode, string errorDescription, int? errorSeverity, bool? isUserError, DateTimeOffset? estimatedCompletionTime, string description, bool? isCancellable) : base(id, name, resourceType, systemData) { DatabaseName = databaseName; Operation = operation; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseUsage.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseUsage.cs index 9ee2cf2d11e0e..811439c1f77d8 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseUsage.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseUsage.cs @@ -21,13 +21,13 @@ public DatabaseUsage() /// Initializes a new instance of DatabaseUsage. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// User-readable name of the metric. /// Current value of the metric. /// Boundary value of the metric. /// Unit of the metric. - internal DatabaseUsage(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string displayName, double? currentValue, double? limit, string unit) : base(id, name, type, systemData) + internal DatabaseUsage(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string displayName, double? currentValue, double? limit, string unit) : base(id, name, resourceType, systemData) { DisplayName = displayName; CurrentValue = currentValue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseVulnerabilityAssessmentScansExport.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseVulnerabilityAssessmentScansExport.cs index 39f08290f0480..707b597b01e9c 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseVulnerabilityAssessmentScansExport.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseVulnerabilityAssessmentScansExport.cs @@ -21,10 +21,10 @@ public DatabaseVulnerabilityAssessmentScansExport() /// Initializes a new instance of DatabaseVulnerabilityAssessmentScansExport. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Location of the exported report (e.g. https://myStorage.blob.core.windows.net/VaScans/scans/serverName/databaseName/scan_scanId.xlsx). - internal DatabaseVulnerabilityAssessmentScansExport(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string exportedReportLocation) : base(id, name, type, systemData) + internal DatabaseVulnerabilityAssessmentScansExport(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string exportedReportLocation) : base(id, name, resourceType, systemData) { ExportedReportLocation = exportedReportLocation; } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolActivity.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolActivity.cs index 853cc92561181..58d4a09eb1b37 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolActivity.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolActivity.cs @@ -22,7 +22,7 @@ public ElasticPoolActivity() /// Initializes a new instance of ElasticPoolActivity. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The geo-location where the resource lives. /// The time the operation finished (ISO8601 format). @@ -45,7 +45,7 @@ public ElasticPoolActivity() /// The requested per database DTU guarantee. /// The requested per database DTU cap. /// The requested DTU guarantee. - internal ElasticPoolActivity(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string location, DateTimeOffset? endTime, int? errorCode, string errorMessage, int? errorSeverity, string operation, Guid? operationId, int? percentComplete, int? requestedDatabaseDtuMax, int? requestedDatabaseDtuMin, int? requestedDtu, string requestedElasticPoolName, long? requestedStorageLimitInGB, string elasticPoolName, string serverName, DateTimeOffset? startTime, string state, int? requestedStorageLimitInMB, int? requestedDatabaseDtuGuarantee, int? requestedDatabaseDtuCap, int? requestedDtuGuarantee) : base(id, name, type, systemData) + internal ElasticPoolActivity(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string location, DateTimeOffset? endTime, int? errorCode, string errorMessage, int? errorSeverity, string operation, Guid? operationId, int? percentComplete, int? requestedDatabaseDtuMax, int? requestedDatabaseDtuMin, int? requestedDtu, string requestedElasticPoolName, long? requestedStorageLimitInGB, string elasticPoolName, string serverName, DateTimeOffset? startTime, string state, int? requestedStorageLimitInMB, int? requestedDatabaseDtuGuarantee, int? requestedDatabaseDtuCap, int? requestedDtuGuarantee) : base(id, name, resourceType, systemData) { Location = location; EndTime = endTime; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolDatabaseActivity.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolDatabaseActivity.cs index b162d30a3dbec..aa8361b4b11e5 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolDatabaseActivity.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolDatabaseActivity.cs @@ -22,7 +22,7 @@ public ElasticPoolDatabaseActivity() /// Initializes a new instance of ElasticPoolDatabaseActivity. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The geo-location where the resource lives. /// The database name. @@ -40,7 +40,7 @@ public ElasticPoolDatabaseActivity() /// The name of the server the elastic pool is in. /// The time the operation started (ISO8601 format). /// The current state of the operation. - internal ElasticPoolDatabaseActivity(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string location, string databaseName, DateTimeOffset? endTime, int? errorCode, string errorMessage, int? errorSeverity, string operation, Guid? operationId, int? percentComplete, string requestedElasticPoolName, string currentElasticPoolName, string currentServiceObjective, string requestedServiceObjective, string serverName, DateTimeOffset? startTime, string state) : base(id, name, type, systemData) + internal ElasticPoolDatabaseActivity(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string location, string databaseName, DateTimeOffset? endTime, int? errorCode, string errorMessage, int? errorSeverity, string operation, Guid? operationId, int? percentComplete, string requestedElasticPoolName, string currentElasticPoolName, string currentServiceObjective, string requestedServiceObjective, string serverName, DateTimeOffset? startTime, string state) : base(id, name, resourceType, systemData) { Location = location; DatabaseName = databaseName; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolOperation.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolOperation.cs index eac23dee66737..bf0142e59d4ef 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolOperation.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolOperation.cs @@ -22,7 +22,7 @@ public ElasticPoolOperation() /// Initializes a new instance of ElasticPoolOperation. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The name of the elastic pool the operation is being performed on. /// The name of operation. @@ -38,7 +38,7 @@ public ElasticPoolOperation() /// The estimated completion time of the operation. /// The operation description. /// Whether the operation can be cancelled. - internal ElasticPoolOperation(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string elasticPoolName, string operation, string operationFriendlyName, int? percentComplete, string serverName, DateTimeOffset? startTime, string state, int? errorCode, string errorDescription, int? errorSeverity, bool? isUserError, DateTimeOffset? estimatedCompletionTime, string description, bool? isCancellable) : base(id, name, type, systemData) + internal ElasticPoolOperation(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string elasticPoolName, string operation, string operationFriendlyName, int? percentComplete, string serverName, DateTimeOffset? startTime, string state, int? errorCode, string errorDescription, int? errorSeverity, bool? isUserError, DateTimeOffset? estimatedCompletionTime, string description, bool? isCancellable) : base(id, name, resourceType, systemData) { ElasticPoolName = elasticPoolName; Operation = operation; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ImportExportExtensionsOperationResult.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ImportExportExtensionsOperationResult.cs index 184544a0dcfcb..aab49322dc90d 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ImportExportExtensionsOperationResult.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ImportExportExtensionsOperationResult.cs @@ -22,7 +22,7 @@ public ImportExportExtensionsOperationResult() /// Initializes a new instance of ImportExportExtensionsOperationResult. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Request Id. /// Request type. @@ -31,7 +31,7 @@ public ImportExportExtensionsOperationResult() /// Database name. /// Operation status. /// Error message. - internal ImportExportExtensionsOperationResult(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, Guid? requestId, string requestType, string lastModifiedTime, string serverName, string databaseName, string status, string errorMessage) : base(id, name, type, systemData) + internal ImportExportExtensionsOperationResult(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, Guid? requestId, string requestType, string lastModifiedTime, string serverName, string databaseName, string status, string errorMessage) : base(id, name, resourceType, systemData) { RequestId = requestId; RequestType = requestType; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ImportExportOperationResult.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ImportExportOperationResult.cs index e7ea70bf8357e..4e7fa7119f0ec 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ImportExportOperationResult.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ImportExportOperationResult.cs @@ -24,7 +24,7 @@ public ImportExportOperationResult() /// Initializes a new instance of ImportExportOperationResult. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Request Id. /// Request type. @@ -36,7 +36,7 @@ public ImportExportOperationResult() /// Operation status. /// Error message. /// Gets the status of private endpoints associated with this request. - internal ImportExportOperationResult(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, Guid? requestId, string requestType, string queuedTime, string lastModifiedTime, Uri blobUri, string serverName, string databaseName, string status, string errorMessage, IReadOnlyList privateEndpointConnections) : base(id, name, type, systemData) + internal ImportExportOperationResult(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, Guid? requestId, string requestType, string queuedTime, string lastModifiedTime, Uri blobUri, string serverName, string databaseName, string status, string errorMessage, IReadOnlyList privateEndpointConnections) : base(id, name, resourceType, systemData) { RequestId = requestId; RequestType = requestType; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/InstancePoolUsage.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/InstancePoolUsage.cs index 94b6fdb962088..30fa3d6f28710 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/InstancePoolUsage.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/InstancePoolUsage.cs @@ -18,16 +18,16 @@ internal InstancePoolUsage() /// Initializes a new instance of InstancePoolUsage. /// Resource ID. /// Resource name. - /// Resource type. + /// Resource type. /// Usage unit. /// Usage current value. /// Usage limit. /// Usage requested limit. - internal InstancePoolUsage(string id, UsageName name, string type, string unit, int? currentValue, int? limit, int? requestedLimit) + internal InstancePoolUsage(string id, UsageName name, string instancePoolUsageType, string unit, int? currentValue, int? limit, int? requestedLimit) { Id = id; Name = name; - Type = type; + InstancePoolUsageType = instancePoolUsageType; Unit = unit; CurrentValue = currentValue; Limit = limit; @@ -39,7 +39,7 @@ internal InstancePoolUsage(string id, UsageName name, string type, string unit, /// Resource name. public UsageName Name { get; } /// Resource type. - public string Type { get; } + public string InstancePoolUsageType { get; } /// Usage unit. public string Unit { get; } /// Usage current value. diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobExecutionTarget.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobExecutionTarget.cs index 60bdd2dbccfb2..22faf4fc71f6b 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobExecutionTarget.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobExecutionTarget.cs @@ -16,18 +16,18 @@ internal JobExecutionTarget() } /// Initializes a new instance of JobExecutionTarget. - /// The type of the target. + /// The type of the target. /// The server name. /// The database name. - internal JobExecutionTarget(JobTargetType? type, string serverName, string databaseName) + internal JobExecutionTarget(JobTargetType? jobTargetType, string serverName, string databaseName) { - Type = type; + JobTargetType = jobTargetType; ServerName = serverName; DatabaseName = databaseName; } /// The type of the target. - public JobTargetType? Type { get; } + public JobTargetType? JobTargetType { get; } /// The server name. public string ServerName { get; } /// The database name. diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobSchedule.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobSchedule.Serialization.cs index 9d321343b5c9a..fffcd1a32e52d 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobSchedule.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobSchedule.Serialization.cs @@ -26,10 +26,10 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("endTime"); writer.WriteStringValue(EndTime.Value, "O"); } - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(JobScheduleType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type.Value.ToSerialString()); + writer.WriteStringValue(JobScheduleType.Value.ToSerialString()); } if (Optional.IsDefined(Enabled)) { diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobSchedule.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobSchedule.cs index a17965468791c..4e9b44bca5fa5 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobSchedule.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobSchedule.cs @@ -20,14 +20,14 @@ public JobSchedule() /// Initializes a new instance of JobSchedule. /// Schedule start time. /// Schedule end time. - /// Schedule interval type. + /// Schedule interval type. /// Whether or not the schedule is enabled. /// Value of the schedule's recurring interval, if the ScheduleType is recurring. ISO8601 duration format. - internal JobSchedule(DateTimeOffset? startTime, DateTimeOffset? endTime, JobScheduleType? type, bool? enabled, string interval) + internal JobSchedule(DateTimeOffset? startTime, DateTimeOffset? endTime, JobScheduleType? jobScheduleType, bool? enabled, string interval) { StartTime = startTime; EndTime = endTime; - Type = type; + JobScheduleType = jobScheduleType; Enabled = enabled; Interval = interval; } @@ -37,7 +37,7 @@ internal JobSchedule(DateTimeOffset? startTime, DateTimeOffset? endTime, JobSche /// Schedule end time. public DateTimeOffset? EndTime { get; set; } /// Schedule interval type. - public JobScheduleType? Type { get; set; } + public JobScheduleType? JobScheduleType { get; set; } /// Whether or not the schedule is enabled. public bool? Enabled { get; set; } /// Value of the schedule's recurring interval, if the ScheduleType is recurring. ISO8601 duration format. diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobStepAction.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobStepAction.Serialization.cs index be2590359f18e..396df33f04914 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobStepAction.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobStepAction.Serialization.cs @@ -15,10 +15,10 @@ public partial class JobStepAction : IUtf8JsonSerializable void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(JobStepActionType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type.Value.ToString()); + writer.WriteStringValue(JobStepActionType.Value.ToString()); } if (Optional.IsDefined(Source)) { diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobStepAction.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobStepAction.cs index 2af058483c563..d3183d8e177c1 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobStepAction.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobStepAction.cs @@ -26,18 +26,18 @@ public JobStepAction(string value) } /// Initializes a new instance of JobStepAction. - /// Type of action being executed by the job step. + /// Type of action being executed by the job step. /// The source of the action to execute. /// The action value, for example the text of the T-SQL script to execute. - internal JobStepAction(JobStepActionType? type, JobStepActionSource? source, string value) + internal JobStepAction(JobStepActionType? jobStepActionType, JobStepActionSource? source, string value) { - Type = type; + JobStepActionType = jobStepActionType; Source = source; Value = value; } /// Type of action being executed by the job step. - public JobStepActionType? Type { get; set; } + public JobStepActionType? JobStepActionType { get; set; } /// The source of the action to execute. public JobStepActionSource? Source { get; set; } /// The action value, for example the text of the T-SQL script to execute. diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobStepOutput.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobStepOutput.Serialization.cs index ee054ad74fe80..182463ad7390b 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobStepOutput.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobStepOutput.Serialization.cs @@ -16,10 +16,10 @@ public partial class JobStepOutput : IUtf8JsonSerializable void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(JobStepOutputType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type.Value.ToString()); + writer.WriteStringValue(JobStepOutputType.Value.ToString()); } if (Optional.IsDefined(SubscriptionId)) { diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobStepOutput.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobStepOutput.cs index 07143c6b797a7..01de2a2eb2c2e 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobStepOutput.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobStepOutput.cs @@ -44,7 +44,7 @@ public JobStepOutput(string serverName, string databaseName, string tableName, s } /// Initializes a new instance of JobStepOutput. - /// The output destination type. + /// The output destination type. /// The output destination subscription id. /// The output destination resource group. /// The output destination server name. @@ -52,9 +52,9 @@ public JobStepOutput(string serverName, string databaseName, string tableName, s /// The output destination schema. /// The output destination table. /// The resource ID of the credential to use to connect to the output destination. - internal JobStepOutput(JobStepOutputType? type, Guid? subscriptionId, string resourceGroupName, string serverName, string databaseName, string schemaName, string tableName, string credential) + internal JobStepOutput(JobStepOutputType? jobStepOutputType, Guid? subscriptionId, string resourceGroupName, string serverName, string databaseName, string schemaName, string tableName, string credential) { - Type = type; + JobStepOutputType = jobStepOutputType; SubscriptionId = subscriptionId; ResourceGroupName = resourceGroupName; ServerName = serverName; @@ -65,7 +65,7 @@ internal JobStepOutput(JobStepOutputType? type, Guid? subscriptionId, string res } /// The output destination type. - public JobStepOutputType? Type { get; set; } + public JobStepOutputType? JobStepOutputType { get; set; } /// The output destination subscription id. public Guid? SubscriptionId { get; set; } /// The output destination resource group. diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobTarget.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobTarget.Serialization.cs index b004b1d126bb8..c215e12ec214d 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobTarget.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobTarget.Serialization.cs @@ -21,7 +21,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WriteStringValue(MembershipType.Value.ToSerialString()); } writer.WritePropertyName("type"); - writer.WriteStringValue(Type.ToString()); + writer.WriteStringValue(JobTargetType.ToString()); if (Optional.IsDefined(ServerName)) { writer.WritePropertyName("serverName"); diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobTarget.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobTarget.cs index df7b7d7fcf7a2..d66214180281e 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobTarget.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobTarget.cs @@ -11,24 +11,24 @@ namespace Azure.ResourceManager.Sql.Models public partial class JobTarget { /// Initializes a new instance of JobTarget. - /// The target type. - public JobTarget(JobTargetType type) + /// The target type. + public JobTarget(JobTargetType jobTargetType) { - Type = type; + JobTargetType = jobTargetType; } /// Initializes a new instance of JobTarget. /// Whether the target is included or excluded from the group. - /// The target type. + /// The target type. /// The target server name. /// The target database name. /// The target elastic pool name. /// The target shard map. /// The resource ID of the credential that is used during job execution to connect to the target and determine the list of databases inside the target. - internal JobTarget(JobTargetGroupMembershipType? membershipType, JobTargetType type, string serverName, string databaseName, string elasticPoolName, string shardMapName, string refreshCredential) + internal JobTarget(JobTargetGroupMembershipType? membershipType, JobTargetType jobTargetType, string serverName, string databaseName, string elasticPoolName, string shardMapName, string refreshCredential) { MembershipType = membershipType; - Type = type; + JobTargetType = jobTargetType; ServerName = serverName; DatabaseName = databaseName; ElasticPoolName = elasticPoolName; @@ -39,7 +39,7 @@ internal JobTarget(JobTargetGroupMembershipType? membershipType, JobTargetType t /// Whether the target is included or excluded from the group. public JobTargetGroupMembershipType? MembershipType { get; set; } /// The target type. - public JobTargetType Type { get; set; } + public JobTargetType JobTargetType { get; set; } /// The target server name. public string ServerName { get; set; } /// The target database name. diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/LongTermRetentionBackupOperationResult.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/LongTermRetentionBackupOperationResult.cs index a4bd7ad05bccb..9f74fb33e5380 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/LongTermRetentionBackupOperationResult.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/LongTermRetentionBackupOperationResult.cs @@ -22,7 +22,7 @@ public LongTermRetentionBackupOperationResult() /// Initializes a new instance of LongTermRetentionBackupOperationResult. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Request Id. /// Operation type. @@ -31,7 +31,7 @@ public LongTermRetentionBackupOperationResult() /// The storage redundancy type of the copied backup. /// Operation status. /// Progress message. - internal LongTermRetentionBackupOperationResult(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, Guid? requestId, string operationType, string fromBackupResourceId, string toBackupResourceId, BackupStorageRedundancy? targetBackupStorageRedundancy, string status, string message) : base(id, name, type, systemData) + internal LongTermRetentionBackupOperationResult(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, Guid? requestId, string operationType, string fromBackupResourceId, string toBackupResourceId, BackupStorageRedundancy? targetBackupStorageRedundancy, string status, string message) : base(id, name, resourceType, systemData) { RequestId = requestId; OperationType = operationType; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceQuery.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceQuery.cs index a18c3e91a38d0..d2a601fe633aa 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceQuery.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceQuery.cs @@ -21,10 +21,10 @@ public ManagedInstanceQuery() /// Initializes a new instance of ManagedInstanceQuery. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Query text. - internal ManagedInstanceQuery(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string queryText) : base(id, name, type, systemData) + internal ManagedInstanceQuery(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string queryText) : base(id, name, resourceType, systemData) { QueryText = queryText; } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/OperationsHealth.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/OperationsHealth.cs index ced3b5ca590ea..60f70e5957975 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/OperationsHealth.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/OperationsHealth.cs @@ -21,12 +21,12 @@ public OperationsHealth() /// Initializes a new instance of OperationsHealth. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Operation name for the service. /// Operation health status of the service. /// Health status description. - internal OperationsHealth(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string namePropertiesName, string health, string description) : base(id, name, type, systemData) + internal OperationsHealth(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string namePropertiesName, string health, string description) : base(id, name, resourceType, systemData) { NamePropertiesName = namePropertiesName; Health = health; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ProxyResourceWithWritableName.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ProxyResourceWithWritableName.cs index b7844d5bd63b6..5329c586a22db 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ProxyResourceWithWritableName.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ProxyResourceWithWritableName.cs @@ -18,8 +18,8 @@ public ProxyResourceWithWritableName() /// Initializes a new instance of ProxyResourceWithWritableName. /// Resource ID. /// Resource name. - /// Resource type. - internal ProxyResourceWithWritableName(string id, string name, string type) : base(id, name, type) + /// Resource type. + internal ProxyResourceWithWritableName(string id, string name, string resourceType) : base(id, name, resourceType) { } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/QueryStatistics.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/QueryStatistics.cs index 6238b0e440cf3..dfa74aeaccf09 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/QueryStatistics.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/QueryStatistics.cs @@ -23,14 +23,14 @@ public QueryStatistics() /// Initializes a new instance of QueryStatistics. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Database name of the database in which this query was executed. /// Unique query id (unique within one database). /// The start time for the metric (ISO-8601 format). /// The end time for the metric (ISO-8601 format). /// List of intervals with appropriate metric data. - internal QueryStatistics(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string databaseName, string queryId, string startTime, string endTime, IList intervals) : base(id, name, type, systemData) + internal QueryStatistics(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string databaseName, string queryId, string startTime, string endTime, IList intervals) : base(id, name, resourceType, systemData) { DatabaseName = databaseName; QueryId = queryId; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/RecommendedSensitivityLabelUpdate.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/RecommendedSensitivityLabelUpdate.cs index 5ec506ea391a5..7313acd25f310 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/RecommendedSensitivityLabelUpdate.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/RecommendedSensitivityLabelUpdate.cs @@ -21,13 +21,13 @@ public RecommendedSensitivityLabelUpdate() /// Initializes a new instance of RecommendedSensitivityLabelUpdate. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// /// Schema name of the column to update. /// Table name of the column to update. /// Column name to update. - internal RecommendedSensitivityLabelUpdate(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, RecommendedSensitivityLabelUpdateKind? op, string schema, string table, string column) : base(id, name, type, systemData) + internal RecommendedSensitivityLabelUpdate(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, RecommendedSensitivityLabelUpdateKind? op, string schema, string table, string column) : base(id, name, resourceType, systemData) { Op = op; Schema = schema; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ResourceWithWritableName.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ResourceWithWritableName.cs index 7f84b9e2af255..d5f0a0b9ad7a8 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ResourceWithWritableName.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ResourceWithWritableName.cs @@ -18,12 +18,12 @@ public ResourceWithWritableName() /// Initializes a new instance of ResourceWithWritableName. /// Resource ID. /// Resource name. - /// Resource type. - internal ResourceWithWritableName(string id, string name, string type) + /// Resource type. + internal ResourceWithWritableName(string id, string name, string resourceType) { Id = id; Name = name; - Type = type; + ResourceType = resourceType; } /// Resource ID. @@ -31,6 +31,6 @@ internal ResourceWithWritableName(string id, string name, string type) /// Resource name. public string Name { get; set; } /// Resource type. - public string Type { get; } + public string ResourceType { get; } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SecurityEvent.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SecurityEvent.cs index 50249230cf04a..8b3e435dfcc31 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SecurityEvent.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SecurityEvent.cs @@ -22,7 +22,7 @@ public SecurityEvent() /// Initializes a new instance of SecurityEvent. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The time when the security event occurred. /// The type of the security event. @@ -33,7 +33,7 @@ public SecurityEvent() /// The application used to execute the statement. /// The principal user who executed the statement. /// The sql injection additional properties, populated only if the type of the security event is sql injection. - internal SecurityEvent(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, DateTimeOffset? eventTime, SecurityEventType? securityEventType, string subscription, string server, string database, string clientIP, string applicationName, string principalName, SecurityEventSqlInjectionAdditionalProperties securityEventSqlInjectionAdditionalProperties) : base(id, name, type, systemData) + internal SecurityEvent(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, DateTimeOffset? eventTime, SecurityEventType? securityEventType, string subscription, string server, string database, string clientIP, string applicationName, string principalName, SecurityEventSqlInjectionAdditionalProperties securityEventSqlInjectionAdditionalProperties) : base(id, name, resourceType, systemData) { EventTime = eventTime; SecurityEventType = securityEventType; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SensitivityLabelUpdate.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SensitivityLabelUpdate.cs index 05a6e394f1585..3459f292e5a84 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SensitivityLabelUpdate.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SensitivityLabelUpdate.cs @@ -22,14 +22,14 @@ public SensitivityLabelUpdate() /// Initializes a new instance of SensitivityLabelUpdate. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// /// Schema name of the column to update. /// Table name of the column to update. /// Column name to update. /// The sensitivity label information to apply on a column. - internal SensitivityLabelUpdate(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, SensitivityLabelUpdateKind? op, string schema, string table, string column, SensitivityLabelData sensitivityLabel) : base(id, name, type, systemData) + internal SensitivityLabelUpdate(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, SensitivityLabelUpdateKind? op, string schema, string table, string column, SensitivityLabelData sensitivityLabel) : base(id, name, resourceType, systemData) { Op = op; Schema = schema; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerOperation.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerOperation.cs index 224b8412d6eea..0daa832acfdd0 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerOperation.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerOperation.cs @@ -22,7 +22,7 @@ public ServerOperation() /// Initializes a new instance of ServerOperation. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The name of operation. /// The friendly name of operation. @@ -37,7 +37,7 @@ public ServerOperation() /// The estimated completion time of the operation. /// The operation description. /// Whether the operation can be cancelled. - internal ServerOperation(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string operation, string operationFriendlyName, int? percentComplete, string serverName, DateTimeOffset? startTime, ManagementOperationState? state, int? errorCode, string errorDescription, int? errorSeverity, bool? isUserError, DateTimeOffset? estimatedCompletionTime, string description, bool? isCancellable) : base(id, name, type, systemData) + internal ServerOperation(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string operation, string operationFriendlyName, int? percentComplete, string serverName, DateTimeOffset? startTime, ManagementOperationState? state, int? errorCode, string errorDescription, int? errorSeverity, bool? isUserError, DateTimeOffset? estimatedCompletionTime, string description, bool? isCancellable) : base(id, name, resourceType, systemData) { Operation = operation; OperationFriendlyName = operationFriendlyName; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncAgentLinkedDatabase.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncAgentLinkedDatabase.cs index a03b57eaec508..2e760c0eee596 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncAgentLinkedDatabase.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncAgentLinkedDatabase.cs @@ -21,7 +21,7 @@ public SyncAgentLinkedDatabase() /// Initializes a new instance of SyncAgentLinkedDatabase. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Type of the sync agent linked database. /// Id of the sync agent linked database. @@ -29,7 +29,7 @@ public SyncAgentLinkedDatabase() /// Server name of the sync agent linked database. /// Database name of the sync agent linked database. /// User name of the sync agent linked database. - internal SyncAgentLinkedDatabase(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, SyncMemberDbType? databaseType, string databaseId, string description, string serverName, string databaseName, string userName) : base(id, name, type, systemData) + internal SyncAgentLinkedDatabase(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, SyncMemberDbType? databaseType, string databaseId, string description, string serverName, string databaseName, string userName) : base(id, name, resourceType, systemData) { DatabaseType = databaseType; DatabaseId = databaseId; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncGroupLogProperties.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncGroupLogProperties.cs index 9e3bbb6bd59e1..5538702f706c6 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncGroupLogProperties.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncGroupLogProperties.cs @@ -19,15 +19,15 @@ internal SyncGroupLogProperties() /// Initializes a new instance of SyncGroupLogProperties. /// Timestamp of the sync group log. - /// Type of the sync group log. + /// Type of the sync group log. /// Source of the sync group log. /// Details of the sync group log. /// TracingId of the sync group log. /// OperationStatus of the sync group log. - internal SyncGroupLogProperties(DateTimeOffset? timestamp, SyncGroupLogType? type, string source, string details, Guid? tracingId, string operationStatus) + internal SyncGroupLogProperties(DateTimeOffset? timestamp, SyncGroupLogType? syncGroupLogType, string source, string details, Guid? tracingId, string operationStatus) { Timestamp = timestamp; - Type = type; + SyncGroupLogType = syncGroupLogType; Source = source; Details = details; TracingId = tracingId; @@ -37,7 +37,7 @@ internal SyncGroupLogProperties(DateTimeOffset? timestamp, SyncGroupLogType? typ /// Timestamp of the sync group log. public DateTimeOffset? Timestamp { get; } /// Type of the sync group log. - public SyncGroupLogType? Type { get; } + public SyncGroupLogType? SyncGroupLogType { get; } /// Source of the sync group log. public string Source { get; } /// Details of the sync group log. diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/TdeCertificate.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/TdeCertificate.cs index ff5f5da7bee63..24f8fff3df3d9 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/TdeCertificate.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/TdeCertificate.cs @@ -21,11 +21,11 @@ public TdeCertificate() /// Initializes a new instance of TdeCertificate. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The base64 encoded certificate private blob. /// The certificate password. - internal TdeCertificate(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string privateBlob, string certPassword) : base(id, name, type, systemData) + internal TdeCertificate(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string privateBlob, string certPassword) : base(id, name, resourceType, systemData) { PrivateBlob = privateBlob; CertPassword = certPassword; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/UpdateManagedInstanceDnsServersOperation.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/UpdateManagedInstanceDnsServersOperation.cs index 63d44376947f8..fcf10f504001e 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/UpdateManagedInstanceDnsServersOperation.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/UpdateManagedInstanceDnsServersOperation.cs @@ -21,10 +21,10 @@ public UpdateManagedInstanceDnsServersOperation() /// Initializes a new instance of UpdateManagedInstanceDnsServersOperation. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The status of the DNS refresh operation. - internal UpdateManagedInstanceDnsServersOperation(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, DnsRefreshConfigurationPropertiesStatus? status) : base(id, name, type, systemData) + internal UpdateManagedInstanceDnsServersOperation(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, DnsRefreshConfigurationPropertiesStatus? status) : base(id, name, resourceType, systemData) { Status = status; } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/OutboundFirewallRuleData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/OutboundFirewallRuleData.cs index 68fa364123f39..31e853902187f 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/OutboundFirewallRuleData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/OutboundFirewallRuleData.cs @@ -21,10 +21,10 @@ public OutboundFirewallRuleData() /// Initializes a new instance of OutboundFirewallRuleData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The state of the outbound rule. - internal OutboundFirewallRuleData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string provisioningState) : base(id, name, type, systemData) + internal OutboundFirewallRuleData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string provisioningState) : base(id, name, resourceType, systemData) { ProvisioningState = provisioningState; } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/PrivateEndpointConnectionData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/PrivateEndpointConnectionData.cs index e432910bb18e4..8f5ff9b0eba09 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/PrivateEndpointConnectionData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/PrivateEndpointConnectionData.cs @@ -23,12 +23,12 @@ public PrivateEndpointConnectionData() /// Initializes a new instance of PrivateEndpointConnectionData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Private endpoint which the connection belongs to. /// Connection state of the private endpoint connection. /// State of the private endpoint connection. - internal PrivateEndpointConnectionData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, WritableSubResource privateEndpoint, PrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState, PrivateEndpointProvisioningState? provisioningState) : base(id, name, type, systemData) + internal PrivateEndpointConnectionData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, WritableSubResource privateEndpoint, PrivateLinkServiceConnectionStateProperty privateLinkServiceConnectionState, PrivateEndpointProvisioningState? provisioningState) : base(id, name, resourceType, systemData) { PrivateEndpoint = privateEndpoint; PrivateLinkServiceConnectionState = privateLinkServiceConnectionState; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/PrivateLinkResourceData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/PrivateLinkResourceData.cs index 828ec56839277..680d289bcc516 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/PrivateLinkResourceData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/PrivateLinkResourceData.cs @@ -22,10 +22,10 @@ public PrivateLinkResourceData() /// Initializes a new instance of PrivateLinkResourceData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The private link resource group id. - internal PrivateLinkResourceData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, PrivateLinkResourceProperties properties) : base(id, name, type, systemData) + internal PrivateLinkResourceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, PrivateLinkResourceProperties properties) : base(id, name, resourceType, systemData) { Properties = properties; } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RecommendedActionData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RecommendedActionData.cs index 36707c53fe5dd..7870b2285ae69 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RecommendedActionData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RecommendedActionData.cs @@ -29,7 +29,7 @@ public RecommendedActionData() /// Initializes a new instance of RecommendedActionData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Resource kind. /// Resource location. @@ -56,7 +56,7 @@ public RecommendedActionData() /// Gets the time series info of metrics for this recommended action e.g., CPU consumption time series. /// Gets the linked objects, if any. /// Gets additional details specific to this recommended action. - internal RecommendedActionData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string location, string recommendationReason, DateTimeOffset? validSince, DateTimeOffset? lastRefresh, RecommendedActionStateInfo state, bool? isExecutableAction, bool? isRevertableAction, bool? isArchivedAction, DateTimeOffset? executeActionStartTime, TimeSpan? executeActionDuration, DateTimeOffset? revertActionStartTime, TimeSpan? revertActionDuration, RecommendedActionInitiatedBy? executeActionInitiatedBy, DateTimeOffset? executeActionInitiatedTime, RecommendedActionInitiatedBy? revertActionInitiatedBy, DateTimeOffset? revertActionInitiatedTime, int? score, RecommendedActionImplementationInfo implementationDetails, RecommendedActionErrorInfo errorDetails, IReadOnlyList estimatedImpact, IReadOnlyList observedImpact, IReadOnlyList timeSeries, IReadOnlyList linkedObjects, IReadOnlyDictionary details) : base(id, name, type, systemData) + internal RecommendedActionData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string location, string recommendationReason, DateTimeOffset? validSince, DateTimeOffset? lastRefresh, RecommendedActionStateInfo state, bool? isExecutableAction, bool? isRevertableAction, bool? isArchivedAction, DateTimeOffset? executeActionStartTime, TimeSpan? executeActionDuration, DateTimeOffset? revertActionStartTime, TimeSpan? revertActionDuration, RecommendedActionInitiatedBy? executeActionInitiatedBy, DateTimeOffset? executeActionInitiatedTime, RecommendedActionInitiatedBy? revertActionInitiatedBy, DateTimeOffset? revertActionInitiatedTime, int? score, RecommendedActionImplementationInfo implementationDetails, RecommendedActionErrorInfo errorDetails, IReadOnlyList estimatedImpact, IReadOnlyList observedImpact, IReadOnlyList timeSeries, IReadOnlyList linkedObjects, IReadOnlyDictionary details) : base(id, name, resourceType, systemData) { Kind = kind; Location = location; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RecoverableDatabaseData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RecoverableDatabaseData.cs index c08997f8331a5..8f9ec697d3f8c 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RecoverableDatabaseData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RecoverableDatabaseData.cs @@ -22,13 +22,13 @@ public RecoverableDatabaseData() /// Initializes a new instance of RecoverableDatabaseData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The edition of the database. /// The service level objective name of the database. /// The elastic pool name of the database. /// The last available backup date of the database (ISO8601 format). - internal RecoverableDatabaseData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string edition, string serviceLevelObjective, string elasticPoolName, DateTimeOffset? lastAvailableBackupDate) : base(id, name, type, systemData) + internal RecoverableDatabaseData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string edition, string serviceLevelObjective, string elasticPoolName, DateTimeOffset? lastAvailableBackupDate) : base(id, name, resourceType, systemData) { Edition = edition; ServiceLevelObjective = serviceLevelObjective; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RecoverableManagedDatabaseData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RecoverableManagedDatabaseData.cs index 534aac9587de5..6acdd743d1501 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RecoverableManagedDatabaseData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RecoverableManagedDatabaseData.cs @@ -21,10 +21,10 @@ public RecoverableManagedDatabaseData() /// Initializes a new instance of RecoverableManagedDatabaseData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The last available backup date. - internal RecoverableManagedDatabaseData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string lastAvailableBackupDate) : base(id, name, type, systemData) + internal RecoverableManagedDatabaseData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string lastAvailableBackupDate) : base(id, name, resourceType, systemData) { LastAvailableBackupDate = lastAvailableBackupDate; } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ReplicationLinkData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ReplicationLinkData.cs index 218c11bd2ae6c..80f0ef1b129ec 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ReplicationLinkData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ReplicationLinkData.cs @@ -23,7 +23,7 @@ public ReplicationLinkData() /// Initializes a new instance of ReplicationLinkData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Resource partner server. /// Resource partner database. @@ -36,7 +36,7 @@ public ReplicationLinkData() /// Replication state (PENDING, SEEDING, CATCHUP, SUSPENDED). /// Whether the user is currently allowed to terminate the link. /// Link type (GEO, NAMED). - internal ReplicationLinkData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string partnerServer, string partnerDatabase, string partnerLocation, ReplicationRole? role, ReplicationRole? partnerRole, string replicationMode, DateTimeOffset? startTime, int? percentComplete, ReplicationState? replicationState, bool? isTerminationAllowed, ReplicationLinkType? linkType) : base(id, name, type, systemData) + internal ReplicationLinkData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string partnerServer, string partnerDatabase, string partnerLocation, ReplicationRole? role, ReplicationRole? partnerRole, string replicationMode, DateTimeOffset? startTime, int? percentComplete, ReplicationState? replicationState, bool? isTerminationAllowed, ReplicationLinkType? linkType) : base(id, name, resourceType, systemData) { PartnerServer = partnerServer; PartnerDatabase = partnerDatabase; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RestorableDroppedDatabaseData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RestorableDroppedDatabaseData.cs index ff845da1459f1..7f0bb7dc82e2f 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RestorableDroppedDatabaseData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RestorableDroppedDatabaseData.cs @@ -25,7 +25,7 @@ public RestorableDroppedDatabaseData() /// Initializes a new instance of RestorableDroppedDatabaseData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The name and tier of the SKU. /// Resource location. @@ -37,7 +37,7 @@ public RestorableDroppedDatabaseData() /// The deletion date of the database (ISO8601 format). /// The earliest restore date of the database (ISO8601 format). /// The storage account type used to store backups for this database. - internal RestorableDroppedDatabaseData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, SqlSku sku, string location, IDictionary tags, string databaseName, long? maxSizeBytes, string elasticPoolId, DateTimeOffset? creationDate, DateTimeOffset? deletionDate, DateTimeOffset? earliestRestoreDate, RestorableDroppedDatabasePropertiesBackupStorageRedundancy? backupStorageRedundancy) : base(id, name, type, systemData) + internal RestorableDroppedDatabaseData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, SqlSku sku, string location, IDictionary tags, string databaseName, long? maxSizeBytes, string elasticPoolId, DateTimeOffset? creationDate, DateTimeOffset? deletionDate, DateTimeOffset? earliestRestoreDate, RestorableDroppedDatabasePropertiesBackupStorageRedundancy? backupStorageRedundancy) : base(id, name, resourceType, systemData) { Sku = sku; Location = location; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RestorableDroppedManagedDatabaseData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RestorableDroppedManagedDatabaseData.cs index 4a730dd1d787c..f3efde011642f 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RestorableDroppedManagedDatabaseData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RestorableDroppedManagedDatabaseData.cs @@ -24,7 +24,7 @@ public RestorableDroppedManagedDatabaseData(AzureLocation location) : base(locat /// Initializes a new instance of RestorableDroppedManagedDatabaseData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -32,7 +32,7 @@ public RestorableDroppedManagedDatabaseData(AzureLocation location) : base(locat /// The creation date of the database (ISO8601 format). /// The deletion date of the database (ISO8601 format). /// The earliest restore date of the database (ISO8601 format). - internal RestorableDroppedManagedDatabaseData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, string databaseName, DateTimeOffset? creationDate, DateTimeOffset? deletionDate, DateTimeOffset? earliestRestoreDate) : base(id, name, type, systemData, tags, location) + internal RestorableDroppedManagedDatabaseData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string databaseName, DateTimeOffset? creationDate, DateTimeOffset? deletionDate, DateTimeOffset? earliestRestoreDate) : base(id, name, resourceType, systemData, tags, location) { DatabaseName = databaseName; CreationDate = creationDate; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RestorePointData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RestorePointData.cs index e54a1dea34fcd..7fbe7dc8bd54e 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RestorePointData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RestorePointData.cs @@ -23,14 +23,14 @@ public RestorePointData() /// Initializes a new instance of RestorePointData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Resource location. /// The type of restore point. /// The earliest time to which this database can be restored. /// The time the backup was taken. /// The label of restore point for backup request by user. - internal RestorePointData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string location, RestorePointType? restorePointType, DateTimeOffset? earliestRestoreDate, DateTimeOffset? restorePointCreationDate, string restorePointLabel) : base(id, name, type, systemData) + internal RestorePointData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string location, RestorePointType? restorePointType, DateTimeOffset? earliestRestoreDate, DateTimeOffset? restorePointCreationDate, string restorePointLabel) : base(id, name, resourceType, systemData) { Location = location; RestorePointType = restorePointType; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SensitivityLabelData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SensitivityLabelData.cs index 6c5225482cb65..2db7092297c4e 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SensitivityLabelData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SensitivityLabelData.cs @@ -22,7 +22,7 @@ public SensitivityLabelData() /// Initializes a new instance of SensitivityLabelData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Resource that manages the sensitivity label. /// The schema name. @@ -34,7 +34,7 @@ public SensitivityLabelData() /// The information type ID. /// Is sensitivity recommendation disabled. Applicable for recommended sensitivity label only. Specifies whether the sensitivity recommendation on this column is disabled (dismissed) or not. /// - internal SensitivityLabelData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string managedBy, string schemaName, string tableName, string columnName, string labelName, string labelId, string informationType, string informationTypeId, bool? isDisabled, SensitivityLabelRank? rank) : base(id, name, type, systemData) + internal SensitivityLabelData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string managedBy, string schemaName, string tableName, string columnName, string labelName, string labelId, string informationType, string informationTypeId, bool? isDisabled, SensitivityLabelRank? rank) : base(id, name, resourceType, systemData) { ManagedBy = managedBy; SchemaName = schemaName; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerAutomaticTuningData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerAutomaticTuningData.cs index 3c42cf9c7f2af..e26e9d4b864fd 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerAutomaticTuningData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerAutomaticTuningData.cs @@ -24,12 +24,12 @@ public ServerAutomaticTuningData() /// Initializes a new instance of ServerAutomaticTuningData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Automatic tuning desired state. /// Automatic tuning actual state. /// Automatic tuning options definition. - internal ServerAutomaticTuningData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, AutomaticTuningServerMode? desiredState, AutomaticTuningServerMode? actualState, IDictionary options) : base(id, name, type, systemData) + internal ServerAutomaticTuningData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, AutomaticTuningServerMode? desiredState, AutomaticTuningServerMode? actualState, IDictionary options) : base(id, name, resourceType, systemData) { DesiredState = desiredState; ActualState = actualState; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerAzureADAdministratorData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerAzureADAdministratorData.cs index 744ddff7b1fb3..d474c2ca42ae4 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerAzureADAdministratorData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerAzureADAdministratorData.cs @@ -23,14 +23,14 @@ public ServerAzureADAdministratorData() /// Initializes a new instance of ServerAzureADAdministratorData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Type of the sever administrator. /// Login name of the server administrator. /// SID (object ID) of the server administrator. /// Tenant ID of the administrator. /// Azure Active Directory only Authentication enabled. - internal ServerAzureADAdministratorData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, AdministratorType? administratorType, string login, Guid? sid, Guid? tenantId, bool? azureADOnlyAuthentication) : base(id, name, type, systemData) + internal ServerAzureADAdministratorData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, AdministratorType? administratorType, string login, Guid? sid, Guid? tenantId, bool? azureADOnlyAuthentication) : base(id, name, resourceType, systemData) { AdministratorType = administratorType; Login = login; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerAzureADOnlyAuthenticationData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerAzureADOnlyAuthenticationData.cs index 87d2bfc628adf..b76deb2e883c3 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerAzureADOnlyAuthenticationData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerAzureADOnlyAuthenticationData.cs @@ -21,10 +21,10 @@ public ServerAzureADOnlyAuthenticationData() /// Initializes a new instance of ServerAzureADOnlyAuthenticationData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Azure Active Directory only Authentication enabled. - internal ServerAzureADOnlyAuthenticationData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, bool? azureADOnlyAuthentication) : base(id, name, type, systemData) + internal ServerAzureADOnlyAuthenticationData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, bool? azureADOnlyAuthentication) : base(id, name, resourceType, systemData) { AzureADOnlyAuthentication = azureADOnlyAuthentication; } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerBlobAuditingPolicyData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerBlobAuditingPolicyData.cs index a81c5e47dba8d..ab39198370359 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerBlobAuditingPolicyData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerBlobAuditingPolicyData.cs @@ -25,7 +25,7 @@ public ServerBlobAuditingPolicyData() /// Initializes a new instance of ServerBlobAuditingPolicyData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// /// Specifies the state of devops audit. If state is Enabled, devops logs will be sent to Azure Monitor. @@ -130,7 +130,7 @@ public ServerBlobAuditingPolicyData() /// For more information, see [Auditing to storage using Managed Identity authentication](https://go.microsoft.com/fwlink/?linkid=2114355) /// /// Specifies the blob storage subscription Id. - internal ServerBlobAuditingPolicyData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, bool? isDevopsAuditEnabled, int? retentionDays, IList auditActionsAndGroups, bool? isStorageSecondaryKeyInUse, bool? isAzureMonitorTargetEnabled, int? queueDelayMs, BlobAuditingPolicyState? state, string storageEndpoint, string storageAccountAccessKey, Guid? storageAccountSubscriptionId) : base(id, name, type, systemData) + internal ServerBlobAuditingPolicyData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, bool? isDevopsAuditEnabled, int? retentionDays, IList auditActionsAndGroups, bool? isStorageSecondaryKeyInUse, bool? isAzureMonitorTargetEnabled, int? queueDelayMs, BlobAuditingPolicyState? state, string storageEndpoint, string storageAccountAccessKey, Guid? storageAccountSubscriptionId) : base(id, name, resourceType, systemData) { IsDevopsAuditEnabled = isDevopsAuditEnabled; RetentionDays = retentionDays; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerCommunicationLinkData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerCommunicationLinkData.cs index 59208f25b0e80..3713f23864900 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerCommunicationLinkData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerCommunicationLinkData.cs @@ -21,13 +21,13 @@ public ServerCommunicationLinkData() /// Initializes a new instance of ServerCommunicationLinkData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Communication link location. /// Communication link kind. This property is used for Azure Portal metadata. /// The state. /// The name of the partner server. - internal ServerCommunicationLinkData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string location, string kind, string state, string partnerServer) : base(id, name, type, systemData) + internal ServerCommunicationLinkData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string location, string kind, string state, string partnerServer) : base(id, name, resourceType, systemData) { Location = location; Kind = kind; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerConnectionPolicyData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerConnectionPolicyData.cs index 1f62b1abef2eb..4c6954534fe03 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerConnectionPolicyData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerConnectionPolicyData.cs @@ -22,12 +22,12 @@ public ServerConnectionPolicyData() /// Initializes a new instance of ServerConnectionPolicyData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Resource location. /// Metadata used for the Azure portal experience. /// The server connection type. - internal ServerConnectionPolicyData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string location, string kind, ServerConnectionType? connectionType) : base(id, name, type, systemData) + internal ServerConnectionPolicyData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string location, string kind, ServerConnectionType? connectionType) : base(id, name, resourceType, systemData) { Location = location; Kind = kind; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerDevOpsAuditingSettingsData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerDevOpsAuditingSettingsData.cs index de732fbafe684..23bc43ccd8bff 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerDevOpsAuditingSettingsData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerDevOpsAuditingSettingsData.cs @@ -23,7 +23,7 @@ public ServerDevOpsAuditingSettingsData() /// Initializes a new instance of ServerDevOpsAuditingSettingsData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// /// Specifies whether DevOps audit events are sent to Azure Monitor. @@ -49,7 +49,7 @@ public ServerDevOpsAuditingSettingsData() /// For more information, see [Auditing to storage using Managed Identity authentication](https://go.microsoft.com/fwlink/?linkid=2114355) /// /// Specifies the blob storage subscription Id. - internal ServerDevOpsAuditingSettingsData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, bool? isAzureMonitorTargetEnabled, BlobAuditingPolicyState? state, string storageEndpoint, string storageAccountAccessKey, Guid? storageAccountSubscriptionId) : base(id, name, type, systemData) + internal ServerDevOpsAuditingSettingsData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, bool? isAzureMonitorTargetEnabled, BlobAuditingPolicyState? state, string storageEndpoint, string storageAccountAccessKey, Guid? storageAccountSubscriptionId) : base(id, name, resourceType, systemData) { IsAzureMonitorTargetEnabled = isAzureMonitorTargetEnabled; State = state; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerDnsAliasData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerDnsAliasData.cs index 826c34054fcb9..7a034db534abe 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerDnsAliasData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerDnsAliasData.cs @@ -21,10 +21,10 @@ public ServerDnsAliasData() /// Initializes a new instance of ServerDnsAliasData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The fully qualified DNS record for alias. - internal ServerDnsAliasData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string azureDnsRecord) : base(id, name, type, systemData) + internal ServerDnsAliasData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string azureDnsRecord) : base(id, name, resourceType, systemData) { AzureDnsRecord = azureDnsRecord; } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerKeyData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerKeyData.cs index 11893569d5eb3..b8b93958c00c2 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerKeyData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerKeyData.cs @@ -23,7 +23,7 @@ public ServerKeyData() /// Initializes a new instance of ServerKeyData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of encryption protector. This is metadata used for the Azure portal experience. /// Resource location. @@ -33,7 +33,7 @@ public ServerKeyData() /// Thumbprint of the server key. /// The server key creation date. /// Key auto rotation opt-in flag. Either true or false. - internal ServerKeyData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string location, string subregion, ServerKeyType? serverKeyType, Uri uri, string thumbprint, DateTimeOffset? creationDate, bool? autoRotationEnabled) : base(id, name, type, systemData) + internal ServerKeyData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string location, string subregion, ServerKeyType? serverKeyType, Uri uri, string thumbprint, DateTimeOffset? creationDate, bool? autoRotationEnabled) : base(id, name, resourceType, systemData) { Kind = kind; Location = location; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerSecurityAlertPolicyData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerSecurityAlertPolicyData.cs index b00c3020846d6..f47301bf5f115 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerSecurityAlertPolicyData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerSecurityAlertPolicyData.cs @@ -26,7 +26,7 @@ public ServerSecurityAlertPolicyData() /// Initializes a new instance of ServerSecurityAlertPolicyData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Specifies the state of the policy, whether it is enabled or disabled or a policy has not been applied yet on the specific database. /// Specifies an array of alerts that are disabled. Allowed values are: Sql_Injection, Sql_Injection_Vulnerability, Access_Anomaly, Data_Exfiltration, Unsafe_Action, Brute_Force. @@ -36,7 +36,7 @@ public ServerSecurityAlertPolicyData() /// Specifies the identifier key of the Threat Detection audit storage account. /// Specifies the number of days to keep in the Threat Detection audit logs. /// Specifies the UTC creation time of the policy. - internal ServerSecurityAlertPolicyData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, SecurityAlertsPolicyState? state, IList disabledAlerts, IList emailAddresses, bool? emailAccountAdmins, string storageEndpoint, string storageAccountAccessKey, int? retentionDays, DateTimeOffset? creationTime) : base(id, name, type, systemData) + internal ServerSecurityAlertPolicyData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, SecurityAlertsPolicyState? state, IList disabledAlerts, IList emailAddresses, bool? emailAccountAdmins, string storageEndpoint, string storageAccountAccessKey, int? retentionDays, DateTimeOffset? creationTime) : base(id, name, resourceType, systemData) { State = state; DisabledAlerts = disabledAlerts; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerTrustGroupData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerTrustGroupData.cs index 6cfa66bd18eb1..56cd2c4426113 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerTrustGroupData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerTrustGroupData.cs @@ -25,11 +25,11 @@ public ServerTrustGroupData() /// Initializes a new instance of ServerTrustGroupData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Group members information for the server trust group. /// Trust scope of the server trust group. - internal ServerTrustGroupData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IList groupMembers, IList trustScopes) : base(id, name, type, systemData) + internal ServerTrustGroupData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IList groupMembers, IList trustScopes) : base(id, name, resourceType, systemData) { GroupMembers = groupMembers; TrustScopes = trustScopes; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerVulnerabilityAssessmentData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerVulnerabilityAssessmentData.cs index 4462e913d6005..ea4a2bc4bf0d4 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerVulnerabilityAssessmentData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServerVulnerabilityAssessmentData.cs @@ -22,13 +22,13 @@ public ServerVulnerabilityAssessmentData() /// Initializes a new instance of ServerVulnerabilityAssessmentData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// A blob storage container path to hold the scan results (e.g. https://myStorage.blob.core.windows.net/VaScans/). /// A shared access signature (SAS Key) that has write access to the blob container specified in 'storageContainerPath' parameter. If 'storageAccountAccessKey' isn't specified, StorageContainerSasKey is required. Applies only if the storage account is not behind a Vnet or a firewall. /// Specifies the identifier key of the storage account for vulnerability assessment scan results. If 'StorageContainerSasKey' isn't specified, storageAccountAccessKey is required. Applies only if the storage account is not behind a Vnet or a firewall. /// The recurring scans settings. - internal ServerVulnerabilityAssessmentData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string storageContainerPath, string storageContainerSasKey, string storageAccountAccessKey, VulnerabilityAssessmentRecurringScansProperties recurringScans) : base(id, name, type, systemData) + internal ServerVulnerabilityAssessmentData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string storageContainerPath, string storageContainerSasKey, string storageAccountAccessKey, VulnerabilityAssessmentRecurringScansProperties recurringScans) : base(id, name, resourceType, systemData) { StorageContainerPath = storageContainerPath; StorageContainerSasKey = storageContainerSasKey; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServiceObjectiveData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServiceObjectiveData.cs index c116aea242470..770da5b207e23 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServiceObjectiveData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ServiceObjectiveData.cs @@ -21,14 +21,14 @@ public ServiceObjectiveData() /// Initializes a new instance of ServiceObjectiveData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The name for the service objective. /// Gets whether the service level objective is the default service objective. /// Gets whether the service level objective is a system service objective. /// The description for the service level objective. /// Gets whether the service level objective is enabled. - internal ServiceObjectiveData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string serviceObjectiveName, bool? isDefault, bool? isSystem, string description, bool? enabled) : base(id, name, type, systemData) + internal ServiceObjectiveData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string serviceObjectiveName, bool? isDefault, bool? isSystem, string description, bool? enabled) : base(id, name, resourceType, systemData) { ServiceObjectiveName = serviceObjectiveName; IsDefault = isDefault; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlAgentConfigurationData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlAgentConfigurationData.cs index 883ee502f873f..1a39d825a4d0a 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlAgentConfigurationData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlAgentConfigurationData.cs @@ -22,10 +22,10 @@ public SqlAgentConfigurationData() /// Initializes a new instance of SqlAgentConfigurationData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The state of Sql Agent. - internal SqlAgentConfigurationData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, SqlAgentConfigurationPropertiesState? state) : base(id, name, type, systemData) + internal SqlAgentConfigurationData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, SqlAgentConfigurationPropertiesState? state) : base(id, name, resourceType, systemData) { State = state; } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlDatabaseData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlDatabaseData.cs index b0f20a3aa9e33..150e44fcddafc 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlDatabaseData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlDatabaseData.cs @@ -25,7 +25,7 @@ public SqlDatabaseData(AzureLocation location) : base(location) /// Initializes a new instance of SqlDatabaseData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -100,7 +100,7 @@ public SqlDatabaseData(AzureLocation location) : base(location) /// Maintenance configuration id assigned to the database. This configuration defines the period when the maintenance updates will occur. /// Whether or not this database is a ledger database, which means all tables in the database are ledger tables. Note: the value of this property cannot be changed after the database has been created. /// Infra encryption is enabled for this database. - internal SqlDatabaseData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, SqlSku sku, string kind, string managedBy, CreateMode? createMode, string collation, long? maxSizeBytes, SampleSchemaName? sampleName, string elasticPoolId, string sourceDatabaseId, DatabaseStatus? status, Guid? databaseId, DateTimeOffset? creationDate, string currentServiceObjectiveName, string requestedServiceObjectiveName, string defaultSecondaryLocation, string failoverGroupId, DateTimeOffset? restorePointInTime, DateTimeOffset? sourceDatabaseDeletionDate, string recoveryServicesRecoveryPointId, string longTermRetentionBackupResourceId, string recoverableDatabaseId, string restorableDroppedDatabaseId, CatalogCollationType? catalogCollation, bool? zoneRedundant, DatabaseLicenseType? licenseType, long? maxLogSizeBytes, DateTimeOffset? earliestRestoreDate, DatabaseReadScale? readScale, int? highAvailabilityReplicaCount, SecondaryType? secondaryType, SqlSku currentSku, int? autoPauseDelay, CurrentBackupStorageRedundancy? currentBackupStorageRedundancy, RequestedBackupStorageRedundancy? requestedBackupStorageRedundancy, double? minCapacity, DateTimeOffset? pausedDate, DateTimeOffset? resumedDate, string maintenanceConfigurationId, bool? isLedgerOn, bool? isInfraEncryptionEnabled) : base(id, name, type, systemData, tags, location) + internal SqlDatabaseData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, SqlSku sku, string kind, string managedBy, CreateMode? createMode, string collation, long? maxSizeBytes, SampleSchemaName? sampleName, string elasticPoolId, string sourceDatabaseId, DatabaseStatus? status, Guid? databaseId, DateTimeOffset? creationDate, string currentServiceObjectiveName, string requestedServiceObjectiveName, string defaultSecondaryLocation, string failoverGroupId, DateTimeOffset? restorePointInTime, DateTimeOffset? sourceDatabaseDeletionDate, string recoveryServicesRecoveryPointId, string longTermRetentionBackupResourceId, string recoverableDatabaseId, string restorableDroppedDatabaseId, CatalogCollationType? catalogCollation, bool? zoneRedundant, DatabaseLicenseType? licenseType, long? maxLogSizeBytes, DateTimeOffset? earliestRestoreDate, DatabaseReadScale? readScale, int? highAvailabilityReplicaCount, SecondaryType? secondaryType, SqlSku currentSku, int? autoPauseDelay, CurrentBackupStorageRedundancy? currentBackupStorageRedundancy, RequestedBackupStorageRedundancy? requestedBackupStorageRedundancy, double? minCapacity, DateTimeOffset? pausedDate, DateTimeOffset? resumedDate, string maintenanceConfigurationId, bool? isLedgerOn, bool? isInfraEncryptionEnabled) : base(id, name, resourceType, systemData, tags, location) { Sku = sku; Kind = kind; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlJobData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlJobData.cs index ed52d358f4cfc..3921ddb7da215 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlJobData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlJobData.cs @@ -22,12 +22,12 @@ public SqlJobData() /// Initializes a new instance of SqlJobData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// User-defined description of the job. /// The job version number. /// Schedule properties of the job. - internal SqlJobData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string description, int? version, JobSchedule schedule) : base(id, name, type, systemData) + internal SqlJobData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string description, int? version, JobSchedule schedule) : base(id, name, resourceType, systemData) { Description = description; Version = version; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlServerData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlServerData.cs index 5a961dc0c03f3..20568be58d063 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlServerData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlServerData.cs @@ -26,7 +26,7 @@ public SqlServerData(AzureLocation location) : base(location) /// Initializes a new instance of SqlServerData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -46,7 +46,7 @@ public SqlServerData(AzureLocation location) : base(location) /// A CMK URI of the key to use for encryption. /// The Azure Active Directory identity of the server. /// Whether or not to restrict outbound network access for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. - internal SqlServerData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, ManagedServiceIdentity identity, string kind, string administratorLogin, string administratorLoginPassword, string version, string state, string fullyQualifiedDomainName, IReadOnlyList privateEndpointConnections, string minimalTlsVersion, ServerNetworkAccessFlag? publicNetworkAccess, ServerWorkspaceFeature? workspaceFeature, string primaryUserAssignedIdentityId, Guid? federatedClientId, string keyId, ServerExternalAdministrator administrators, ServerNetworkAccessFlag? restrictOutboundNetworkAccess) : base(id, name, type, systemData, tags, location) + internal SqlServerData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, ManagedServiceIdentity identity, string kind, string administratorLogin, string administratorLoginPassword, string version, string state, string fullyQualifiedDomainName, IReadOnlyList privateEndpointConnections, string minimalTlsVersion, ServerNetworkAccessFlag? publicNetworkAccess, ServerWorkspaceFeature? workspaceFeature, string primaryUserAssignedIdentityId, Guid? federatedClientId, string keyId, ServerExternalAdministrator administrators, ServerNetworkAccessFlag? restrictOutboundNetworkAccess) : base(id, name, resourceType, systemData, tags, location) { Identity = identity; Kind = kind; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlTimeZoneData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlTimeZoneData.cs index 0f8b0e9e8cf5a..2776903beb742 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlTimeZoneData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlTimeZoneData.cs @@ -21,11 +21,11 @@ public SqlTimeZoneData() /// Initializes a new instance of SqlTimeZoneData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The time zone id. /// The time zone display name. - internal SqlTimeZoneData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string timeZoneId, string displayName) : base(id, name, type, systemData) + internal SqlTimeZoneData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string timeZoneId, string displayName) : base(id, name, resourceType, systemData) { TimeZoneId = timeZoneId; DisplayName = displayName; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SubscriptionUsageData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SubscriptionUsageData.cs index 1039e37f364b3..e3ed5de8d3551 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SubscriptionUsageData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SubscriptionUsageData.cs @@ -21,13 +21,13 @@ public SubscriptionUsageData() /// Initializes a new instance of SubscriptionUsageData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// User-readable name of the metric. /// Current value of the metric. /// Boundary value of the metric. /// Unit of the metric. - internal SubscriptionUsageData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string displayName, double? currentValue, double? limit, string unit) : base(id, name, type, systemData) + internal SubscriptionUsageData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string displayName, double? currentValue, double? limit, string unit) : base(id, name, resourceType, systemData) { DisplayName = displayName; CurrentValue = currentValue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SyncAgentData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SyncAgentData.cs index 0fd17feb8df25..91efd49c6b3f7 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SyncAgentData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SyncAgentData.cs @@ -23,7 +23,7 @@ public SyncAgentData() /// Initializes a new instance of SyncAgentData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Name of the sync agent. /// ARM resource id of the sync database in the sync agent. @@ -32,7 +32,7 @@ public SyncAgentData() /// If the sync agent version is up to date. /// Expiration time of the sync agent version. /// Version of the sync agent. - internal SyncAgentData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string namePropertiesName, string syncDatabaseId, DateTimeOffset? lastAliveTime, SyncAgentState? state, bool? isUpToDate, DateTimeOffset? expiryTime, string version) : base(id, name, type, systemData) + internal SyncAgentData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string namePropertiesName, string syncDatabaseId, DateTimeOffset? lastAliveTime, SyncAgentState? state, bool? isUpToDate, DateTimeOffset? expiryTime, string version) : base(id, name, resourceType, systemData) { NamePropertiesName = namePropertiesName; SyncDatabaseId = syncDatabaseId; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SyncGroupData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SyncGroupData.cs index b60c62ecc0de3..c9f0f1a178b1a 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SyncGroupData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SyncGroupData.cs @@ -23,7 +23,7 @@ public SyncGroupData() /// Initializes a new instance of SyncGroupData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The name and capacity of the SKU. /// Sync interval of the sync group. @@ -38,7 +38,7 @@ public SyncGroupData() /// Conflict logging retention period. /// If use private link connection is enabled. /// Private endpoint name of the sync group if use private link connection is enabled. - internal SyncGroupData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, SqlSku sku, int? interval, DateTimeOffset? lastSyncTime, SyncConflictResolutionPolicy? conflictResolutionPolicy, string syncDatabaseId, string hubDatabaseUserName, string hubDatabasePassword, SyncGroupState? syncState, SyncGroupSchema schema, bool? enableConflictLogging, int? conflictLoggingRetentionInDays, bool? usePrivateLinkConnection, string privateEndpointName) : base(id, name, type, systemData) + internal SyncGroupData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, SqlSku sku, int? interval, DateTimeOffset? lastSyncTime, SyncConflictResolutionPolicy? conflictResolutionPolicy, string syncDatabaseId, string hubDatabaseUserName, string hubDatabasePassword, SyncGroupState? syncState, SyncGroupSchema schema, bool? enableConflictLogging, int? conflictLoggingRetentionInDays, bool? usePrivateLinkConnection, string privateEndpointName) : base(id, name, resourceType, systemData) { Sku = sku; Interval = interval; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SyncMemberData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SyncMemberData.cs index 44303e35da271..9a90367b7bfba 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SyncMemberData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SyncMemberData.cs @@ -23,7 +23,7 @@ public SyncMemberData() /// Initializes a new instance of SyncMemberData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Database type of the sync member. /// ARM resource id of the sync agent in the sync member. @@ -37,7 +37,7 @@ public SyncMemberData() /// Password of the member database in the sync member. /// Sync direction of the sync member. /// Sync state of the sync member. - internal SyncMemberData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, SyncMemberDbType? databaseType, string syncAgentId, Guid? sqlServerDatabaseId, string syncMemberAzureDatabaseResourceId, bool? usePrivateLinkConnection, string privateEndpointName, string serverName, string databaseName, string userName, string password, SyncDirection? syncDirection, SyncMemberState? syncState) : base(id, name, type, systemData) + internal SyncMemberData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, SyncMemberDbType? databaseType, string syncAgentId, Guid? sqlServerDatabaseId, string syncMemberAzureDatabaseResourceId, bool? usePrivateLinkConnection, string privateEndpointName, string serverName, string databaseName, string userName, string password, SyncDirection? syncDirection, SyncMemberState? syncState) : base(id, name, resourceType, systemData) { DatabaseType = databaseType; SyncAgentId = syncAgentId; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/VirtualClusterData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/VirtualClusterData.cs index 4497ecc0b3ff5..e9f9eb7567790 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/VirtualClusterData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/VirtualClusterData.cs @@ -24,7 +24,7 @@ public VirtualClusterData(AzureLocation location) : base(location) /// Initializes a new instance of VirtualClusterData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -32,7 +32,7 @@ public VirtualClusterData(AzureLocation location) : base(location) /// If the service has different generations of hardware, for the same SKU, then that can be captured here. /// List of resources in this virtual cluster. /// Specifies maintenance configuration id to apply to this virtual cluster. - internal VirtualClusterData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, string subnetId, string family, IReadOnlyList childResources, string maintenanceConfigurationId) : base(id, name, type, systemData, tags, location) + internal VirtualClusterData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string subnetId, string family, IReadOnlyList childResources, string maintenanceConfigurationId) : base(id, name, resourceType, systemData, tags, location) { SubnetId = subnetId; Family = family; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/VirtualNetworkRuleData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/VirtualNetworkRuleData.cs index 8ad294958277b..7fb3a2070c189 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/VirtualNetworkRuleData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/VirtualNetworkRuleData.cs @@ -22,12 +22,12 @@ public VirtualNetworkRuleData() /// Initializes a new instance of VirtualNetworkRuleData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The ARM resource id of the virtual network subnet. /// Create firewall rule before the virtual network has vnet service endpoint enabled. /// Virtual Network Rule State. - internal VirtualNetworkRuleData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string virtualNetworkSubnetId, bool? ignoreMissingVnetServiceEndpoint, VirtualNetworkRuleState? state) : base(id, name, type, systemData) + internal VirtualNetworkRuleData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string virtualNetworkSubnetId, bool? ignoreMissingVnetServiceEndpoint, VirtualNetworkRuleState? state) : base(id, name, resourceType, systemData) { VirtualNetworkSubnetId = virtualNetworkSubnetId; IgnoreMissingVnetServiceEndpoint = ignoreMissingVnetServiceEndpoint; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/VulnerabilityAssessmentScanRecordData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/VulnerabilityAssessmentScanRecordData.cs index 7c1216baf6ad1..6e74327278cbf 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/VulnerabilityAssessmentScanRecordData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/VulnerabilityAssessmentScanRecordData.cs @@ -25,7 +25,7 @@ public VulnerabilityAssessmentScanRecordData() /// Initializes a new instance of VulnerabilityAssessmentScanRecordData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The scan ID. /// The scan trigger type. @@ -35,7 +35,7 @@ public VulnerabilityAssessmentScanRecordData() /// The scan errors. /// The scan results storage container path. /// The number of failed security checks. - internal VulnerabilityAssessmentScanRecordData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string scanId, VulnerabilityAssessmentScanTriggerType? triggerType, VulnerabilityAssessmentScanState? state, DateTimeOffset? startTime, DateTimeOffset? endTime, IReadOnlyList errors, string storageContainerPath, int? numberOfFailedSecurityChecks) : base(id, name, type, systemData) + internal VulnerabilityAssessmentScanRecordData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string scanId, VulnerabilityAssessmentScanTriggerType? triggerType, VulnerabilityAssessmentScanState? state, DateTimeOffset? startTime, DateTimeOffset? endTime, IReadOnlyList errors, string storageContainerPath, int? numberOfFailedSecurityChecks) : base(id, name, resourceType, systemData) { ScanId = scanId; TriggerType = triggerType; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/WorkloadClassifierData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/WorkloadClassifierData.cs index 9f094a6a399fd..b92abfc48a80d 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/WorkloadClassifierData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/WorkloadClassifierData.cs @@ -21,7 +21,7 @@ public WorkloadClassifierData() /// Initializes a new instance of WorkloadClassifierData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The workload classifier member name. /// The workload classifier label. @@ -29,7 +29,7 @@ public WorkloadClassifierData() /// The workload classifier start time for classification. /// The workload classifier end time for classification. /// The workload classifier importance. - internal WorkloadClassifierData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string memberName, string label, string context, string startTime, string endTime, string importance) : base(id, name, type, systemData) + internal WorkloadClassifierData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string memberName, string label, string context, string startTime, string endTime, string importance) : base(id, name, resourceType, systemData) { MemberName = memberName; Label = label; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/WorkloadGroupData.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/WorkloadGroupData.cs index 7cb0dd54fbf39..2e6876ea92880 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/WorkloadGroupData.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/WorkloadGroupData.cs @@ -21,7 +21,7 @@ public WorkloadGroupData() /// Initializes a new instance of WorkloadGroupData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The workload group minimum percentage resource. /// The workload group cap percentage resource. @@ -29,7 +29,7 @@ public WorkloadGroupData() /// The workload group request maximum grant percentage. /// The workload group importance level. /// The workload group query execution timeout. - internal WorkloadGroupData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, int? minResourcePercent, int? maxResourcePercent, double? minResourcePercentPerRequest, double? maxResourcePercentPerRequest, string importance, int? queryExecutionTimeout) : base(id, name, type, systemData) + internal WorkloadGroupData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, int? minResourcePercent, int? maxResourcePercent, double? minResourcePercentPerRequest, double? maxResourcePercentPerRequest, string importance, int? queryExecutionTimeout) : base(id, name, resourceType, systemData) { MinResourcePercent = minResourcePercent; MaxResourcePercent = maxResourcePercent; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/tests/Helpers/SqlManagementClientBase.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/tests/Helpers/SqlManagementClientBase.cs index 5f3f66a330fdc..1f61307261c68 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/tests/Helpers/SqlManagementClientBase.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/tests/Helpers/SqlManagementClientBase.cs @@ -81,7 +81,7 @@ protected async Task CreateDefaultManagedInstance(string manage AddressPrefix = "10.10.2.0/24", Delegations = { - new Delegation() { ServiceName = "Microsoft.Sql/managedInstances",Name="Microsoft.Sql/managedInstances" ,Type="Microsoft.Sql"} + new Delegation() { ServiceName = "Microsoft.Sql/managedInstances",Name="Microsoft.Sql/managedInstances" ,ResourceType="Microsoft.Sql"} }, RouteTable = new RouteTableData(){ Id = routeTable.Value.Data.Id.ToString() }, NetworkSecurityGroup = new NetworkSecurityGroupData(){ Id = networkSecurityGroup.Value.Data.Id.ToString() }, diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/tests/Samples/Sample1_ManagingManagedInstance.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/tests/Samples/Sample1_ManagingManagedInstance.cs index f805be8c1b35e..bd4287da24191 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/tests/Samples/Sample1_ManagingManagedInstance.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/tests/Samples/Sample1_ManagingManagedInstance.cs @@ -69,7 +69,7 @@ public async Task CreateOrUpdate() AddressPrefix = "10.10.2.0/24", Delegations = { - new Delegation() { ServiceName = "Microsoft.Sql/managedInstances",Name="Microsoft.Sql/managedInstances" ,Type="Microsoft.Sql"} + new Delegation() { ServiceName = "Microsoft.Sql/managedInstances",Name="Microsoft.Sql/managedInstances" ,ResourceType="Microsoft.Sql"} }, RouteTable = new RouteTableData(){ Id = routeTable.Value.Data.Id.ToString() }, NetworkSecurityGroup = new NetworkSecurityGroupData(){ Id = networkSecurityGroup.Value.Data.Id.ToString() }, diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/tests/Samples/Sample2_ManagingManagedDatabases.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/tests/Samples/Sample2_ManagingManagedDatabases.cs index ffc5119e0dee2..c67cab4f49e98 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/tests/Samples/Sample2_ManagingManagedDatabases.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/tests/Samples/Sample2_ManagingManagedDatabases.cs @@ -64,7 +64,7 @@ protected async Task initialize() AddressPrefix = "10.10.2.0/24", Delegations = { - new Delegation() { ServiceName = "Microsoft.Sql/managedInstances",Name="Microsoft.Sql/managedInstances" ,Type="Microsoft.Sql"} + new Delegation() { ServiceName = "Microsoft.Sql/managedInstances",Name="Microsoft.Sql/managedInstances" ,ResourceType="Microsoft.Sql"} }, RouteTable = new RouteTableData(){ Id = routeTable.Value.Data.Id.ToString() }, NetworkSecurityGroup = new NetworkSecurityGroupData(){ Id = networkSecurityGroup.Value.Data.Id.ToString() }, diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/tests/Scenario/InstancePoolTests.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/tests/Scenario/InstancePoolTests.cs index 3bb3db897e792..d77e145b0a519 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/tests/Scenario/InstancePoolTests.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/tests/Scenario/InstancePoolTests.cs @@ -82,7 +82,7 @@ private async Task CreateInstancePool(string instancePoolName) AddressPrefix = "10.10.2.0/24", Delegations = { - new Delegation() { ServiceName = "Microsoft.Sql/managedInstances",Name="Microsoft.Sql/managedInstances" ,Type="Microsoft.Sql"} + new Delegation() { ServiceName = "Microsoft.Sql/managedInstances",Name="Microsoft.Sql/managedInstances" ,ResourceType="Microsoft.Sql"} }, RouteTable = new RouteTableData(){ Id = routeTable.Value.Data.Id.ToString() }, NetworkSecurityGroup = new NetworkSecurityGroupData(){ Id = networkSecurityGroup.Value.Data.Id.ToString() }, diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/tests/Scenario/ManagedInstancePrivateLinkTest.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/tests/Scenario/ManagedInstancePrivateLinkTest.cs index b3216fad5f938..70dfad51d029a 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/tests/Scenario/ManagedInstancePrivateLinkTest.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/tests/Scenario/ManagedInstancePrivateLinkTest.cs @@ -61,12 +61,12 @@ public async Task ManagedInstancePrivateLinkApiTests() // 3.Get var getPrivateLink = await collection.GetAsync(privateLinkName); Assert.AreEqual(privateLinkName.ToString(), getPrivateLink.Value.Data.Name); - Assert.AreEqual("Microsoft.Sql/managedInstances/privateLinkResources", getPrivateLink.Value.Data.Type.ToString()); + Assert.AreEqual("Microsoft.Sql/managedInstances/privateLinkResources", getPrivateLink.Value.Data.ResourceType.ToString()); // 4.GetIfExist var GetIfExistPrivateLink = await collection.GetIfExistsAsync(privateLinkName); Assert.AreEqual(privateLinkName.ToString(), GetIfExistPrivateLink.Value.Data.Name); - Assert.AreEqual("Microsoft.Sql/managedInstances/privateLinkResources", GetIfExistPrivateLink.Value.Data.Type.ToString()); + Assert.AreEqual("Microsoft.Sql/managedInstances/privateLinkResources", GetIfExistPrivateLink.Value.Data.ResourceType.ToString()); } } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/tests/Scenario/ManagedInstanceTests.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/tests/Scenario/ManagedInstanceTests.cs index 636cdb7e4978f..538a336cde452 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/tests/Scenario/ManagedInstanceTests.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/tests/Scenario/ManagedInstanceTests.cs @@ -62,7 +62,7 @@ public async Task GlobalSetUp() AddressPrefix = "10.10.2.0/24", Delegations = { - new Delegation() { ServiceName = "Microsoft.Sql/managedInstances",Name="Microsoft.Sql/managedInstances" ,Type="Microsoft.Sql"} + new Delegation() { ServiceName = "Microsoft.Sql/managedInstances",Name="Microsoft.Sql/managedInstances" ,ResourceType="Microsoft.Sql"} }, RouteTable = new RouteTableData(){ Id = routeTable.Value.Data.Id.ToString() }, NetworkSecurityGroup = new NetworkSecurityGroupData(){ Id = networkSecurityGroup.Value.Data.Id.ToString() }, diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/tests/Scenario/SqlAgentConfigurationTests.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/tests/Scenario/SqlAgentConfigurationTests.cs index 430abc32bc079..3e4729fdd2c36 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/tests/Scenario/SqlAgentConfigurationTests.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/tests/Scenario/SqlAgentConfigurationTests.cs @@ -57,14 +57,14 @@ public async Task SqlAgentConfigurationApiTests() Assert.IsNotNull(agentConfig); Assert.AreEqual("current", agentConfig.Value.Data.Name); Assert.AreEqual("Enabled", agentConfig.Value.Data.State.ToString()); - Assert.AreEqual("Microsoft.Sql/managedInstances/sqlAgent", agentConfig.Value.Data.Type.ToString()); + Assert.AreEqual("Microsoft.Sql/managedInstances/sqlAgent", agentConfig.Value.Data.ResourceType.ToString()); // 3.Get var getAgentConfig = await collection.GetAsync(); Assert.IsNotNull(getAgentConfig); Assert.AreEqual("current", getAgentConfig.Value.Data.Name); Assert.AreEqual("Enabled", getAgentConfig.Value.Data.State.ToString()); - Assert.AreEqual("Microsoft.Sql/managedInstances/sqlAgent", getAgentConfig.Value.Data.Type.ToString()); + Assert.AreEqual("Microsoft.Sql/managedInstances/sqlAgent", getAgentConfig.Value.Data.ResourceType.ToString()); // 4.GetAvailableLocations var getAvailableLocationsAgentConf = await collection.GetAvailableLocationsAsync(); diff --git a/sdk/storage/Azure.ResourceManager.Storage/api/Azure.ResourceManager.Storage.netstandard2.0.cs b/sdk/storage/Azure.ResourceManager.Storage/api/Azure.ResourceManager.Storage.netstandard2.0.cs index 749aae9f33a21..bf1beada8109f 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/api/Azure.ResourceManager.Storage.netstandard2.0.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/api/Azure.ResourceManager.Storage.netstandard2.0.cs @@ -877,10 +877,10 @@ public BlobInventoryPolicyRule(bool enabled, string name, string destination, Az } public partial class BlobInventoryPolicySchema { - public BlobInventoryPolicySchema(bool enabled, Azure.ResourceManager.Storage.Models.InventoryRuleType type, System.Collections.Generic.IEnumerable rules) { } + public BlobInventoryPolicySchema(bool enabled, Azure.ResourceManager.Storage.Models.InventoryRuleType inventoryRuleType, System.Collections.Generic.IEnumerable rules) { } public bool Enabled { get { throw null; } set { } } + public Azure.ResourceManager.Storage.Models.InventoryRuleType InventoryRuleType { get { throw null; } set { } } public System.Collections.Generic.IList Rules { get { throw null; } } - public Azure.ResourceManager.Storage.Models.InventoryRuleType Type { get { throw null; } set { } } } public partial class BlobRestoreParameters { @@ -1177,8 +1177,8 @@ internal Endpoints() { } public partial class ExtendedLocation { public ExtendedLocation() { } + public Azure.ResourceManager.Storage.Models.ExtendedLocationTypes? ExtendedLocationType { get { throw null; } set { } } public string Name { get { throw null; } set { } } - public Azure.ResourceManager.Storage.Models.ExtendedLocationTypes? Type { get { throw null; } set { } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ExtendedLocationTypes : System.IEquatable @@ -1622,11 +1622,11 @@ public ManagementPolicyFilter(System.Collections.Generic.IEnumerable blo } public partial class ManagementPolicyRule { - public ManagementPolicyRule(string name, Azure.ResourceManager.Storage.Models.RuleType type, Azure.ResourceManager.Storage.Models.ManagementPolicyDefinition definition) { } + public ManagementPolicyRule(string name, Azure.ResourceManager.Storage.Models.RuleType ruleType, Azure.ResourceManager.Storage.Models.ManagementPolicyDefinition definition) { } public Azure.ResourceManager.Storage.Models.ManagementPolicyDefinition Definition { get { throw null; } set { } } public bool? Enabled { get { throw null; } set { } } public string Name { get { throw null; } set { } } - public Azure.ResourceManager.Storage.Models.RuleType Type { get { throw null; } set { } } + public Azure.ResourceManager.Storage.Models.RuleType RuleType { get { throw null; } set { } } } public partial class ManagementPolicySnapShot { @@ -1926,7 +1926,7 @@ public partial class Restriction { internal Restriction() { } public Azure.ResourceManager.Storage.Models.ReasonCode? ReasonCode { get { throw null; } } - public string Type { get { throw null; } } + public string RestrictionType { get { throw null; } } public System.Collections.Generic.IReadOnlyList Values { get { throw null; } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] @@ -2167,7 +2167,7 @@ public partial class StorageAccountCheckNameAvailabilityParameters { public StorageAccountCheckNameAvailabilityParameters(string name) { } public string Name { get { throw null; } } - public string Type { get { throw null; } } + public string ResourceType { get { throw null; } } } public partial class StorageAccountCreateParameters { diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/BlobContainerData.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/BlobContainerData.cs index 777d19f0d5256..0b4f0705e4298 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/BlobContainerData.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/BlobContainerData.cs @@ -25,7 +25,7 @@ public BlobContainerData() /// Initializes a new instance of BlobContainerData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Resource Etag. /// The version of the deleted blob container. @@ -47,7 +47,7 @@ public BlobContainerData() /// The object level immutability property of the container. The property is immutable and can only be set to true at the container creation time. Existing containers must undergo a migration process. /// Enable NFSv3 root squash on blob container. /// Enable NFSv3 all squash on blob container. - internal BlobContainerData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string etag, string version, bool? deleted, DateTimeOffset? deletedTime, int? remainingRetentionDays, string defaultEncryptionScope, bool? denyEncryptionScopeOverride, PublicAccess? publicAccess, DateTimeOffset? lastModifiedTime, LeaseStatus? leaseStatus, LeaseState? leaseState, LeaseDuration? leaseDuration, IDictionary metadata, ImmutabilityPolicyProperties immutabilityPolicy, LegalHoldProperties legalHold, bool? hasLegalHold, bool? hasImmutabilityPolicy, ImmutableStorageWithVersioning immutableStorageWithVersioning, bool? enableNfsV3RootSquash, bool? enableNfsV3AllSquash) : base(id, name, type, systemData, etag) + internal BlobContainerData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string etag, string version, bool? deleted, DateTimeOffset? deletedTime, int? remainingRetentionDays, string defaultEncryptionScope, bool? denyEncryptionScopeOverride, PublicAccess? publicAccess, DateTimeOffset? lastModifiedTime, LeaseStatus? leaseStatus, LeaseState? leaseState, LeaseDuration? leaseDuration, IDictionary metadata, ImmutabilityPolicyProperties immutabilityPolicy, LegalHoldProperties legalHold, bool? hasLegalHold, bool? hasImmutabilityPolicy, ImmutableStorageWithVersioning immutableStorageWithVersioning, bool? enableNfsV3RootSquash, bool? enableNfsV3AllSquash) : base(id, name, resourceType, systemData, etag) { Version = version; Deleted = deleted; diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/BlobInventoryPolicyData.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/BlobInventoryPolicyData.cs index e9cfbed8d46d8..3ef1dc077c904 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/BlobInventoryPolicyData.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/BlobInventoryPolicyData.cs @@ -23,11 +23,11 @@ public BlobInventoryPolicyData() /// Initializes a new instance of BlobInventoryPolicyData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Returns the last modified date and time of the blob inventory policy. /// The storage account blob inventory policy object. It is composed of policy rules. - internal BlobInventoryPolicyData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, DateTimeOffset? lastModifiedTime, BlobInventoryPolicySchema policy) : base(id, name, type, systemData) + internal BlobInventoryPolicyData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, DateTimeOffset? lastModifiedTime, BlobInventoryPolicySchema policy) : base(id, name, resourceType, systemData) { LastModifiedTime = lastModifiedTime; Policy = policy; diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/BlobServiceData.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/BlobServiceData.cs index 7229c2d4e79d3..7cc797228bc95 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/BlobServiceData.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/BlobServiceData.cs @@ -23,7 +23,7 @@ public BlobServiceData() /// Initializes a new instance of BlobServiceData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Sku name and tier. /// Specifies CORS rules for the Blob service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Blob service. @@ -35,7 +35,7 @@ public BlobServiceData() /// The blob service properties for blob restore policy. /// The blob service properties for container soft delete. /// The blob service property to configure last access time based tracking policy. - internal BlobServiceData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, StorageSku sku, CorsRules cors, string defaultServiceVersion, DeleteRetentionPolicy deleteRetentionPolicy, bool? isVersioningEnabled, bool? automaticSnapshotPolicyEnabled, ChangeFeed changeFeed, RestorePolicyProperties restorePolicy, DeleteRetentionPolicy containerDeleteRetentionPolicy, LastAccessTimeTrackingPolicy lastAccessTimeTrackingPolicy) : base(id, name, type, systemData) + internal BlobServiceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, StorageSku sku, CorsRules cors, string defaultServiceVersion, DeleteRetentionPolicy deleteRetentionPolicy, bool? isVersioningEnabled, bool? automaticSnapshotPolicyEnabled, ChangeFeed changeFeed, RestorePolicyProperties restorePolicy, DeleteRetentionPolicy containerDeleteRetentionPolicy, LastAccessTimeTrackingPolicy lastAccessTimeTrackingPolicy) : base(id, name, resourceType, systemData) { Sku = sku; Cors = cors; diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/DeletedAccountData.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/DeletedAccountData.cs index c8b158db26f95..195bcbac50c9b 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/DeletedAccountData.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/DeletedAccountData.cs @@ -21,14 +21,14 @@ public DeletedAccountData() /// Initializes a new instance of DeletedAccountData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Full resource id of the original storage account. /// Location of the deleted account. /// Can be used to attempt recovering this deleted account via PutStorageAccount API. /// Creation time of the deleted account. /// Deletion time of the deleted account. - internal DeletedAccountData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string storageAccountResourceId, string location, string restoreReference, string creationTime, string deletionTime) : base(id, name, type, systemData) + internal DeletedAccountData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string storageAccountResourceId, string location, string restoreReference, string creationTime, string deletionTime) : base(id, name, resourceType, systemData) { StorageAccountResourceId = storageAccountResourceId; Location = location; diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/EncryptionScopeData.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/EncryptionScopeData.cs index fd96a3e40ccab..399a22817ee91 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/EncryptionScopeData.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/EncryptionScopeData.cs @@ -23,7 +23,7 @@ public EncryptionScopeData() /// Initializes a new instance of EncryptionScopeData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The provider for the encryption scope. Possible values (case-insensitive): Microsoft.Storage, Microsoft.KeyVault. /// The state of the encryption scope. Possible values (case-insensitive): Enabled, Disabled. @@ -31,7 +31,7 @@ public EncryptionScopeData() /// Gets the last modification date and time of the encryption scope in UTC. /// The key vault properties for the encryption scope. This is a required field if encryption scope 'source' attribute is set to 'Microsoft.KeyVault'. /// A boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest. - internal EncryptionScopeData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, EncryptionScopeSource? source, EncryptionScopeState? state, DateTimeOffset? creationTime, DateTimeOffset? lastModifiedTime, EncryptionScopeKeyVaultProperties keyVaultProperties, bool? requireInfrastructureEncryption) : base(id, name, type, systemData) + internal EncryptionScopeData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, EncryptionScopeSource? source, EncryptionScopeState? state, DateTimeOffset? creationTime, DateTimeOffset? lastModifiedTime, EncryptionScopeKeyVaultProperties keyVaultProperties, bool? requireInfrastructureEncryption) : base(id, name, resourceType, systemData) { Source = source; State = state; diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/FileServiceData.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/FileServiceData.cs index f483536c7420e..7eaa4bf839717 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/FileServiceData.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/FileServiceData.cs @@ -23,13 +23,13 @@ public FileServiceData() /// Initializes a new instance of FileServiceData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Sku name and tier. /// Specifies CORS rules for the File service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the File service. /// The file service properties for share soft delete. /// Protocol settings for file service. - internal FileServiceData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, StorageSku sku, CorsRules cors, DeleteRetentionPolicy shareDeleteRetentionPolicy, ProtocolSettings protocolSettings) : base(id, name, type, systemData) + internal FileServiceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, StorageSku sku, CorsRules cors, DeleteRetentionPolicy shareDeleteRetentionPolicy, ProtocolSettings protocolSettings) : base(id, name, resourceType, systemData) { Sku = sku; Cors = cors; diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/FileShareData.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/FileShareData.cs index 9a0e90c403797..bee697b84b785 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/FileShareData.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/FileShareData.cs @@ -26,7 +26,7 @@ public FileShareData() /// Initializes a new instance of FileShareData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Resource Etag. /// Returns the date and time the share was last modified. @@ -47,7 +47,7 @@ public FileShareData() /// Specifies whether the lease on a share is of infinite or fixed duration, only when the share is leased. /// List of stored access policies specified on the share. /// Creation time of share snapshot returned in the response of list shares with expand param "snapshots". - internal FileShareData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string etag, DateTimeOffset? lastModifiedTime, IDictionary metadata, int? shareQuota, EnabledProtocols? enabledProtocols, RootSquashType? rootSquash, string version, bool? deleted, DateTimeOffset? deletedTime, int? remainingRetentionDays, ShareAccessTier? accessTier, DateTimeOffset? accessTierChangeTime, string accessTierStatus, long? shareUsageBytes, LeaseStatus? leaseStatus, LeaseState? leaseState, LeaseDuration? leaseDuration, IList signedIdentifiers, DateTimeOffset? snapshotTime) : base(id, name, type, systemData, etag) + internal FileShareData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string etag, DateTimeOffset? lastModifiedTime, IDictionary metadata, int? shareQuota, EnabledProtocols? enabledProtocols, RootSquashType? rootSquash, string version, bool? deleted, DateTimeOffset? deletedTime, int? remainingRetentionDays, ShareAccessTier? accessTier, DateTimeOffset? accessTierChangeTime, string accessTierStatus, long? shareUsageBytes, LeaseStatus? leaseStatus, LeaseState? leaseState, LeaseDuration? leaseDuration, IList signedIdentifiers, DateTimeOffset? snapshotTime) : base(id, name, resourceType, systemData, etag) { LastModifiedTime = lastModifiedTime; Metadata = metadata; diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/ImmutabilityPolicyData.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/ImmutabilityPolicyData.cs index 7e89e95c49749..60505028fc0b3 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/ImmutabilityPolicyData.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/ImmutabilityPolicyData.cs @@ -22,14 +22,14 @@ public ImmutabilityPolicyData() /// Initializes a new instance of ImmutabilityPolicyData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Resource Etag. /// The immutability period for the blobs in the container since the policy creation, in days. /// The ImmutabilityPolicy state of a blob container, possible values include: Locked and Unlocked. /// This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. /// This property can only be changed for unlocked time-based retention policies. When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. The 'allowProtectedAppendWrites' and 'allowProtectedAppendWritesAll' properties are mutually exclusive. - internal ImmutabilityPolicyData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string etag, int? immutabilityPeriodSinceCreationInDays, ImmutabilityPolicyState? state, bool? allowProtectedAppendWrites, bool? allowProtectedAppendWritesAll) : base(id, name, type, systemData, etag) + internal ImmutabilityPolicyData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string etag, int? immutabilityPeriodSinceCreationInDays, ImmutabilityPolicyState? state, bool? allowProtectedAppendWrites, bool? allowProtectedAppendWritesAll) : base(id, name, resourceType, systemData, etag) { ImmutabilityPeriodSinceCreationInDays = immutabilityPeriodSinceCreationInDays; State = state; diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/LocalUserData.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/LocalUserData.cs index b23dfa33fdcec..2784cd6b86247 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/LocalUserData.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/LocalUserData.cs @@ -25,7 +25,7 @@ public LocalUserData() /// Initializes a new instance of LocalUserData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The permission scopes of the local user. /// Optional, local user home directory. @@ -34,7 +34,7 @@ public LocalUserData() /// Indicates whether shared key exists. Set it to false to remove existing shared key. /// Indicates whether ssh key exists. Set it to false to remove existing SSH key. /// Indicates whether ssh password exists. Set it to false to remove existing SSH password. - internal LocalUserData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IList permissionScopes, string homeDirectory, IList sshAuthorizedKeys, string sid, bool? hasSharedKey, bool? hasSshKey, bool? hasSshPassword) : base(id, name, type, systemData) + internal LocalUserData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IList permissionScopes, string homeDirectory, IList sshAuthorizedKeys, string sid, bool? hasSharedKey, bool? hasSshKey, bool? hasSshPassword) : base(id, name, resourceType, systemData) { PermissionScopes = permissionScopes; HomeDirectory = homeDirectory; diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/ManagementPolicyData.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/ManagementPolicyData.cs index e1ce35a1c9f34..ec6f9749ae713 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/ManagementPolicyData.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/ManagementPolicyData.cs @@ -24,11 +24,11 @@ public ManagementPolicyData() /// Initializes a new instance of ManagementPolicyData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Returns the date and time the ManagementPolicies was last modified. /// The Storage Account ManagementPolicy, in JSON format. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts. - internal ManagementPolicyData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, DateTimeOffset? lastModifiedTime, ManagementPolicySchema policy) : base(id, name, type, systemData) + internal ManagementPolicyData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, DateTimeOffset? lastModifiedTime, ManagementPolicySchema policy) : base(id, name, resourceType, systemData) { LastModifiedTime = lastModifiedTime; Policy = policy; diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/AzureEntityResource.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/AzureEntityResource.cs index aa99b684d599d..81d356d46b7f1 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/AzureEntityResource.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/AzureEntityResource.cs @@ -21,10 +21,10 @@ public AzureEntityResource() /// Initializes a new instance of AzureEntityResource. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Resource Etag. - internal AzureEntityResource(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string etag) : base(id, name, type, systemData) + internal AzureEntityResource(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string etag) : base(id, name, resourceType, systemData) { Etag = etag; } diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/BlobInventoryPolicySchema.Serialization.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/BlobInventoryPolicySchema.Serialization.cs index 2a896d0cf92d6..ab84791567e02 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/BlobInventoryPolicySchema.Serialization.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/BlobInventoryPolicySchema.Serialization.cs @@ -19,7 +19,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("enabled"); writer.WriteBooleanValue(Enabled); writer.WritePropertyName("type"); - writer.WriteStringValue(Type.ToString()); + writer.WriteStringValue(InventoryRuleType.ToString()); writer.WritePropertyName("rules"); writer.WriteStartArray(); foreach (var item in Rules) diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/BlobInventoryPolicySchema.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/BlobInventoryPolicySchema.cs index e7c9d755c21aa..df9c37a009610 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/BlobInventoryPolicySchema.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/BlobInventoryPolicySchema.cs @@ -16,10 +16,10 @@ public partial class BlobInventoryPolicySchema { /// Initializes a new instance of BlobInventoryPolicySchema. /// Policy is enabled if set to true. - /// The valid value is Inventory. + /// The valid value is Inventory. /// The storage account blob inventory policy rules. The rule is applied when it is enabled. /// is null. - public BlobInventoryPolicySchema(bool enabled, InventoryRuleType type, IEnumerable rules) + public BlobInventoryPolicySchema(bool enabled, InventoryRuleType inventoryRuleType, IEnumerable rules) { if (rules == null) { @@ -27,25 +27,25 @@ public BlobInventoryPolicySchema(bool enabled, InventoryRuleType type, IEnumerab } Enabled = enabled; - Type = type; + InventoryRuleType = inventoryRuleType; Rules = rules.ToList(); } /// Initializes a new instance of BlobInventoryPolicySchema. /// Policy is enabled if set to true. - /// The valid value is Inventory. + /// The valid value is Inventory. /// The storage account blob inventory policy rules. The rule is applied when it is enabled. - internal BlobInventoryPolicySchema(bool enabled, InventoryRuleType type, IList rules) + internal BlobInventoryPolicySchema(bool enabled, InventoryRuleType inventoryRuleType, IList rules) { Enabled = enabled; - Type = type; + InventoryRuleType = inventoryRuleType; Rules = rules; } /// Policy is enabled if set to true. public bool Enabled { get; set; } /// The valid value is Inventory. - public InventoryRuleType Type { get; set; } + public InventoryRuleType InventoryRuleType { get; set; } /// The storage account blob inventory policy rules. The rule is applied when it is enabled. public IList Rules { get; } } diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/ExtendedLocation.Serialization.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/ExtendedLocation.Serialization.cs index 8c7a455429810..f1966f6cc8627 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/ExtendedLocation.Serialization.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/ExtendedLocation.Serialization.cs @@ -20,10 +20,10 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("name"); writer.WriteStringValue(Name); } - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(ExtendedLocationType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type.Value.ToString()); + writer.WriteStringValue(ExtendedLocationType.Value.ToString()); } writer.WriteEndObject(); } diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/ExtendedLocation.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/ExtendedLocation.cs index 954941e37cfee..ac0716e2b34b3 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/ExtendedLocation.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/ExtendedLocation.cs @@ -17,16 +17,16 @@ public ExtendedLocation() /// Initializes a new instance of ExtendedLocation. /// The name of the extended location. - /// The type of the extended location. - internal ExtendedLocation(string name, ExtendedLocationTypes? type) + /// The type of the extended location. + internal ExtendedLocation(string name, ExtendedLocationTypes? extendedLocationType) { Name = name; - Type = type; + ExtendedLocationType = extendedLocationType; } /// The name of the extended location. public string Name { get; set; } /// The type of the extended location. - public ExtendedLocationTypes? Type { get; set; } + public ExtendedLocationTypes? ExtendedLocationType { get; set; } } } diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/FileShareItem.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/FileShareItem.cs index 35615a1492f1e..6d4b09e21ceed 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/FileShareItem.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/FileShareItem.cs @@ -25,7 +25,7 @@ public FileShareItem() /// Initializes a new instance of FileShareItem. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Resource Etag. /// Returns the date and time the share was last modified. @@ -46,7 +46,7 @@ public FileShareItem() /// Specifies whether the lease on a share is of infinite or fixed duration, only when the share is leased. /// List of stored access policies specified on the share. /// Creation time of share snapshot returned in the response of list shares with expand param "snapshots". - internal FileShareItem(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string etag, DateTimeOffset? lastModifiedTime, IDictionary metadata, int? shareQuota, EnabledProtocols? enabledProtocols, RootSquashType? rootSquash, string version, bool? deleted, DateTimeOffset? deletedTime, int? remainingRetentionDays, ShareAccessTier? accessTier, DateTimeOffset? accessTierChangeTime, string accessTierStatus, long? shareUsageBytes, LeaseStatus? leaseStatus, LeaseState? leaseState, LeaseDuration? leaseDuration, IList signedIdentifiers, DateTimeOffset? snapshotTime) : base(id, name, type, systemData, etag) + internal FileShareItem(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string etag, DateTimeOffset? lastModifiedTime, IDictionary metadata, int? shareQuota, EnabledProtocols? enabledProtocols, RootSquashType? rootSquash, string version, bool? deleted, DateTimeOffset? deletedTime, int? remainingRetentionDays, ShareAccessTier? accessTier, DateTimeOffset? accessTierChangeTime, string accessTierStatus, long? shareUsageBytes, LeaseStatus? leaseStatus, LeaseState? leaseState, LeaseDuration? leaseDuration, IList signedIdentifiers, DateTimeOffset? snapshotTime) : base(id, name, resourceType, systemData, etag) { LastModifiedTime = lastModifiedTime; Metadata = metadata; diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/ListContainerItem.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/ListContainerItem.cs index 147714df5fc40..025151dabb055 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/ListContainerItem.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/ListContainerItem.cs @@ -24,7 +24,7 @@ public ListContainerItem() /// Initializes a new instance of ListContainerItem. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Resource Etag. /// The version of the deleted blob container. @@ -46,7 +46,7 @@ public ListContainerItem() /// The object level immutability property of the container. The property is immutable and can only be set to true at the container creation time. Existing containers must undergo a migration process. /// Enable NFSv3 root squash on blob container. /// Enable NFSv3 all squash on blob container. - internal ListContainerItem(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string etag, string version, bool? deleted, DateTimeOffset? deletedTime, int? remainingRetentionDays, string defaultEncryptionScope, bool? denyEncryptionScopeOverride, PublicAccess? publicAccess, DateTimeOffset? lastModifiedTime, LeaseStatus? leaseStatus, LeaseState? leaseState, LeaseDuration? leaseDuration, IDictionary metadata, ImmutabilityPolicyProperties immutabilityPolicy, LegalHoldProperties legalHold, bool? hasLegalHold, bool? hasImmutabilityPolicy, ImmutableStorageWithVersioning immutableStorageWithVersioning, bool? enableNfsV3RootSquash, bool? enableNfsV3AllSquash) : base(id, name, type, systemData, etag) + internal ListContainerItem(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string etag, string version, bool? deleted, DateTimeOffset? deletedTime, int? remainingRetentionDays, string defaultEncryptionScope, bool? denyEncryptionScopeOverride, PublicAccess? publicAccess, DateTimeOffset? lastModifiedTime, LeaseStatus? leaseStatus, LeaseState? leaseState, LeaseDuration? leaseDuration, IDictionary metadata, ImmutabilityPolicyProperties immutabilityPolicy, LegalHoldProperties legalHold, bool? hasLegalHold, bool? hasImmutabilityPolicy, ImmutableStorageWithVersioning immutableStorageWithVersioning, bool? enableNfsV3RootSquash, bool? enableNfsV3AllSquash) : base(id, name, resourceType, systemData, etag) { Version = version; Deleted = deleted; diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/ListQueue.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/ListQueue.cs index 6916f25e48a3b..ceda0927258cc 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/ListQueue.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/ListQueue.cs @@ -23,10 +23,10 @@ public ListQueue() /// Initializes a new instance of ListQueue. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// A name-value pair that represents queue metadata. - internal ListQueue(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary metadata) : base(id, name, type, systemData) + internal ListQueue(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary metadata) : base(id, name, resourceType, systemData) { Metadata = metadata; } diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/ManagementPolicyRule.Serialization.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/ManagementPolicyRule.Serialization.cs index 9c23a58d7dd05..afc63ad5b4d3b 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/ManagementPolicyRule.Serialization.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/ManagementPolicyRule.Serialization.cs @@ -23,7 +23,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("name"); writer.WriteStringValue(Name); writer.WritePropertyName("type"); - writer.WriteStringValue(Type.ToString()); + writer.WriteStringValue(RuleType.ToString()); writer.WritePropertyName("definition"); writer.WriteObjectValue(Definition); writer.WriteEndObject(); diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/ManagementPolicyRule.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/ManagementPolicyRule.cs index 5e678a04c6e1f..436f7c856796f 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/ManagementPolicyRule.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/ManagementPolicyRule.cs @@ -14,10 +14,10 @@ public partial class ManagementPolicyRule { /// Initializes a new instance of ManagementPolicyRule. /// A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy. - /// The valid value is Lifecycle. + /// The valid value is Lifecycle. /// An object that defines the Lifecycle rule. /// or is null. - public ManagementPolicyRule(string name, RuleType type, ManagementPolicyDefinition definition) + public ManagementPolicyRule(string name, RuleType ruleType, ManagementPolicyDefinition definition) { if (name == null) { @@ -29,20 +29,20 @@ public ManagementPolicyRule(string name, RuleType type, ManagementPolicyDefiniti } Name = name; - Type = type; + RuleType = ruleType; Definition = definition; } /// Initializes a new instance of ManagementPolicyRule. /// Rule is enabled if set to true. /// A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy. - /// The valid value is Lifecycle. + /// The valid value is Lifecycle. /// An object that defines the Lifecycle rule. - internal ManagementPolicyRule(bool? enabled, string name, RuleType type, ManagementPolicyDefinition definition) + internal ManagementPolicyRule(bool? enabled, string name, RuleType ruleType, ManagementPolicyDefinition definition) { Enabled = enabled; Name = name; - Type = type; + RuleType = ruleType; Definition = definition; } @@ -51,7 +51,7 @@ internal ManagementPolicyRule(bool? enabled, string name, RuleType type, Managem /// A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy. public string Name { get; set; } /// The valid value is Lifecycle. - public RuleType Type { get; set; } + public RuleType RuleType { get; set; } /// An object that defines the Lifecycle rule. public ManagementPolicyDefinition Definition { get; set; } } diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/PrivateLinkResource.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/PrivateLinkResource.cs index c06625b42abb9..3f111410392db 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/PrivateLinkResource.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/PrivateLinkResource.cs @@ -24,12 +24,12 @@ public PrivateLinkResource() /// Initializes a new instance of PrivateLinkResource. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The private link resource group id. /// The private link resource required member names. /// The private link resource Private link DNS zone name. - internal PrivateLinkResource(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string groupId, IReadOnlyList requiredMembers, IList requiredZoneNames) : base(id, name, type, systemData) + internal PrivateLinkResource(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string groupId, IReadOnlyList requiredMembers, IList requiredZoneNames) : base(id, name, resourceType, systemData) { GroupId = groupId; RequiredMembers = requiredMembers; diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/Restriction.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/Restriction.cs index 21ea3c2b4ca71..f041f922a81c3 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/Restriction.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/Restriction.cs @@ -20,18 +20,18 @@ internal Restriction() } /// Initializes a new instance of Restriction. - /// The type of restrictions. As of now only possible value for this is location. + /// The type of restrictions. As of now only possible value for this is location. /// The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted. /// The reason for the restriction. As of now this can be "QuotaId" or "NotAvailableForSubscription". Quota Id is set when the SKU has requiredQuotas parameter as the subscription does not belong to that quota. The "NotAvailableForSubscription" is related to capacity at DC. - internal Restriction(string type, IReadOnlyList values, ReasonCode? reasonCode) + internal Restriction(string restrictionType, IReadOnlyList values, ReasonCode? reasonCode) { - Type = type; + RestrictionType = restrictionType; Values = values; ReasonCode = reasonCode; } /// The type of restrictions. As of now only possible value for this is location. - public string Type { get; } + public string RestrictionType { get; } /// The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted. public IReadOnlyList Values { get; } /// The reason for the restriction. As of now this can be "QuotaId" or "NotAvailableForSubscription". Quota Id is set when the SKU has requiredQuotas parameter as the subscription does not belong to that quota. The "NotAvailableForSubscription" is related to capacity at DC. diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/StorageAccountCheckNameAvailabilityParameters.Serialization.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/StorageAccountCheckNameAvailabilityParameters.Serialization.cs index afdb8ee2571b7..48f37832ded43 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/StorageAccountCheckNameAvailabilityParameters.Serialization.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/StorageAccountCheckNameAvailabilityParameters.Serialization.cs @@ -18,7 +18,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("name"); writer.WriteStringValue(Name); writer.WritePropertyName("type"); - writer.WriteStringValue(Type); + writer.WriteStringValue(ResourceType); writer.WriteEndObject(); } } diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/StorageAccountCheckNameAvailabilityParameters.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/StorageAccountCheckNameAvailabilityParameters.cs index 574a0a0976730..8ea397a319f55 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/StorageAccountCheckNameAvailabilityParameters.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/Models/StorageAccountCheckNameAvailabilityParameters.cs @@ -23,12 +23,12 @@ public StorageAccountCheckNameAvailabilityParameters(string name) } Name = name; - Type = "Microsoft.Storage/storageAccounts"; + ResourceType = "Microsoft.Storage/storageAccounts"; } /// The storage account name. public string Name { get; } /// The type of resource, Microsoft.Storage/storageAccounts. - public string Type { get; } + public string ResourceType { get; } } } diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/ObjectReplicationPolicyData.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/ObjectReplicationPolicyData.cs index 831ade355cf63..73dd444c00af6 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/ObjectReplicationPolicyData.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/ObjectReplicationPolicyData.cs @@ -25,14 +25,14 @@ public ObjectReplicationPolicyData() /// Initializes a new instance of ObjectReplicationPolicyData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// A unique id for object replication policy. /// Indicates when the policy is enabled on the source account. /// Required. Source account name. It should be full resource id if allowCrossTenantReplication set to false. /// Required. Destination account name. It should be full resource id if allowCrossTenantReplication set to false. /// The storage account object replication rules. - internal ObjectReplicationPolicyData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string policyId, DateTimeOffset? enabledTime, string sourceAccount, string destinationAccount, IList rules) : base(id, name, type, systemData) + internal ObjectReplicationPolicyData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string policyId, DateTimeOffset? enabledTime, string sourceAccount, string destinationAccount, IList rules) : base(id, name, resourceType, systemData) { PolicyId = policyId; EnabledTime = enabledTime; diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/PrivateEndpointConnectionData.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/PrivateEndpointConnectionData.cs index ac69903e0707c..ed8a2e7c197e7 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/PrivateEndpointConnectionData.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/PrivateEndpointConnectionData.cs @@ -23,12 +23,12 @@ public PrivateEndpointConnectionData() /// Initializes a new instance of PrivateEndpointConnectionData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The resource of private end point. /// A collection of information about the state of the connection between service consumer and provider. /// The provisioning state of the private endpoint connection resource. - internal PrivateEndpointConnectionData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, SubResource privateEndpoint, PrivateLinkServiceConnectionState privateLinkServiceConnectionState, PrivateEndpointConnectionProvisioningState? provisioningState) : base(id, name, type, systemData) + internal PrivateEndpointConnectionData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, SubResource privateEndpoint, PrivateLinkServiceConnectionState privateLinkServiceConnectionState, PrivateEndpointConnectionProvisioningState? provisioningState) : base(id, name, resourceType, systemData) { PrivateEndpoint = privateEndpoint; PrivateLinkServiceConnectionState = privateLinkServiceConnectionState; diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/QueueServiceData.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/QueueServiceData.cs index 0aeb7778612fe..db753d5d561e3 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/QueueServiceData.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/QueueServiceData.cs @@ -23,10 +23,10 @@ public QueueServiceData() /// Initializes a new instance of QueueServiceData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Specifies CORS rules for the Queue service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Queue service. - internal QueueServiceData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, CorsRules cors) : base(id, name, type, systemData) + internal QueueServiceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, CorsRules cors) : base(id, name, resourceType, systemData) { Cors = cors; } diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/StorageAccountData.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/StorageAccountData.cs index af2a9e23322a4..b2fa072ef64ba 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/StorageAccountData.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/StorageAccountData.cs @@ -26,7 +26,7 @@ public StorageAccountData(AzureLocation location) : base(location) /// Initializes a new instance of StorageAccountData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -70,7 +70,7 @@ public StorageAccountData(AzureLocation location) : base(location) /// Allow or disallow public network access to Storage Account. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. /// The property is immutable and can only be set to true at the account creation time. When set to true, it enables object level immutability for all the containers in the account by default. /// Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet. - internal StorageAccountData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, StorageSku sku, StorageKind? kind, ManagedServiceIdentity identity, ExtendedLocation extendedLocation, ProvisioningState? provisioningState, Endpoints primaryEndpoints, string primaryLocation, AccountStatus? statusOfPrimary, DateTimeOffset? lastGeoFailoverTime, string secondaryLocation, AccountStatus? statusOfSecondary, DateTimeOffset? creationTime, CustomDomain customDomain, SasPolicy sasPolicy, KeyPolicy keyPolicy, KeyCreationTime keyCreationTime, Endpoints secondaryEndpoints, Encryption encryption, AccessTier? accessTier, AzureFilesIdentityBasedAuthentication azureFilesIdentityBasedAuthentication, bool? enableHttpsTrafficOnly, NetworkRuleSet networkRuleSet, bool? isSftpEnabled, bool? isLocalUserEnabled, bool? isHnsEnabled, GeoReplicationStats geoReplicationStats, bool? failoverInProgress, LargeFileSharesState? largeFileSharesState, IReadOnlyList privateEndpointConnections, RoutingPreference routingPreference, BlobRestoreStatus blobRestoreStatus, bool? allowBlobPublicAccess, MinimumTlsVersion? minimumTlsVersion, bool? allowSharedKeyAccess, bool? enableNfsV3, bool? allowCrossTenantReplication, bool? defaultToOAuthAuthentication, PublicNetworkAccess? publicNetworkAccess, ImmutableStorageAccount immutableStorageWithVersioning, AllowedCopyScope? allowedCopyScope) : base(id, name, type, systemData, tags, location) + internal StorageAccountData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, StorageSku sku, StorageKind? kind, ManagedServiceIdentity identity, ExtendedLocation extendedLocation, ProvisioningState? provisioningState, Endpoints primaryEndpoints, string primaryLocation, AccountStatus? statusOfPrimary, DateTimeOffset? lastGeoFailoverTime, string secondaryLocation, AccountStatus? statusOfSecondary, DateTimeOffset? creationTime, CustomDomain customDomain, SasPolicy sasPolicy, KeyPolicy keyPolicy, KeyCreationTime keyCreationTime, Endpoints secondaryEndpoints, Encryption encryption, AccessTier? accessTier, AzureFilesIdentityBasedAuthentication azureFilesIdentityBasedAuthentication, bool? enableHttpsTrafficOnly, NetworkRuleSet networkRuleSet, bool? isSftpEnabled, bool? isLocalUserEnabled, bool? isHnsEnabled, GeoReplicationStats geoReplicationStats, bool? failoverInProgress, LargeFileSharesState? largeFileSharesState, IReadOnlyList privateEndpointConnections, RoutingPreference routingPreference, BlobRestoreStatus blobRestoreStatus, bool? allowBlobPublicAccess, MinimumTlsVersion? minimumTlsVersion, bool? allowSharedKeyAccess, bool? enableNfsV3, bool? allowCrossTenantReplication, bool? defaultToOAuthAuthentication, PublicNetworkAccess? publicNetworkAccess, ImmutableStorageAccount immutableStorageWithVersioning, AllowedCopyScope? allowedCopyScope) : base(id, name, resourceType, systemData, tags, location) { Sku = sku; Kind = kind; diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/StorageQueueData.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/StorageQueueData.cs index a7f1209addc6e..1a085dedf0c48 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/StorageQueueData.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/StorageQueueData.cs @@ -23,11 +23,11 @@ public StorageQueueData() /// Initializes a new instance of StorageQueueData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// A name-value pair that represents queue metadata. /// Integer indicating an approximate number of messages in the queue. This number is not lower than the actual number of messages in the queue, but could be higher. - internal StorageQueueData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary metadata, int? approximateMessageCount) : base(id, name, type, systemData) + internal StorageQueueData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary metadata, int? approximateMessageCount) : base(id, name, resourceType, systemData) { Metadata = metadata; ApproximateMessageCount = approximateMessageCount; diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/TableData.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/TableData.cs index 3da27e4e9d5f9..eb69c42d3ec9a 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/TableData.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/TableData.cs @@ -21,10 +21,10 @@ public TableData() /// Initializes a new instance of TableData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Table name under the specified account. - internal TableData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string tableName) : base(id, name, type, systemData) + internal TableData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string tableName) : base(id, name, resourceType, systemData) { TableName = tableName; } diff --git a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/TableServiceData.cs b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/TableServiceData.cs index ceb1de5ec253b..75c2632a9bc9f 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/src/Generated/TableServiceData.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/src/Generated/TableServiceData.cs @@ -23,10 +23,10 @@ public TableServiceData() /// Initializes a new instance of TableServiceData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Specifies CORS rules for the Table service. You can include up to five CorsRule elements in the request. If no CorsRule elements are included in the request body, all CORS rules will be deleted, and CORS will be disabled for the Table service. - internal TableServiceData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, CorsRules cors) : base(id, name, type, systemData) + internal TableServiceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, CorsRules cors) : base(id, name, resourceType, systemData) { Cors = cors; } diff --git a/sdk/storage/Azure.ResourceManager.Storage/tests/Tests/BlobContainerTests.cs b/sdk/storage/Azure.ResourceManager.Storage/tests/Tests/BlobContainerTests.cs index 9fb4f4abe2eaa..c4086cea609a3 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/tests/Tests/BlobContainerTests.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/tests/Tests/BlobContainerTests.cs @@ -96,14 +96,14 @@ public async Task GetBlobContainer() ImmutabilityPolicyData immutabilityPolicyModel = new ImmutabilityPolicyData() { ImmutabilityPeriodSinceCreationInDays = 3 }; ImmutabilityPolicy immutabilityPolicy = (await container.GetImmutabilityPolicy().CreateOrUpdateAsync(WaitUntil.Completed, immutabilityPolicyModel)).Value; Assert.NotNull(immutabilityPolicy.Id); - Assert.NotNull(immutabilityPolicy.Data.Type); + Assert.NotNull(immutabilityPolicy.Data.ResourceType); Assert.NotNull(immutabilityPolicy.Data.Name); Assert.AreEqual(3, immutabilityPolicy.Data.ImmutabilityPeriodSinceCreationInDays); Assert.AreEqual(ImmutabilityPolicyState.Unlocked, immutabilityPolicy.Data.State); immutabilityPolicy = await container.GetImmutabilityPolicy().LockImmutabilityPolicyAsync(immutabilityPolicy.Data.Etag); Assert.NotNull(immutabilityPolicy.Id); - Assert.NotNull(immutabilityPolicy.Data.Type); + Assert.NotNull(immutabilityPolicy.Data.ResourceType); Assert.NotNull(immutabilityPolicy.Data.Name); Assert.AreEqual(3, immutabilityPolicy.Data.ImmutabilityPeriodSinceCreationInDays); Assert.AreEqual(ImmutabilityPolicyState.Locked, immutabilityPolicy.Data.State); @@ -111,7 +111,7 @@ public async Task GetBlobContainer() immutabilityPolicyModel = new ImmutabilityPolicyData() { ImmutabilityPeriodSinceCreationInDays = 100 }; immutabilityPolicy = await container.GetImmutabilityPolicy().ExtendImmutabilityPolicyAsync(immutabilityPolicy.Data.Etag, parameters: immutabilityPolicyModel); Assert.NotNull(immutabilityPolicy.Id); - Assert.NotNull(immutabilityPolicy.Data.Type); + Assert.NotNull(immutabilityPolicy.Data.ResourceType); Assert.NotNull(immutabilityPolicy.Data.Name); Assert.AreEqual(100, immutabilityPolicy.Data.ImmutabilityPeriodSinceCreationInDays); Assert.AreEqual(ImmutabilityPolicyState.Locked, immutabilityPolicy.Data.State); @@ -201,7 +201,7 @@ public async Task CreateDeleteImmutabilityPolicy() //validate Assert.NotNull(immutabilityPolicy.Data.Id); - Assert.NotNull(immutabilityPolicy.Data.Type); + Assert.NotNull(immutabilityPolicy.Data.ResourceType); Assert.NotNull(immutabilityPolicy.Data.Name); Assert.AreEqual(3, immutabilityPolicy.Data.ImmutabilityPeriodSinceCreationInDays); Assert.AreEqual(ImmutabilityPolicyState.Unlocked, immutabilityPolicy.Data.State); @@ -210,7 +210,7 @@ public async Task CreateDeleteImmutabilityPolicy() immutabilityPolicyModel = (await immutabilityPolicy.DeleteAsync(WaitUntil.Completed, immutabilityPolicy.Data.Etag)).Value.Data; //validate - Assert.NotNull(immutabilityPolicyModel.Type); + Assert.NotNull(immutabilityPolicyModel.ResourceType); Assert.NotNull(immutabilityPolicyModel.Name); Assert.AreEqual(0, immutabilityPolicyModel.ImmutabilityPeriodSinceCreationInDays); } @@ -230,7 +230,7 @@ public async Task UpdateImmutabilityPolicy() //validate Assert.NotNull(immutabilityPolicy.Id); - Assert.NotNull(immutabilityPolicy.Data.Type); + Assert.NotNull(immutabilityPolicy.Data.ResourceType); Assert.NotNull(immutabilityPolicy.Data.Name); Assert.AreEqual(3, immutabilityPolicy.Data.ImmutabilityPeriodSinceCreationInDays); Assert.AreEqual(ImmutabilityPolicyState.Unlocked, immutabilityPolicy.Data.State); @@ -243,7 +243,7 @@ public async Task UpdateImmutabilityPolicy() }; immutabilityPolicy = (await container.GetImmutabilityPolicy().CreateOrUpdateAsync(WaitUntil.Completed, immutabilityPolicyModel, immutabilityPolicy.Data.Etag)).Value; Assert.NotNull(immutabilityPolicy.Id); - Assert.NotNull(immutabilityPolicy.Data.Type); + Assert.NotNull(immutabilityPolicy.Data.ResourceType); Assert.NotNull(immutabilityPolicy.Data.Name); Assert.AreEqual(5, immutabilityPolicy.Data.ImmutabilityPeriodSinceCreationInDays); Assert.AreEqual(ImmutabilityPolicyState.Unlocked, immutabilityPolicy.Data.State); @@ -251,7 +251,7 @@ public async Task UpdateImmutabilityPolicy() immutabilityPolicy = await container.GetImmutabilityPolicy().GetAsync(immutabilityPolicy.Data.Etag); Assert.NotNull(immutabilityPolicy.Id); - Assert.NotNull(immutabilityPolicy.Data.Type); + Assert.NotNull(immutabilityPolicy.Data.ResourceType); Assert.NotNull(immutabilityPolicy.Data.Name); Assert.AreEqual(5, immutabilityPolicy.Data.ImmutabilityPeriodSinceCreationInDays); Assert.AreEqual(ImmutabilityPolicyState.Unlocked, immutabilityPolicy.Data.State); @@ -280,7 +280,7 @@ public async Task LockImmutabilityPolicy() //validate Assert.NotNull(immutabilityPolicy.Data.Id); - Assert.NotNull(immutabilityPolicy.Data.Type); + Assert.NotNull(immutabilityPolicy.Data.ResourceType); Assert.NotNull(immutabilityPolicy.Data.Name); Assert.AreEqual(3, immutabilityPolicy.Data.ImmutabilityPeriodSinceCreationInDays); Assert.AreEqual(ImmutabilityPolicyState.Unlocked, immutabilityPolicy.Data.State); @@ -289,7 +289,7 @@ public async Task LockImmutabilityPolicy() immutabilityPolicy = await container.GetImmutabilityPolicy().LockImmutabilityPolicyAsync(ifMatch: immutabilityPolicy.Data.Etag); Assert.NotNull(immutabilityPolicy.Data.Id); - Assert.NotNull(immutabilityPolicy.Data.Type); + Assert.NotNull(immutabilityPolicy.Data.ResourceType); Assert.NotNull(immutabilityPolicy.Data.Name); Assert.AreEqual(3, immutabilityPolicy.Data.ImmutabilityPeriodSinceCreationInDays); Assert.AreEqual(ImmutabilityPolicyState.Locked, immutabilityPolicy.Data.State); @@ -319,7 +319,7 @@ public async Task ExtendImmutabilityPolicy() //validate Assert.NotNull(immutabilityPolicy.Data.Id); - Assert.NotNull(immutabilityPolicy.Data.Type); + Assert.NotNull(immutabilityPolicy.Data.ResourceType); Assert.NotNull(immutabilityPolicy.Data.Name); Assert.AreEqual(3, immutabilityPolicy.Data.ImmutabilityPeriodSinceCreationInDays); Assert.AreEqual(ImmutabilityPolicyState.Unlocked, immutabilityPolicy.Data.State); @@ -328,7 +328,7 @@ public async Task ExtendImmutabilityPolicy() immutabilityPolicy = await container.GetImmutabilityPolicy().LockImmutabilityPolicyAsync(ifMatch: immutabilityPolicy.Data.Etag); Assert.NotNull(immutabilityPolicy.Data.Id); - Assert.NotNull(immutabilityPolicy.Data.Type); + Assert.NotNull(immutabilityPolicy.Data.ResourceType); Assert.NotNull(immutabilityPolicy.Data.Name); Assert.AreEqual(3, immutabilityPolicy.Data.ImmutabilityPeriodSinceCreationInDays); Assert.AreEqual(ImmutabilityPolicyState.Locked, immutabilityPolicy.Data.State); @@ -338,7 +338,7 @@ public async Task ExtendImmutabilityPolicy() immutabilityPolicy = await container.GetImmutabilityPolicy().ExtendImmutabilityPolicyAsync(ifMatch: immutabilityPolicy.Data.Etag, parameters: immutabilityPolicyModel); Assert.NotNull(immutabilityPolicy.Data.Id); - Assert.NotNull(immutabilityPolicy.Data.Type); + Assert.NotNull(immutabilityPolicy.Data.ResourceType); Assert.NotNull(immutabilityPolicy.Data.Name); Assert.AreEqual(100, immutabilityPolicy.Data.ImmutabilityPeriodSinceCreationInDays); Assert.AreEqual(ImmutabilityPolicyState.Locked, immutabilityPolicy.Data.State); @@ -415,7 +415,7 @@ public async Task ImmutabilityPolicy_AllowProtectedAppendWrites() }; ImmutabilityPolicy immutabilityPolicy = (await container.GetImmutabilityPolicy().CreateOrUpdateAsync(WaitUntil.Completed, parameters: immutabilityPolicyModel)).Value; Assert.NotNull(immutabilityPolicy.Data.Id); - Assert.NotNull(immutabilityPolicy.Data.Type); + Assert.NotNull(immutabilityPolicy.Data.ResourceType); Assert.NotNull(immutabilityPolicy.Data.Name); Assert.AreEqual(4, immutabilityPolicy.Data.ImmutabilityPeriodSinceCreationInDays); Assert.AreEqual(ImmutabilityPolicyState.Unlocked, immutabilityPolicy.Data.State); @@ -425,7 +425,7 @@ public async Task ImmutabilityPolicy_AllowProtectedAppendWrites() immutabilityPolicy.Data.AllowProtectedAppendWrites = false; immutabilityPolicy = (await container.GetImmutabilityPolicy().CreateOrUpdateAsync(WaitUntil.Completed, parameters: immutabilityPolicy.Data, ifMatch: immutabilityPolicy.Data.Etag)).Value; Assert.NotNull(immutabilityPolicy.Data.Id); - Assert.NotNull(immutabilityPolicy.Data.Type); + Assert.NotNull(immutabilityPolicy.Data.ResourceType); Assert.NotNull(immutabilityPolicy.Data.Name); Assert.AreEqual(5, immutabilityPolicy.Data.ImmutabilityPeriodSinceCreationInDays); Assert.AreEqual(ImmutabilityPolicyState.Unlocked, immutabilityPolicy.Data.State); @@ -433,7 +433,7 @@ public async Task ImmutabilityPolicy_AllowProtectedAppendWrites() immutabilityPolicy = await container.GetImmutabilityPolicy().GetAsync(immutabilityPolicy.Data.Etag); Assert.NotNull(immutabilityPolicy.Data.Id); - Assert.NotNull(immutabilityPolicy.Data.Type); + Assert.NotNull(immutabilityPolicy.Data.ResourceType); Assert.NotNull(immutabilityPolicy.Data.Name); Assert.AreEqual(5, immutabilityPolicy.Data.ImmutabilityPeriodSinceCreationInDays); Assert.AreEqual(ImmutabilityPolicyState.Unlocked, immutabilityPolicy.Data.State); diff --git a/sdk/storage/Azure.ResourceManager.Storage/tests/Tests/StorageAccountManagedIdentityTests.cs b/sdk/storage/Azure.ResourceManager.Storage/tests/Tests/StorageAccountManagedIdentityTests.cs index 135d054a59b16..d0b666f389194 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/tests/Tests/StorageAccountManagedIdentityTests.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/tests/Tests/StorageAccountManagedIdentityTests.cs @@ -58,7 +58,7 @@ public async Task CreateAccountWithSystemAssignedIdentity() StorageAccount account1 = (await storageAccountCollection.CreateOrUpdateAsync(WaitUntil.Completed, accountName, param)).Value; Assert.AreEqual(accountName, account1.Id.Name); VerifyAccountProperties(account1, false); - Assert.AreEqual(ManagedServiceIdentityType.SystemAssigned, account1.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.SystemAssigned, account1.Data.Identity.ManagedServiceIdentityType); Assert.IsEmpty(account1.Data.Identity.UserAssignedIdentities); Assert.NotNull(account1.Data.Identity.PrincipalId); Assert.NotNull(account1.Data.Identity.TenantId); @@ -79,7 +79,7 @@ public async Task CreateAccountWithUserAssignedIdentity() StorageAccount account1 = (await storageAccountCollection.CreateOrUpdateAsync(WaitUntil.Completed, accountName, param)).Value; Assert.AreEqual(accountName, account1.Id.Name); VerifyAccountProperties(account1, false); - Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, account1.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, account1.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(account1.Data.Identity.UserAssignedIdentities.Count, 1); Assert.Null(account1.Data.Identity.PrincipalId); Assert.NotNull(account1.Data.Identity.UserAssignedIdentities[userAssignedIdentity.Id.ToString()].PrincipalId); @@ -100,7 +100,7 @@ public async Task CreateAccountWithSystemAndUserAssignedIdentity() StorageAccount account1 = (await storageAccountCollection.CreateOrUpdateAsync(WaitUntil.Completed, accountName, param)).Value; Assert.AreEqual(accountName, account1.Id.Name); VerifyAccountProperties(account1, false); - Assert.AreEqual(ManagedServiceIdentityType.SystemAssignedUserAssigned, account1.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.SystemAssignedUserAssigned, account1.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(account1.Data.Identity.UserAssignedIdentities.Count, 1); Assert.NotNull(account1.Data.Identity.PrincipalId); Assert.NotNull(account1.Data.Identity.UserAssignedIdentities[userAssignedIdentity.Id.ToString()].PrincipalId); @@ -125,14 +125,14 @@ public async Task UpdateAccountIdentityFromNoneToSystem() Identity = new ManagedServiceIdentity(ManagedServiceIdentityType.SystemAssigned) }; account1 = await account1.UpdateAsync(parameters); - Assert.AreEqual(ManagedServiceIdentityType.SystemAssigned, account1.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.SystemAssigned, account1.Data.Identity.ManagedServiceIdentityType); Assert.IsEmpty(account1.Data.Identity.UserAssignedIdentities); Assert.NotNull(account1.Data.Identity.PrincipalId); Assert.NotNull(account1.Data.Identity.TenantId); // validate StorageAccount account2 = await storageAccountCollection.GetAsync(accountName); - Assert.AreEqual(ManagedServiceIdentityType.SystemAssigned, account2.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.SystemAssigned, account2.Data.Identity.ManagedServiceIdentityType); Assert.IsEmpty(account2.Data.Identity.UserAssignedIdentities); Assert.NotNull(account2.Data.Identity.PrincipalId); Assert.NotNull(account2.Data.Identity.TenantId); @@ -160,14 +160,14 @@ public async Task UpdateAccountIdentityFromNoneToUser() Identity = identity }; account1 = await account1.UpdateAsync(parameters); - Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, account1.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, account1.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(account1.Data.Identity.UserAssignedIdentities.Count, 1); Assert.Null(account1.Data.Identity.PrincipalId); Assert.NotNull(account1.Data.Identity.UserAssignedIdentities[userAssignedIdentity.Id.ToString()].PrincipalId); // validate StorageAccount account2 = await storageAccountCollection.GetAsync(accountName); - Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, account2.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, account2.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(account2.Data.Identity.UserAssignedIdentities.Count, 1); Assert.Null(account2.Data.Identity.PrincipalId); Assert.NotNull(account2.Data.Identity.UserAssignedIdentities[userAssignedIdentity.Id.ToString()].PrincipalId); @@ -195,14 +195,14 @@ public async Task UpdateAccountIdentityFromNoneToSystemAndUser() Identity = identity }; account1 = await account1.UpdateAsync(parameters); - Assert.AreEqual(ManagedServiceIdentityType.SystemAssignedUserAssigned, account1.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.SystemAssignedUserAssigned, account1.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(account1.Data.Identity.UserAssignedIdentities.Count, 1); Assert.NotNull(account1.Data.Identity.PrincipalId); Assert.NotNull(account1.Data.Identity.UserAssignedIdentities[userAssignedIdentity.Id.ToString()].PrincipalId); // validate StorageAccount account2 = await storageAccountCollection.GetAsync(accountName); - Assert.AreEqual(ManagedServiceIdentityType.SystemAssignedUserAssigned, account2.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.SystemAssignedUserAssigned, account2.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(account2.Data.Identity.UserAssignedIdentities.Count, 1); Assert.NotNull(account2.Data.Identity.PrincipalId); Assert.NotNull(account2.Data.Identity.UserAssignedIdentities[userAssignedIdentity.Id.ToString()].PrincipalId); @@ -221,7 +221,7 @@ public async Task UpdateAccountIdentityFromSystemToNone() StorageAccount account1 = (await storageAccountCollection.CreateOrUpdateAsync(WaitUntil.Completed, accountName, param)).Value; Assert.AreEqual(accountName, account1.Id.Name); VerifyAccountProperties(account1, false); - Assert.AreEqual(ManagedServiceIdentityType.SystemAssigned, account1.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.SystemAssigned, account1.Data.Identity.ManagedServiceIdentityType); Assert.IsEmpty(account1.Data.Identity.UserAssignedIdentities); Assert.NotNull(account1.Data.Identity.PrincipalId); Assert.NotNull(account1.Data.Identity.TenantId); @@ -232,14 +232,14 @@ public async Task UpdateAccountIdentityFromSystemToNone() Identity = noneIdentity }; account1 = await account1.UpdateAsync(parameters); - Assert.AreEqual(ManagedServiceIdentityType.None, account1.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.None, account1.Data.Identity.ManagedServiceIdentityType); Assert.IsEmpty(account1.Data.Identity.UserAssignedIdentities); Assert.Null(account1.Data.Identity.PrincipalId); Assert.Null(account1.Data.Identity.TenantId); // validate StorageAccount account2 = await storageAccountCollection.GetAsync(accountName); - Assert.AreEqual(ManagedServiceIdentityType.None, account2.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.None, account2.Data.Identity.ManagedServiceIdentityType); Assert.IsEmpty(account2.Data.Identity.UserAssignedIdentities); Assert.Null(account2.Data.Identity.PrincipalId); Assert.Null(account2.Data.Identity.TenantId); @@ -258,7 +258,7 @@ public async Task UpdateAccountIdentityFromSystemToUser() StorageAccount account1 = (await storageAccountCollection.CreateOrUpdateAsync(WaitUntil.Completed, accountName, param)).Value; Assert.AreEqual(accountName, account1.Id.Name); VerifyAccountProperties(account1, false); - Assert.AreEqual(ManagedServiceIdentityType.SystemAssigned, account1.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.SystemAssigned, account1.Data.Identity.ManagedServiceIdentityType); Assert.IsEmpty(account1.Data.Identity.UserAssignedIdentities); Assert.NotNull(account1.Data.Identity.PrincipalId); Assert.NotNull(account1.Data.Identity.TenantId); @@ -271,14 +271,14 @@ public async Task UpdateAccountIdentityFromSystemToUser() Identity = userManagedIdentity }; account1 = await account1.UpdateAsync(parameters); - Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, account1.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, account1.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(account1.Data.Identity.UserAssignedIdentities.Count, 1); Assert.Null(account1.Data.Identity.PrincipalId); Assert.NotNull(account1.Data.Identity.UserAssignedIdentities[userAssignedIdentity.Id.ToString()].PrincipalId); // validate StorageAccount account2 = await storageAccountCollection.GetAsync(accountName); - Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, account2.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, account2.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(account2.Data.Identity.UserAssignedIdentities.Count, 1); Assert.Null(account2.Data.Identity.PrincipalId); Assert.NotNull(account2.Data.Identity.UserAssignedIdentities[userAssignedIdentity.Id.ToString()].PrincipalId); @@ -297,7 +297,7 @@ public async Task UpdateAccountIdentityFromSystemToSystemUser() StorageAccount account1 = (await storageAccountCollection.CreateOrUpdateAsync(WaitUntil.Completed, accountName, param)).Value; Assert.AreEqual(accountName, account1.Id.Name); VerifyAccountProperties(account1, false); - Assert.AreEqual(ManagedServiceIdentityType.SystemAssigned, account1.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.SystemAssigned, account1.Data.Identity.ManagedServiceIdentityType); Assert.IsEmpty(account1.Data.Identity.UserAssignedIdentities); Assert.NotNull(account1.Data.Identity.PrincipalId); Assert.NotNull(account1.Data.Identity.TenantId); @@ -310,14 +310,14 @@ public async Task UpdateAccountIdentityFromSystemToSystemUser() Identity = systemUserIdentity }; account1 = await account1.UpdateAsync(parameters); - Assert.AreEqual(ManagedServiceIdentityType.SystemAssignedUserAssigned, account1.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.SystemAssignedUserAssigned, account1.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(account1.Data.Identity.UserAssignedIdentities.Count, 1); Assert.NotNull(account1.Data.Identity.PrincipalId); Assert.NotNull(account1.Data.Identity.UserAssignedIdentities[userAssignedIdentity.Id.ToString()].PrincipalId); // validate StorageAccount account2 = await storageAccountCollection.GetAsync(accountName); - Assert.AreEqual(ManagedServiceIdentityType.SystemAssignedUserAssigned, account2.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.SystemAssignedUserAssigned, account2.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(account2.Data.Identity.UserAssignedIdentities.Count, 1); Assert.NotNull(account2.Data.Identity.PrincipalId); Assert.NotNull(account2.Data.Identity.UserAssignedIdentities[userAssignedIdentity.Id.ToString()].PrincipalId); @@ -338,7 +338,7 @@ public async Task UpdateAccountIdentityFromUserToNone() StorageAccount account1 = (await storageAccountCollection.CreateOrUpdateAsync(WaitUntil.Completed, accountName, param)).Value; Assert.AreEqual(accountName, account1.Id.Name); VerifyAccountProperties(account1, false); - Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, account1.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, account1.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(account1.Data.Identity.UserAssignedIdentities.Count, 1); Assert.Null(account1.Data.Identity.PrincipalId); Assert.NotNull(account1.Data.Identity.UserAssignedIdentities[userAssignedIdentity.Id.ToString()].PrincipalId); @@ -349,14 +349,14 @@ public async Task UpdateAccountIdentityFromUserToNone() Identity = noneIdentity }; account1 = await account1.UpdateAsync(parameters); - Assert.AreEqual(ManagedServiceIdentityType.None, account1.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.None, account1.Data.Identity.ManagedServiceIdentityType); Assert.IsEmpty(account1.Data.Identity.UserAssignedIdentities); Assert.Null(account1.Data.Identity.PrincipalId); Assert.Null(account1.Data.Identity.TenantId); // validate StorageAccount account2 = await storageAccountCollection.GetAsync(accountName); - Assert.AreEqual(ManagedServiceIdentityType.None, account2.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.None, account2.Data.Identity.ManagedServiceIdentityType); Assert.IsEmpty(account2.Data.Identity.UserAssignedIdentities); Assert.Null(account2.Data.Identity.PrincipalId); Assert.Null(account2.Data.Identity.TenantId); @@ -377,7 +377,7 @@ public async Task UpdateAccountIdentityFromUserToSystem() StorageAccount account1 = (await storageAccountCollection.CreateOrUpdateAsync(WaitUntil.Completed, accountName, param)).Value; Assert.AreEqual(accountName, account1.Id.Name); VerifyAccountProperties(account1, false); - Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, account1.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, account1.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(account1.Data.Identity.UserAssignedIdentities.Count, 1); Assert.Null(account1.Data.Identity.PrincipalId); Assert.NotNull(account1.Data.Identity.UserAssignedIdentities[userAssignedIdentity.Id.ToString()].PrincipalId); @@ -388,14 +388,14 @@ public async Task UpdateAccountIdentityFromUserToSystem() Identity = systemIdentity }; account1 = await account1.UpdateAsync(parameters); - Assert.AreEqual(ManagedServiceIdentityType.SystemAssigned, account1.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.SystemAssigned, account1.Data.Identity.ManagedServiceIdentityType); Assert.IsEmpty(account1.Data.Identity.UserAssignedIdentities); Assert.NotNull(account1.Data.Identity.PrincipalId); Assert.NotNull(account1.Data.Identity.TenantId); // validate StorageAccount account2 = await storageAccountCollection.GetAsync(accountName); - Assert.AreEqual(ManagedServiceIdentityType.SystemAssigned, account2.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.SystemAssigned, account2.Data.Identity.ManagedServiceIdentityType); Assert.IsEmpty(account2.Data.Identity.UserAssignedIdentities); Assert.NotNull(account2.Data.Identity.PrincipalId); Assert.NotNull(account2.Data.Identity.TenantId); @@ -416,7 +416,7 @@ public async Task UpdateAccountIdentityFromUserToSystemUser() StorageAccount account1 = (await storageAccountCollection.CreateOrUpdateAsync(WaitUntil.Completed, accountName, param)).Value; Assert.AreEqual(accountName, account1.Id.Name); VerifyAccountProperties(account1, false); - Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, account1.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, account1.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(account1.Data.Identity.UserAssignedIdentities.Count, 1); Assert.Null(account1.Data.Identity.PrincipalId); Assert.NotNull(account1.Data.Identity.UserAssignedIdentities[userAssignedIdentity.Id.ToString()].PrincipalId); @@ -427,14 +427,14 @@ public async Task UpdateAccountIdentityFromUserToSystemUser() Identity = systemUserIdentity }; account1 = await account1.UpdateAsync(parameters); - Assert.AreEqual(ManagedServiceIdentityType.SystemAssignedUserAssigned, account1.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.SystemAssignedUserAssigned, account1.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(account1.Data.Identity.UserAssignedIdentities.Count, 1); Assert.NotNull(account1.Data.Identity.PrincipalId); Assert.NotNull(account1.Data.Identity.UserAssignedIdentities[userAssignedIdentity.Id.ToString()].PrincipalId); // validate StorageAccount account2 = await storageAccountCollection.GetAsync(accountName); - Assert.AreEqual(ManagedServiceIdentityType.SystemAssignedUserAssigned, account2.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.SystemAssignedUserAssigned, account2.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(account2.Data.Identity.UserAssignedIdentities.Count, 1); Assert.NotNull(account2.Data.Identity.PrincipalId); Assert.NotNull(account2.Data.Identity.UserAssignedIdentities[userAssignedIdentity.Id.ToString()].PrincipalId); @@ -456,7 +456,7 @@ public async Task UpdateAccountIdentityFromUserToTwoUsers() StorageAccount account1 = (await storageAccountCollection.CreateOrUpdateAsync(WaitUntil.Completed, accountName, param)).Value; Assert.AreEqual(accountName, account1.Id.Name); VerifyAccountProperties(account1, false); - Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, account1.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, account1.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(account1.Data.Identity.UserAssignedIdentities.Count, 1); Assert.Null(account1.Data.Identity.PrincipalId); Assert.NotNull(account1.Data.Identity.UserAssignedIdentities[userAssignedIdentity.Id.ToString()].PrincipalId); @@ -470,7 +470,7 @@ public async Task UpdateAccountIdentityFromUserToTwoUsers() Identity = identity2 }; account1 = await account1.UpdateAsync(parameters); - Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, account1.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, account1.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(account1.Data.Identity.UserAssignedIdentities.Count, 2); Assert.Null(account1.Data.Identity.PrincipalId); Assert.NotNull(account1.Data.Identity.UserAssignedIdentities[userAssignedIdentity.Id.ToString()].PrincipalId); @@ -478,7 +478,7 @@ public async Task UpdateAccountIdentityFromUserToTwoUsers() // validate StorageAccount account2 = await storageAccountCollection.GetAsync(accountName); - Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, account2.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, account2.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(account2.Data.Identity.UserAssignedIdentities.Count, 2); Assert.Null(account2.Data.Identity.PrincipalId); Assert.NotNull(account2.Data.Identity.UserAssignedIdentities[userAssignedIdentity.Id.ToString()].PrincipalId); @@ -501,26 +501,26 @@ public async Task UpdateAccountIdentityToRemoveUser() StorageAccount account1 = (await storageAccountCollection.CreateOrUpdateAsync(WaitUntil.Completed, accountName, param)).Value; Assert.AreEqual(accountName, account1.Id.Name); VerifyAccountProperties(account1, false); - Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, account1.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, account1.Data.Identity.ManagedServiceIdentityType); Assert.Greater(account1.Data.Identity.UserAssignedIdentities.Count, 0); Assert.Null(account1.Data.Identity.PrincipalId); Assert.NotNull(account1.Data.Identity.UserAssignedIdentities[userAssignedIdentity.Id.ToString()].PrincipalId); account1.Data.Identity.UserAssignedIdentities[userAssignedIdentity.Id.ToString()] = null; - account1.Data.Identity.Type = ManagedServiceIdentityType.None; + account1.Data.Identity.ManagedServiceIdentityType = ManagedServiceIdentityType.None; PatchableStorageAccountData parameters = new PatchableStorageAccountData() { Identity = account1.Data.Identity }; account1 = await account1.UpdateAsync(parameters); - Assert.AreEqual(ManagedServiceIdentityType.None, account1.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.None, account1.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(account1.Data.Identity.UserAssignedIdentities.Count, 0); Assert.Null(account1.Data.Identity.PrincipalId); Assert.Null(account1.Data.Identity.TenantId); // validate StorageAccount account2 = await storageAccountCollection.GetAsync(accountName); - Assert.AreEqual(ManagedServiceIdentityType.None, account2.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.None, account2.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(account2.Data.Identity.UserAssignedIdentities.Count, 0); Assert.Null(account2.Data.Identity.PrincipalId); Assert.Null(account2.Data.Identity.TenantId); @@ -544,7 +544,7 @@ public async Task UpdateAccountIdentityFromTwoUsersToOneUser() StorageAccount account1 = (await storageAccountCollection.CreateOrUpdateAsync(WaitUntil.Completed, accountName, param)).Value; Assert.AreEqual(accountName, account1.Id.Name); VerifyAccountProperties(account1, false); - Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, account1.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, account1.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(account1.Data.Identity.UserAssignedIdentities.Count, 2); Assert.Null(account1.Data.Identity.PrincipalId); Assert.NotNull(account1.Data.Identity.UserAssignedIdentities[userAssignedIdentity1.Id.ToString()].PrincipalId); @@ -556,7 +556,7 @@ public async Task UpdateAccountIdentityFromTwoUsersToOneUser() Identity = account1.Data.Identity }; account1 = await account1.UpdateAsync(parameters); - Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, account1.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, account1.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(account1.Data.Identity.UserAssignedIdentities.Count, 1); Assert.Null(account1.Data.Identity.PrincipalId); Assert.Null(account1.Data.Identity.UserAssignedIdentities[userAssignedIdentity1.Id.ToString()]); @@ -564,7 +564,7 @@ public async Task UpdateAccountIdentityFromTwoUsersToOneUser() // validate StorageAccount account2 = await storageAccountCollection.GetAsync(accountName); - Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, account1.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, account1.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(account1.Data.Identity.UserAssignedIdentities.Count, 1); Assert.Null(account1.Data.Identity.PrincipalId); Assert.IsFalse(account1.Data.Identity.UserAssignedIdentities.ContainsKey(userAssignedIdentity1.Id.ToString())); @@ -586,7 +586,7 @@ public async Task UpdateAccountIdentityFromSystemUserToNone() StorageAccount account1 = (await storageAccountCollection.CreateOrUpdateAsync(WaitUntil.Completed, accountName, param)).Value; Assert.AreEqual(accountName, account1.Id.Name); VerifyAccountProperties(account1, false); - Assert.AreEqual(ManagedServiceIdentityType.SystemAssignedUserAssigned, account1.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.SystemAssignedUserAssigned, account1.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(account1.Data.Identity.UserAssignedIdentities.Count, 1); Assert.NotNull(account1.Data.Identity.PrincipalId); Assert.NotNull(account1.Data.Identity.UserAssignedIdentities[userAssignedIdentity.Id.ToString()].PrincipalId); @@ -597,14 +597,14 @@ public async Task UpdateAccountIdentityFromSystemUserToNone() Identity = noneIdentity }; account1 = await account1.UpdateAsync(parameters); - Assert.AreEqual(ManagedServiceIdentityType.None, account1.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.None, account1.Data.Identity.ManagedServiceIdentityType); Assert.IsEmpty(account1.Data.Identity.UserAssignedIdentities); Assert.Null(account1.Data.Identity.PrincipalId); Assert.Null(account1.Data.Identity.TenantId); // validate StorageAccount account2 = await storageAccountCollection.GetAsync(accountName); - Assert.AreEqual(ManagedServiceIdentityType.None, account2.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.None, account2.Data.Identity.ManagedServiceIdentityType); Assert.IsEmpty(account2.Data.Identity.UserAssignedIdentities); Assert.Null(account2.Data.Identity.PrincipalId); Assert.Null(account2.Data.Identity.TenantId); @@ -625,7 +625,7 @@ public async Task UpdateAccountIdentityFromSystemUserToSystem() StorageAccount account1 = (await storageAccountCollection.CreateOrUpdateAsync(WaitUntil.Completed, accountName, param)).Value; Assert.AreEqual(accountName, account1.Id.Name); VerifyAccountProperties(account1, false); - Assert.AreEqual(ManagedServiceIdentityType.SystemAssignedUserAssigned, account1.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.SystemAssignedUserAssigned, account1.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(account1.Data.Identity.UserAssignedIdentities.Count, 1); Assert.NotNull(account1.Data.Identity.PrincipalId); Assert.NotNull(account1.Data.Identity.UserAssignedIdentities[userAssignedIdentity.Id.ToString()].PrincipalId); @@ -635,14 +635,14 @@ public async Task UpdateAccountIdentityFromSystemUserToSystem() Identity = new ManagedServiceIdentity(ManagedServiceIdentityType.SystemAssigned) }; account1 = await account1.UpdateAsync(parameters); - Assert.AreEqual(ManagedServiceIdentityType.SystemAssigned, account1.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.SystemAssigned, account1.Data.Identity.ManagedServiceIdentityType); Assert.IsEmpty(account1.Data.Identity.UserAssignedIdentities); Assert.NotNull(account1.Data.Identity.PrincipalId); Assert.NotNull(account1.Data.Identity.TenantId); // validate StorageAccount account2 = await storageAccountCollection.GetAsync(accountName); - Assert.AreEqual(ManagedServiceIdentityType.SystemAssigned, account2.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.SystemAssigned, account2.Data.Identity.ManagedServiceIdentityType); Assert.IsEmpty(account2.Data.Identity.UserAssignedIdentities); Assert.NotNull(account2.Data.Identity.PrincipalId); Assert.NotNull(account2.Data.Identity.TenantId); @@ -663,7 +663,7 @@ public async Task UpdateAccountIdentityFromSystemUserToUser() StorageAccount account1 = (await storageAccountCollection.CreateOrUpdateAsync(WaitUntil.Completed, accountName, param)).Value; Assert.AreEqual(accountName, account1.Id.Name); VerifyAccountProperties(account1, false); - Assert.AreEqual(ManagedServiceIdentityType.SystemAssignedUserAssigned, account1.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.SystemAssignedUserAssigned, account1.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(account1.Data.Identity.UserAssignedIdentities.Count, 1); Assert.NotNull(account1.Data.Identity.PrincipalId); Assert.NotNull(account1.Data.Identity.UserAssignedIdentities[userAssignedIdentity.Id.ToString()].PrincipalId); @@ -673,14 +673,14 @@ public async Task UpdateAccountIdentityFromSystemUserToUser() Identity = new ManagedServiceIdentity(ManagedServiceIdentityType.UserAssigned) }; account1 = await account1.UpdateAsync(parameters); - Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, account1.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, account1.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(account1.Data.Identity.UserAssignedIdentities.Count, 1); Assert.Null(account1.Data.Identity.PrincipalId); Assert.NotNull(account1.Data.Identity.UserAssignedIdentities[userAssignedIdentity.Id.ToString()].PrincipalId); // validate StorageAccount account2 = await storageAccountCollection.GetAsync(accountName); - Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, account2.Data.Identity.Type); + Assert.AreEqual(ManagedServiceIdentityType.UserAssigned, account2.Data.Identity.ManagedServiceIdentityType); Assert.AreEqual(account2.Data.Identity.UserAssignedIdentities.Count, 1); Assert.Null(account2.Data.Identity.PrincipalId); Assert.NotNull(account2.Data.Identity.UserAssignedIdentities[userAssignedIdentity.Id.ToString()].PrincipalId); diff --git a/sdk/storage/Azure.ResourceManager.Storage/tests/Tests/StorageAccountTests.cs b/sdk/storage/Azure.ResourceManager.Storage/tests/Tests/StorageAccountTests.cs index ad656f10b34ca..76cc5ef3785a6 100644 --- a/sdk/storage/Azure.ResourceManager.Storage/tests/Tests/StorageAccountTests.cs +++ b/sdk/storage/Azure.ResourceManager.Storage/tests/Tests/StorageAccountTests.cs @@ -944,7 +944,7 @@ public async Task CreateStorageAccountWithExtendedLocation() StorageAccountCreateParameters parameters = GetDefaultStorageAccountParameters(sku: new StorageSku(StorageSkuName.PremiumLRS), kind: StorageKind.StorageV2, location: AzureLocation.EastUS2); parameters.ExtendedLocation = new Models.ExtendedLocation { - Type = Storage.Models.ExtendedLocationTypes.EdgeZone, + ExtendedLocationType = Storage.Models.ExtendedLocationTypes.EdgeZone, Name = "microsoftrrdclab1" }; StorageAccount account = (await storageAccountCollection.CreateOrUpdateAsync(WaitUntil.Completed, accountName, parameters)).Value; @@ -954,7 +954,7 @@ public async Task CreateStorageAccountWithExtendedLocation() VerifyAccountProperties(account, false); Assert.NotNull(account.Data.PrimaryEndpoints.Web); Assert.AreEqual(StorageKind.StorageV2, account.Data.Kind); - Assert.AreEqual(ExtendedLocationTypes.EdgeZone, account.Data.ExtendedLocation.Type); + Assert.AreEqual(ExtendedLocationTypes.EdgeZone, account.Data.ExtendedLocation.ExtendedLocationType); Assert.AreEqual("microsoftrrdclab1", account.Data.ExtendedLocation.Name); } diff --git a/sdk/storagepool/Azure.ResourceManager.StoragePool/api/Azure.ResourceManager.StoragePool.netstandard2.0.cs b/sdk/storagepool/Azure.ResourceManager.StoragePool/api/Azure.ResourceManager.StoragePool.netstandard2.0.cs index 058231b71ea9a..f13ecde6a7cfa 100644 --- a/sdk/storagepool/Azure.ResourceManager.StoragePool/api/Azure.ResourceManager.StoragePool.netstandard2.0.cs +++ b/sdk/storagepool/Azure.ResourceManager.StoragePool/api/Azure.ResourceManager.StoragePool.netstandard2.0.cs @@ -310,8 +310,8 @@ public partial class ResourceSkuRestrictions { internal ResourceSkuRestrictions() { } public Azure.ResourceManager.StoragePool.Models.ResourceSkuRestrictionsReasonCode? ReasonCode { get { throw null; } } + public Azure.ResourceManager.StoragePool.Models.ResourceSkuRestrictionsType? ResourceSkuRestrictionsType { get { throw null; } } public Azure.ResourceManager.StoragePool.Models.ResourceSkuRestrictionInfo RestrictionInfo { get { throw null; } } - public Azure.ResourceManager.StoragePool.Models.ResourceSkuRestrictionsType? Type { get { throw null; } } public System.Collections.Generic.IReadOnlyList Values { get { throw null; } } } public enum ResourceSkuRestrictionsReasonCode diff --git a/sdk/storagepool/Azure.ResourceManager.StoragePool/src/Generated/DiskPoolData.cs b/sdk/storagepool/Azure.ResourceManager.StoragePool/src/Generated/DiskPoolData.cs index 91c4554488d42..ad76f38fd0aaa 100644 --- a/sdk/storagepool/Azure.ResourceManager.StoragePool/src/Generated/DiskPoolData.cs +++ b/sdk/storagepool/Azure.ResourceManager.StoragePool/src/Generated/DiskPoolData.cs @@ -48,7 +48,7 @@ public DiskPoolData(AzureLocation location, ProvisioningStates provisioningState /// Initializes a new instance of DiskPoolData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -61,7 +61,7 @@ public DiskPoolData(AzureLocation location, ProvisioningStates provisioningState /// List of Azure Managed Disks to attach to a Disk Pool. /// Azure Resource ID of a Subnet for the Disk Pool. /// List of additional capabilities for Disk Pool. - internal DiskPoolData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, StoragePoolSku sku, string managedBy, IReadOnlyList managedByExtended, ProvisioningStates provisioningState, IList availabilityZones, OperationalStatus status, IList disks, string subnetId, IList additionalCapabilities) : base(id, name, type, systemData, tags, location) + internal DiskPoolData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, StoragePoolSku sku, string managedBy, IReadOnlyList managedByExtended, ProvisioningStates provisioningState, IList availabilityZones, OperationalStatus status, IList disks, string subnetId, IList additionalCapabilities) : base(id, name, resourceType, systemData, tags, location) { Sku = sku; ManagedBy = managedBy; diff --git a/sdk/storagepool/Azure.ResourceManager.StoragePool/src/Generated/IscsiTargetData.cs b/sdk/storagepool/Azure.ResourceManager.StoragePool/src/Generated/IscsiTargetData.cs index a327b9c4df464..db2ebe896d06d 100644 --- a/sdk/storagepool/Azure.ResourceManager.StoragePool/src/Generated/IscsiTargetData.cs +++ b/sdk/storagepool/Azure.ResourceManager.StoragePool/src/Generated/IscsiTargetData.cs @@ -43,7 +43,7 @@ public IscsiTargetData(IscsiTargetAclMode aclMode, string targetIqn, Provisionin /// Initializes a new instance of IscsiTargetData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Azure resource id. Indicates if this resource is managed by another Azure resource. /// List of Azure resource ids that manage this resource. @@ -56,7 +56,7 @@ public IscsiTargetData(IscsiTargetAclMode aclMode, string targetIqn, Provisionin /// List of private IPv4 addresses to connect to the iSCSI Target. /// The port used by iSCSI Target portal group. /// List of identifiers for active sessions on the iSCSI target. - internal IscsiTargetData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string managedBy, IReadOnlyList managedByExtended, IscsiTargetAclMode aclMode, IList staticAcls, IList luns, string targetIqn, ProvisioningStates provisioningState, OperationalStatus status, IList endpoints, int? port, IReadOnlyList sessions) : base(id, name, type, systemData) + internal IscsiTargetData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string managedBy, IReadOnlyList managedByExtended, IscsiTargetAclMode aclMode, IList staticAcls, IList luns, string targetIqn, ProvisioningStates provisioningState, OperationalStatus status, IList endpoints, int? port, IReadOnlyList sessions) : base(id, name, resourceType, systemData) { ManagedBy = managedBy; ManagedByExtended = managedByExtended; diff --git a/sdk/storagepool/Azure.ResourceManager.StoragePool/src/Generated/Models/IscsiTargetCreate.cs b/sdk/storagepool/Azure.ResourceManager.StoragePool/src/Generated/Models/IscsiTargetCreate.cs index 8a835c162907a..a0f8644b6c1ba 100644 --- a/sdk/storagepool/Azure.ResourceManager.StoragePool/src/Generated/Models/IscsiTargetCreate.cs +++ b/sdk/storagepool/Azure.ResourceManager.StoragePool/src/Generated/Models/IscsiTargetCreate.cs @@ -27,7 +27,7 @@ public IscsiTargetCreate(IscsiTargetAclMode aclMode) /// Initializes a new instance of IscsiTargetCreate. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Azure resource id. Indicates if this resource is managed by another Azure resource. /// List of Azure resource ids that manage this resource. @@ -35,7 +35,7 @@ public IscsiTargetCreate(IscsiTargetAclMode aclMode) /// iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server". /// Access Control List (ACL) for an iSCSI Target; defines LUN masking policy. /// List of LUNs to be exposed through iSCSI Target. - internal IscsiTargetCreate(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string managedBy, IList managedByExtended, IscsiTargetAclMode aclMode, string targetIqn, IList staticAcls, IList luns) : base(id, name, type, systemData) + internal IscsiTargetCreate(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string managedBy, IList managedByExtended, IscsiTargetAclMode aclMode, string targetIqn, IList staticAcls, IList luns) : base(id, name, resourceType, systemData) { ManagedBy = managedBy; ManagedByExtended = managedByExtended; diff --git a/sdk/storagepool/Azure.ResourceManager.StoragePool/src/Generated/Models/PatchableIscsiTargetData.cs b/sdk/storagepool/Azure.ResourceManager.StoragePool/src/Generated/Models/PatchableIscsiTargetData.cs index 809c247604d91..24cb015e686c3 100644 --- a/sdk/storagepool/Azure.ResourceManager.StoragePool/src/Generated/Models/PatchableIscsiTargetData.cs +++ b/sdk/storagepool/Azure.ResourceManager.StoragePool/src/Generated/Models/PatchableIscsiTargetData.cs @@ -25,13 +25,13 @@ public PatchableIscsiTargetData() /// Initializes a new instance of PatchableIscsiTargetData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Azure resource id. Indicates if this resource is managed by another Azure resource. /// List of Azure resource ids that manage this resource. /// Access Control List (ACL) for an iSCSI Target; defines LUN masking policy. /// List of LUNs to be exposed through iSCSI Target. - internal PatchableIscsiTargetData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string managedBy, IList managedByExtended, IList staticAcls, IList luns) : base(id, name, type, systemData) + internal PatchableIscsiTargetData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string managedBy, IList managedByExtended, IList staticAcls, IList luns) : base(id, name, resourceType, systemData) { ManagedBy = managedBy; ManagedByExtended = managedByExtended; diff --git a/sdk/storagepool/Azure.ResourceManager.StoragePool/src/Generated/Models/ResourceSkuRestrictions.cs b/sdk/storagepool/Azure.ResourceManager.StoragePool/src/Generated/Models/ResourceSkuRestrictions.cs index 472f2d1989753..97dc7b931c5ba 100644 --- a/sdk/storagepool/Azure.ResourceManager.StoragePool/src/Generated/Models/ResourceSkuRestrictions.cs +++ b/sdk/storagepool/Azure.ResourceManager.StoragePool/src/Generated/Models/ResourceSkuRestrictions.cs @@ -20,20 +20,20 @@ internal ResourceSkuRestrictions() } /// Initializes a new instance of ResourceSkuRestrictions. - /// The type of restrictions. + /// The type of restrictions. /// The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted. /// The information about the restriction where the SKU cannot be used. /// The reason for restriction. - internal ResourceSkuRestrictions(ResourceSkuRestrictionsType? type, IReadOnlyList values, ResourceSkuRestrictionInfo restrictionInfo, ResourceSkuRestrictionsReasonCode? reasonCode) + internal ResourceSkuRestrictions(ResourceSkuRestrictionsType? resourceSkuRestrictionsType, IReadOnlyList values, ResourceSkuRestrictionInfo restrictionInfo, ResourceSkuRestrictionsReasonCode? reasonCode) { - Type = type; + ResourceSkuRestrictionsType = resourceSkuRestrictionsType; Values = values; RestrictionInfo = restrictionInfo; ReasonCode = reasonCode; } /// The type of restrictions. - public ResourceSkuRestrictionsType? Type { get; } + public ResourceSkuRestrictionsType? ResourceSkuRestrictionsType { get; } /// The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted. public IReadOnlyList Values { get; } /// The information about the restriction where the SKU cannot be used. diff --git a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/api/Azure.ResourceManager.WebPubSub.netstandard2.0.cs b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/api/Azure.ResourceManager.WebPubSub.netstandard2.0.cs index a6b5a71dff154..1dc65e88775bc 100644 --- a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/api/Azure.ResourceManager.WebPubSub.netstandard2.0.cs +++ b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/api/Azure.ResourceManager.WebPubSub.netstandard2.0.cs @@ -272,9 +272,9 @@ public LiveTraceConfiguration() { } public partial class ManagedIdentity { public ManagedIdentity() { } + public Azure.ResourceManager.WebPubSub.Models.ManagedIdentityType? ManagedIdentityType { get { throw null; } set { } } public string PrincipalId { get { throw null; } } public string TenantId { get { throw null; } } - public Azure.ResourceManager.WebPubSub.Models.ManagedIdentityType? Type { get { throw null; } set { } } public System.Collections.Generic.IDictionary UserAssignedIdentities { get { throw null; } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] @@ -305,9 +305,9 @@ internal NameAvailability() { } } public partial class NameAvailabilityParameters { - public NameAvailabilityParameters(string type, string name) { } + public NameAvailabilityParameters(string resourceType, string name) { } public string Name { get { throw null; } } - public string Type { get { throw null; } } + public string ResourceType { get { throw null; } } } public partial class NetworkAcl { @@ -415,7 +415,7 @@ public partial class ShareablePrivateLinkProperties public ShareablePrivateLinkProperties() { } public string Description { get { throw null; } set { } } public string GroupId { get { throw null; } set { } } - public string Type { get { throw null; } set { } } + public string ShareablePrivateLinkPropertiesType { get { throw null; } set { } } } public partial class ShareablePrivateLinkType { @@ -472,7 +472,7 @@ public partial class UpstreamAuthSettings { public UpstreamAuthSettings() { } public string ManagedIdentityResource { get { throw null; } set { } } - public Azure.ResourceManager.WebPubSub.Models.UpstreamAuthType? Type { get { throw null; } set { } } + public Azure.ResourceManager.WebPubSub.Models.UpstreamAuthType? UpstreamAuthType { get { throw null; } set { } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct UpstreamAuthType : System.IEquatable diff --git a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/ErrorResponse.Serialization.cs b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/ErrorResponse.Serialization.cs new file mode 100644 index 0000000000000..7e4be0fddf666 --- /dev/null +++ b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/ErrorResponse.Serialization.cs @@ -0,0 +1,35 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System.Text.Json; +using Azure.Core; +using Azure.ResourceManager.Models; + +namespace Azure.ResourceManager.WebPubSub.Models +{ + internal partial class ErrorResponse + { + internal static ErrorResponse DeserializeErrorResponse(JsonElement element) + { + Optional error = default; + foreach (var property in element.EnumerateObject()) + { + if (property.NameEquals("error")) + { + if (property.Value.ValueKind == JsonValueKind.Null) + { + property.ThrowNonNullablePropertyIsNull(); + continue; + } + error = JsonSerializer.Deserialize(property.Value.ToString()); + continue; + } + } + return new ErrorResponse(error); + } + } +} diff --git a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/ErrorResponse.cs b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/ErrorResponse.cs new file mode 100644 index 0000000000000..eaadecdf000d2 --- /dev/null +++ b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/ErrorResponse.cs @@ -0,0 +1,30 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using Azure.ResourceManager.Models; + +namespace Azure.ResourceManager.WebPubSub.Models +{ + /// Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). + internal partial class ErrorResponse + { + /// Initializes a new instance of ErrorResponse. + internal ErrorResponse() + { + } + + /// Initializes a new instance of ErrorResponse. + /// The error object. + internal ErrorResponse(ErrorDetail error) + { + Error = error; + } + + /// The error object. + public ErrorDetail Error { get; } + } +} diff --git a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/ManagedIdentity.Serialization.cs b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/ManagedIdentity.Serialization.cs index c57388d893555..259adcf144559 100644 --- a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/ManagedIdentity.Serialization.cs +++ b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/ManagedIdentity.Serialization.cs @@ -17,10 +17,10 @@ public partial class ManagedIdentity : IUtf8JsonSerializable void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(ManagedIdentityType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type.Value.ToString()); + writer.WriteStringValue(ManagedIdentityType.Value.ToString()); } if (Optional.IsCollectionDefined(UserAssignedIdentities)) { diff --git a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/ManagedIdentity.cs b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/ManagedIdentity.cs index 5736c705223b7..97c62d4a5003c 100644 --- a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/ManagedIdentity.cs +++ b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/ManagedIdentity.cs @@ -21,7 +21,7 @@ public ManagedIdentity() } /// Initializes a new instance of ManagedIdentity. - /// Represent the identity type: systemAssigned, userAssigned, None. + /// Represent the identity type: systemAssigned, userAssigned, None. /// Get or set the user assigned identities. /// /// Get the principal id for the system assigned identity. @@ -31,16 +31,16 @@ public ManagedIdentity() /// Get the tenant id for the system assigned identity. /// Only be used in response /// - internal ManagedIdentity(ManagedIdentityType? type, IDictionary userAssignedIdentities, string principalId, string tenantId) + internal ManagedIdentity(ManagedIdentityType? managedIdentityType, IDictionary userAssignedIdentities, string principalId, string tenantId) { - Type = type; + ManagedIdentityType = managedIdentityType; UserAssignedIdentities = userAssignedIdentities; PrincipalId = principalId; TenantId = tenantId; } /// Represent the identity type: systemAssigned, userAssigned, None. - public ManagedIdentityType? Type { get; set; } + public ManagedIdentityType? ManagedIdentityType { get; set; } /// Get or set the user assigned identities. public IDictionary UserAssignedIdentities { get; } /// diff --git a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/NameAvailabilityParameters.Serialization.cs b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/NameAvailabilityParameters.Serialization.cs index 132364fb8c120..96e3d45737554 100644 --- a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/NameAvailabilityParameters.Serialization.cs +++ b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/NameAvailabilityParameters.Serialization.cs @@ -16,7 +16,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); writer.WritePropertyName("type"); - writer.WriteStringValue(Type); + writer.WriteStringValue(ResourceType); writer.WritePropertyName("name"); writer.WriteStringValue(Name); writer.WriteEndObject(); diff --git a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/NameAvailabilityParameters.cs b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/NameAvailabilityParameters.cs index 0afedf5c0b3af..290e9a13d0c72 100644 --- a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/NameAvailabilityParameters.cs +++ b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/NameAvailabilityParameters.cs @@ -13,26 +13,26 @@ namespace Azure.ResourceManager.WebPubSub.Models public partial class NameAvailabilityParameters { /// Initializes a new instance of NameAvailabilityParameters. - /// The resource type. Can be "Microsoft.SignalRService/SignalR" or "Microsoft.SignalRService/webPubSub". + /// The resource type. Can be "Microsoft.SignalRService/SignalR" or "Microsoft.SignalRService/webPubSub". /// The resource name to validate. e.g."my-resource-name". - /// or is null. - public NameAvailabilityParameters(string type, string name) + /// or is null. + public NameAvailabilityParameters(string resourceType, string name) { - if (type == null) + if (resourceType == null) { - throw new ArgumentNullException(nameof(type)); + throw new ArgumentNullException(nameof(resourceType)); } if (name == null) { throw new ArgumentNullException(nameof(name)); } - Type = type; + ResourceType = resourceType; Name = name; } /// The resource type. Can be "Microsoft.SignalRService/SignalR" or "Microsoft.SignalRService/webPubSub". - public string Type { get; } + public string ResourceType { get; } /// The resource name to validate. e.g."my-resource-name". public string Name { get; } } diff --git a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/PrivateLink.cs b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/PrivateLink.cs index 407ac0d0831fa..275d22467fe5f 100644 --- a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/PrivateLink.cs +++ b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/PrivateLink.cs @@ -25,13 +25,13 @@ public PrivateLink() /// Initializes a new instance of PrivateLink. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Group Id of the private link resource. /// Required members of the private link resource. /// Required private DNS zone names. /// The list of resources that are onboarded to private link service. - internal PrivateLink(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string groupId, IList requiredMembers, IList requiredZoneNames, IList shareablePrivateLinkTypes) : base(id, name, type, systemData) + internal PrivateLink(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string groupId, IList requiredMembers, IList requiredZoneNames, IList shareablePrivateLinkTypes) : base(id, name, resourceType, systemData) { GroupId = groupId; RequiredMembers = requiredMembers; diff --git a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/ShareablePrivateLinkProperties.Serialization.cs b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/ShareablePrivateLinkProperties.Serialization.cs index e010f6d646a6f..22176bde7c991 100644 --- a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/ShareablePrivateLinkProperties.Serialization.cs +++ b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/ShareablePrivateLinkProperties.Serialization.cs @@ -25,10 +25,10 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("groupId"); writer.WriteStringValue(GroupId); } - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(ShareablePrivateLinkPropertiesType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type); + writer.WriteStringValue(ShareablePrivateLinkPropertiesType); } writer.WriteEndObject(); } diff --git a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/ShareablePrivateLinkProperties.cs b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/ShareablePrivateLinkProperties.cs index d34161e93c91c..63790d81b4bf9 100644 --- a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/ShareablePrivateLinkProperties.cs +++ b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/ShareablePrivateLinkProperties.cs @@ -18,12 +18,12 @@ public ShareablePrivateLinkProperties() /// Initializes a new instance of ShareablePrivateLinkProperties. /// The description of the resource type that has been onboarded to private link service. /// The resource provider group id for the resource that has been onboarded to private link service. - /// The resource provider type for the resource that has been onboarded to private link service. - internal ShareablePrivateLinkProperties(string description, string groupId, string type) + /// The resource provider type for the resource that has been onboarded to private link service. + internal ShareablePrivateLinkProperties(string description, string groupId, string shareablePrivateLinkPropertiesType) { Description = description; GroupId = groupId; - Type = type; + ShareablePrivateLinkPropertiesType = shareablePrivateLinkPropertiesType; } /// The description of the resource type that has been onboarded to private link service. @@ -31,6 +31,6 @@ internal ShareablePrivateLinkProperties(string description, string groupId, stri /// The resource provider group id for the resource that has been onboarded to private link service. public string GroupId { get; set; } /// The resource provider type for the resource that has been onboarded to private link service. - public string Type { get; set; } + public string ShareablePrivateLinkPropertiesType { get; set; } } } diff --git a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/UpstreamAuthSettings.Serialization.cs b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/UpstreamAuthSettings.Serialization.cs index d86f9bede0f75..b576fbc6372c4 100644 --- a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/UpstreamAuthSettings.Serialization.cs +++ b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/UpstreamAuthSettings.Serialization.cs @@ -15,10 +15,10 @@ public partial class UpstreamAuthSettings : IUtf8JsonSerializable void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(UpstreamAuthType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type.Value.ToString()); + writer.WriteStringValue(UpstreamAuthType.Value.ToString()); } if (Optional.IsDefined(ManagedIdentity)) { diff --git a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/UpstreamAuthSettings.cs b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/UpstreamAuthSettings.cs index 190fcbd1c4c9e..8a6b635cfc0fb 100644 --- a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/UpstreamAuthSettings.cs +++ b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/Models/UpstreamAuthSettings.cs @@ -16,16 +16,16 @@ public UpstreamAuthSettings() } /// Initializes a new instance of UpstreamAuthSettings. - /// Gets or sets the type of auth. None or ManagedIdentity is supported now. + /// Gets or sets the type of auth. None or ManagedIdentity is supported now. /// Gets or sets the managed identity settings. It's required if the auth type is set to ManagedIdentity. - internal UpstreamAuthSettings(UpstreamAuthType? type, ManagedIdentitySettings managedIdentity) + internal UpstreamAuthSettings(UpstreamAuthType? upstreamAuthType, ManagedIdentitySettings managedIdentity) { - Type = type; + UpstreamAuthType = upstreamAuthType; ManagedIdentity = managedIdentity; } /// Gets or sets the type of auth. None or ManagedIdentity is supported now. - public UpstreamAuthType? Type { get; set; } + public UpstreamAuthType? UpstreamAuthType { get; set; } /// Gets or sets the managed identity settings. It's required if the auth type is set to ManagedIdentity. internal ManagedIdentitySettings ManagedIdentity { get; set; } /// diff --git a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/PrivateEndpointConnectionData.cs b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/PrivateEndpointConnectionData.cs index f806208d9f9c8..581fd02035cff 100644 --- a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/PrivateEndpointConnectionData.cs +++ b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/PrivateEndpointConnectionData.cs @@ -24,13 +24,13 @@ public PrivateEndpointConnectionData() /// Initializes a new instance of PrivateEndpointConnectionData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Provisioning state of the private endpoint connection. /// Private endpoint associated with the private endpoint connection. /// Group IDs. /// Connection state. - internal PrivateEndpointConnectionData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, ProvisioningState? provisioningState, PrivateEndpoint privateEndpoint, IReadOnlyList groupIds, PrivateLinkServiceConnectionState privateLinkServiceConnectionState) : base(id, name, type, systemData) + internal PrivateEndpointConnectionData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, ProvisioningState? provisioningState, PrivateEndpoint privateEndpoint, IReadOnlyList groupIds, PrivateLinkServiceConnectionState privateLinkServiceConnectionState) : base(id, name, resourceType, systemData) { ProvisioningState = provisioningState; PrivateEndpoint = privateEndpoint; diff --git a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/SharedPrivateLinkData.cs b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/SharedPrivateLinkData.cs index fac1130ed8558..a103b918d66de 100644 --- a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/SharedPrivateLinkData.cs +++ b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/SharedPrivateLinkData.cs @@ -22,14 +22,14 @@ public SharedPrivateLinkData() /// Initializes a new instance of SharedPrivateLinkData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The group id from the provider of resource the shared private link resource is for. /// The resource id of the resource the shared private link resource is for. /// Provisioning state of the shared private link resource. /// The request message for requesting approval of the shared private link resource. /// Status of the shared private link resource. - internal SharedPrivateLinkData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string groupId, string privateLinkResourceId, ProvisioningState? provisioningState, string requestMessage, SharedPrivateLinkStatus? status) : base(id, name, type, systemData) + internal SharedPrivateLinkData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string groupId, string privateLinkResourceId, ProvisioningState? provisioningState, string requestMessage, SharedPrivateLinkStatus? status) : base(id, name, resourceType, systemData) { GroupId = groupId; PrivateLinkResourceId = privateLinkResourceId; diff --git a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/WebPubSubData.cs b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/WebPubSubData.cs index 0916b1398071f..8b6d8798d2f12 100644 --- a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/WebPubSubData.cs +++ b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/WebPubSubData.cs @@ -26,7 +26,7 @@ public WebPubSubData(AzureLocation location) : base(location) /// Initializes a new instance of WebPubSubData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -64,7 +64,7 @@ public WebPubSubData(AzureLocation location) : base(location) /// Enable or disable aad auth /// When set as true, connection with AuthType=aad won't work. /// - internal WebPubSubData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, WebPubSubSku sku, ManagedIdentity identity, ProvisioningState? provisioningState, string externalIP, string hostName, int? publicPort, int? serverPort, string version, IReadOnlyList privateEndpointConnections, IReadOnlyList sharedPrivateLinkResources, WebPubSubTlsSettings tls, string hostNamePrefix, LiveTraceConfiguration liveTraceConfiguration, ResourceLogConfiguration resourceLogConfiguration, WebPubSubNetworkAcls networkAcls, string publicNetworkAccess, bool? disableLocalAuth, bool? disableAadAuth) : base(id, name, type, systemData, tags, location) + internal WebPubSubData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, WebPubSubSku sku, ManagedIdentity identity, ProvisioningState? provisioningState, string externalIP, string hostName, int? publicPort, int? serverPort, string version, IReadOnlyList privateEndpointConnections, IReadOnlyList sharedPrivateLinkResources, WebPubSubTlsSettings tls, string hostNamePrefix, LiveTraceConfiguration liveTraceConfiguration, ResourceLogConfiguration resourceLogConfiguration, WebPubSubNetworkAcls networkAcls, string publicNetworkAccess, bool? disableLocalAuth, bool? disableAadAuth) : base(id, name, resourceType, systemData, tags, location) { Sku = sku; Identity = identity; diff --git a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/WebPubSubHubData.cs b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/WebPubSubHubData.cs index 473d26531c0ac..ab8313dacbd68 100644 --- a/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/WebPubSubHubData.cs +++ b/sdk/webpubsub/Azure.ResourceManager.WebPubSub/src/Generated/WebPubSubHubData.cs @@ -31,10 +31,10 @@ public WebPubSubHubData(WebPubSubHubProperties properties) /// Initializes a new instance of WebPubSubHubData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Properties of the hub setting. - internal WebPubSubHubData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, WebPubSubHubProperties properties) : base(id, name, type, systemData) + internal WebPubSubHubData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, WebPubSubHubProperties properties) : base(id, name, resourceType, systemData) { Properties = properties; } diff --git a/sdk/websites/Azure.ResourceManager.AppService/api/Azure.ResourceManager.AppService.netstandard2.0.cs b/sdk/websites/Azure.ResourceManager.AppService/api/Azure.ResourceManager.AppService.netstandard2.0.cs index 1de3990d8b84a..3f1fdd2fbbb7b 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/api/Azure.ResourceManager.AppService.netstandard2.0.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/api/Azure.ResourceManager.AppService.netstandard2.0.cs @@ -1224,7 +1224,6 @@ public RelayServiceConnectionEntityData() { } public string Hostname { get { throw null; } set { } } public int? Port { get { throw null; } set { } } public string ResourceConnectionString { get { throw null; } set { } } - public string ResourceType { get { throw null; } set { } } } public partial class RemotePrivateEndpointConnectionARMResourceData : Azure.ResourceManager.AppService.Models.ProxyOnlyResource { @@ -4863,10 +4862,10 @@ public partial class AzureStorageInfoValue public AzureStorageInfoValue() { } public string AccessKey { get { throw null; } set { } } public string AccountName { get { throw null; } set { } } + public Azure.ResourceManager.AppService.Models.AzureStorageType? AzureStorageType { get { throw null; } set { } } public string MountPath { get { throw null; } set { } } public string ShareName { get { throw null; } set { } } public Azure.ResourceManager.AppService.Models.AzureStorageState? State { get { throw null; } } - public Azure.ResourceManager.AppService.Models.AzureStorageType? Type { get { throw null; } set { } } } public partial class AzureStoragePropertyDictionaryResource : Azure.ResourceManager.AppService.Models.ProxyOnlyResource { @@ -4939,7 +4938,6 @@ public BillingMeter() { } public string MeterId { get { throw null; } set { } } public double? Multiplier { get { throw null; } set { } } public string OsType { get { throw null; } set { } } - public string ResourceType { get { throw null; } set { } } public string ShortName { get { throw null; } set { } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] @@ -5143,13 +5141,13 @@ public partial class ConnStringInfo { public ConnStringInfo() { } public string ConnectionString { get { throw null; } set { } } + public Azure.ResourceManager.AppService.Models.ConnectionStringType? ConnectionStringType { get { throw null; } set { } } public string Name { get { throw null; } set { } } - public Azure.ResourceManager.AppService.Models.ConnectionStringType? Type { get { throw null; } set { } } } public partial class ConnStringValueTypePair { - public ConnStringValueTypePair(string value, Azure.ResourceManager.AppService.Models.ConnectionStringType type) { } - public Azure.ResourceManager.AppService.Models.ConnectionStringType Type { get { throw null; } set { } } + public ConnStringValueTypePair(string value, Azure.ResourceManager.AppService.Models.ConnectionStringType connectionStringType) { } + public Azure.ResourceManager.AppService.Models.ConnectionStringType ConnectionStringType { get { throw null; } set { } } public string Value { get { throw null; } set { } } } public partial class ContactInformation @@ -5416,13 +5414,13 @@ public partial class DetectorAbnormalTimePeriod { public DetectorAbnormalTimePeriod() { } public System.DateTimeOffset? EndTime { get { throw null; } set { } } + public Azure.ResourceManager.AppService.Models.IssueType? IssueType { get { throw null; } set { } } public string Message { get { throw null; } set { } } public System.Collections.Generic.IList> MetaData { get { throw null; } } public double? Priority { get { throw null; } set { } } public System.Collections.Generic.IList Solutions { get { throw null; } } public string Source { get { throw null; } set { } } public System.DateTimeOffset? StartTime { get { throw null; } set { } } - public Azure.ResourceManager.AppService.Models.IssueType? Type { get { throw null; } set { } } } public partial class DetectorDefinition { @@ -5439,11 +5437,11 @@ public DetectorInfo() { } public string Author { get { throw null; } } public string Category { get { throw null; } } public string Description { get { throw null; } } + public Azure.ResourceManager.AppService.Models.DetectorType? DetectorType { get { throw null; } } public string Id { get { throw null; } } public string Name { get { throw null; } } public float? Score { get { throw null; } } public System.Collections.Generic.IReadOnlyList SupportTopicList { get { throw null; } } - public Azure.ResourceManager.AppService.Models.DetectorType? Type { get { throw null; } } } public enum DetectorType { @@ -5621,8 +5619,8 @@ internal ErrorEntity() { } public partial class ExtendedLocation { public ExtendedLocation() { } + public string ExtendedLocationType { get { throw null; } } public string Name { get { throw null; } set { } } - public string Type { get { throw null; } } } public partial class Facebook { @@ -5827,7 +5825,7 @@ public partial class HostingEnvironmentProfile public HostingEnvironmentProfile() { } public string Id { get { throw null; } set { } } public string Name { get { throw null; } } - public string Type { get { throw null; } } + public string ResourceType { get { throw null; } } } public enum HostingEnvironmentStatus { @@ -6020,7 +6018,7 @@ public partial class KubeEnvironmentProfile public KubeEnvironmentProfile() { } public string Id { get { throw null; } set { } } public string Name { get { throw null; } } - public string Type { get { throw null; } } + public string ResourceType { get { throw null; } } } public enum KubeEnvironmentProvisioningState { @@ -6171,8 +6169,8 @@ public partial class MsDeployLogEntry { internal MsDeployLogEntry() { } public string Message { get { throw null; } } + public Azure.ResourceManager.AppService.Models.MSDeployLogEntryType? MSDeployLogEntryType { get { throw null; } } public System.DateTimeOffset? Time { get { throw null; } } - public Azure.ResourceManager.AppService.Models.MSDeployLogEntryType? Type { get { throw null; } } } public enum MSDeployLogEntryType { @@ -6678,8 +6676,8 @@ public partial class Rendering { public Rendering() { } public string Description { get { throw null; } set { } } + public Azure.ResourceManager.AppService.Models.RenderingType? RenderingType { get { throw null; } set { } } public string Title { get { throw null; } set { } } - public Azure.ResourceManager.AppService.Models.RenderingType? Type { get { throw null; } set { } } } public enum RenderingType { @@ -7213,7 +7211,7 @@ public Solution() { } public double? Id { get { throw null; } set { } } public System.Collections.Generic.IList> Metadata { get { throw null; } } public double? Order { get { throw null; } set { } } - public Azure.ResourceManager.AppService.Models.SolutionType? Type { get { throw null; } set { } } + public Azure.ResourceManager.AppService.Models.SolutionType? SolutionType { get { throw null; } set { } } } public enum SolutionType { @@ -7533,7 +7531,7 @@ public enum UsageState } public partial class ValidateRequest { - public ValidateRequest(string name, Azure.ResourceManager.AppService.Models.ValidateResourceTypes type, string location) { } + public ValidateRequest(string name, Azure.ResourceManager.AppService.Models.ValidateResourceTypes validateResourceType, string location) { } public Azure.ResourceManager.AppService.Models.AppServiceEnvironmentAutoGenerated AppServiceEnvironment { get { throw null; } set { } } public int? Capacity { get { throw null; } set { } } public string ContainerImagePlatform { get { throw null; } set { } } @@ -7550,7 +7548,7 @@ public ValidateRequest(string name, Azure.ResourceManager.AppService.Models.Vali public bool? NeedLinuxWorkers { get { throw null; } set { } } public string ServerFarmId { get { throw null; } set { } } public string SkuName { get { throw null; } set { } } - public Azure.ResourceManager.AppService.Models.ValidateResourceTypes Type { get { throw null; } } + public Azure.ResourceManager.AppService.Models.ValidateResourceTypes ValidateResourceType { get { throw null; } } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] public readonly partial struct ValidateResourceTypes : System.IEquatable @@ -7611,8 +7609,8 @@ public partial class VirtualNetworkProfile public VirtualNetworkProfile(string id) { } public string Id { get { throw null; } set { } } public string Name { get { throw null; } } + public string ResourceType { get { throw null; } } public string Subnet { get { throw null; } set { } } - public string Type { get { throw null; } } } public partial class VnetInfo { diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/AnalysisDefinitionData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/AnalysisDefinitionData.cs index 1d35d7f86550a..e0282605cffff 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/AnalysisDefinitionData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/AnalysisDefinitionData.cs @@ -22,11 +22,11 @@ public AnalysisDefinitionData() /// Initializes a new instance of AnalysisDefinitionData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Description of the Analysis. - internal AnalysisDefinitionData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string description) : base(id, name, type, systemData, kind) + internal AnalysisDefinitionData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string description) : base(id, name, resourceType, systemData, kind) { Description = description; } diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/ApiKeyVaultReferenceData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/ApiKeyVaultReferenceData.cs index 3382f12a00e05..cf11c2d8081f0 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/ApiKeyVaultReferenceData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/ApiKeyVaultReferenceData.cs @@ -23,7 +23,7 @@ public ApiKeyVaultReferenceData() /// Initializes a new instance of ApiKeyVaultReferenceData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// @@ -35,7 +35,7 @@ public ApiKeyVaultReferenceData() /// /// /// - internal ApiKeyVaultReferenceData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string reference, ResolveStatus? status, string vaultName, string secretName, string secretVersion, ManagedServiceIdentity identityType, string details, string source, string activeVersion) : base(id, name, type, systemData, kind) + internal ApiKeyVaultReferenceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string reference, ResolveStatus? status, string vaultName, string secretName, string secretVersion, ManagedServiceIdentity identityType, string details, string source, string activeVersion) : base(id, name, resourceType, systemData, kind) { Reference = reference; Status = status; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/AppServiceCertificateOrderData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/AppServiceCertificateOrderData.cs index d526b392584f3..38b3d7e6ccd9f 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/AppServiceCertificateOrderData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/AppServiceCertificateOrderData.cs @@ -27,7 +27,7 @@ public AppServiceCertificateOrderData(AzureLocation location) : base(location) /// Initializes a new instance of AppServiceCertificateOrderData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -52,7 +52,7 @@ public AppServiceCertificateOrderData(AzureLocation location) : base(location) /// Reasons why App Service Certificate is not renewable at the current moment. /// Time stamp when the certificate would be auto renewed next. /// Contact info. - internal AppServiceCertificateOrderData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, string kind, IDictionary certificates, string distinguishedName, string domainVerificationToken, int? validityInYears, int? keySize, CertificateProductType? productType, bool? autoRenew, ProvisioningState? provisioningState, CertificateOrderStatus? status, CertificateDetails signedCertificate, string csr, CertificateDetails intermediate, CertificateDetails root, string serialNumber, DateTimeOffset? lastCertificateIssuanceTime, DateTimeOffset? expirationTime, bool? isPrivateKeyExternal, IReadOnlyList appServiceCertificateNotRenewableReasons, DateTimeOffset? nextAutoRenewalTimeStamp, CertificateOrderContact contact) : base(id, name, type, systemData, tags, location, kind) + internal AppServiceCertificateOrderData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string kind, IDictionary certificates, string distinguishedName, string domainVerificationToken, int? validityInYears, int? keySize, CertificateProductType? productType, bool? autoRenew, ProvisioningState? provisioningState, CertificateOrderStatus? status, CertificateDetails signedCertificate, string csr, CertificateDetails intermediate, CertificateDetails root, string serialNumber, DateTimeOffset? lastCertificateIssuanceTime, DateTimeOffset? expirationTime, bool? isPrivateKeyExternal, IReadOnlyList appServiceCertificateNotRenewableReasons, DateTimeOffset? nextAutoRenewalTimeStamp, CertificateOrderContact contact) : base(id, name, resourceType, systemData, tags, location, kind) { Certificates = certificates; DistinguishedName = distinguishedName; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/AppServiceCertificateResourceData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/AppServiceCertificateResourceData.cs index b57a8a3eb44e5..00114391a3bd1 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/AppServiceCertificateResourceData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/AppServiceCertificateResourceData.cs @@ -24,7 +24,7 @@ public AppServiceCertificateResourceData(AzureLocation location) : base(location /// Initializes a new instance of AppServiceCertificateResourceData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -32,7 +32,7 @@ public AppServiceCertificateResourceData(AzureLocation location) : base(location /// Key Vault resource Id. /// Key Vault secret name. /// Status of the Key Vault secret. - internal AppServiceCertificateResourceData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, string kind, string keyVaultId, string keyVaultSecretName, KeyVaultSecretStatus? provisioningState) : base(id, name, type, systemData, tags, location, kind) + internal AppServiceCertificateResourceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string kind, string keyVaultId, string keyVaultSecretName, KeyVaultSecretStatus? provisioningState) : base(id, name, resourceType, systemData, tags, location, kind) { KeyVaultId = keyVaultId; KeyVaultSecretName = keyVaultSecretName; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/AppServiceDetectorData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/AppServiceDetectorData.cs index 9e61f1b7e8f7b..828716b0e3f96 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/AppServiceDetectorData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/AppServiceDetectorData.cs @@ -25,7 +25,7 @@ public AppServiceDetectorData() /// Initializes a new instance of AppServiceDetectorData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// metadata for the detector. @@ -33,7 +33,7 @@ public AppServiceDetectorData() /// Indicates status of the most severe insight. /// Additional configuration for different data providers to be used by the UI. /// Suggested utterances where the detector can be applicable. - internal AppServiceDetectorData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, DetectorInfo metadata, IList dataset, OperationStatusAutoGenerated status, IList dataProvidersMetadata, QueryUtterancesResults suggestedUtterances) : base(id, name, type, systemData, kind) + internal AppServiceDetectorData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, DetectorInfo metadata, IList dataset, OperationStatusAutoGenerated status, IList dataProvidersMetadata, QueryUtterancesResults suggestedUtterances) : base(id, name, resourceType, systemData, kind) { Metadata = metadata; Dataset = dataset; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/AppServiceDomainData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/AppServiceDomainData.cs index e754654133336..6d53dfa5e0fa3 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/AppServiceDomainData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/AppServiceDomainData.cs @@ -28,7 +28,7 @@ public AppServiceDomainData(AzureLocation location) : base(location) /// Initializes a new instance of AppServiceDomainData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -56,7 +56,7 @@ public AppServiceDomainData(AzureLocation location) : base(location) /// Azure DNS Zone to use. /// Target DNS type (would be used for migration). /// - internal AppServiceDomainData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, string kind, ContactInformation contactAdmin, ContactInformation contactBilling, ContactInformation contactRegistrant, ContactInformation contactTech, DomainStatus? registrationStatus, ProvisioningState? provisioningState, IReadOnlyList nameServers, bool? privacy, DateTimeOffset? createdTime, DateTimeOffset? expirationTime, DateTimeOffset? lastRenewedTime, bool? autoRenew, bool? readyForDnsRecordManagement, IReadOnlyList managedHostNames, DomainPurchaseConsent consent, IReadOnlyList domainNotRenewableReasons, DnsType? dnsType, string dnsZoneId, DnsType? targetDnsType, string authCode) : base(id, name, type, systemData, tags, location, kind) + internal AppServiceDomainData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string kind, ContactInformation contactAdmin, ContactInformation contactBilling, ContactInformation contactRegistrant, ContactInformation contactTech, DomainStatus? registrationStatus, ProvisioningState? provisioningState, IReadOnlyList nameServers, bool? privacy, DateTimeOffset? createdTime, DateTimeOffset? expirationTime, DateTimeOffset? lastRenewedTime, bool? autoRenew, bool? readyForDnsRecordManagement, IReadOnlyList managedHostNames, DomainPurchaseConsent consent, IReadOnlyList domainNotRenewableReasons, DnsType? dnsType, string dnsZoneId, DnsType? targetDnsType, string authCode) : base(id, name, resourceType, systemData, tags, location, kind) { ContactAdmin = contactAdmin; ContactBilling = contactBilling; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/AppServiceEnvironmentData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/AppServiceEnvironmentData.cs index 1b520e5462703..3d00bf944db92 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/AppServiceEnvironmentData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/AppServiceEnvironmentData.cs @@ -26,7 +26,7 @@ public AppServiceEnvironmentData(AzureLocation location) : base(location) /// Initializes a new instance of AppServiceEnvironmentData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -50,7 +50,7 @@ public AppServiceEnvironmentData(AzureLocation location) : base(location) /// Flag that displays whether an ASE has linux workers or not. /// Dedicated Host Count. /// Whether or not this App Service Environment is zone-redundant. - internal AppServiceEnvironmentData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, string kind, ProvisioningState? provisioningState, HostingEnvironmentStatus? status, VirtualNetworkProfile virtualNetwork, LoadBalancingMode? internalLoadBalancingMode, string multiSize, int? multiRoleCount, int? ipsslAddressCount, string dnsSuffix, int? maximumNumberOfMachines, int? frontEndScaleFactor, bool? suspended, IList clusterSettings, IList userWhitelistedIpRanges, bool? hasLinuxWorkers, int? dedicatedHostCount, bool? zoneRedundant) : base(id, name, type, systemData, tags, location, kind) + internal AppServiceEnvironmentData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string kind, ProvisioningState? provisioningState, HostingEnvironmentStatus? status, VirtualNetworkProfile virtualNetwork, LoadBalancingMode? internalLoadBalancingMode, string multiSize, int? multiRoleCount, int? ipsslAddressCount, string dnsSuffix, int? maximumNumberOfMachines, int? frontEndScaleFactor, bool? suspended, IList clusterSettings, IList userWhitelistedIpRanges, bool? hasLinuxWorkers, int? dedicatedHostCount, bool? zoneRedundant) : base(id, name, resourceType, systemData, tags, location, kind) { ProvisioningState = provisioningState; Status = status; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/AppServicePlanData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/AppServicePlanData.cs index 98def22f7acf5..f9df965dd5fcb 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/AppServicePlanData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/AppServicePlanData.cs @@ -25,7 +25,7 @@ public AppServicePlanData(AzureLocation location) : base(location) /// Initializes a new instance of AppServicePlanData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -60,7 +60,7 @@ public AppServicePlanData(AzureLocation location) : base(location) /// If <code>true</code>, this App Service Plan will perform availability zone balancing. /// If <code>false</code>, this App Service Plan will not perform availability zone balancing. /// - internal AppServicePlanData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, string kind, SkuDescription sku, ExtendedLocation extendedLocation, string workerTierName, StatusOptions? status, string subscription, HostingEnvironmentProfile hostingEnvironmentProfile, int? maximumNumberOfWorkers, string geoRegion, bool? perSiteScaling, bool? elasticScaleEnabled, int? maximumElasticWorkerCount, int? numberOfSites, bool? isSpot, DateTimeOffset? spotExpirationTime, DateTimeOffset? freeOfferExpirationTime, string resourceGroup, bool? reserved, bool? isXenon, bool? hyperV, int? targetWorkerCount, int? targetWorkerSizeId, ProvisioningState? provisioningState, KubeEnvironmentProfile kubeEnvironmentProfile, bool? zoneRedundant) : base(id, name, type, systemData, tags, location, kind) + internal AppServicePlanData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string kind, SkuDescription sku, ExtendedLocation extendedLocation, string workerTierName, StatusOptions? status, string subscription, HostingEnvironmentProfile hostingEnvironmentProfile, int? maximumNumberOfWorkers, string geoRegion, bool? perSiteScaling, bool? elasticScaleEnabled, int? maximumElasticWorkerCount, int? numberOfSites, bool? isSpot, DateTimeOffset? spotExpirationTime, DateTimeOffset? freeOfferExpirationTime, string resourceGroup, bool? reserved, bool? isXenon, bool? hyperV, int? targetWorkerCount, int? targetWorkerSizeId, ProvisioningState? provisioningState, KubeEnvironmentProfile kubeEnvironmentProfile, bool? zoneRedundant) : base(id, name, resourceType, systemData, tags, location, kind) { Sku = sku; ExtendedLocation = extendedLocation; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/AseV3NetworkingConfigurationData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/AseV3NetworkingConfigurationData.cs index 4374bbb03f03d..b84d844406fa3 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/AseV3NetworkingConfigurationData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/AseV3NetworkingConfigurationData.cs @@ -27,7 +27,7 @@ public AseV3NetworkingConfigurationData() /// Initializes a new instance of AseV3NetworkingConfigurationData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// @@ -35,7 +35,7 @@ public AseV3NetworkingConfigurationData() /// /// /// Property to enable and disable new private endpoint connection creation on ASE. - internal AseV3NetworkingConfigurationData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, IReadOnlyList windowsOutboundIpAddresses, IReadOnlyList linuxOutboundIpAddresses, IReadOnlyList externalInboundIpAddresses, IReadOnlyList internalInboundIpAddresses, bool? allowNewPrivateEndpointConnections) : base(id, name, type, systemData, kind) + internal AseV3NetworkingConfigurationData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, IReadOnlyList windowsOutboundIpAddresses, IReadOnlyList linuxOutboundIpAddresses, IReadOnlyList externalInboundIpAddresses, IReadOnlyList internalInboundIpAddresses, bool? allowNewPrivateEndpointConnections) : base(id, name, resourceType, systemData, kind) { WindowsOutboundIpAddresses = windowsOutboundIpAddresses; LinuxOutboundIpAddresses = linuxOutboundIpAddresses; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/BackupItemData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/BackupItemData.cs index 70b1b602d91ee..a56279a0fd8f8 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/BackupItemData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/BackupItemData.cs @@ -25,7 +25,7 @@ public BackupItemData() /// Initializes a new instance of BackupItemData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Id of the backup. @@ -42,7 +42,7 @@ public BackupItemData() /// Timestamp when this backup finished. /// Unique correlation identifier. Please use this along with the timestamp while communicating with Azure support. /// Size of the original web app which has been backed up. - internal BackupItemData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, int? backupId, string storageAccountUrl, string blobName, string namePropertiesName, BackupItemStatus? status, long? sizeInBytes, DateTimeOffset? created, string log, IReadOnlyList databases, bool? scheduled, DateTimeOffset? lastRestoreTimeStamp, DateTimeOffset? finishedTimeStamp, string correlationId, long? websiteSizeInBytes) : base(id, name, type, systemData, kind) + internal BackupItemData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, int? backupId, string storageAccountUrl, string blobName, string namePropertiesName, BackupItemStatus? status, long? sizeInBytes, DateTimeOffset? created, string log, IReadOnlyList databases, bool? scheduled, DateTimeOffset? lastRestoreTimeStamp, DateTimeOffset? finishedTimeStamp, string correlationId, long? websiteSizeInBytes) : base(id, name, resourceType, systemData, kind) { BackupId = backupId; StorageAccountUrl = storageAccountUrl; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/CertificateData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/CertificateData.cs index d5e73ecb2f485..913bc69d9237f 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/CertificateData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/CertificateData.cs @@ -26,7 +26,7 @@ public CertificateData(AzureLocation location) : base(location) /// Initializes a new instance of CertificateData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -52,7 +52,7 @@ public CertificateData(AzureLocation location) : base(location) /// Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". /// CNAME of the certificate to be issued via free certificate. /// Method of domain validation for free cert. - internal CertificateData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, string kind, string password, string friendlyName, string subjectName, IList hostNames, byte[] pfxBlob, string siteName, string selfLink, string issuer, DateTimeOffset? issueDate, DateTimeOffset? expirationDate, string thumbprint, bool? valid, byte[] cerBlob, string publicKeyHash, HostingEnvironmentProfile hostingEnvironmentProfile, string keyVaultId, string keyVaultSecretName, KeyVaultSecretStatus? keyVaultSecretStatus, string serverFarmId, string canonicalName, string domainValidationMethod) : base(id, name, type, systemData, tags, location, kind) + internal CertificateData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string kind, string password, string friendlyName, string subjectName, IList hostNames, byte[] pfxBlob, string siteName, string selfLink, string issuer, DateTimeOffset? issueDate, DateTimeOffset? expirationDate, string thumbprint, bool? valid, byte[] cerBlob, string publicKeyHash, HostingEnvironmentProfile hostingEnvironmentProfile, string keyVaultId, string keyVaultSecretName, KeyVaultSecretStatus? keyVaultSecretStatus, string serverFarmId, string canonicalName, string domainValidationMethod) : base(id, name, resourceType, systemData, tags, location, kind) { Password = password; FriendlyName = friendlyName; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/ContinuousWebJobData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/ContinuousWebJobData.cs index 1f1a9066d2275..25dccc044b02f 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/ContinuousWebJobData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/ContinuousWebJobData.cs @@ -24,7 +24,7 @@ public ContinuousWebJobData() /// Initializes a new instance of ContinuousWebJobData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Job status. @@ -37,7 +37,7 @@ public ContinuousWebJobData() /// Error information. /// Using SDK?. /// Job settings. - internal ContinuousWebJobData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, ContinuousWebJobStatus? status, string detailedStatus, string logUrl, string runCommand, string url, string extraInfoUrl, WebJobType? webJobType, string error, bool? usingSdk, IDictionary settings) : base(id, name, type, systemData, kind) + internal ContinuousWebJobData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, ContinuousWebJobStatus? status, string detailedStatus, string logUrl, string runCommand, string url, string extraInfoUrl, WebJobType? webJobType, string error, bool? usingSdk, IDictionary settings) : base(id, name, resourceType, systemData, kind) { Status = status; DetailedStatus = detailedStatus; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/CsmPublishingCredentialsPoliciesEntityData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/CsmPublishingCredentialsPoliciesEntityData.cs index 5dc1e65b7d1c8..9fb8d5472ddfc 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/CsmPublishingCredentialsPoliciesEntityData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/CsmPublishingCredentialsPoliciesEntityData.cs @@ -22,11 +22,11 @@ public CsmPublishingCredentialsPoliciesEntityData() /// Initializes a new instance of CsmPublishingCredentialsPoliciesEntityData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// <code>true</code> to allow access to a publishing method; otherwise, <code>false</code>. - internal CsmPublishingCredentialsPoliciesEntityData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, bool? allow) : base(id, name, type, systemData, kind) + internal CsmPublishingCredentialsPoliciesEntityData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, bool? allow) : base(id, name, resourceType, systemData, kind) { Allow = allow; } diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/DeletedSiteData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/DeletedSiteData.cs index 322a99b38de02..0831297cd90b6 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/DeletedSiteData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/DeletedSiteData.cs @@ -22,7 +22,7 @@ public DeletedSiteData() /// Initializes a new instance of DeletedSiteData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Numeric id for the deleted site. @@ -33,7 +33,7 @@ public DeletedSiteData() /// Slot of the deleted site. /// Kind of site that was deleted. /// Geo Region of the deleted site. - internal DeletedSiteData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, int? deletedSiteId, string deletedTimestamp, string subscription, string resourceGroup, string deletedSiteName, string slot, string kindPropertiesKind, string geoRegionName) : base(id, name, type, systemData, kind) + internal DeletedSiteData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, int? deletedSiteId, string deletedTimestamp, string subscription, string resourceGroup, string deletedSiteName, string slot, string kindPropertiesKind, string geoRegionName) : base(id, name, resourceType, systemData, kind) { DeletedSiteId = deletedSiteId; DeletedTimestamp = deletedTimestamp; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/DeploymentData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/DeploymentData.cs index b574e00d11519..ff82e7df758ac 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/DeploymentData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/DeploymentData.cs @@ -23,7 +23,7 @@ public DeploymentData() /// Initializes a new instance of DeploymentData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Deployment status. @@ -35,7 +35,7 @@ public DeploymentData() /// End time. /// True if deployment is currently active, false if completed and null if not started. /// Details on deployment. - internal DeploymentData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, int? status, string message, string author, string deployer, string authorEmail, DateTimeOffset? startTime, DateTimeOffset? endTime, bool? active, string details) : base(id, name, type, systemData, kind) + internal DeploymentData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, int? status, string message, string author, string deployer, string authorEmail, DateTimeOffset? startTime, DateTimeOffset? endTime, bool? active, string details) : base(id, name, resourceType, systemData, kind) { Status = status; Message = message; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/DetectorDefinitionAutoGeneratedData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/DetectorDefinitionAutoGeneratedData.cs index dd35aa8f10ba9..e5c6e64861594 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/DetectorDefinitionAutoGeneratedData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/DetectorDefinitionAutoGeneratedData.cs @@ -22,14 +22,14 @@ public DetectorDefinitionAutoGeneratedData() /// Initializes a new instance of DetectorDefinitionAutoGeneratedData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Display name of the detector. /// Description of the detector. /// Detector Rank. /// Flag representing whether detector is enabled or not. - internal DetectorDefinitionAutoGeneratedData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string displayName, string description, double? rank, bool? isEnabled) : base(id, name, type, systemData, kind) + internal DetectorDefinitionAutoGeneratedData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string displayName, string description, double? rank, bool? isEnabled) : base(id, name, resourceType, systemData, kind) { DisplayName = displayName; Description = description; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/DiagnosticCategoryData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/DiagnosticCategoryData.cs index 724fafe84ff28..9db977dd401d8 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/DiagnosticCategoryData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/DiagnosticCategoryData.cs @@ -22,11 +22,11 @@ public DiagnosticCategoryData() /// Initializes a new instance of DiagnosticCategoryData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Description of the diagnostic category. - internal DiagnosticCategoryData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string description) : base(id, name, type, systemData, kind) + internal DiagnosticCategoryData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string description) : base(id, name, resourceType, systemData, kind) { Description = description; } diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/DomainOwnershipIdentifierData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/DomainOwnershipIdentifierData.cs index a4cdc284820f7..e399be7e8025f 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/DomainOwnershipIdentifierData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/DomainOwnershipIdentifierData.cs @@ -22,11 +22,11 @@ public DomainOwnershipIdentifierData() /// Initializes a new instance of DomainOwnershipIdentifierData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Ownership Id. - internal DomainOwnershipIdentifierData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string ownershipId) : base(id, name, type, systemData, kind) + internal DomainOwnershipIdentifierData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string ownershipId) : base(id, name, resourceType, systemData, kind) { OwnershipId = ownershipId; } diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/FunctionEnvelopeData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/FunctionEnvelopeData.cs index be198af707b2d..af8bb38c0d096 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/FunctionEnvelopeData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/FunctionEnvelopeData.cs @@ -24,7 +24,7 @@ public FunctionEnvelopeData() /// Initializes a new instance of FunctionEnvelopeData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Function App ID. @@ -40,7 +40,7 @@ public FunctionEnvelopeData() /// The invocation URL. /// The function language. /// Gets or sets a value indicating whether the function is disabled. - internal FunctionEnvelopeData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string functionAppId, string scriptRootPathHref, string scriptHref, string configHref, string testDataHref, string secretsFileHref, string href, object config, IDictionary files, string testData, string invokeUrlTemplate, string language, bool? isDisabled) : base(id, name, type, systemData, kind) + internal FunctionEnvelopeData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string functionAppId, string scriptRootPathHref, string scriptHref, string configHref, string testDataHref, string secretsFileHref, string href, object config, IDictionary files, string testData, string invokeUrlTemplate, string language, bool? isDisabled) : base(id, name, resourceType, systemData, kind) { FunctionAppId = functionAppId; ScriptRootPathHref = scriptRootPathHref; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/HostNameBindingData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/HostNameBindingData.cs index 44b4246181310..08f69c7b2d31e 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/HostNameBindingData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/HostNameBindingData.cs @@ -22,7 +22,7 @@ public HostNameBindingData() /// Initializes a new instance of HostNameBindingData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// App Service app name. @@ -34,7 +34,7 @@ public HostNameBindingData() /// SSL type. /// SSL certificate thumbprint. /// Virtual IP address assigned to the hostname if IP based SSL is enabled. - internal HostNameBindingData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string siteName, string domainId, string azureResourceName, AzureResourceType? azureResourceType, CustomHostNameDnsRecordType? customHostNameDnsRecordType, HostNameType? hostNameType, SslState? sslState, string thumbprint, string virtualIP) : base(id, name, type, systemData, kind) + internal HostNameBindingData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string siteName, string domainId, string azureResourceName, AzureResourceType? azureResourceType, CustomHostNameDnsRecordType? customHostNameDnsRecordType, HostNameType? hostNameType, SslState? sslState, string thumbprint, string virtualIP) : base(id, name, resourceType, systemData, kind) { SiteName = siteName; DomainId = domainId; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/HybridConnectionData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/HybridConnectionData.cs index 44c68958dbf27..aba2634741bde 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/HybridConnectionData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/HybridConnectionData.cs @@ -23,7 +23,7 @@ public HybridConnectionData() /// Initializes a new instance of HybridConnectionData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// The name of the Service Bus namespace. @@ -37,7 +37,7 @@ public HybridConnectionData() /// normally, use the POST /listKeys API instead. /// /// The suffix for the service bus endpoint. By default this is .servicebus.windows.net. - internal HybridConnectionData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string serviceBusNamespace, string relayName, Uri relayArmUri, string hostname, int? port, string sendKeyName, string sendKeyValue, string serviceBusSuffix) : base(id, name, type, systemData, kind) + internal HybridConnectionData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string serviceBusNamespace, string relayName, Uri relayArmUri, string hostname, int? port, string sendKeyName, string sendKeyValue, string serviceBusSuffix) : base(id, name, resourceType, systemData, kind) { ServiceBusNamespace = serviceBusNamespace; RelayName = relayName; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/HybridConnectionLimitsData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/HybridConnectionLimitsData.cs index c0d8dd43f606a..c672eabc0e28f 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/HybridConnectionLimitsData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/HybridConnectionLimitsData.cs @@ -22,12 +22,12 @@ public HybridConnectionLimitsData() /// Initializes a new instance of HybridConnectionLimitsData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// The current number of Hybrid Connections. /// The maximum number of Hybrid Connections allowed. - internal HybridConnectionLimitsData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, int? current, int? maximum) : base(id, name, type, systemData, kind) + internal HybridConnectionLimitsData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, int? current, int? maximum) : base(id, name, resourceType, systemData, kind) { Current = current; Maximum = maximum; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/IdentifierData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/IdentifierData.cs index 0fe455f0252ba..1479c530e0259 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/IdentifierData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/IdentifierData.cs @@ -22,11 +22,11 @@ public IdentifierData() /// Initializes a new instance of IdentifierData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// String representation of the identity. - internal IdentifierData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string value) : base(id, name, type, systemData, kind) + internal IdentifierData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string value) : base(id, name, resourceType, systemData, kind) { Value = value; } diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/KubeEnvironmentData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/KubeEnvironmentData.cs index 705dbc1068cbb..bccea0423836c 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/KubeEnvironmentData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/KubeEnvironmentData.cs @@ -24,7 +24,7 @@ public KubeEnvironmentData(AzureLocation location) : base(location) /// Initializes a new instance of KubeEnvironmentData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -46,7 +46,7 @@ public KubeEnvironmentData(AzureLocation location) : base(location) /// supported /// /// - internal KubeEnvironmentData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, string kind, ExtendedLocation extendedLocation, KubeEnvironmentProvisioningState? provisioningState, string deploymentErrors, bool? internalLoadBalancerEnabled, string defaultDomain, string staticIp, ArcConfiguration arcConfiguration, AppLogsConfiguration appLogsConfiguration, string aksResourceID) : base(id, name, type, systemData, tags, location, kind) + internal KubeEnvironmentData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string kind, ExtendedLocation extendedLocation, KubeEnvironmentProvisioningState? provisioningState, string deploymentErrors, bool? internalLoadBalancerEnabled, string defaultDomain, string staticIp, ArcConfiguration arcConfiguration, AppLogsConfiguration appLogsConfiguration, string aksResourceID) : base(id, name, resourceType, systemData, tags, location, kind) { ExtendedLocation = extendedLocation; ProvisioningState = provisioningState; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/MSDeployStatusData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/MSDeployStatusData.cs index 37530031df4b4..a0dc7e5f3a41d 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/MSDeployStatusData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/MSDeployStatusData.cs @@ -23,7 +23,7 @@ public MSDeployStatusData() /// Initializes a new instance of MSDeployStatusData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Username of deployer. @@ -31,7 +31,7 @@ public MSDeployStatusData() /// Start time of deploy operation. /// End time of deploy operation. /// Whether the deployment operation has completed. - internal MSDeployStatusData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string deployer, MSDeployProvisioningState? provisioningState, DateTimeOffset? startTime, DateTimeOffset? endTime, bool? complete) : base(id, name, type, systemData, kind) + internal MSDeployStatusData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string deployer, MSDeployProvisioningState? provisioningState, DateTimeOffset? startTime, DateTimeOffset? endTime, bool? complete) : base(id, name, resourceType, systemData, kind) { Deployer = deployer; ProvisioningState = provisioningState; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/MigrateMySqlStatusData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/MigrateMySqlStatusData.cs index 46441c117d596..54858a4b74c1a 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/MigrateMySqlStatusData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/MigrateMySqlStatusData.cs @@ -22,13 +22,13 @@ public MigrateMySqlStatusData() /// Initializes a new instance of MigrateMySqlStatusData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Status of the migration task. /// Operation ID for the migration task. /// True if the web app has in app MySql enabled. - internal MigrateMySqlStatusData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, OperationStatus? migrationOperationStatus, string operationId, bool? localMySqlEnabled) : base(id, name, type, systemData, kind) + internal MigrateMySqlStatusData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, OperationStatus? migrationOperationStatus, string operationId, bool? localMySqlEnabled) : base(id, name, resourceType, systemData, kind) { MigrationOperationStatus = migrationOperationStatus; OperationId = operationId; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/AddressResponse.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/AddressResponse.cs index b0a5deb576e4b..7638ab342d08a 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/AddressResponse.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/AddressResponse.cs @@ -24,14 +24,14 @@ public AddressResponse() /// Initializes a new instance of AddressResponse. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Main public virtual IP. /// Virtual Network internal IP address of the App Service Environment if it is in internal load-balancing mode. /// IP addresses appearing on outbound connections. /// Additional virtual IPs. - internal AddressResponse(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string serviceIpAddress, string internalIpAddress, IList outboundIpAddresses, IList vipMappings) : base(id, name, type, systemData, kind) + internal AddressResponse(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string serviceIpAddress, string internalIpAddress, IList outboundIpAddresses, IList vipMappings) : base(id, name, resourceType, systemData, kind) { ServiceIpAddress = serviceIpAddress; InternalIpAddress = internalIpAddress; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/AppServiceRecommendation.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/AppServiceRecommendation.cs index 8e44bac132467..d8418376d56f2 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/AppServiceRecommendation.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/AppServiceRecommendation.cs @@ -25,7 +25,7 @@ public AppServiceRecommendation() /// Initializes a new instance of AppServiceRecommendation. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Timestamp when this instance was created. @@ -51,7 +51,7 @@ public AppServiceRecommendation() /// Extension name of the portal if exists. /// Deep link to a blade on the portal. /// Forward link to an external document associated with the rule. - internal AppServiceRecommendation(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, DateTimeOffset? creationTime, Guid? recommendationId, string resourceId, ResourceScopeType? resourceScope, string ruleName, string displayName, string message, NotificationLevel? level, Channels? channels, IReadOnlyList categoryTags, string actionName, int? enabled, IList states, DateTimeOffset? startTime, DateTimeOffset? endTime, DateTimeOffset? nextNotificationTime, DateTimeOffset? notificationExpirationTime, DateTimeOffset? notifiedTime, double? score, bool? isDynamic, string extensionName, string bladeName, string forwardLink) : base(id, name, type, systemData, kind) + internal AppServiceRecommendation(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, DateTimeOffset? creationTime, Guid? recommendationId, string resourceId, ResourceScopeType? resourceScope, string ruleName, string displayName, string message, NotificationLevel? level, Channels? channels, IReadOnlyList categoryTags, string actionName, int? enabled, IList states, DateTimeOffset? startTime, DateTimeOffset? endTime, DateTimeOffset? nextNotificationTime, DateTimeOffset? notificationExpirationTime, DateTimeOffset? notifiedTime, double? score, bool? isDynamic, string extensionName, string bladeName, string forwardLink) : base(id, name, resourceType, systemData, kind) { CreationTime = creationTime; RecommendationId = recommendationId; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/AppServiceResource.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/AppServiceResource.cs index deb9ae30fa096..996824d0aea59 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/AppServiceResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/AppServiceResource.cs @@ -23,12 +23,12 @@ public AppServiceResource(AzureLocation location) : base(location) /// Initializes a new instance of AppServiceResource. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. /// Kind of resource. - internal AppServiceResource(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, string kind) : base(id, name, type, systemData, tags, location) + internal AppServiceResource(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string kind) : base(id, name, resourceType, systemData, tags, location) { Kind = kind; } diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/AppServiceUsage.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/AppServiceUsage.cs index 1a744540e2365..4ac5498ba92c1 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/AppServiceUsage.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/AppServiceUsage.cs @@ -22,7 +22,7 @@ public AppServiceUsage() /// Initializes a new instance of AppServiceUsage. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Friendly name shown in the UI. @@ -33,7 +33,7 @@ public AppServiceUsage() /// Next reset time for the resource counter. /// Compute mode used for this usage. /// Site mode used for this usage. - internal AppServiceUsage(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string displayName, string resourceName, string unit, long? currentValue, long? limit, DateTimeOffset? nextResetTime, ComputeModeOptions? computeMode, string siteMode) : base(id, name, type, systemData, kind) + internal AppServiceUsage(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string displayName, string resourceName, string unit, long? currentValue, long? limit, DateTimeOffset? nextResetTime, ComputeModeOptions? computeMode, string siteMode) : base(id, name, resourceType, systemData, kind) { DisplayName = displayName; ResourceName = resourceName; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ApplicationStackResource.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ApplicationStackResource.cs index e48a191b03e2e..607511e5885b6 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ApplicationStackResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ApplicationStackResource.cs @@ -25,7 +25,7 @@ public ApplicationStackResource() /// Initializes a new instance of ApplicationStackResource. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Application stack name. @@ -34,7 +34,7 @@ public ApplicationStackResource() /// List of major versions available. /// List of frameworks associated with application stack. /// <code>true</code> if this is the stack is deprecated; otherwise, <code>false</code>. - internal ApplicationStackResource(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string namePropertiesName, string display, string dependency, IList majorVersions, IList frameworks, IList isDeprecated) : base(id, name, type, systemData, kind) + internal ApplicationStackResource(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string namePropertiesName, string display, string dependency, IList majorVersions, IList frameworks, IList isDeprecated) : base(id, name, resourceType, systemData, kind) { NamePropertiesName = namePropertiesName; Display = display; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/AzureStorageInfoValue.Serialization.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/AzureStorageInfoValue.Serialization.cs index 37d8c9cff0465..d3ad1444f0cba 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/AzureStorageInfoValue.Serialization.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/AzureStorageInfoValue.Serialization.cs @@ -15,10 +15,10 @@ public partial class AzureStorageInfoValue : IUtf8JsonSerializable void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(AzureStorageType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type.Value.ToSerialString()); + writer.WriteStringValue(AzureStorageType.Value.ToSerialString()); } if (Optional.IsDefined(AccountName)) { diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/AzureStorageInfoValue.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/AzureStorageInfoValue.cs index b25b00a25d36a..3f9806743db7c 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/AzureStorageInfoValue.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/AzureStorageInfoValue.cs @@ -16,15 +16,15 @@ public AzureStorageInfoValue() } /// Initializes a new instance of AzureStorageInfoValue. - /// Type of storage. + /// Type of storage. /// Name of the storage account. /// Name of the file share (container name, for Blob storage). /// Access key for the storage account. /// Path to mount the storage within the site's runtime environment. /// State of the storage account. - internal AzureStorageInfoValue(AzureStorageType? type, string accountName, string shareName, string accessKey, string mountPath, AzureStorageState? state) + internal AzureStorageInfoValue(AzureStorageType? azureStorageType, string accountName, string shareName, string accessKey, string mountPath, AzureStorageState? state) { - Type = type; + AzureStorageType = azureStorageType; AccountName = accountName; ShareName = shareName; AccessKey = accessKey; @@ -33,7 +33,7 @@ internal AzureStorageInfoValue(AzureStorageType? type, string accountName, strin } /// Type of storage. - public AzureStorageType? Type { get; set; } + public AzureStorageType? AzureStorageType { get; set; } /// Name of the storage account. public string AccountName { get; set; } /// Name of the file share (container name, for Blob storage). diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/AzureStoragePropertyDictionaryResource.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/AzureStoragePropertyDictionaryResource.cs index 4724e2c119db2..078eabd4aeb0b 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/AzureStoragePropertyDictionaryResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/AzureStoragePropertyDictionaryResource.cs @@ -23,11 +23,11 @@ public AzureStoragePropertyDictionaryResource() /// Initializes a new instance of AzureStoragePropertyDictionaryResource. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Azure storage accounts. - internal AzureStoragePropertyDictionaryResource(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, IDictionary properties) : base(id, name, type, systemData, kind) + internal AzureStoragePropertyDictionaryResource(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, IDictionary properties) : base(id, name, resourceType, systemData, kind) { Properties = properties; } diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/BackupRequest.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/BackupRequest.cs index a03d121f3396d..6c2d6b31a31cc 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/BackupRequest.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/BackupRequest.cs @@ -23,7 +23,7 @@ public BackupRequest() /// Initializes a new instance of BackupRequest. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Name of the backup. @@ -31,7 +31,7 @@ public BackupRequest() /// SAS URL to the container. /// Schedule for the backup if it is executed periodically. /// Databases included in the backup. - internal BackupRequest(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string backupName, bool? enabled, string storageAccountUrl, BackupSchedule backupSchedule, IList databases) : base(id, name, type, systemData, kind) + internal BackupRequest(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string backupName, bool? enabled, string storageAccountUrl, BackupSchedule backupSchedule, IList databases) : base(id, name, resourceType, systemData, kind) { BackupName = backupName; Enabled = enabled; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/BillingMeter.Serialization.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/BillingMeter.Serialization.cs index 59c099bd70ee9..f73496dd0b303 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/BillingMeter.Serialization.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/BillingMeter.Serialization.cs @@ -43,11 +43,6 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("friendlyName"); writer.WriteStringValue(FriendlyName); } - if (Optional.IsDefined(ResourceType)) - { - writer.WritePropertyName("resourceType"); - writer.WriteStringValue(ResourceType); - } if (Optional.IsDefined(OsType)) { writer.WritePropertyName("osType"); @@ -73,7 +68,6 @@ internal static BillingMeter DeserializeBillingMeter(JsonElement element) Optional billingLocation = default; Optional shortName = default; Optional friendlyName = default; - Optional resourceType = default; Optional osType = default; Optional multiplier = default; foreach (var property in element.EnumerateObject()) @@ -132,11 +126,6 @@ internal static BillingMeter DeserializeBillingMeter(JsonElement element) friendlyName = property0.Value.GetString(); continue; } - if (property0.NameEquals("resourceType")) - { - resourceType = property0.Value.GetString(); - continue; - } if (property0.NameEquals("osType")) { osType = property0.Value.GetString(); @@ -156,7 +145,7 @@ internal static BillingMeter DeserializeBillingMeter(JsonElement element) continue; } } - return new BillingMeter(id, name, type, systemData, kind.Value, meterId.Value, billingLocation.Value, shortName.Value, friendlyName.Value, resourceType.Value, osType.Value, Optional.ToNullable(multiplier)); + return new BillingMeter(id, name, type, systemData, kind.Value, meterId.Value, billingLocation.Value, shortName.Value, friendlyName.Value, osType.Value, Optional.ToNullable(multiplier)); } } } diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/BillingMeter.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/BillingMeter.cs index a9ec0983b7aa4..9eb13a7676bfc 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/BillingMeter.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/BillingMeter.cs @@ -21,23 +21,21 @@ public BillingMeter() /// Initializes a new instance of BillingMeter. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Meter GUID onboarded in Commerce. /// Azure Location of billable resource. /// Short Name from App Service Azure pricing Page. /// Friendly name of the meter. - /// App Service ResourceType meter used for. /// App Service OS type meter used for. /// Meter Multiplier. - internal BillingMeter(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string meterId, string billingLocation, string shortName, string friendlyName, string resourceType, string osType, double? multiplier) : base(id, name, type, systemData, kind) + internal BillingMeter(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string meterId, string billingLocation, string shortName, string friendlyName, string osType, double? multiplier) : base(id, name, resourceType, systemData, kind) { MeterId = meterId; BillingLocation = billingLocation; ShortName = shortName; FriendlyName = friendlyName; - ResourceType = resourceType; OsType = osType; Multiplier = multiplier; } @@ -50,8 +48,6 @@ internal BillingMeter(ResourceIdentifier id, string name, ResourceType type, Sys public string ShortName { get; set; } /// Friendly name of the meter. public string FriendlyName { get; set; } - /// App Service ResourceType meter used for. - public string ResourceType { get; set; } /// App Service OS type meter used for. public string OsType { get; set; } /// Meter Multiplier. diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/CertificateEmail.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/CertificateEmail.cs index 692af5cfeb538..dc853262c6d30 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/CertificateEmail.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/CertificateEmail.cs @@ -22,12 +22,12 @@ public CertificateEmail() /// Initializes a new instance of CertificateEmail. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Email id. /// Time stamp. - internal CertificateEmail(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string emailId, DateTimeOffset? timeStamp) : base(id, name, type, systemData, kind) + internal CertificateEmail(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string emailId, DateTimeOffset? timeStamp) : base(id, name, resourceType, systemData, kind) { EmailId = emailId; TimeStamp = timeStamp; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/CertificateOrderAction.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/CertificateOrderAction.cs index 75ec189afbd92..90c6c4abdb8e4 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/CertificateOrderAction.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/CertificateOrderAction.cs @@ -22,12 +22,12 @@ public CertificateOrderAction() /// Initializes a new instance of CertificateOrderAction. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Action type. /// Time at which the certificate action was performed. - internal CertificateOrderAction(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, CertificateOrderActionType? actionType, DateTimeOffset? createdAt) : base(id, name, type, systemData, kind) + internal CertificateOrderAction(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, CertificateOrderActionType? actionType, DateTimeOffset? createdAt) : base(id, name, resourceType, systemData, kind) { ActionType = actionType; CreatedAt = createdAt; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ConnStringInfo.Serialization.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ConnStringInfo.Serialization.cs index 9302b744db7c6..a4fe64e3ec0e9 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ConnStringInfo.Serialization.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ConnStringInfo.Serialization.cs @@ -25,10 +25,10 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("connectionString"); writer.WriteStringValue(ConnectionString); } - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(ConnectionStringType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type.Value.ToSerialString()); + writer.WriteStringValue(ConnectionStringType.Value.ToSerialString()); } writer.WriteEndObject(); } diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ConnStringInfo.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ConnStringInfo.cs index 2966d7eac5477..c0ee47ea5483b 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ConnStringInfo.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ConnStringInfo.cs @@ -18,12 +18,12 @@ public ConnStringInfo() /// Initializes a new instance of ConnStringInfo. /// Name of connection string. /// Connection string value. - /// Type of database. - internal ConnStringInfo(string name, string connectionString, ConnectionStringType? type) + /// Type of database. + internal ConnStringInfo(string name, string connectionString, ConnectionStringType? connectionStringType) { Name = name; ConnectionString = connectionString; - Type = type; + ConnectionStringType = connectionStringType; } /// Name of connection string. @@ -31,6 +31,6 @@ internal ConnStringInfo(string name, string connectionString, ConnectionStringTy /// Connection string value. public string ConnectionString { get; set; } /// Type of database. - public ConnectionStringType? Type { get; set; } + public ConnectionStringType? ConnectionStringType { get; set; } } } diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ConnStringValueTypePair.Serialization.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ConnStringValueTypePair.Serialization.cs index 8cf615eaf542d..274dff748c708 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ConnStringValueTypePair.Serialization.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ConnStringValueTypePair.Serialization.cs @@ -18,7 +18,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("value"); writer.WriteStringValue(Value); writer.WritePropertyName("type"); - writer.WriteStringValue(Type.ToSerialString()); + writer.WriteStringValue(ConnectionStringType.ToSerialString()); writer.WriteEndObject(); } diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ConnStringValueTypePair.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ConnStringValueTypePair.cs index 03454373763cb..73924bbc0d51f 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ConnStringValueTypePair.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ConnStringValueTypePair.cs @@ -14,9 +14,9 @@ public partial class ConnStringValueTypePair { /// Initializes a new instance of ConnStringValueTypePair. /// Value of pair. - /// Type of database. + /// Type of database. /// is null. - public ConnStringValueTypePair(string value, ConnectionStringType type) + public ConnStringValueTypePair(string value, ConnectionStringType connectionStringType) { if (value == null) { @@ -24,12 +24,12 @@ public ConnStringValueTypePair(string value, ConnectionStringType type) } Value = value; - Type = type; + ConnectionStringType = connectionStringType; } /// Value of pair. public string Value { get; set; } /// Type of database. - public ConnectionStringType Type { get; set; } + public ConnectionStringType ConnectionStringType { get; set; } } } diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ConnectionStringDictionary.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ConnectionStringDictionary.cs index 532dd5c543977..09ecf08fd7838 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ConnectionStringDictionary.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ConnectionStringDictionary.cs @@ -23,11 +23,11 @@ public ConnectionStringDictionary() /// Initializes a new instance of ConnectionStringDictionary. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Connection strings. - internal ConnectionStringDictionary(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, IDictionary properties) : base(id, name, type, systemData, kind) + internal ConnectionStringDictionary(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, IDictionary properties) : base(id, name, resourceType, systemData, kind) { Properties = properties; } diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/CustomHostnameAnalysisResult.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/CustomHostnameAnalysisResult.cs index 48f90d17f6477..ebbbf0617f2f0 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/CustomHostnameAnalysisResult.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/CustomHostnameAnalysisResult.cs @@ -27,7 +27,7 @@ public CustomHostnameAnalysisResult() /// Initializes a new instance of CustomHostnameAnalysisResult. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// <code>true</code> if hostname is already verified; otherwise, <code>false</code>. @@ -41,7 +41,7 @@ public CustomHostnameAnalysisResult() /// A records controller can see for this hostname. /// Alternate CName records controller can see for this hostname. /// Alternate TXT records controller can see for this hostname. - internal CustomHostnameAnalysisResult(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, bool? isHostnameAlreadyVerified, DnsVerificationTestResult? customDomainVerificationTest, ErrorEntity customDomainVerificationFailureInfo, bool? hasConflictOnScaleUnit, bool? hasConflictAcrossSubscription, string conflictingAppResourceId, IList cNameRecords, IList txtRecords, IList aRecords, IList alternateCNameRecords, IList alternateTxtRecords) : base(id, name, type, systemData, kind) + internal CustomHostnameAnalysisResult(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, bool? isHostnameAlreadyVerified, DnsVerificationTestResult? customDomainVerificationTest, ErrorEntity customDomainVerificationFailureInfo, bool? hasConflictOnScaleUnit, bool? hasConflictAcrossSubscription, string conflictingAppResourceId, IList cNameRecords, IList txtRecords, IList aRecords, IList alternateCNameRecords, IList alternateTxtRecords) : base(id, name, resourceType, systemData, kind) { IsHostnameAlreadyVerified = isHostnameAlreadyVerified; CustomDomainVerificationTest = customDomainVerificationTest; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/DeletedAppRestoreRequest.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/DeletedAppRestoreRequest.cs index 034fe809db811..46fdf02fceed0 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/DeletedAppRestoreRequest.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/DeletedAppRestoreRequest.cs @@ -21,7 +21,7 @@ public DeletedAppRestoreRequest() /// Initializes a new instance of DeletedAppRestoreRequest. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// @@ -34,7 +34,7 @@ public DeletedAppRestoreRequest() /// If unspecified, default value is the time that the app was deleted. /// /// If true, the snapshot is retrieved from DRSecondary endpoint. - internal DeletedAppRestoreRequest(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string deletedSiteId, bool? recoverConfiguration, string snapshotTime, bool? useDRSecondary) : base(id, name, type, systemData, kind) + internal DeletedAppRestoreRequest(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string deletedSiteId, bool? recoverConfiguration, string snapshotTime, bool? useDRSecondary) : base(id, name, resourceType, systemData, kind) { DeletedSiteId = deletedSiteId; RecoverConfiguration = recoverConfiguration; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/DetectorAbnormalTimePeriod.Serialization.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/DetectorAbnormalTimePeriod.Serialization.cs index 5a2009639cca3..dcad34feb0761 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/DetectorAbnormalTimePeriod.Serialization.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/DetectorAbnormalTimePeriod.Serialization.cs @@ -57,10 +57,10 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) } writer.WriteEndArray(); } - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(IssueType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type.Value.ToSerialString()); + writer.WriteStringValue(IssueType.Value.ToSerialString()); } if (Optional.IsCollectionDefined(Solutions)) { diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/DetectorAbnormalTimePeriod.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/DetectorAbnormalTimePeriod.cs index ed3567f24effc..824a8d6912b69 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/DetectorAbnormalTimePeriod.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/DetectorAbnormalTimePeriod.cs @@ -28,9 +28,9 @@ public DetectorAbnormalTimePeriod() /// Represents the name of the Detector. /// Represents the rank of the Detector. /// Downtime metadata. - /// Represents the type of the Detector. + /// Represents the type of the Detector. /// List of proposed solutions. - internal DetectorAbnormalTimePeriod(DateTimeOffset? startTime, DateTimeOffset? endTime, string message, string source, double? priority, IList> metaData, IssueType? type, IList solutions) + internal DetectorAbnormalTimePeriod(DateTimeOffset? startTime, DateTimeOffset? endTime, string message, string source, double? priority, IList> metaData, IssueType? issueType, IList solutions) { StartTime = startTime; EndTime = endTime; @@ -38,7 +38,7 @@ internal DetectorAbnormalTimePeriod(DateTimeOffset? startTime, DateTimeOffset? e Source = source; Priority = priority; MetaData = metaData; - Type = type; + IssueType = issueType; Solutions = solutions; } @@ -55,7 +55,7 @@ internal DetectorAbnormalTimePeriod(DateTimeOffset? startTime, DateTimeOffset? e /// Downtime metadata. public IList> MetaData { get; } /// Represents the type of the Detector. - public IssueType? Type { get; set; } + public IssueType? IssueType { get; set; } /// List of proposed solutions. public IList Solutions { get; } } diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/DetectorInfo.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/DetectorInfo.cs index 1426ff409d7d2..10fb410bc94e0 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/DetectorInfo.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/DetectorInfo.cs @@ -28,9 +28,9 @@ public DetectorInfo() /// Problem category. This serves for organizing group for detectors. /// List of Support Topics for which this detector is enabled. /// Analysis Types for which this detector should apply to. - /// Whether this detector is an Analysis Detector or not. + /// Whether this detector is an Analysis Detector or not. /// Defines score of a detector to power ML based matching. - internal DetectorInfo(string id, string name, string description, string author, string category, IReadOnlyList supportTopicList, IReadOnlyList analysisType, DetectorType? type, float? score) + internal DetectorInfo(string id, string name, string description, string author, string category, IReadOnlyList supportTopicList, IReadOnlyList analysisType, DetectorType? detectorType, float? score) { Id = id; Name = name; @@ -39,7 +39,7 @@ internal DetectorInfo(string id, string name, string description, string author, Category = category; SupportTopicList = supportTopicList; AnalysisType = analysisType; - Type = type; + DetectorType = detectorType; Score = score; } @@ -58,7 +58,7 @@ internal DetectorInfo(string id, string name, string description, string author, /// Analysis Types for which this detector should apply to. public IReadOnlyList AnalysisType { get; } /// Whether this detector is an Analysis Detector or not. - public DetectorType? Type { get; } + public DetectorType? DetectorType { get; } /// Defines score of a detector to power ML based matching. public float? Score { get; } } diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/DiagnosticAnalysis.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/DiagnosticAnalysis.cs index a87eff158946d..9c2c45bc18692 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/DiagnosticAnalysis.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/DiagnosticAnalysis.cs @@ -26,7 +26,7 @@ public DiagnosticAnalysis() /// Initializes a new instance of DiagnosticAnalysis. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Start time of the period. @@ -34,7 +34,7 @@ public DiagnosticAnalysis() /// List of time periods. /// Data by each detector. /// Data by each detector for detectors that did not corelate. - internal DiagnosticAnalysis(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, DateTimeOffset? startTime, DateTimeOffset? endTime, IList abnormalTimePeriods, IList payload, IList nonCorrelatedDetectors) : base(id, name, type, systemData, kind) + internal DiagnosticAnalysis(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, DateTimeOffset? startTime, DateTimeOffset? endTime, IList abnormalTimePeriods, IList payload, IList nonCorrelatedDetectors) : base(id, name, resourceType, systemData, kind) { StartTime = startTime; EndTime = endTime; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/DiagnosticDetectorResponse.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/DiagnosticDetectorResponse.cs index eb5656ea41ae2..090f5621d266f 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/DiagnosticDetectorResponse.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/DiagnosticDetectorResponse.cs @@ -26,7 +26,7 @@ public DiagnosticDetectorResponse() /// Initializes a new instance of DiagnosticDetectorResponse. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Start time of the period. @@ -37,7 +37,7 @@ public DiagnosticDetectorResponse() /// List of Correlated events found by the detector. /// Additional Data that detector wants to send. /// Meta Data. - internal DiagnosticDetectorResponse(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, DateTimeOffset? startTime, DateTimeOffset? endTime, bool? issueDetected, DetectorDefinition detectorDefinition, IList metrics, IList abnormalTimePeriods, IList> data, ResponseMetaData responseMetaData) : base(id, name, type, systemData, kind) + internal DiagnosticDetectorResponse(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, DateTimeOffset? startTime, DateTimeOffset? endTime, bool? issueDetected, DetectorDefinition detectorDefinition, IList metrics, IList abnormalTimePeriods, IList> data, ResponseMetaData responseMetaData) : base(id, name, resourceType, systemData, kind) { StartTime = startTime; EndTime = endTime; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ExtendedLocation.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ExtendedLocation.cs index 50db8b4235771..1d18f6691c84f 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ExtendedLocation.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ExtendedLocation.cs @@ -17,16 +17,16 @@ public ExtendedLocation() /// Initializes a new instance of ExtendedLocation. /// Name of extended location. - /// Type of extended location. - internal ExtendedLocation(string name, string type) + /// Type of extended location. + internal ExtendedLocation(string name, string extendedLocationType) { Name = name; - Type = type; + ExtendedLocationType = extendedLocationType; } /// Name of extended location. public string Name { get; set; } /// Type of extended location. - public string Type { get; } + public string ExtendedLocationType { get; } } } diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/FunctionAppStack.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/FunctionAppStack.cs index 07e870f0cd14b..3558a1ece2986 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/FunctionAppStack.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/FunctionAppStack.cs @@ -23,7 +23,7 @@ public FunctionAppStack() /// Initializes a new instance of FunctionAppStack. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Function App stack location. @@ -31,7 +31,7 @@ public FunctionAppStack() /// Function App stack name. /// List of major versions available. /// Function App stack preferred OS. - internal FunctionAppStack(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string location, string displayText, string value, IReadOnlyList majorVersions, StackPreferredOs? preferredOs) : base(id, name, type, systemData, kind) + internal FunctionAppStack(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string location, string displayText, string value, IReadOnlyList majorVersions, StackPreferredOs? preferredOs) : base(id, name, resourceType, systemData, kind) { Location = location; DisplayText = displayText; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/GeoRegion.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/GeoRegion.cs index 527fa17341f1f..f9fe8843e07ce 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/GeoRegion.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/GeoRegion.cs @@ -21,13 +21,13 @@ public GeoRegion() /// Initializes a new instance of GeoRegion. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Region description. /// Display name for region. /// Display name for region. - internal GeoRegion(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string description, string displayName, string orgDomain) : base(id, name, type, systemData, kind) + internal GeoRegion(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string description, string displayName, string orgDomain) : base(id, name, resourceType, systemData, kind) { Description = description; DisplayName = displayName; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/HostingEnvironmentProfile.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/HostingEnvironmentProfile.cs index 53870d11f838d..0c7b8239ee127 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/HostingEnvironmentProfile.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/HostingEnvironmentProfile.cs @@ -18,12 +18,12 @@ public HostingEnvironmentProfile() /// Initializes a new instance of HostingEnvironmentProfile. /// Resource ID of the App Service Environment. /// Name of the App Service Environment. - /// Resource type of the App Service Environment. - internal HostingEnvironmentProfile(string id, string name, string type) + /// Resource type of the App Service Environment. + internal HostingEnvironmentProfile(string id, string name, string resourceType) { Id = id; Name = name; - Type = type; + ResourceType = resourceType; } /// Resource ID of the App Service Environment. @@ -31,6 +31,6 @@ internal HostingEnvironmentProfile(string id, string name, string type) /// Name of the App Service Environment. public string Name { get; } /// Resource type of the App Service Environment. - public string Type { get; } + public string ResourceType { get; } } } diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/HybridConnectionKey.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/HybridConnectionKey.cs index 127029bb4e3b4..3c810d37a644e 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/HybridConnectionKey.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/HybridConnectionKey.cs @@ -21,12 +21,12 @@ public HybridConnectionKey() /// Initializes a new instance of HybridConnectionKey. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// The name of the send key. /// The value of the send key. - internal HybridConnectionKey(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string sendKeyName, string sendKeyValue) : base(id, name, type, systemData, kind) + internal HybridConnectionKey(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string sendKeyName, string sendKeyValue) : base(id, name, resourceType, systemData, kind) { SendKeyName = sendKeyName; SendKeyValue = sendKeyValue; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/KubeEnvironmentProfile.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/KubeEnvironmentProfile.cs index 70a98381f3594..0b7d0e135ffa1 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/KubeEnvironmentProfile.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/KubeEnvironmentProfile.cs @@ -18,12 +18,12 @@ public KubeEnvironmentProfile() /// Initializes a new instance of KubeEnvironmentProfile. /// Resource ID of the Kubernetes Environment. /// Name of the Kubernetes Environment. - /// Resource type of the Kubernetes Environment. - internal KubeEnvironmentProfile(string id, string name, string type) + /// Resource type of the Kubernetes Environment. + internal KubeEnvironmentProfile(string id, string name, string resourceType) { Id = id; Name = name; - Type = type; + ResourceType = resourceType; } /// Resource ID of the Kubernetes Environment. @@ -31,6 +31,6 @@ internal KubeEnvironmentProfile(string id, string name, string type) /// Name of the Kubernetes Environment. public string Name { get; } /// Resource type of the Kubernetes Environment. - public string Type { get; } + public string ResourceType { get; } } } diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/MigrateMySqlRequest.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/MigrateMySqlRequest.cs index 22ed171b1358a..54eb6ed38dd68 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/MigrateMySqlRequest.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/MigrateMySqlRequest.cs @@ -21,12 +21,12 @@ public MigrateMySqlRequest() /// Initializes a new instance of MigrateMySqlRequest. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Connection string to the remote MySQL database. /// The type of migration operation to be done. - internal MigrateMySqlRequest(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string connectionString, MySqlMigrationType? migrationType) : base(id, name, type, systemData, kind) + internal MigrateMySqlRequest(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string connectionString, MySqlMigrationType? migrationType) : base(id, name, resourceType, systemData, kind) { ConnectionString = connectionString; MigrationType = migrationType; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/MsDeploy.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/MsDeploy.cs index 7ae4935e02701..a1ad38e766085 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/MsDeploy.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/MsDeploy.cs @@ -24,7 +24,7 @@ public MsDeploy() /// Initializes a new instance of MsDeploy. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Package URI. @@ -42,7 +42,7 @@ public MsDeploy() /// Sets the AppOffline rule while the MSDeploy operation executes. /// Setting is <code>false</code> by default. /// - internal MsDeploy(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, Uri packageUri, string connectionString, string dbType, Uri setParametersXmlFileUri, IDictionary setParameters, bool? skipAppData, bool? appOffline) : base(id, name, type, systemData, kind) + internal MsDeploy(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, Uri packageUri, string connectionString, string dbType, Uri setParametersXmlFileUri, IDictionary setParameters, bool? skipAppData, bool? appOffline) : base(id, name, resourceType, systemData, kind) { PackageUri = packageUri; ConnectionString = connectionString; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/MsDeployLog.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/MsDeployLog.cs index f0769055fabd2..50f78ff5ca796 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/MsDeployLog.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/MsDeployLog.cs @@ -23,11 +23,11 @@ public MsDeployLog() /// Initializes a new instance of MsDeployLog. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// List of log entry messages. - internal MsDeployLog(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, IReadOnlyList entries) : base(id, name, type, systemData, kind) + internal MsDeployLog(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, IReadOnlyList entries) : base(id, name, resourceType, systemData, kind) { Entries = entries; } diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/MsDeployLogEntry.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/MsDeployLogEntry.cs index f7d1b3c848919..15d157036d30b 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/MsDeployLogEntry.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/MsDeployLogEntry.cs @@ -19,19 +19,19 @@ internal MsDeployLogEntry() /// Initializes a new instance of MsDeployLogEntry. /// Timestamp of log entry. - /// Log entry type. + /// Log entry type. /// Log entry message. - internal MsDeployLogEntry(DateTimeOffset? time, MSDeployLogEntryType? type, string message) + internal MsDeployLogEntry(DateTimeOffset? time, MSDeployLogEntryType? msDeployLogEntryType, string message) { Time = time; - Type = type; + MSDeployLogEntryType = msDeployLogEntryType; Message = message; } /// Timestamp of log entry. public DateTimeOffset? Time { get; } /// Log entry type. - public MSDeployLogEntryType? Type { get; } + public MSDeployLogEntryType? MSDeployLogEntryType { get; } /// Log entry message. public string Message { get; } } diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PatchableAppServiceCertificateOrderData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PatchableAppServiceCertificateOrderData.cs index 5196ab30ac80e..f34a37a35c612 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PatchableAppServiceCertificateOrderData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PatchableAppServiceCertificateOrderData.cs @@ -25,7 +25,7 @@ public PatchableAppServiceCertificateOrderData() /// Initializes a new instance of PatchableAppServiceCertificateOrderData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// State of the Key Vault secret. @@ -48,7 +48,7 @@ public PatchableAppServiceCertificateOrderData() /// Reasons why App Service Certificate is not renewable at the current moment. /// Time stamp when the certificate would be auto renewed next. /// Contact info. - internal PatchableAppServiceCertificateOrderData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, IDictionary certificates, string distinguishedName, string domainVerificationToken, int? validityInYears, int? keySize, CertificateProductType? productType, bool? autoRenew, ProvisioningState? provisioningState, CertificateOrderStatus? status, CertificateDetails signedCertificate, string csr, CertificateDetails intermediate, CertificateDetails root, string serialNumber, DateTimeOffset? lastCertificateIssuanceTime, DateTimeOffset? expirationTime, bool? isPrivateKeyExternal, IReadOnlyList appServiceCertificateNotRenewableReasons, DateTimeOffset? nextAutoRenewalTimeStamp, CertificateOrderContact contact) : base(id, name, type, systemData, kind) + internal PatchableAppServiceCertificateOrderData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, IDictionary certificates, string distinguishedName, string domainVerificationToken, int? validityInYears, int? keySize, CertificateProductType? productType, bool? autoRenew, ProvisioningState? provisioningState, CertificateOrderStatus? status, CertificateDetails signedCertificate, string csr, CertificateDetails intermediate, CertificateDetails root, string serialNumber, DateTimeOffset? lastCertificateIssuanceTime, DateTimeOffset? expirationTime, bool? isPrivateKeyExternal, IReadOnlyList appServiceCertificateNotRenewableReasons, DateTimeOffset? nextAutoRenewalTimeStamp, CertificateOrderContact contact) : base(id, name, resourceType, systemData, kind) { Certificates = certificates; DistinguishedName = distinguishedName; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PatchableAppServiceCertificateResourceData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PatchableAppServiceCertificateResourceData.cs index e07f79192eb1a..c92f70c5b5798 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PatchableAppServiceCertificateResourceData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PatchableAppServiceCertificateResourceData.cs @@ -21,13 +21,13 @@ public PatchableAppServiceCertificateResourceData() /// Initializes a new instance of PatchableAppServiceCertificateResourceData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Key Vault resource Id. /// Key Vault secret name. /// Status of the Key Vault secret. - internal PatchableAppServiceCertificateResourceData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string keyVaultId, string keyVaultSecretName, KeyVaultSecretStatus? provisioningState) : base(id, name, type, systemData, kind) + internal PatchableAppServiceCertificateResourceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string keyVaultId, string keyVaultSecretName, KeyVaultSecretStatus? provisioningState) : base(id, name, resourceType, systemData, kind) { KeyVaultId = keyVaultId; KeyVaultSecretName = keyVaultSecretName; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PatchableAppServiceDomainData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PatchableAppServiceDomainData.cs index 1c4f133cadc0a..a1cb10b931d54 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PatchableAppServiceDomainData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PatchableAppServiceDomainData.cs @@ -26,7 +26,7 @@ public PatchableAppServiceDomainData() /// Initializes a new instance of PatchableAppServiceDomainData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Administrative contact. @@ -52,7 +52,7 @@ public PatchableAppServiceDomainData() /// Azure DNS Zone to use. /// Target DNS type (would be used for migration). /// - internal PatchableAppServiceDomainData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, ContactInformation contactAdmin, ContactInformation contactBilling, ContactInformation contactRegistrant, ContactInformation contactTech, DomainStatus? registrationStatus, ProvisioningState? provisioningState, IReadOnlyList nameServers, bool? privacy, DateTimeOffset? createdTime, DateTimeOffset? expirationTime, DateTimeOffset? lastRenewedTime, bool? autoRenew, bool? readyForDnsRecordManagement, IReadOnlyList managedHostNames, DomainPurchaseConsent consent, IReadOnlyList domainNotRenewableReasons, DnsType? dnsType, string dnsZoneId, DnsType? targetDnsType, string authCode) : base(id, name, type, systemData, kind) + internal PatchableAppServiceDomainData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, ContactInformation contactAdmin, ContactInformation contactBilling, ContactInformation contactRegistrant, ContactInformation contactTech, DomainStatus? registrationStatus, ProvisioningState? provisioningState, IReadOnlyList nameServers, bool? privacy, DateTimeOffset? createdTime, DateTimeOffset? expirationTime, DateTimeOffset? lastRenewedTime, bool? autoRenew, bool? readyForDnsRecordManagement, IReadOnlyList managedHostNames, DomainPurchaseConsent consent, IReadOnlyList domainNotRenewableReasons, DnsType? dnsType, string dnsZoneId, DnsType? targetDnsType, string authCode) : base(id, name, resourceType, systemData, kind) { ContactAdmin = contactAdmin; ContactBilling = contactBilling; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PatchableAppServiceEnvironmentData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PatchableAppServiceEnvironmentData.cs index 1a7a1c8685209..8da3d46d64cb7 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PatchableAppServiceEnvironmentData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PatchableAppServiceEnvironmentData.cs @@ -24,7 +24,7 @@ public PatchableAppServiceEnvironmentData() /// Initializes a new instance of PatchableAppServiceEnvironmentData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Provisioning state of the App Service Environment. @@ -46,7 +46,7 @@ public PatchableAppServiceEnvironmentData() /// Flag that displays whether an ASE has linux workers or not. /// Dedicated Host Count. /// Whether or not this App Service Environment is zone-redundant. - internal PatchableAppServiceEnvironmentData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, ProvisioningState? provisioningState, HostingEnvironmentStatus? status, VirtualNetworkProfile virtualNetwork, LoadBalancingMode? internalLoadBalancingMode, string multiSize, int? multiRoleCount, int? ipsslAddressCount, string dnsSuffix, int? maximumNumberOfMachines, int? frontEndScaleFactor, bool? suspended, IList clusterSettings, IList userWhitelistedIpRanges, bool? hasLinuxWorkers, int? dedicatedHostCount, bool? zoneRedundant) : base(id, name, type, systemData, kind) + internal PatchableAppServiceEnvironmentData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, ProvisioningState? provisioningState, HostingEnvironmentStatus? status, VirtualNetworkProfile virtualNetwork, LoadBalancingMode? internalLoadBalancingMode, string multiSize, int? multiRoleCount, int? ipsslAddressCount, string dnsSuffix, int? maximumNumberOfMachines, int? frontEndScaleFactor, bool? suspended, IList clusterSettings, IList userWhitelistedIpRanges, bool? hasLinuxWorkers, int? dedicatedHostCount, bool? zoneRedundant) : base(id, name, resourceType, systemData, kind) { ProvisioningState = provisioningState; Status = status; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PatchableAppServicePlanData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PatchableAppServicePlanData.cs index 79a5efbb59aed..f9f5a78b88a6b 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PatchableAppServicePlanData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PatchableAppServicePlanData.cs @@ -22,7 +22,7 @@ public PatchableAppServicePlanData() /// Initializes a new instance of PatchableAppServicePlanData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Target worker tier assigned to the App Service plan. @@ -53,7 +53,7 @@ public PatchableAppServicePlanData() /// If <code>true</code>, this App Service Plan will perform availability zone balancing. /// If <code>false</code>, this App Service Plan will not perform availability zone balancing. /// - internal PatchableAppServicePlanData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string workerTierName, StatusOptions? status, string subscription, HostingEnvironmentProfile hostingEnvironmentProfile, int? maximumNumberOfWorkers, string geoRegion, bool? perSiteScaling, bool? elasticScaleEnabled, int? maximumElasticWorkerCount, int? numberOfSites, bool? isSpot, DateTimeOffset? spotExpirationTime, DateTimeOffset? freeOfferExpirationTime, string resourceGroup, bool? reserved, bool? isXenon, bool? hyperV, int? targetWorkerCount, int? targetWorkerSizeId, ProvisioningState? provisioningState, KubeEnvironmentProfile kubeEnvironmentProfile, bool? zoneRedundant) : base(id, name, type, systemData, kind) + internal PatchableAppServicePlanData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string workerTierName, StatusOptions? status, string subscription, HostingEnvironmentProfile hostingEnvironmentProfile, int? maximumNumberOfWorkers, string geoRegion, bool? perSiteScaling, bool? elasticScaleEnabled, int? maximumElasticWorkerCount, int? numberOfSites, bool? isSpot, DateTimeOffset? spotExpirationTime, DateTimeOffset? freeOfferExpirationTime, string resourceGroup, bool? reserved, bool? isXenon, bool? hyperV, int? targetWorkerCount, int? targetWorkerSizeId, ProvisioningState? provisioningState, KubeEnvironmentProfile kubeEnvironmentProfile, bool? zoneRedundant) : base(id, name, resourceType, systemData, kind) { WorkerTierName = workerTierName; Status = status; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PatchableCertificateData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PatchableCertificateData.cs index 303edb8cb87df..f014c958668d5 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PatchableCertificateData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PatchableCertificateData.cs @@ -24,7 +24,7 @@ public PatchableCertificateData() /// Initializes a new instance of PatchableCertificateData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Certificate password. @@ -48,7 +48,7 @@ public PatchableCertificateData() /// Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". /// CNAME of the certificate to be issued via free certificate. /// Method of domain validation for free cert. - internal PatchableCertificateData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string password, string friendlyName, string subjectName, IList hostNames, byte[] pfxBlob, string siteName, string selfLink, string issuer, DateTimeOffset? issueDate, DateTimeOffset? expirationDate, string thumbprint, bool? valid, byte[] cerBlob, string publicKeyHash, HostingEnvironmentProfile hostingEnvironmentProfile, string keyVaultId, string keyVaultSecretName, KeyVaultSecretStatus? keyVaultSecretStatus, string serverFarmId, string canonicalName, string domainValidationMethod) : base(id, name, type, systemData, kind) + internal PatchableCertificateData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string password, string friendlyName, string subjectName, IList hostNames, byte[] pfxBlob, string siteName, string selfLink, string issuer, DateTimeOffset? issueDate, DateTimeOffset? expirationDate, string thumbprint, bool? valid, byte[] cerBlob, string publicKeyHash, HostingEnvironmentProfile hostingEnvironmentProfile, string keyVaultId, string keyVaultSecretName, KeyVaultSecretStatus? keyVaultSecretStatus, string serverFarmId, string canonicalName, string domainValidationMethod) : base(id, name, resourceType, systemData, kind) { Password = password; FriendlyName = friendlyName; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PatchableKubeEnvironmentData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PatchableKubeEnvironmentData.cs index 8a3dbc316d937..4d704f56dd069 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PatchableKubeEnvironmentData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PatchableKubeEnvironmentData.cs @@ -21,7 +21,7 @@ public PatchableKubeEnvironmentData() /// Initializes a new instance of PatchableKubeEnvironmentData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Provisioning state of the Kubernetes Environment. @@ -40,7 +40,7 @@ public PatchableKubeEnvironmentData() /// supported /// /// - internal PatchableKubeEnvironmentData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, KubeEnvironmentProvisioningState? provisioningState, string deploymentErrors, bool? internalLoadBalancerEnabled, string defaultDomain, string staticIp, ArcConfiguration arcConfiguration, AppLogsConfiguration appLogsConfiguration, string aksResourceID) : base(id, name, type, systemData, kind) + internal PatchableKubeEnvironmentData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, KubeEnvironmentProvisioningState? provisioningState, string deploymentErrors, bool? internalLoadBalancerEnabled, string defaultDomain, string staticIp, ArcConfiguration arcConfiguration, AppLogsConfiguration appLogsConfiguration, string aksResourceID) : base(id, name, resourceType, systemData, kind) { ProvisioningState = provisioningState; DeploymentErrors = deploymentErrors; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PatchableStaticSiteARMResourceData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PatchableStaticSiteARMResourceData.cs index 1a719f5882bae..a201fdfdd8f0d 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PatchableStaticSiteARMResourceData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PatchableStaticSiteARMResourceData.cs @@ -25,7 +25,7 @@ public PatchableStaticSiteARMResourceData() /// Initializes a new instance of PatchableStaticSiteARMResourceData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// The default autogenerated hostname for the static site. @@ -42,7 +42,7 @@ public PatchableStaticSiteARMResourceData() /// Identity to use for Key Vault Reference authentication. /// User provided function apps registered with the static site. /// The provider that submitted the last deployment to the primary environment of the static site. - internal PatchableStaticSiteARMResourceData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string defaultHostname, string repositoryUrl, string branch, IReadOnlyList customDomains, string repositoryToken, StaticSiteBuildProperties buildProperties, IReadOnlyList privateEndpointConnections, StagingEnvironmentPolicy? stagingEnvironmentPolicy, bool? allowConfigFileUpdates, StaticSiteTemplateOptions templateProperties, string contentDistributionEndpoint, string keyVaultReferenceIdentity, IReadOnlyList userProvidedFunctionApps, string provider) : base(id, name, type, systemData, kind) + internal PatchableStaticSiteARMResourceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string defaultHostname, string repositoryUrl, string branch, IReadOnlyList customDomains, string repositoryToken, StaticSiteBuildProperties buildProperties, IReadOnlyList privateEndpointConnections, StagingEnvironmentPolicy? stagingEnvironmentPolicy, bool? allowConfigFileUpdates, StaticSiteTemplateOptions templateProperties, string contentDistributionEndpoint, string keyVaultReferenceIdentity, IReadOnlyList userProvidedFunctionApps, string provider) : base(id, name, resourceType, systemData, kind) { DefaultHostname = defaultHostname; RepositoryUrl = repositoryUrl; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PremierAddOnOffer.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PremierAddOnOffer.cs index 56a524a7adf53..b08ccd78d74ff 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PremierAddOnOffer.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PremierAddOnOffer.cs @@ -21,7 +21,7 @@ public PremierAddOnOffer() /// Initializes a new instance of PremierAddOnOffer. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Premier add on SKU. @@ -34,7 +34,7 @@ public PremierAddOnOffer() /// Legal terms URL. /// Marketplace publisher. /// Marketplace offer. - internal PremierAddOnOffer(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string sku, string product, string vendor, bool? promoCodeRequired, int? quota, AppServicePlanRestrictions? webHostingPlanRestrictions, string privacyPolicyUrl, string legalTermsUrl, string marketplacePublisher, string marketplaceOffer) : base(id, name, type, systemData, kind) + internal PremierAddOnOffer(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string sku, string product, string vendor, bool? promoCodeRequired, int? quota, AppServicePlanRestrictions? webHostingPlanRestrictions, string privacyPolicyUrl, string legalTermsUrl, string marketplacePublisher, string marketplaceOffer) : base(id, name, resourceType, systemData, kind) { Sku = sku; Product = product; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PremierAddOnPatchResource.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PremierAddOnPatchResource.cs index 99e638fef7233..a2d4f5e162e2e 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PremierAddOnPatchResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PremierAddOnPatchResource.cs @@ -21,7 +21,7 @@ public PremierAddOnPatchResource() /// Initializes a new instance of PremierAddOnPatchResource. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Premier add on SKU. @@ -29,7 +29,7 @@ public PremierAddOnPatchResource() /// Premier add on Vendor. /// Premier add on Marketplace publisher. /// Premier add on Marketplace offer. - internal PremierAddOnPatchResource(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string sku, string product, string vendor, string marketplacePublisher, string marketplaceOffer) : base(id, name, type, systemData, kind) + internal PremierAddOnPatchResource(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string sku, string product, string vendor, string marketplacePublisher, string marketplaceOffer) : base(id, name, resourceType, systemData, kind) { Sku = sku; Product = product; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PrivateLinkConnectionApprovalRequestResource.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PrivateLinkConnectionApprovalRequestResource.cs index b4f84fdcf8afd..8c8ef39bcd811 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PrivateLinkConnectionApprovalRequestResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PrivateLinkConnectionApprovalRequestResource.cs @@ -21,11 +21,11 @@ public PrivateLinkConnectionApprovalRequestResource() /// Initializes a new instance of PrivateLinkConnectionApprovalRequestResource. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// The state of a private link connection. - internal PrivateLinkConnectionApprovalRequestResource(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, PrivateLinkConnectionState privateLinkServiceConnectionState) : base(id, name, type, systemData, kind) + internal PrivateLinkConnectionApprovalRequestResource(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, PrivateLinkConnectionState privateLinkServiceConnectionState) : base(id, name, resourceType, systemData, kind) { PrivateLinkServiceConnectionState = privateLinkServiceConnectionState; } diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PrivateLinkResource.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PrivateLinkResource.cs index ecb4671bfc672..e90362a42abad 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PrivateLinkResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PrivateLinkResource.cs @@ -30,10 +30,10 @@ internal PrivateLinkResource(PrivateLinkResourceProperties properties) /// Initializes a new instance of PrivateLinkResource. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Properties of a private link resource. - internal PrivateLinkResource(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, PrivateLinkResourceProperties properties) : base(id, name, type, systemData) + internal PrivateLinkResource(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, PrivateLinkResourceProperties properties) : base(id, name, resourceType, systemData) { Properties = properties; } diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ProcessThreadInfo.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ProcessThreadInfo.cs index 54def554111b1..248d2a2d406f3 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ProcessThreadInfo.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ProcessThreadInfo.cs @@ -22,7 +22,7 @@ public ProcessThreadInfo() /// Initializes a new instance of ProcessThreadInfo. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Site extension ID. @@ -37,7 +37,7 @@ public ProcessThreadInfo() /// User processor time. /// Thread state. /// Wait reason. - internal ProcessThreadInfo(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, int? identifier, string href, string process, string startAddress, int? currentPriority, string priorityLevel, int? basePriority, DateTimeOffset? startTime, string totalProcessorTime, string userProcessorTime, string state, string waitReason) : base(id, name, type, systemData, kind) + internal ProcessThreadInfo(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, int? identifier, string href, string process, string startAddress, int? currentPriority, string priorityLevel, int? basePriority, DateTimeOffset? startTime, string totalProcessorTime, string userProcessorTime, string state, string waitReason) : base(id, name, resourceType, systemData, kind) { Identifier = identifier; Href = href; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ProxyOnlyResource.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ProxyOnlyResource.cs index 38369c1c5f0df..bbbc5306e5170 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ProxyOnlyResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ProxyOnlyResource.cs @@ -21,10 +21,10 @@ public ProxyOnlyResource() /// Initializes a new instance of ProxyOnlyResource. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. - internal ProxyOnlyResource(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind) : base(id, name, type, systemData) + internal ProxyOnlyResource(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind) : base(id, name, resourceType, systemData) { Kind = kind; } diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PushSettings.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PushSettings.cs index 87865f58f1854..721f802b29508 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PushSettings.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/PushSettings.cs @@ -21,7 +21,7 @@ public PushSettings() /// Initializes a new instance of PushSettings. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Gets or sets a flag indicating whether the Push endpoint is enabled. @@ -33,7 +33,7 @@ public PushSettings() /// Validation should be performed at the PushRequestHandler. /// /// Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint. - internal PushSettings(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, bool? isPushEnabled, string tagWhitelistJson, string tagsRequiringAuth, string dynamicTagsJson) : base(id, name, type, systemData, kind) + internal PushSettings(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, bool? isPushEnabled, string tagWhitelistJson, string tagsRequiringAuth, string dynamicTagsJson) : base(id, name, resourceType, systemData, kind) { IsPushEnabled = isPushEnabled; TagWhitelistJson = tagWhitelistJson; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ReissueCertificateOrderRequest.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ReissueCertificateOrderRequest.cs index 89c9467f20b24..4f9d849ef0a51 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ReissueCertificateOrderRequest.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ReissueCertificateOrderRequest.cs @@ -21,14 +21,14 @@ public ReissueCertificateOrderRequest() /// Initializes a new instance of ReissueCertificateOrderRequest. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Certificate Key Size. /// Delay in hours to revoke existing certificate after the new certificate is issued. /// Csr to be used for re-key operation. /// Should we change the ASC type (from managed private key to external private key and vice versa). - internal ReissueCertificateOrderRequest(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, int? keySize, int? delayExistingRevokeInHours, string csr, bool? isPrivateKeyExternal) : base(id, name, type, systemData, kind) + internal ReissueCertificateOrderRequest(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, int? keySize, int? delayExistingRevokeInHours, string csr, bool? isPrivateKeyExternal) : base(id, name, resourceType, systemData, kind) { KeySize = keySize; DelayExistingRevokeInHours = delayExistingRevokeInHours; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/RelayServiceConnectionEntityData.Serialization.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/RelayServiceConnectionEntityData.Serialization.cs index 9e601c1496b5d..626e66d46bfa5 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/RelayServiceConnectionEntityData.Serialization.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/RelayServiceConnectionEntityData.Serialization.cs @@ -34,11 +34,6 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("entityConnectionString"); writer.WriteStringValue(EntityConnectionString); } - if (Optional.IsDefined(ResourceType)) - { - writer.WritePropertyName("resourceType"); - writer.WriteStringValue(ResourceType); - } if (Optional.IsDefined(ResourceConnectionString)) { writer.WritePropertyName("resourceConnectionString"); @@ -72,7 +67,6 @@ internal static RelayServiceConnectionEntityData DeserializeRelayServiceConnecti SystemData systemData = default; Optional entityName = default; Optional entityConnectionString = default; - Optional resourceType = default; Optional resourceConnectionString = default; Optional hostname = default; Optional port = default; @@ -123,11 +117,6 @@ internal static RelayServiceConnectionEntityData DeserializeRelayServiceConnecti entityConnectionString = property0.Value.GetString(); continue; } - if (property0.NameEquals("resourceType")) - { - resourceType = property0.Value.GetString(); - continue; - } if (property0.NameEquals("resourceConnectionString")) { resourceConnectionString = property0.Value.GetString(); @@ -162,7 +151,7 @@ internal static RelayServiceConnectionEntityData DeserializeRelayServiceConnecti continue; } } - return new RelayServiceConnectionEntityData(id, name, type, systemData, kind.Value, entityName.Value, entityConnectionString.Value, resourceType.Value, resourceConnectionString.Value, hostname.Value, Optional.ToNullable(port), biztalkUri.Value); + return new RelayServiceConnectionEntityData(id, name, type, systemData, kind.Value, entityName.Value, entityConnectionString.Value, resourceConnectionString.Value, hostname.Value, Optional.ToNullable(port), biztalkUri.Value); } } } diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/RemotePrivateEndpointConnection.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/RemotePrivateEndpointConnection.cs index dbfd6062f1fda..9296d2b5bf1e5 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/RemotePrivateEndpointConnection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/RemotePrivateEndpointConnection.cs @@ -24,14 +24,14 @@ public RemotePrivateEndpointConnection() /// Initializes a new instance of RemotePrivateEndpointConnection. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// /// PrivateEndpoint of a remote private endpoint connection. /// The state of a private link connection. /// Private IPAddresses mapped to the remote private endpoint. - internal RemotePrivateEndpointConnection(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string provisioningState, SubResource privateEndpoint, PrivateLinkConnectionState privateLinkServiceConnectionState, IList ipAddresses) : base(id, name, type, systemData, kind) + internal RemotePrivateEndpointConnection(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string provisioningState, SubResource privateEndpoint, PrivateLinkConnectionState privateLinkServiceConnectionState, IList ipAddresses) : base(id, name, resourceType, systemData, kind) { ProvisioningState = provisioningState; PrivateEndpoint = privateEndpoint; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/Rendering.Serialization.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/Rendering.Serialization.cs index d0b2e0ba7bebe..f0799de3873e5 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/Rendering.Serialization.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/Rendering.Serialization.cs @@ -15,10 +15,10 @@ public partial class Rendering : IUtf8JsonSerializable void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(RenderingType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type.Value.ToSerialString()); + writer.WriteStringValue(RenderingType.Value.ToSerialString()); } if (Optional.IsDefined(Title)) { diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/Rendering.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/Rendering.cs index 0404eed448aed..9e9812e010198 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/Rendering.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/Rendering.cs @@ -16,18 +16,18 @@ public Rendering() } /// Initializes a new instance of Rendering. - /// Rendering Type. + /// Rendering Type. /// Title of data. /// Description of the data that will help it be interpreted. - internal Rendering(RenderingType? type, string title, string description) + internal Rendering(RenderingType? renderingType, string title, string description) { - Type = type; + RenderingType = renderingType; Title = title; Description = description; } /// Rendering Type. - public RenderingType? Type { get; set; } + public RenderingType? RenderingType { get; set; } /// Title of data. public string Title { get; set; } /// Description of the data that will help it be interpreted. diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/RenewCertificateOrderRequest.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/RenewCertificateOrderRequest.cs index 3f5a430ef461b..95bf2b8cdc6b7 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/RenewCertificateOrderRequest.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/RenewCertificateOrderRequest.cs @@ -21,13 +21,13 @@ public RenewCertificateOrderRequest() /// Initializes a new instance of RenewCertificateOrderRequest. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Certificate Key Size. /// Csr to be used for re-key operation. /// Should we change the ASC type (from managed private key to external private key and vice versa). - internal RenewCertificateOrderRequest(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, int? keySize, string csr, bool? isPrivateKeyExternal) : base(id, name, type, systemData, kind) + internal RenewCertificateOrderRequest(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, int? keySize, string csr, bool? isPrivateKeyExternal) : base(id, name, resourceType, systemData, kind) { KeySize = keySize; Csr = csr; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ResourceMetricDefinition.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ResourceMetricDefinition.cs index bd49cb9bd2f2d..4390065a82c6a 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ResourceMetricDefinition.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ResourceMetricDefinition.cs @@ -25,7 +25,7 @@ public ResourceMetricDefinition() /// Initializes a new instance of ResourceMetricDefinition. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Unit of the metric. @@ -33,7 +33,7 @@ public ResourceMetricDefinition() /// List of time grains supported for the metric together with retention period. /// Resource URI. /// Resource metric definition properties. - internal ResourceMetricDefinition(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string unit, string primaryAggregationType, IReadOnlyList metricAvailabilities, Uri resourceUri, IReadOnlyDictionary properties) : base(id, name, type, systemData, kind) + internal ResourceMetricDefinition(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string unit, string primaryAggregationType, IReadOnlyList metricAvailabilities, Uri resourceUri, IReadOnlyDictionary properties) : base(id, name, resourceType, systemData, kind) { Unit = unit; PrimaryAggregationType = primaryAggregationType; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ResourceNameAvailabilityRequest.Serialization.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ResourceNameAvailabilityRequest.Serialization.cs index eb66deb3d5d6d..52028d759f78b 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ResourceNameAvailabilityRequest.Serialization.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ResourceNameAvailabilityRequest.Serialization.cs @@ -18,7 +18,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("name"); writer.WriteStringValue(Name); writer.WritePropertyName("type"); - writer.WriteStringValue(Type.ToString()); + writer.WriteStringValue(ResourceType.ToString()); if (Optional.IsDefined(IsFqdn)) { writer.WritePropertyName("isFqdn"); diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ResourceNameAvailabilityRequest.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ResourceNameAvailabilityRequest.cs index 67ec2453e9467..2578dc34ea271 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ResourceNameAvailabilityRequest.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ResourceNameAvailabilityRequest.cs @@ -14,9 +14,9 @@ internal partial class ResourceNameAvailabilityRequest { /// Initializes a new instance of ResourceNameAvailabilityRequest. /// Resource name to verify. - /// Resource type used for verification. + /// Resource type used for verification. /// is null. - public ResourceNameAvailabilityRequest(string name, CheckNameResourceTypes type) + public ResourceNameAvailabilityRequest(string name, CheckNameResourceTypes resourceType) { if (name == null) { @@ -24,13 +24,13 @@ public ResourceNameAvailabilityRequest(string name, CheckNameResourceTypes type) } Name = name; - Type = type; + ResourceType = resourceType; } /// Resource name to verify. public string Name { get; } /// Resource type used for verification. - public CheckNameResourceTypes Type { get; } + public CheckNameResourceTypes ResourceType { get; } /// Is fully qualified domain name. public bool? IsFqdn { get; set; } } diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ResponseMessageEnvelopeRemotePrivateEndpointConnection.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ResponseMessageEnvelopeRemotePrivateEndpointConnection.cs index 783617d60d820..56ce73001630b 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ResponseMessageEnvelopeRemotePrivateEndpointConnection.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ResponseMessageEnvelopeRemotePrivateEndpointConnection.cs @@ -24,7 +24,7 @@ internal ResponseMessageEnvelopeRemotePrivateEndpointConnection() /// Initializes a new instance of ResponseMessageEnvelopeRemotePrivateEndpointConnection. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Geographical region resource belongs to e.g. SouthCentralUS, SouthEastAsia. /// Tags associated with resource. @@ -35,7 +35,7 @@ internal ResponseMessageEnvelopeRemotePrivateEndpointConnection() /// Azure-AsyncOperation Error info. /// MSI resource. /// Logical Availability Zones the service is hosted in. - internal ResponseMessageEnvelopeRemotePrivateEndpointConnection(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string location, IReadOnlyDictionary tags, ArmPlan plan, RemotePrivateEndpointConnection properties, SkuDescription sku, string status, ErrorEntity error, ManagedServiceIdentity identity, IReadOnlyList zones) : base(id, name, type, systemData) + internal ResponseMessageEnvelopeRemotePrivateEndpointConnection(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string location, IReadOnlyDictionary tags, ArmPlan plan, RemotePrivateEndpointConnection properties, SkuDescription sku, string status, ErrorEntity error, ManagedServiceIdentity identity, IReadOnlyList zones) : base(id, name, resourceType, systemData) { Location = location; Tags = tags; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/RestoreRequest.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/RestoreRequest.cs index 8b7516801b146..9f2f8bcfdbf59 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/RestoreRequest.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/RestoreRequest.cs @@ -23,7 +23,7 @@ public RestoreRequest() /// Initializes a new instance of RestoreRequest. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// SAS URL to the container. @@ -40,7 +40,7 @@ public RestoreRequest() /// Operation type. /// <code>true</code> if SiteConfig.ConnectionStrings should be set in new app; otherwise, <code>false</code>. /// App Service Environment name, if needed (only when restoring an app to an App Service Environment). - internal RestoreRequest(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string storageAccountUrl, string blobName, bool? overwrite, string siteName, IList databases, bool? ignoreConflictingHostNames, bool? ignoreDatabases, string appServicePlan, BackupRestoreOperationType? operationType, bool? adjustConnectionStrings, string hostingEnvironment) : base(id, name, type, systemData, kind) + internal RestoreRequest(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string storageAccountUrl, string blobName, bool? overwrite, string siteName, IList databases, bool? ignoreConflictingHostNames, bool? ignoreDatabases, string appServicePlan, BackupRestoreOperationType? operationType, bool? adjustConnectionStrings, string hostingEnvironment) : base(id, name, resourceType, systemData, kind) { StorageAccountUrl = storageAccountUrl; BlobName = blobName; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/SiteAuthSettings.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/SiteAuthSettings.cs index ca39be37c6ce2..5f1046fa981b9 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/SiteAuthSettings.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/SiteAuthSettings.cs @@ -29,7 +29,7 @@ public SiteAuthSettings() /// Initializes a new instance of SiteAuthSettings. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// <code>true</code> if the Authentication / Authorization feature is enabled for the current app; otherwise, <code>false</code>. @@ -186,7 +186,7 @@ public SiteAuthSettings() /// The ConfigVersion of the Authentication / Authorization feature in use for the current app. /// The setting in this value can control the behavior of the control plane for Authentication / Authorization. /// - internal SiteAuthSettings(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, bool? enabled, string runtimeVersion, UnauthenticatedClientAction? unauthenticatedClientAction, bool? tokenStoreEnabled, IList allowedExternalRedirectUrls, BuiltInAuthenticationProvider? defaultProvider, double? tokenRefreshExtensionHours, string clientId, string clientSecret, string clientSecretSettingName, string clientSecretCertificateThumbprint, string issuer, bool? validateIssuer, IList allowedAudiences, IList additionalLoginParams, string aadClaimsAuthorization, string googleClientId, string googleClientSecret, string googleClientSecretSettingName, IList googleOAuthScopes, string facebookAppId, string facebookAppSecret, string facebookAppSecretSettingName, IList facebookOAuthScopes, string gitHubClientId, string gitHubClientSecret, string gitHubClientSecretSettingName, IList gitHubOAuthScopes, string twitterConsumerKey, string twitterConsumerSecret, string twitterConsumerSecretSettingName, string microsoftAccountClientId, string microsoftAccountClientSecret, string microsoftAccountClientSecretSettingName, IList microsoftAccountOAuthScopes, string isAuthFromFile, string authFilePath, string configVersion) : base(id, name, type, systemData, kind) + internal SiteAuthSettings(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, bool? enabled, string runtimeVersion, UnauthenticatedClientAction? unauthenticatedClientAction, bool? tokenStoreEnabled, IList allowedExternalRedirectUrls, BuiltInAuthenticationProvider? defaultProvider, double? tokenRefreshExtensionHours, string clientId, string clientSecret, string clientSecretSettingName, string clientSecretCertificateThumbprint, string issuer, bool? validateIssuer, IList allowedAudiences, IList additionalLoginParams, string aadClaimsAuthorization, string googleClientId, string googleClientSecret, string googleClientSecretSettingName, IList googleOAuthScopes, string facebookAppId, string facebookAppSecret, string facebookAppSecretSettingName, IList facebookOAuthScopes, string gitHubClientId, string gitHubClientSecret, string gitHubClientSecretSettingName, IList gitHubOAuthScopes, string twitterConsumerKey, string twitterConsumerSecret, string twitterConsumerSecretSettingName, string microsoftAccountClientId, string microsoftAccountClientSecret, string microsoftAccountClientSecretSettingName, IList microsoftAccountOAuthScopes, string isAuthFromFile, string authFilePath, string configVersion) : base(id, name, resourceType, systemData, kind) { Enabled = enabled; RuntimeVersion = runtimeVersion; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/SiteAuthSettingsV2.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/SiteAuthSettingsV2.cs index 8ebcfce1db419..1e38bc29c7024 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/SiteAuthSettingsV2.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/SiteAuthSettingsV2.cs @@ -21,7 +21,7 @@ public SiteAuthSettingsV2() /// Initializes a new instance of SiteAuthSettingsV2. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// The configuration settings of the platform of App Service Authentication/Authorization. @@ -29,7 +29,7 @@ public SiteAuthSettingsV2() /// The configuration settings of each of the identity providers used to configure App Service Authentication/Authorization. /// The configuration settings of the login flow of users using App Service Authentication/Authorization. /// The configuration settings of the HTTP requests for authentication and authorization requests made against App Service Authentication/Authorization. - internal SiteAuthSettingsV2(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, AuthPlatform platform, GlobalValidation globalValidation, IdentityProviders identityProviders, LoginInformation login, HttpSettings httpSettings) : base(id, name, type, systemData, kind) + internal SiteAuthSettingsV2(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, AuthPlatform platform, GlobalValidation globalValidation, IdentityProviders identityProviders, LoginInformation login, HttpSettings httpSettings) : base(id, name, resourceType, systemData, kind) { Platform = platform; GlobalValidation = globalValidation; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/SiteConfigurationSnapshotInfo.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/SiteConfigurationSnapshotInfo.cs index 6ab1d83398de5..9914c13422dd8 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/SiteConfigurationSnapshotInfo.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/SiteConfigurationSnapshotInfo.cs @@ -22,12 +22,12 @@ public SiteConfigurationSnapshotInfo() /// Initializes a new instance of SiteConfigurationSnapshotInfo. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// The time the snapshot was taken. /// The id of the snapshot. - internal SiteConfigurationSnapshotInfo(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, DateTimeOffset? time, int? snapshotId) : base(id, name, type, systemData, kind) + internal SiteConfigurationSnapshotInfo(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, DateTimeOffset? time, int? snapshotId) : base(id, name, resourceType, systemData, kind) { Time = time; SnapshotId = snapshotId; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/SitePatchResource.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/SitePatchResource.cs index 6ed85cc17a464..a64b68b154cac 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/SitePatchResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/SitePatchResource.cs @@ -27,7 +27,7 @@ public SitePatchResource() /// Initializes a new instance of SitePatchResource. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Managed service identity. @@ -92,7 +92,7 @@ public SitePatchResource() /// Azure Resource Manager ID of the Virtual network and subnet to be joined by Regional VNET Integration. /// This must be of the form /subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName} /// - internal SitePatchResource(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, ManagedServiceIdentity identity, string state, IReadOnlyList hostNames, string repositorySiteName, UsageState? usageState, bool? enabled, IReadOnlyList enabledHostNames, SiteAvailabilityState? availabilityState, IList hostNameSslStates, string serverFarmId, bool? reserved, bool? isXenon, bool? hyperV, DateTimeOffset? lastModifiedTimeUtc, SiteConfigProperties siteConfig, IReadOnlyList trafficManagerHostNames, bool? scmSiteAlsoStopped, string targetSwapSlot, HostingEnvironmentProfile hostingEnvironmentProfile, bool? clientAffinityEnabled, bool? clientCertEnabled, ClientCertMode? clientCertMode, string clientCertExclusionPaths, bool? hostNamesDisabled, string customDomainVerificationId, string outboundIpAddresses, string possibleOutboundIpAddresses, int? containerSize, int? dailyMemoryTimeQuota, DateTimeOffset? suspendedTill, int? maxNumberOfWorkers, CloningInfo cloningInfo, string resourceGroup, bool? isDefaultContainer, string defaultHostName, SlotSwapStatus slotSwapStatus, bool? httpsOnly, RedundancyMode? redundancyMode, Guid? inProgressOperationId, bool? storageAccountRequired, string keyVaultReferenceIdentity, string virtualNetworkSubnetId) : base(id, name, type, systemData, kind) + internal SitePatchResource(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, ManagedServiceIdentity identity, string state, IReadOnlyList hostNames, string repositorySiteName, UsageState? usageState, bool? enabled, IReadOnlyList enabledHostNames, SiteAvailabilityState? availabilityState, IList hostNameSslStates, string serverFarmId, bool? reserved, bool? isXenon, bool? hyperV, DateTimeOffset? lastModifiedTimeUtc, SiteConfigProperties siteConfig, IReadOnlyList trafficManagerHostNames, bool? scmSiteAlsoStopped, string targetSwapSlot, HostingEnvironmentProfile hostingEnvironmentProfile, bool? clientAffinityEnabled, bool? clientCertEnabled, ClientCertMode? clientCertMode, string clientCertExclusionPaths, bool? hostNamesDisabled, string customDomainVerificationId, string outboundIpAddresses, string possibleOutboundIpAddresses, int? containerSize, int? dailyMemoryTimeQuota, DateTimeOffset? suspendedTill, int? maxNumberOfWorkers, CloningInfo cloningInfo, string resourceGroup, bool? isDefaultContainer, string defaultHostName, SlotSwapStatus slotSwapStatus, bool? httpsOnly, RedundancyMode? redundancyMode, Guid? inProgressOperationId, bool? storageAccountRequired, string keyVaultReferenceIdentity, string virtualNetworkSubnetId) : base(id, name, resourceType, systemData, kind) { Identity = identity; State = state; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/SitePhpErrorLogFlag.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/SitePhpErrorLogFlag.cs index 3b3d3cc9d9416..dca18d57978da 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/SitePhpErrorLogFlag.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/SitePhpErrorLogFlag.cs @@ -21,14 +21,14 @@ public SitePhpErrorLogFlag() /// Initializes a new instance of SitePhpErrorLogFlag. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Local log_errors setting. /// Master log_errors setting. /// Local log_errors_max_len setting. /// Master log_errors_max_len setting. - internal SitePhpErrorLogFlag(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string localLogErrors, string masterLogErrors, string localLogErrorsMaxLength, string masterLogErrorsMaxLength) : base(id, name, type, systemData, kind) + internal SitePhpErrorLogFlag(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string localLogErrors, string masterLogErrors, string localLogErrorsMaxLength, string masterLogErrorsMaxLength) : base(id, name, resourceType, systemData, kind) { LocalLogErrors = localLogErrors; MasterLogErrors = masterLogErrors; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/SlotDifference.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/SlotDifference.cs index 1851e621f113c..47b8c457dfab8 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/SlotDifference.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/SlotDifference.cs @@ -21,7 +21,7 @@ public SlotDifference() /// Initializes a new instance of SlotDifference. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Level of the difference: Information, Warning or Error. @@ -31,7 +31,7 @@ public SlotDifference() /// Value of the setting in the current slot. /// Value of the setting in the target slot. /// Description of the setting difference. - internal SlotDifference(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string level, string settingType, string diffRule, string settingName, string valueInCurrentSlot, string valueInTargetSlot, string description) : base(id, name, type, systemData, kind) + internal SlotDifference(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string level, string settingType, string diffRule, string settingName, string valueInCurrentSlot, string valueInTargetSlot, string description) : base(id, name, resourceType, systemData, kind) { Level = level; SettingType = settingType; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/Snapshot.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/Snapshot.cs index 00855d1e19ec0..c15e4794d0acb 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/Snapshot.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/Snapshot.cs @@ -21,11 +21,11 @@ public Snapshot() /// Initializes a new instance of Snapshot. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// The time the snapshot was taken. - internal Snapshot(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string time) : base(id, name, type, systemData, kind) + internal Snapshot(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string time) : base(id, name, resourceType, systemData, kind) { Time = time; } diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/SnapshotRestoreRequest.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/SnapshotRestoreRequest.cs index f4a7509d2ac99..9d71dc353e0a9 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/SnapshotRestoreRequest.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/SnapshotRestoreRequest.cs @@ -21,7 +21,7 @@ public SnapshotRestoreRequest() /// Initializes a new instance of SnapshotRestoreRequest. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Point in time in which the app restore should be done, formatted as a DateTime string. @@ -36,7 +36,7 @@ public SnapshotRestoreRequest() /// This setting is only necessary when RecoverConfiguration is enabled. /// /// If true, the snapshot is retrieved from DRSecondary endpoint. - internal SnapshotRestoreRequest(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string snapshotTime, SnapshotRecoverySource recoverySource, bool? overwrite, bool? recoverConfiguration, bool? ignoreConflictingHostNames, bool? useDRSecondary) : base(id, name, type, systemData, kind) + internal SnapshotRestoreRequest(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string snapshotTime, SnapshotRecoverySource recoverySource, bool? overwrite, bool? recoverConfiguration, bool? ignoreConflictingHostNames, bool? useDRSecondary) : base(id, name, resourceType, systemData, kind) { SnapshotTime = snapshotTime; RecoverySource = recoverySource; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/Solution.Serialization.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/Solution.Serialization.cs index 25a52483016d4..27cfd33d11ca7 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/Solution.Serialization.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/Solution.Serialization.cs @@ -36,10 +36,10 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("description"); writer.WriteStringValue(Description); } - if (Optional.IsDefined(Type)) + if (Optional.IsDefined(SolutionType)) { writer.WritePropertyName("type"); - writer.WriteStringValue(Type.Value.ToSerialString()); + writer.WriteStringValue(SolutionType.Value.ToSerialString()); } if (Optional.IsCollectionDefined(Data)) { diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/Solution.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/Solution.cs index 81d9fde3e233e..5e8772848a170 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/Solution.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/Solution.cs @@ -25,16 +25,16 @@ public Solution() /// Display Name of the solution. /// Order of the solution. /// Description of the solution. - /// Type of Solution. + /// Type of Solution. /// Solution Data. /// Solution Metadata. - internal Solution(double? id, string displayName, double? order, string description, SolutionType? type, IList> data, IList> metadata) + internal Solution(double? id, string displayName, double? order, string description, SolutionType? solutionType, IList> data, IList> metadata) { Id = id; DisplayName = displayName; Order = order; Description = description; - Type = type; + SolutionType = solutionType; Data = data; Metadata = metadata; } @@ -48,7 +48,7 @@ internal Solution(double? id, string displayName, double? order, string descript /// Description of the solution. public string Description { get; set; } /// Type of Solution. - public SolutionType? Type { get; set; } + public SolutionType? SolutionType { get; set; } /// Solution Data. public IList> Data { get; } /// Solution Metadata. diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StaticSiteCustomDomainRequestPropertiesARMResource.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StaticSiteCustomDomainRequestPropertiesARMResource.cs index 87d70bf8a4265..509bbd5d85915 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StaticSiteCustomDomainRequestPropertiesARMResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StaticSiteCustomDomainRequestPropertiesARMResource.cs @@ -21,11 +21,11 @@ public StaticSiteCustomDomainRequestPropertiesARMResource() /// Initializes a new instance of StaticSiteCustomDomainRequestPropertiesARMResource. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Validation method for adding a custom domain. - internal StaticSiteCustomDomainRequestPropertiesARMResource(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string validationMethod) : base(id, name, type, systemData, kind) + internal StaticSiteCustomDomainRequestPropertiesARMResource(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string validationMethod) : base(id, name, resourceType, systemData, kind) { ValidationMethod = validationMethod; } diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StaticSiteFunctionOverviewARMResource.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StaticSiteFunctionOverviewARMResource.cs index a9f2f51f7df76..d3c9b195fe7f8 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StaticSiteFunctionOverviewARMResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StaticSiteFunctionOverviewARMResource.cs @@ -21,12 +21,12 @@ public StaticSiteFunctionOverviewARMResource() /// Initializes a new instance of StaticSiteFunctionOverviewARMResource. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// The name for the function. /// The trigger type of the function. - internal StaticSiteFunctionOverviewARMResource(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string functionName, TriggerTypes? triggerType) : base(id, name, type, systemData, kind) + internal StaticSiteFunctionOverviewARMResource(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string functionName, TriggerTypes? triggerType) : base(id, name, resourceType, systemData, kind) { FunctionName = functionName; TriggerType = triggerType; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StaticSiteResetPropertiesARMResource.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StaticSiteResetPropertiesARMResource.cs index 99d03e2e9f30d..801a20353ecb2 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StaticSiteResetPropertiesARMResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StaticSiteResetPropertiesARMResource.cs @@ -21,12 +21,12 @@ public StaticSiteResetPropertiesARMResource() /// Initializes a new instance of StaticSiteResetPropertiesARMResource. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// The token which proves admin privileges to the repository. /// Determines whether the repository should be updated with the new properties. - internal StaticSiteResetPropertiesARMResource(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string repositoryToken, bool? shouldUpdateRepository) : base(id, name, type, systemData, kind) + internal StaticSiteResetPropertiesARMResource(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string repositoryToken, bool? shouldUpdateRepository) : base(id, name, resourceType, systemData, kind) { RepositoryToken = repositoryToken; ShouldUpdateRepository = shouldUpdateRepository; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StaticSiteUserARMResource.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StaticSiteUserARMResource.cs index 67cd8c632cd50..82a8ed6265532 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StaticSiteUserARMResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StaticSiteUserARMResource.cs @@ -21,14 +21,14 @@ public StaticSiteUserARMResource() /// Initializes a new instance of StaticSiteUserARMResource. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// The identity provider for the static site user. /// The user id for the static site user. /// The display name for the static site user. /// The roles for the static site user, in free-form string format. - internal StaticSiteUserARMResource(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string provider, string userId, string displayName, string roles) : base(id, name, type, systemData, kind) + internal StaticSiteUserARMResource(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string provider, string userId, string displayName, string roles) : base(id, name, resourceType, systemData, kind) { Provider = provider; UserId = userId; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StaticSiteUserInvitationRequestResource.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StaticSiteUserInvitationRequestResource.cs index aa232be68526e..a5aa150c7a33e 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StaticSiteUserInvitationRequestResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StaticSiteUserInvitationRequestResource.cs @@ -21,7 +21,7 @@ public StaticSiteUserInvitationRequestResource() /// Initializes a new instance of StaticSiteUserInvitationRequestResource. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// The domain name for the static site custom domain. @@ -29,7 +29,7 @@ public StaticSiteUserInvitationRequestResource() /// The user id for the static site user. /// The roles for the static site user, in free-form string format. /// The number of hours the sas token stays valid. - internal StaticSiteUserInvitationRequestResource(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string domain, string provider, string userDetails, string roles, int? numHoursToExpiration) : base(id, name, type, systemData, kind) + internal StaticSiteUserInvitationRequestResource(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string domain, string provider, string userDetails, string roles, int? numHoursToExpiration) : base(id, name, resourceType, systemData, kind) { Domain = domain; Provider = provider; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StaticSiteUserInvitationResponseResource.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StaticSiteUserInvitationResponseResource.cs index 0a8027a171736..ce57243388bb9 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StaticSiteUserInvitationResponseResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StaticSiteUserInvitationResponseResource.cs @@ -22,12 +22,12 @@ public StaticSiteUserInvitationResponseResource() /// Initializes a new instance of StaticSiteUserInvitationResponseResource. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// The expiration time of the invitation. /// The url for the invitation link. - internal StaticSiteUserInvitationResponseResource(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, DateTimeOffset? expiresOn, string invitationUrl) : base(id, name, type, systemData, kind) + internal StaticSiteUserInvitationResponseResource(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, DateTimeOffset? expiresOn, string invitationUrl) : base(id, name, resourceType, systemData, kind) { ExpiresOn = expiresOn; InvitationUrl = invitationUrl; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StaticSiteUserProvidedFunctionApp.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StaticSiteUserProvidedFunctionApp.cs index cfd8b73a8822d..ea9aa04fc754d 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StaticSiteUserProvidedFunctionApp.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StaticSiteUserProvidedFunctionApp.cs @@ -22,13 +22,13 @@ public StaticSiteUserProvidedFunctionApp() /// Initializes a new instance of StaticSiteUserProvidedFunctionApp. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// The resource id of the function app registered with the static site. /// The region of the function app registered with the static site. /// The date and time on which the function app was registered with the static site. - internal StaticSiteUserProvidedFunctionApp(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string functionAppResourceId, string functionAppRegion, DateTimeOffset? createdOn) : base(id, name, type, systemData, kind) + internal StaticSiteUserProvidedFunctionApp(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string functionAppResourceId, string functionAppRegion, DateTimeOffset? createdOn) : base(id, name, resourceType, systemData, kind) { FunctionAppResourceId = functionAppResourceId; FunctionAppRegion = functionAppRegion; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StaticSiteZipDeploymentARMResource.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StaticSiteZipDeploymentARMResource.cs index b1133967986c5..d50420c09c7ff 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StaticSiteZipDeploymentARMResource.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StaticSiteZipDeploymentARMResource.cs @@ -21,7 +21,7 @@ public StaticSiteZipDeploymentARMResource() /// Initializes a new instance of StaticSiteZipDeploymentARMResource. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// URL for the zipped app content. @@ -29,7 +29,7 @@ public StaticSiteZipDeploymentARMResource() /// A title to label the deployment. /// The provider submitting this deployment. /// The language of the api content, if it exists. - internal StaticSiteZipDeploymentARMResource(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string appZipUrl, string apiZipUrl, string deploymentTitle, string provider, string functionLanguage) : base(id, name, type, systemData, kind) + internal StaticSiteZipDeploymentARMResource(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string appZipUrl, string apiZipUrl, string deploymentTitle, string provider, string functionLanguage) : base(id, name, resourceType, systemData, kind) { AppZipUrl = appZipUrl; ApiZipUrl = apiZipUrl; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StaticSitesWorkflowPreview.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StaticSitesWorkflowPreview.cs index e23b2aa959570..11751d5297306 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StaticSitesWorkflowPreview.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StaticSitesWorkflowPreview.cs @@ -21,12 +21,12 @@ public StaticSitesWorkflowPreview() /// Initializes a new instance of StaticSitesWorkflowPreview. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// The path for the workflow file to be generated. /// The contents for the workflow file to be generated. - internal StaticSitesWorkflowPreview(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string path, string contents) : base(id, name, type, systemData, kind) + internal StaticSitesWorkflowPreview(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string path, string contents) : base(id, name, resourceType, systemData, kind) { Path = path; Contents = contents; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StaticSitesWorkflowPreviewRequest.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StaticSitesWorkflowPreviewRequest.cs index d4c1fcdddef05..dfdeafdd95131 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StaticSitesWorkflowPreviewRequest.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StaticSitesWorkflowPreviewRequest.cs @@ -21,13 +21,13 @@ public StaticSitesWorkflowPreviewRequest() /// Initializes a new instance of StaticSitesWorkflowPreviewRequest. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// URL for the repository of the static site. /// The target branch in the repository. /// Build properties to configure on the repository. - internal StaticSitesWorkflowPreviewRequest(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string repositoryUrl, string branch, StaticSiteBuildProperties buildProperties) : base(id, name, type, systemData, kind) + internal StaticSitesWorkflowPreviewRequest(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string repositoryUrl, string branch, StaticSiteBuildProperties buildProperties) : base(id, name, resourceType, systemData, kind) { RepositoryUrl = repositoryUrl; Branch = branch; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StorageMigrationOptions.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StorageMigrationOptions.cs index e47f5703d3d9a..df4fa0ad6a696 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StorageMigrationOptions.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StorageMigrationOptions.cs @@ -21,14 +21,14 @@ public StorageMigrationOptions() /// Initializes a new instance of StorageMigrationOptions. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// AzureFiles connection string. /// AzureFiles share. /// <code>true</code>if the app should be switched over; otherwise, <code>false</code>. /// <code>true</code> if the app should be read only during copy operation; otherwise, <code>false</code>. - internal StorageMigrationOptions(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string azurefilesConnectionString, string azurefilesShare, bool? switchSiteAfterMigration, bool? blockWriteAccessToSite) : base(id, name, type, systemData, kind) + internal StorageMigrationOptions(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string azurefilesConnectionString, string azurefilesShare, bool? switchSiteAfterMigration, bool? blockWriteAccessToSite) : base(id, name, resourceType, systemData, kind) { AzurefilesConnectionString = azurefilesConnectionString; AzurefilesShare = azurefilesShare; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StorageMigrationResponse.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StorageMigrationResponse.cs index 81345ba01c326..1d403370d8ffd 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StorageMigrationResponse.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StorageMigrationResponse.cs @@ -21,11 +21,11 @@ public StorageMigrationResponse() /// Initializes a new instance of StorageMigrationResponse. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// When server starts the migration process, it will return an operation ID identifying that particular migration operation. - internal StorageMigrationResponse(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string operationId) : base(id, name, type, systemData, kind) + internal StorageMigrationResponse(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string operationId) : base(id, name, resourceType, systemData, kind) { OperationId = operationId; } diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StringDictionary.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StringDictionary.cs index 6ca46a3365329..f21420bfd3dd1 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StringDictionary.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StringDictionary.cs @@ -23,11 +23,11 @@ public StringDictionary() /// Initializes a new instance of StringDictionary. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Settings. - internal StringDictionary(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, IDictionary properties) : base(id, name, type, systemData, kind) + internal StringDictionary(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, IDictionary properties) : base(id, name, resourceType, systemData, kind) { Properties = properties; } diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StringList.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StringList.cs index b5bdb7c627c25..0586449f5ed3a 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StringList.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/StringList.cs @@ -23,11 +23,11 @@ public StringList() /// Initializes a new instance of StringList. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// List of string resources. - internal StringList(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, IList properties) : base(id, name, type, systemData, kind) + internal StringList(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, IList properties) : base(id, name, resourceType, systemData, kind) { Properties = properties; } diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ValidateRequest.Serialization.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ValidateRequest.Serialization.cs index 133fa5c32d6b7..74e3ac56cf2fc 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ValidateRequest.Serialization.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ValidateRequest.Serialization.cs @@ -18,7 +18,7 @@ void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) writer.WritePropertyName("name"); writer.WriteStringValue(Name); writer.WritePropertyName("type"); - writer.WriteStringValue(Type.ToString()); + writer.WriteStringValue(ValidateResourceType.ToString()); writer.WritePropertyName("location"); writer.WriteStringValue(Location); writer.WritePropertyName("properties"); diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ValidateRequest.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ValidateRequest.cs index f5964cfcec55b..fe497c3bb60c1 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ValidateRequest.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/ValidateRequest.cs @@ -14,10 +14,10 @@ public partial class ValidateRequest { /// Initializes a new instance of ValidateRequest. /// Resource name to verify. - /// Resource type used for verification. + /// Resource type used for verification. /// Expected location of the resource. /// or is null. - public ValidateRequest(string name, ValidateResourceTypes type, string location) + public ValidateRequest(string name, ValidateResourceTypes validateResourceType, string location) { if (name == null) { @@ -29,14 +29,14 @@ public ValidateRequest(string name, ValidateResourceTypes type, string location) } Name = name; - Type = type; + ValidateResourceType = validateResourceType; Location = location; } /// Resource name to verify. public string Name { get; } /// Resource type used for verification. - public ValidateResourceTypes Type { get; } + public ValidateResourceTypes ValidateResourceType { get; } /// Expected location of the resource. public string Location { get; } /// ARM resource ID of an App Service plan that would host the app. diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/VirtualNetworkProfile.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/VirtualNetworkProfile.cs index f28297716ec4a..46c0659c40921 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/VirtualNetworkProfile.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/VirtualNetworkProfile.cs @@ -28,13 +28,13 @@ public VirtualNetworkProfile(string id) /// Initializes a new instance of VirtualNetworkProfile. /// Resource id of the Virtual Network. /// Name of the Virtual Network (read-only). - /// Resource type of the Virtual Network (read-only). + /// Resource type of the Virtual Network (read-only). /// Subnet within the Virtual Network. - internal VirtualNetworkProfile(string id, string name, string type, string subnet) + internal VirtualNetworkProfile(string id, string name, string resourceType, string subnet) { Id = id; Name = name; - Type = type; + ResourceType = resourceType; Subnet = subnet; } @@ -43,7 +43,7 @@ internal VirtualNetworkProfile(string id, string name, string type, string subne /// Name of the Virtual Network (read-only). public string Name { get; } /// Resource type of the Virtual Network (read-only). - public string Type { get; } + public string ResourceType { get; } /// Subnet within the Virtual Network. public string Subnet { get; set; } } diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/VnetParameters.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/VnetParameters.cs index a3e02a266eafb..9219a42dd1ac2 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/VnetParameters.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/VnetParameters.cs @@ -21,14 +21,14 @@ public VnetParameters() /// Initializes a new instance of VnetParameters. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// The Resource Group of the VNET to be validated. /// The name of the VNET to be validated. /// The subnet name to be validated. /// The ARM Resource ID of the subnet to validate. - internal VnetParameters(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string vnetResourceGroup, string vnetName, string vnetSubnetName, string subnetResourceId) : base(id, name, type, systemData, kind) + internal VnetParameters(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string vnetResourceGroup, string vnetName, string vnetSubnetName, string subnetResourceId) : base(id, name, resourceType, systemData, kind) { VnetResourceGroup = vnetResourceGroup; VnetName = vnetName; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/VnetRoute.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/VnetRoute.cs index a97d083468bb9..2d47d5ca170b6 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/VnetRoute.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/VnetRoute.cs @@ -21,7 +21,7 @@ public VnetRoute() /// Initializes a new instance of VnetRoute. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// The starting address for this route. This may also include a CIDR notation, in which case the end address must not be specified. @@ -34,7 +34,7 @@ public VnetRoute() /// /// These values will be used for syncing an app's routes with those from a Virtual Network. /// - internal VnetRoute(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string startAddress, string endAddress, RouteType? routeType) : base(id, name, type, systemData, kind) + internal VnetRoute(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string startAddress, string endAddress, RouteType? routeType) : base(id, name, resourceType, systemData, kind) { StartAddress = startAddress; EndAddress = endAddress; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/VnetValidationFailureDetails.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/VnetValidationFailureDetails.cs index f2a3d186453ed..ff4dce825faa5 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/VnetValidationFailureDetails.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/VnetValidationFailureDetails.cs @@ -24,14 +24,14 @@ public VnetValidationFailureDetails() /// Initializes a new instance of VnetValidationFailureDetails. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Text describing the validation outcome. /// A flag describing whether or not validation failed. /// A list of tests that failed in the validation. /// A list of warnings generated during validation. - internal VnetValidationFailureDetails(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string message, bool? failed, IList failedTests, IList warnings) : base(id, name, type, systemData, kind) + internal VnetValidationFailureDetails(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string message, bool? failed, IList failedTests, IList warnings) : base(id, name, resourceType, systemData, kind) { Message = message; Failed = failed; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/VnetValidationTestFailure.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/VnetValidationTestFailure.cs index a6a8c8cabe93b..ace6efdb313e3 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/VnetValidationTestFailure.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/VnetValidationTestFailure.cs @@ -21,12 +21,12 @@ public VnetValidationTestFailure() /// Initializes a new instance of VnetValidationTestFailure. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// The name of the test that failed. /// The details of what caused the failure, e.g. the blocking rule name, etc. - internal VnetValidationTestFailure(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string testName, string details) : base(id, name, type, systemData, kind) + internal VnetValidationTestFailure(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string testName, string details) : base(id, name, resourceType, systemData, kind) { TestName = testName; Details = details; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/WebAppStack.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/WebAppStack.cs index eda9a9e77c816..f0a9128c95b13 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/WebAppStack.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/WebAppStack.cs @@ -23,7 +23,7 @@ public WebAppStack() /// Initializes a new instance of WebAppStack. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Web App stack location. @@ -31,7 +31,7 @@ public WebAppStack() /// Web App stack name. /// List of major versions available. /// Web App stack preferred OS. - internal WebAppStack(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string location, string displayText, string value, IReadOnlyList majorVersions, StackPreferredOs? preferredOs) : base(id, name, type, systemData, kind) + internal WebAppStack(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string location, string displayText, string value, IReadOnlyList majorVersions, StackPreferredOs? preferredOs) : base(id, name, resourceType, systemData, kind) { Location = location; DisplayText = displayText; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/NetworkFeaturesData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/NetworkFeaturesData.cs index 3d5d3c326a30d..292e8e95884fc 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/NetworkFeaturesData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/NetworkFeaturesData.cs @@ -25,14 +25,14 @@ public NetworkFeaturesData() /// Initializes a new instance of NetworkFeaturesData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// The Virtual Network name. /// The Virtual Network summary view. /// The Hybrid Connections summary view. /// The Hybrid Connection V2 (Service Bus) view. - internal NetworkFeaturesData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string virtualNetworkName, VnetInfo virtualNetworkConnection, IReadOnlyList hybridConnections, IReadOnlyList hybridConnectionsV2) : base(id, name, type, systemData, kind) + internal NetworkFeaturesData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string virtualNetworkName, VnetInfo virtualNetworkConnection, IReadOnlyList hybridConnections, IReadOnlyList hybridConnectionsV2) : base(id, name, resourceType, systemData, kind) { VirtualNetworkName = virtualNetworkName; VirtualNetworkConnection = virtualNetworkConnection; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/PremierAddOnData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/PremierAddOnData.cs index 468bfb5827d25..4b146326aa6e8 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/PremierAddOnData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/PremierAddOnData.cs @@ -24,7 +24,7 @@ public PremierAddOnData(AzureLocation location) : base(location) /// Initializes a new instance of PremierAddOnData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -34,7 +34,7 @@ public PremierAddOnData(AzureLocation location) : base(location) /// Premier add on Vendor. /// Premier add on Marketplace publisher. /// Premier add on Marketplace offer. - internal PremierAddOnData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, string kind, string sku, string product, string vendor, string marketplacePublisher, string marketplaceOffer) : base(id, name, type, systemData, tags, location, kind) + internal PremierAddOnData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string kind, string sku, string product, string vendor, string marketplacePublisher, string marketplaceOffer) : base(id, name, resourceType, systemData, tags, location, kind) { Sku = sku; Product = product; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/PrivateAccessData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/PrivateAccessData.cs index 8e03412c6618a..14785ac9a1b7a 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/PrivateAccessData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/PrivateAccessData.cs @@ -24,12 +24,12 @@ public PrivateAccessData() /// Initializes a new instance of PrivateAccessData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Whether private access is enabled or not. /// The Virtual Networks (and subnets) allowed to access the site privately. - internal PrivateAccessData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, bool? enabled, IList virtualNetworks) : base(id, name, type, systemData, kind) + internal PrivateAccessData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, bool? enabled, IList virtualNetworks) : base(id, name, resourceType, systemData, kind) { Enabled = enabled; VirtualNetworks = virtualNetworks; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/ProcessInfoData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/ProcessInfoData.cs index ef65683ee74ce..e9f7a671a7239 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/ProcessInfoData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/ProcessInfoData.cs @@ -29,7 +29,7 @@ public ProcessInfoData() /// Initializes a new instance of ProcessInfoData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// ARM Identifier for deployment. @@ -68,7 +68,7 @@ public ProcessInfoData() /// Is this the SCM site?. /// Is this a Web Job?. /// Description of process. - internal ProcessInfoData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, int? identifier, string deploymentName, string href, string minidump, bool? isProfileRunning, bool? isIisProfileRunning, double? iisProfileTimeoutInSeconds, string parent, IList children, IList threads, IList openFileHandles, IList modules, string fileName, string commandLine, string userName, int? handleCount, int? moduleCount, int? threadCount, DateTimeOffset? startTime, string totalCpuTime, string userCpuTime, string privilegedCpuTime, long? workingSet, long? peakWorkingSet, long? privateMemory, long? virtualMemory, long? peakVirtualMemory, long? pagedSystemMemory, long? nonPagedSystemMemory, long? pagedMemory, long? peakPagedMemory, DateTimeOffset? timeStamp, IDictionary environmentVariables, bool? isScmSite, bool? isWebjob, string description) : base(id, name, type, systemData, kind) + internal ProcessInfoData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, int? identifier, string deploymentName, string href, string minidump, bool? isProfileRunning, bool? isIisProfileRunning, double? iisProfileTimeoutInSeconds, string parent, IList children, IList threads, IList openFileHandles, IList modules, string fileName, string commandLine, string userName, int? handleCount, int? moduleCount, int? threadCount, DateTimeOffset? startTime, string totalCpuTime, string userCpuTime, string privilegedCpuTime, long? workingSet, long? peakWorkingSet, long? privateMemory, long? virtualMemory, long? peakVirtualMemory, long? pagedSystemMemory, long? nonPagedSystemMemory, long? pagedMemory, long? peakPagedMemory, DateTimeOffset? timeStamp, IDictionary environmentVariables, bool? isScmSite, bool? isWebjob, string description) : base(id, name, resourceType, systemData, kind) { Identifier = identifier; DeploymentName = deploymentName; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/ProcessModuleInfoData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/ProcessModuleInfoData.cs index 565a00d633849..15799c7290eaa 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/ProcessModuleInfoData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/ProcessModuleInfoData.cs @@ -22,7 +22,7 @@ public ProcessModuleInfoData() /// Initializes a new instance of ProcessModuleInfoData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Base address. Used as module identifier in ARM resource URI. @@ -36,7 +36,7 @@ public ProcessModuleInfoData() /// Product version. /// Is debug?. /// Module language (locale). - internal ProcessModuleInfoData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string baseAddress, string fileName, string href, string filePath, int? moduleMemorySize, string fileVersion, string fileDescription, string product, string productVersion, bool? isDebug, string language) : base(id, name, type, systemData, kind) + internal ProcessModuleInfoData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string baseAddress, string fileName, string href, string filePath, int? moduleMemorySize, string fileVersion, string fileDescription, string product, string productVersion, bool? isDebug, string language) : base(id, name, resourceType, systemData, kind) { BaseAddress = baseAddress; FileName = fileName; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/PublicCertificateData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/PublicCertificateData.cs index 92876ce1b15b2..75636eee9d954 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/PublicCertificateData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/PublicCertificateData.cs @@ -23,13 +23,13 @@ public PublicCertificateData() /// Initializes a new instance of PublicCertificateData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Public Certificate byte array. /// Public Certificate Location. /// Certificate Thumbprint. - internal PublicCertificateData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, byte[] blob, PublicCertificateLocation? publicCertificateLocation, string thumbprint) : base(id, name, type, systemData, kind) + internal PublicCertificateData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, byte[] blob, PublicCertificateLocation? publicCertificateLocation, string thumbprint) : base(id, name, resourceType, systemData, kind) { Blob = blob; PublicCertificateLocation = publicCertificateLocation; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/RecommendationRuleData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/RecommendationRuleData.cs index 02b2f2a9fe450..8b9f6afe25544 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/RecommendationRuleData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/RecommendationRuleData.cs @@ -25,7 +25,7 @@ public RecommendationRuleData() /// Initializes a new instance of RecommendationRuleData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Unique name of the rule. @@ -44,7 +44,7 @@ public RecommendationRuleData() /// Extension name of the portal if exists. Applicable to dynamic rule only. /// Deep link to a blade on the portal. Applicable to dynamic rule only. /// Forward link to an external document associated with the rule. Applicable to dynamic rule only. - internal RecommendationRuleData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string recommendationName, string displayName, string message, Guid? recommendationId, string description, string actionName, NotificationLevel? level, Channels? channels, IReadOnlyList categoryTags, bool? isDynamic, string extensionName, string bladeName, string forwardLink) : base(id, name, type, systemData, kind) + internal RecommendationRuleData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string recommendationName, string displayName, string message, Guid? recommendationId, string description, string actionName, NotificationLevel? level, Channels? channels, IReadOnlyList categoryTags, bool? isDynamic, string extensionName, string bladeName, string forwardLink) : base(id, name, resourceType, systemData, kind) { RecommendationName = recommendationName; DisplayName = displayName; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/RelayServiceConnectionEntityData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/RelayServiceConnectionEntityData.cs index 8575b0ca030fe..981f7a386e739 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/RelayServiceConnectionEntityData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/RelayServiceConnectionEntityData.cs @@ -23,21 +23,19 @@ public RelayServiceConnectionEntityData() /// Initializes a new instance of RelayServiceConnectionEntityData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// /// - /// /// /// /// /// - internal RelayServiceConnectionEntityData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string entityName, string entityConnectionString, string resourceType, string resourceConnectionString, string hostname, int? port, Uri biztalkUri) : base(id, name, type, systemData, kind) + internal RelayServiceConnectionEntityData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string entityName, string entityConnectionString, string resourceConnectionString, string hostname, int? port, Uri biztalkUri) : base(id, name, resourceType, systemData, kind) { EntityName = entityName; EntityConnectionString = entityConnectionString; - ResourceType = resourceType; ResourceConnectionString = resourceConnectionString; Hostname = hostname; Port = port; @@ -48,8 +46,6 @@ internal RelayServiceConnectionEntityData(ResourceIdentifier id, string name, Re public string EntityName { get; set; } /// Gets or sets the entity connection string. public string EntityConnectionString { get; set; } - /// Gets or sets the resource type. - public string ResourceType { get; set; } /// Gets or sets the resource connection string. public string ResourceConnectionString { get; set; } /// Gets or sets the hostname. diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/RemotePrivateEndpointConnectionARMResourceData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/RemotePrivateEndpointConnectionARMResourceData.cs index 1bd6fdc70e77d..4073187d3a75e 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/RemotePrivateEndpointConnectionARMResourceData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/RemotePrivateEndpointConnectionARMResourceData.cs @@ -25,14 +25,14 @@ public RemotePrivateEndpointConnectionARMResourceData() /// Initializes a new instance of RemotePrivateEndpointConnectionARMResourceData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// /// PrivateEndpoint of a remote private endpoint connection. /// The state of a private link connection. /// Private IPAddresses mapped to the remote private endpoint. - internal RemotePrivateEndpointConnectionARMResourceData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string provisioningState, SubResource privateEndpoint, PrivateLinkConnectionState privateLinkServiceConnectionState, IList ipAddresses) : base(id, name, type, systemData, kind) + internal RemotePrivateEndpointConnectionARMResourceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string provisioningState, SubResource privateEndpoint, PrivateLinkConnectionState privateLinkServiceConnectionState, IList ipAddresses) : base(id, name, resourceType, systemData, kind) { ProvisioningState = provisioningState; PrivateEndpoint = privateEndpoint; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/ResourceHealthMetadataData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/ResourceHealthMetadataData.cs index a0c595130ead9..e1fa558ac80d0 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/ResourceHealthMetadataData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/ResourceHealthMetadataData.cs @@ -22,12 +22,12 @@ public ResourceHealthMetadataData() /// Initializes a new instance of ResourceHealthMetadataData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// The category that the resource matches in the RHC Policy File. /// Is there a health signal for the resource. - internal ResourceHealthMetadataData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string category, bool? signalAvailability) : base(id, name, type, systemData, kind) + internal ResourceHealthMetadataData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string category, bool? signalAvailability) : base(id, name, resourceType, systemData, kind) { Category = category; SignalAvailability = signalAvailability; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/SiteConfigData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/SiteConfigData.cs index 7515c53a6b7ed..9f13075be22dc 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/SiteConfigData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/SiteConfigData.cs @@ -32,7 +32,7 @@ public SiteConfigData() /// Initializes a new instance of SiteConfigData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Number of workers. @@ -115,7 +115,7 @@ public SiteConfigData() /// /// List of Azure Storage Accounts. /// Property to allow or block all public traffic. - internal SiteConfigData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, int? numberOfWorkers, IList defaultDocuments, string netFrameworkVersion, string phpVersion, string pythonVersion, string nodeVersion, string powerShellVersion, string linuxFxVersion, string windowsFxVersion, bool? requestTracingEnabled, DateTimeOffset? requestTracingExpirationTime, bool? remoteDebuggingEnabled, string remoteDebuggingVersion, bool? httpLoggingEnabled, bool? acrUseManagedIdentityCreds, string acrUserManagedIdentityID, int? logsDirectorySizeLimit, bool? detailedErrorLoggingEnabled, string publishingUsername, IList appSettings, IList connectionStrings, SiteMachineKey machineKey, IList handlerMappings, string documentRoot, ScmType? scmType, bool? use32BitWorkerProcess, bool? webSocketsEnabled, bool? alwaysOn, string javaVersion, string javaContainer, string javaContainerVersion, string appCommandLine, ManagedPipelineMode? managedPipelineMode, IList virtualApplications, SiteLoadBalancing? loadBalancing, Experiments experiments, SiteLimits limits, bool? autoHealEnabled, AutoHealRules autoHealRules, string tracingOptions, string vnetName, bool? vnetRouteAllEnabled, int? vnetPrivatePortsCount, CorsSettings cors, PushSettings push, ApiDefinitionInfo apiDefinition, ApiManagementConfig apiManagementConfig, string autoSwapSlotName, bool? localMySqlEnabled, int? managedServiceIdentityId, int? xManagedServiceIdentityId, string keyVaultReferenceIdentity, IList ipSecurityRestrictions, IList scmIpSecurityRestrictions, bool? scmIpSecurityRestrictionsUseMain, bool? http20Enabled, SupportedTlsVersions? minTlsVersion, SupportedTlsVersions? scmMinTlsVersion, FtpsState? ftpsState, int? preWarmedInstanceCount, int? functionAppScaleLimit, string healthCheckPath, bool? functionsRuntimeScaleMonitoringEnabled, string websiteTimeZone, int? minimumElasticInstanceCount, IDictionary azureStorageAccounts, string publicNetworkAccess) : base(id, name, type, systemData, kind) + internal SiteConfigData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, int? numberOfWorkers, IList defaultDocuments, string netFrameworkVersion, string phpVersion, string pythonVersion, string nodeVersion, string powerShellVersion, string linuxFxVersion, string windowsFxVersion, bool? requestTracingEnabled, DateTimeOffset? requestTracingExpirationTime, bool? remoteDebuggingEnabled, string remoteDebuggingVersion, bool? httpLoggingEnabled, bool? acrUseManagedIdentityCreds, string acrUserManagedIdentityID, int? logsDirectorySizeLimit, bool? detailedErrorLoggingEnabled, string publishingUsername, IList appSettings, IList connectionStrings, SiteMachineKey machineKey, IList handlerMappings, string documentRoot, ScmType? scmType, bool? use32BitWorkerProcess, bool? webSocketsEnabled, bool? alwaysOn, string javaVersion, string javaContainer, string javaContainerVersion, string appCommandLine, ManagedPipelineMode? managedPipelineMode, IList virtualApplications, SiteLoadBalancing? loadBalancing, Experiments experiments, SiteLimits limits, bool? autoHealEnabled, AutoHealRules autoHealRules, string tracingOptions, string vnetName, bool? vnetRouteAllEnabled, int? vnetPrivatePortsCount, CorsSettings cors, PushSettings push, ApiDefinitionInfo apiDefinition, ApiManagementConfig apiManagementConfig, string autoSwapSlotName, bool? localMySqlEnabled, int? managedServiceIdentityId, int? xManagedServiceIdentityId, string keyVaultReferenceIdentity, IList ipSecurityRestrictions, IList scmIpSecurityRestrictions, bool? scmIpSecurityRestrictionsUseMain, bool? http20Enabled, SupportedTlsVersions? minTlsVersion, SupportedTlsVersions? scmMinTlsVersion, FtpsState? ftpsState, int? preWarmedInstanceCount, int? functionAppScaleLimit, string healthCheckPath, bool? functionsRuntimeScaleMonitoringEnabled, string websiteTimeZone, int? minimumElasticInstanceCount, IDictionary azureStorageAccounts, string publicNetworkAccess) : base(id, name, resourceType, systemData, kind) { NumberOfWorkers = numberOfWorkers; DefaultDocuments = defaultDocuments; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/SiteExtensionInfoData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/SiteExtensionInfoData.cs index e9778fdf5357e..096c1d5ad5644 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/SiteExtensionInfoData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/SiteExtensionInfoData.cs @@ -25,7 +25,7 @@ public SiteExtensionInfoData() /// Initializes a new instance of SiteExtensionInfoData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Site extension ID. @@ -48,7 +48,7 @@ public SiteExtensionInfoData() /// Installed timestamp. /// Provisioning state. /// Site Extension comment. - internal SiteExtensionInfoData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string extensionId, string title, SiteExtensionType? extensionType, string summary, string description, string version, string extensionUrl, string projectUrl, string iconUrl, string licenseUrl, string feedUrl, IList authors, string installerCommandLineParams, DateTimeOffset? publishedDateTime, int? downloadCount, bool? localIsLatestVersion, string localPath, DateTimeOffset? installedDateTime, string provisioningState, string comment) : base(id, name, type, systemData, kind) + internal SiteExtensionInfoData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string extensionId, string title, SiteExtensionType? extensionType, string summary, string description, string version, string extensionUrl, string projectUrl, string iconUrl, string licenseUrl, string feedUrl, IList authors, string installerCommandLineParams, DateTimeOffset? publishedDateTime, int? downloadCount, bool? localIsLatestVersion, string localPath, DateTimeOffset? installedDateTime, string provisioningState, string comment) : base(id, name, resourceType, systemData, kind) { ExtensionId = extensionId; Title = title; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/SiteLogsConfigData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/SiteLogsConfigData.cs index f6c8359b60a3c..46c3c8fa9fc56 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/SiteLogsConfigData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/SiteLogsConfigData.cs @@ -22,14 +22,14 @@ public SiteLogsConfigData() /// Initializes a new instance of SiteLogsConfigData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Application logs configuration. /// HTTP logs configuration. /// Failed requests tracing configuration. /// Detailed error messages configuration. - internal SiteLogsConfigData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, ApplicationLogsConfig applicationLogs, HttpLogsConfig httpLogs, EnabledConfig failedRequestsTracing, EnabledConfig detailedErrorMessages) : base(id, name, type, systemData, kind) + internal SiteLogsConfigData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, ApplicationLogsConfig applicationLogs, HttpLogsConfig httpLogs, EnabledConfig failedRequestsTracing, EnabledConfig detailedErrorMessages) : base(id, name, resourceType, systemData, kind) { ApplicationLogs = applicationLogs; HttpLogs = httpLogs; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/SiteSourceControlData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/SiteSourceControlData.cs index 45d1f56b4fd58..93bbf9df024b1 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/SiteSourceControlData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/SiteSourceControlData.cs @@ -22,7 +22,7 @@ public SiteSourceControlData() /// Initializes a new instance of SiteSourceControlData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Repository or source control URL. @@ -32,7 +32,7 @@ public SiteSourceControlData() /// <code>true</code> to enable deployment rollback; otherwise, <code>false</code>. /// <code>true</code> for a Mercurial repository; <code>false</code> for a Git repository. /// If GitHub Action is selected, than the associated configuration. - internal SiteSourceControlData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string repoUrl, string branch, bool? isManualIntegration, bool? isGitHubAction, bool? deploymentRollbackEnabled, bool? isMercurial, GitHubActionConfiguration gitHubActionConfiguration) : base(id, name, type, systemData, kind) + internal SiteSourceControlData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string repoUrl, string branch, bool? isManualIntegration, bool? isGitHubAction, bool? deploymentRollbackEnabled, bool? isMercurial, GitHubActionConfiguration gitHubActionConfiguration) : base(id, name, resourceType, systemData, kind) { RepoUrl = repoUrl; Branch = branch; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/SlotConfigNamesResourceData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/SlotConfigNamesResourceData.cs index 765acaf7662ec..d98f87138f55e 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/SlotConfigNamesResourceData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/SlotConfigNamesResourceData.cs @@ -26,13 +26,13 @@ public SlotConfigNamesResourceData() /// Initializes a new instance of SlotConfigNamesResourceData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// List of connection string names. /// List of application settings names. /// List of external Azure storage account identifiers. - internal SlotConfigNamesResourceData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, IList connectionStringNames, IList appSettingNames, IList azureStorageConfigNames) : base(id, name, type, systemData, kind) + internal SlotConfigNamesResourceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, IList connectionStringNames, IList appSettingNames, IList azureStorageConfigNames) : base(id, name, resourceType, systemData, kind) { ConnectionStringNames = connectionStringNames; AppSettingNames = appSettingNames; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/SourceControlData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/SourceControlData.cs index bd71b24cd2b8f..99699be15309a 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/SourceControlData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/SourceControlData.cs @@ -23,14 +23,14 @@ public SourceControlData() /// Initializes a new instance of SourceControlData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// OAuth access token. /// OAuth access token secret. /// OAuth refresh token. /// OAuth token expiration. - internal SourceControlData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string token, string tokenSecret, string refreshToken, DateTimeOffset? expirationTime) : base(id, name, type, systemData, kind) + internal SourceControlData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string token, string tokenSecret, string refreshToken, DateTimeOffset? expirationTime) : base(id, name, resourceType, systemData, kind) { Token = token; TokenSecret = tokenSecret; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/StaticSiteARMResourceData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/StaticSiteARMResourceData.cs index 0daacb9450cad..d5da4734d4fa6 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/StaticSiteARMResourceData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/StaticSiteARMResourceData.cs @@ -27,7 +27,7 @@ public StaticSiteARMResourceData(AzureLocation location) : base(location) /// Initializes a new instance of StaticSiteARMResourceData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -48,7 +48,7 @@ public StaticSiteARMResourceData(AzureLocation location) : base(location) /// Identity to use for Key Vault Reference authentication. /// User provided function apps registered with the static site. /// The provider that submitted the last deployment to the primary environment of the static site. - internal StaticSiteARMResourceData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, string kind, SkuDescription sku, ManagedServiceIdentity identity, string defaultHostname, string repositoryUrl, string branch, IReadOnlyList customDomains, string repositoryToken, StaticSiteBuildProperties buildProperties, IReadOnlyList privateEndpointConnections, StagingEnvironmentPolicy? stagingEnvironmentPolicy, bool? allowConfigFileUpdates, StaticSiteTemplateOptions templateProperties, string contentDistributionEndpoint, string keyVaultReferenceIdentity, IReadOnlyList userProvidedFunctionApps, string provider) : base(id, name, type, systemData, tags, location, kind) + internal StaticSiteARMResourceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string kind, SkuDescription sku, ManagedServiceIdentity identity, string defaultHostname, string repositoryUrl, string branch, IReadOnlyList customDomains, string repositoryToken, StaticSiteBuildProperties buildProperties, IReadOnlyList privateEndpointConnections, StagingEnvironmentPolicy? stagingEnvironmentPolicy, bool? allowConfigFileUpdates, StaticSiteTemplateOptions templateProperties, string contentDistributionEndpoint, string keyVaultReferenceIdentity, IReadOnlyList userProvidedFunctionApps, string provider) : base(id, name, resourceType, systemData, tags, location, kind) { Sku = sku; Identity = identity; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/StaticSiteBuildARMResourceData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/StaticSiteBuildARMResourceData.cs index 6a52f3079c10c..bb153ac0516b9 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/StaticSiteBuildARMResourceData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/StaticSiteBuildARMResourceData.cs @@ -25,7 +25,7 @@ public StaticSiteBuildARMResourceData() /// Initializes a new instance of StaticSiteBuildARMResourceData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// An identifier for the static site build. @@ -36,7 +36,7 @@ public StaticSiteBuildARMResourceData() /// When this build was updated. /// The status of the static site build. /// User provided function apps registered with the static site build. - internal StaticSiteBuildARMResourceData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string buildId, string sourceBranch, string pullRequestTitle, string hostname, DateTimeOffset? createdTimeUtc, DateTimeOffset? lastUpdatedOn, BuildStatus? status, IReadOnlyList userProvidedFunctionApps) : base(id, name, type, systemData, kind) + internal StaticSiteBuildARMResourceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string buildId, string sourceBranch, string pullRequestTitle, string hostname, DateTimeOffset? createdTimeUtc, DateTimeOffset? lastUpdatedOn, BuildStatus? status, IReadOnlyList userProvidedFunctionApps) : base(id, name, resourceType, systemData, kind) { BuildId = buildId; SourceBranch = sourceBranch; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/StaticSiteCustomDomainOverviewARMResourceData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/StaticSiteCustomDomainOverviewARMResourceData.cs index 76244f2fd57e2..5178f8ca89ad2 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/StaticSiteCustomDomainOverviewARMResourceData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/StaticSiteCustomDomainOverviewARMResourceData.cs @@ -23,7 +23,7 @@ public StaticSiteCustomDomainOverviewARMResourceData() /// Initializes a new instance of StaticSiteCustomDomainOverviewARMResourceData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// The domain name for the static site custom domain. @@ -31,7 +31,7 @@ public StaticSiteCustomDomainOverviewARMResourceData() /// The status of the custom domain. /// The TXT record validation token. /// - internal StaticSiteCustomDomainOverviewARMResourceData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string domainName, DateTimeOffset? createdOn, CustomDomainStatus? status, string validationToken, string errorMessage) : base(id, name, type, systemData, kind) + internal StaticSiteCustomDomainOverviewARMResourceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string domainName, DateTimeOffset? createdOn, CustomDomainStatus? status, string validationToken, string errorMessage) : base(id, name, resourceType, systemData, kind) { DomainName = domainName; CreatedOn = createdOn; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/StaticSiteUserProvidedFunctionAppARMResourceData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/StaticSiteUserProvidedFunctionAppARMResourceData.cs index bfa226dee304d..327a4917a46b6 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/StaticSiteUserProvidedFunctionAppARMResourceData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/StaticSiteUserProvidedFunctionAppARMResourceData.cs @@ -23,13 +23,13 @@ public StaticSiteUserProvidedFunctionAppARMResourceData() /// Initializes a new instance of StaticSiteUserProvidedFunctionAppARMResourceData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// The resource id of the function app registered with the static site. /// The region of the function app registered with the static site. /// The date and time on which the function app was registered with the static site. - internal StaticSiteUserProvidedFunctionAppARMResourceData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string functionAppResourceId, string functionAppRegion, DateTimeOffset? createdOn) : base(id, name, type, systemData, kind) + internal StaticSiteUserProvidedFunctionAppARMResourceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string functionAppResourceId, string functionAppRegion, DateTimeOffset? createdOn) : base(id, name, resourceType, systemData, kind) { FunctionAppResourceId = functionAppResourceId; FunctionAppRegion = functionAppRegion; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/SwiftVirtualNetworkData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/SwiftVirtualNetworkData.cs index cbfbba1f50b2c..c59d811c10462 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/SwiftVirtualNetworkData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/SwiftVirtualNetworkData.cs @@ -22,12 +22,12 @@ public SwiftVirtualNetworkData() /// Initializes a new instance of SwiftVirtualNetworkData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// The Virtual Network subnet's resource ID. This is the subnet that this Web App will join. This subnet must have a delegation to Microsoft.Web/serverFarms defined first. /// A flag that specifies if the scale unit this Web App is on supports Swift integration. - internal SwiftVirtualNetworkData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string subnetResourceId, bool? swiftSupported) : base(id, name, type, systemData, kind) + internal SwiftVirtualNetworkData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string subnetResourceId, bool? swiftSupported) : base(id, name, resourceType, systemData, kind) { SubnetResourceId = subnetResourceId; SwiftSupported = swiftSupported; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/TopLevelDomainData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/TopLevelDomainData.cs index e4a19c05f201b..715134912f03f 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/TopLevelDomainData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/TopLevelDomainData.cs @@ -22,11 +22,11 @@ public TopLevelDomainData() /// Initializes a new instance of TopLevelDomainData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// If <code>true</code>, then the top level domain supports domain privacy; otherwise, <code>false</code>. - internal TopLevelDomainData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, bool? privacy) : base(id, name, type, systemData, kind) + internal TopLevelDomainData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, bool? privacy) : base(id, name, resourceType, systemData, kind) { Privacy = privacy; } diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/TriggeredJobHistoryData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/TriggeredJobHistoryData.cs index fd18d4885a20c..7065e2ae9bed6 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/TriggeredJobHistoryData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/TriggeredJobHistoryData.cs @@ -24,11 +24,11 @@ public TriggeredJobHistoryData() /// Initializes a new instance of TriggeredJobHistoryData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// List of triggered web job runs. - internal TriggeredJobHistoryData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, IList runs) : base(id, name, type, systemData, kind) + internal TriggeredJobHistoryData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, IList runs) : base(id, name, resourceType, systemData, kind) { Runs = runs; } diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/TriggeredWebJobData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/TriggeredWebJobData.cs index 90f3e92fe4930..ce6ef66fe09f4 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/TriggeredWebJobData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/TriggeredWebJobData.cs @@ -24,7 +24,7 @@ public TriggeredWebJobData() /// Initializes a new instance of TriggeredWebJobData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Latest job run information. @@ -37,7 +37,7 @@ public TriggeredWebJobData() /// Error information. /// Using SDK?. /// Job settings. - internal TriggeredWebJobData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, TriggeredJobRun latestRun, string historyUrl, string schedulerLogsUrl, string runCommand, string url, string extraInfoUrl, WebJobType? webJobType, string error, bool? usingSdk, IDictionary settings) : base(id, name, type, systemData, kind) + internal TriggeredWebJobData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, TriggeredJobRun latestRun, string historyUrl, string schedulerLogsUrl, string runCommand, string url, string extraInfoUrl, WebJobType? webJobType, string error, bool? usingSdk, IDictionary settings) : base(id, name, resourceType, systemData, kind) { LatestRun = latestRun; HistoryUrl = historyUrl; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/UserData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/UserData.cs index 67775e9b159a4..5056b40732b77 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/UserData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/UserData.cs @@ -23,7 +23,7 @@ public UserData() /// Initializes a new instance of UserData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Username used for publishing. @@ -31,7 +31,7 @@ public UserData() /// Password hash used for publishing. /// Password hash salt used for publishing. /// Url of SCM site. - internal UserData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string publishingUserName, string publishingPassword, string publishingPasswordHash, string publishingPasswordHashSalt, Uri scmUri) : base(id, name, type, systemData, kind) + internal UserData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string publishingUserName, string publishingPassword, string publishingPasswordHash, string publishingPasswordHashSalt, Uri scmUri) : base(id, name, resourceType, systemData, kind) { PublishingUserName = publishingUserName; PublishingPassword = publishingPassword; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/VnetGatewayData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/VnetGatewayData.cs index f7ab0a750716e..49d61756e7174 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/VnetGatewayData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/VnetGatewayData.cs @@ -23,12 +23,12 @@ public VnetGatewayData() /// Initializes a new instance of VnetGatewayData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// The Virtual Network name. /// The URI where the VPN package can be downloaded. - internal VnetGatewayData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string vnetName, Uri vpnPackageUri) : base(id, name, type, systemData, kind) + internal VnetGatewayData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string vnetName, Uri vpnPackageUri) : base(id, name, resourceType, systemData, kind) { VnetName = vnetName; VpnPackageUri = vpnPackageUri; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/VnetInfoResourceData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/VnetInfoResourceData.cs index d64486291e289..b5c5c213de449 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/VnetInfoResourceData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/VnetInfoResourceData.cs @@ -24,7 +24,7 @@ public VnetInfoResourceData() /// Initializes a new instance of VnetInfoResourceData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// The Virtual Network's resource ID. @@ -37,7 +37,7 @@ public VnetInfoResourceData() /// <code>true</code> if a resync is required; otherwise, <code>false</code>. /// DNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses. /// Flag that is used to denote if this is VNET injection. - internal VnetInfoResourceData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string vnetResourceId, string certThumbprint, string certBlob, IReadOnlyList routes, bool? resyncRequired, string dnsServers, bool? isSwift) : base(id, name, type, systemData, kind) + internal VnetInfoResourceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string vnetResourceId, string certThumbprint, string certBlob, IReadOnlyList routes, bool? resyncRequired, string dnsServers, bool? isSwift) : base(id, name, resourceType, systemData, kind) { VnetResourceId = vnetResourceId; CertThumbprint = certThumbprint; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/WebJobData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/WebJobData.cs index 8d28c45521cb8..a160b9ee3b6d9 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/WebJobData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/WebJobData.cs @@ -24,7 +24,7 @@ public WebJobData() /// Initializes a new instance of WebJobData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Run command. @@ -34,7 +34,7 @@ public WebJobData() /// Error information. /// Using SDK?. /// Job settings. - internal WebJobData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, string runCommand, string url, string extraInfoUrl, WebJobType? webJobType, string error, bool? usingSdk, IDictionary settings) : base(id, name, type, systemData, kind) + internal WebJobData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, string runCommand, string url, string extraInfoUrl, WebJobType? webJobType, string error, bool? usingSdk, IDictionary settings) : base(id, name, resourceType, systemData, kind) { RunCommand = runCommand; Url = url; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/WebSiteData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/WebSiteData.cs index 2c42fedba83d1..a9ec1e013dfa7 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/WebSiteData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/WebSiteData.cs @@ -29,7 +29,7 @@ public WebSiteData(AzureLocation location) : base(location) /// Initializes a new instance of WebSiteData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// The tags. /// The location. @@ -97,7 +97,7 @@ public WebSiteData(AzureLocation location) : base(location) /// Azure Resource Manager ID of the Virtual network and subnet to be joined by Regional VNET Integration. /// This must be of the form /subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName} /// - internal WebSiteData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary tags, AzureLocation location, string kind, ManagedServiceIdentity identity, ExtendedLocation extendedLocation, string state, IReadOnlyList hostNames, string repositorySiteName, UsageState? usageState, bool? enabled, IReadOnlyList enabledHostNames, SiteAvailabilityState? availabilityState, IList hostNameSslStates, string serverFarmId, bool? reserved, bool? isXenon, bool? hyperV, DateTimeOffset? lastModifiedTimeUtc, SiteConfigProperties siteConfig, IReadOnlyList trafficManagerHostNames, bool? scmSiteAlsoStopped, string targetSwapSlot, HostingEnvironmentProfile hostingEnvironmentProfile, bool? clientAffinityEnabled, bool? clientCertEnabled, ClientCertMode? clientCertMode, string clientCertExclusionPaths, bool? hostNamesDisabled, string customDomainVerificationId, string outboundIpAddresses, string possibleOutboundIpAddresses, int? containerSize, int? dailyMemoryTimeQuota, DateTimeOffset? suspendedTill, int? maxNumberOfWorkers, CloningInfo cloningInfo, string resourceGroup, bool? isDefaultContainer, string defaultHostName, SlotSwapStatus slotSwapStatus, bool? httpsOnly, RedundancyMode? redundancyMode, Guid? inProgressOperationId, bool? storageAccountRequired, string keyVaultReferenceIdentity, string virtualNetworkSubnetId) : base(id, name, type, systemData, tags, location, kind) + internal WebSiteData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary tags, AzureLocation location, string kind, ManagedServiceIdentity identity, ExtendedLocation extendedLocation, string state, IReadOnlyList hostNames, string repositorySiteName, UsageState? usageState, bool? enabled, IReadOnlyList enabledHostNames, SiteAvailabilityState? availabilityState, IList hostNameSslStates, string serverFarmId, bool? reserved, bool? isXenon, bool? hyperV, DateTimeOffset? lastModifiedTimeUtc, SiteConfigProperties siteConfig, IReadOnlyList trafficManagerHostNames, bool? scmSiteAlsoStopped, string targetSwapSlot, HostingEnvironmentProfile hostingEnvironmentProfile, bool? clientAffinityEnabled, bool? clientCertEnabled, ClientCertMode? clientCertMode, string clientCertExclusionPaths, bool? hostNamesDisabled, string customDomainVerificationId, string outboundIpAddresses, string possibleOutboundIpAddresses, int? containerSize, int? dailyMemoryTimeQuota, DateTimeOffset? suspendedTill, int? maxNumberOfWorkers, CloningInfo cloningInfo, string resourceGroup, bool? isDefaultContainer, string defaultHostName, SlotSwapStatus slotSwapStatus, bool? httpsOnly, RedundancyMode? redundancyMode, Guid? inProgressOperationId, bool? storageAccountRequired, string keyVaultReferenceIdentity, string virtualNetworkSubnetId) : base(id, name, resourceType, systemData, tags, location, kind) { Identity = identity; ExtendedLocation = extendedLocation; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/WebSiteInstanceStatusData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/WebSiteInstanceStatusData.cs index c8e151b478ffe..5d42222549861 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/WebSiteInstanceStatusData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/WebSiteInstanceStatusData.cs @@ -24,7 +24,7 @@ public WebSiteInstanceStatusData() /// Initializes a new instance of WebSiteInstanceStatusData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// @@ -33,7 +33,7 @@ public WebSiteInstanceStatusData() /// Link to the console to web app instance. /// Link to the console to web app instance. /// Dictionary of <ContainerInfo>. - internal WebSiteInstanceStatusData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, SiteRuntimeState? state, string statusUrl, string detectorUrl, string consoleUrl, string healthCheckUrl, IDictionary containers) : base(id, name, type, systemData, kind) + internal WebSiteInstanceStatusData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, SiteRuntimeState? state, string statusUrl, string detectorUrl, string consoleUrl, string healthCheckUrl, IDictionary containers) : base(id, name, resourceType, systemData, kind) { State = state; StatusUrl = statusUrl; diff --git a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/WorkerPoolResourceData.cs b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/WorkerPoolResourceData.cs index 075b14a259a8a..4f188b0bc3b1b 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/src/Generated/WorkerPoolResourceData.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/src/Generated/WorkerPoolResourceData.cs @@ -24,7 +24,7 @@ public WorkerPoolResourceData() /// Initializes a new instance of WorkerPoolResourceData. /// The id. /// The name. - /// The type. + /// The resourceType. /// The systemData. /// Kind of resource. /// Description of a SKU for a scalable resource. @@ -33,7 +33,7 @@ public WorkerPoolResourceData() /// VM size of the worker pool instances. /// Number of instances in the worker pool. /// Names of all instances in the worker pool (read only). - internal WorkerPoolResourceData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, string kind, SkuDescription sku, int? workerSizeId, ComputeModeOptions? computeMode, string workerSize, int? workerCount, IReadOnlyList instanceNames) : base(id, name, type, systemData, kind) + internal WorkerPoolResourceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string kind, SkuDescription sku, int? workerSizeId, ComputeModeOptions? computeMode, string workerSize, int? workerCount, IReadOnlyList instanceNames) : base(id, name, resourceType, systemData, kind) { Sku = sku; WorkerSizeId = workerSizeId; diff --git a/sdk/websites/Azure.ResourceManager.AppService/tests/Helpers/ResourceDataHelper.cs b/sdk/websites/Azure.ResourceManager.AppService/tests/Helpers/ResourceDataHelper.cs index 595a214987916..f6c8d63e76f0a 100644 --- a/sdk/websites/Azure.ResourceManager.AppService/tests/Helpers/ResourceDataHelper.cs +++ b/sdk/websites/Azure.ResourceManager.AppService/tests/Helpers/ResourceDataHelper.cs @@ -30,7 +30,7 @@ public static void AssertTrackedResource(TrackedResourceData r1, TrackedResource { Assert.AreEqual(r1.Name, r2.Name); Assert.AreEqual(r1.Id, r2.Id); - Assert.AreEqual(r1.Type, r2.Type); + Assert.AreEqual(r1.ResourceType, r2.ResourceType); Assert.AreEqual(r1.Location, r2.Location); Assert.AreEqual(r1.Tags, r2.Tags); } @@ -201,7 +201,7 @@ public static void AssertSiteSourceControlData(SiteSourceControlData sscd1, Site { Assert.AreEqual(sscd1.Name, sscd2.Name); Assert.AreEqual(sscd1.Id, sscd2.Id); - Assert.AreEqual(sscd1.Type, sscd2.Type); + Assert.AreEqual(sscd1.ResourceType, sscd2.ResourceType); Assert.AreEqual(sscd1.Branch, sscd2.Branch); }