diff --git a/sdk/purview/Azure.ResourceManager.Purview/src/Generated/Models/AccountList.Serialization.cs b/sdk/purview/Azure.ResourceManager.Purview/src/Generated/Models/AccountList.Serialization.cs index e075cbf1f7425..0bdec9a290bbd 100644 --- a/sdk/purview/Azure.ResourceManager.Purview/src/Generated/Models/AccountList.Serialization.cs +++ b/sdk/purview/Azure.ResourceManager.Purview/src/Generated/Models/AccountList.Serialization.cs @@ -93,7 +93,7 @@ internal static AccountList DeserializeAccountList(JsonElement element, ModelRea List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(PurviewAccountData.DeserializePurviewAccountData(item)); + array.Add(PurviewAccountData.DeserializePurviewAccountData(item, options)); } value = array; continue; diff --git a/sdk/purview/Azure.ResourceManager.Purview/src/Generated/Models/KafkaConfigurationList.Serialization.cs b/sdk/purview/Azure.ResourceManager.Purview/src/Generated/Models/KafkaConfigurationList.Serialization.cs index f53f7427507a2..6654fda33dc02 100644 --- a/sdk/purview/Azure.ResourceManager.Purview/src/Generated/Models/KafkaConfigurationList.Serialization.cs +++ b/sdk/purview/Azure.ResourceManager.Purview/src/Generated/Models/KafkaConfigurationList.Serialization.cs @@ -93,7 +93,7 @@ internal static KafkaConfigurationList DeserializeKafkaConfigurationList(JsonEle List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(PurviewKafkaConfigurationData.DeserializePurviewKafkaConfigurationData(item)); + array.Add(PurviewKafkaConfigurationData.DeserializePurviewKafkaConfigurationData(item, options)); } value = array; continue; diff --git a/sdk/purview/Azure.ResourceManager.Purview/src/Generated/Models/PrivateEndpointConnectionList.Serialization.cs b/sdk/purview/Azure.ResourceManager.Purview/src/Generated/Models/PrivateEndpointConnectionList.Serialization.cs index c5718fd490760..8baa0116d2ec3 100644 --- a/sdk/purview/Azure.ResourceManager.Purview/src/Generated/Models/PrivateEndpointConnectionList.Serialization.cs +++ b/sdk/purview/Azure.ResourceManager.Purview/src/Generated/Models/PrivateEndpointConnectionList.Serialization.cs @@ -93,7 +93,7 @@ internal static PrivateEndpointConnectionList DeserializePrivateEndpointConnecti List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(PurviewPrivateEndpointConnectionData.DeserializePurviewPrivateEndpointConnectionData(item)); + array.Add(PurviewPrivateEndpointConnectionData.DeserializePurviewPrivateEndpointConnectionData(item, options)); } value = array; continue; diff --git a/sdk/purview/Azure.ResourceManager.Purview/src/Generated/Models/PrivateLinkResourceList.Serialization.cs b/sdk/purview/Azure.ResourceManager.Purview/src/Generated/Models/PrivateLinkResourceList.Serialization.cs index 23cf81d8ada89..4a09d3b7caae2 100644 --- a/sdk/purview/Azure.ResourceManager.Purview/src/Generated/Models/PrivateLinkResourceList.Serialization.cs +++ b/sdk/purview/Azure.ResourceManager.Purview/src/Generated/Models/PrivateLinkResourceList.Serialization.cs @@ -93,7 +93,7 @@ internal static PrivateLinkResourceList DeserializePrivateLinkResourceList(JsonE List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(PurviewPrivateLinkResourceData.DeserializePurviewPrivateLinkResourceData(item)); + array.Add(PurviewPrivateLinkResourceData.DeserializePurviewPrivateLinkResourceData(item, options)); } value = array; continue; diff --git a/sdk/purview/Azure.ResourceManager.Purview/src/Generated/Models/PurviewAccountPatch.Serialization.cs b/sdk/purview/Azure.ResourceManager.Purview/src/Generated/Models/PurviewAccountPatch.Serialization.cs index 2076cf8be7726..eec54c355f987 100644 --- a/sdk/purview/Azure.ResourceManager.Purview/src/Generated/Models/PurviewAccountPatch.Serialization.cs +++ b/sdk/purview/Azure.ResourceManager.Purview/src/Generated/Models/PurviewAccountPatch.Serialization.cs @@ -108,7 +108,7 @@ internal static PurviewAccountPatch DeserializePurviewAccountPatch(JsonElement e { continue; } - properties = PurviewAccountProperties.DeserializePurviewAccountProperties(property.Value); + properties = PurviewAccountProperties.DeserializePurviewAccountProperties(property.Value, options); continue; } if (property.NameEquals("tags"u8)) diff --git a/sdk/purview/Azure.ResourceManager.Purview/src/Generated/Models/PurviewAccountProperties.Serialization.cs b/sdk/purview/Azure.ResourceManager.Purview/src/Generated/Models/PurviewAccountProperties.Serialization.cs index 7777e1655a2e2..f60bd79e384cc 100644 --- a/sdk/purview/Azure.ResourceManager.Purview/src/Generated/Models/PurviewAccountProperties.Serialization.cs +++ b/sdk/purview/Azure.ResourceManager.Purview/src/Generated/Models/PurviewAccountProperties.Serialization.cs @@ -170,7 +170,7 @@ internal static PurviewAccountProperties DeserializePurviewAccountProperties(Jso { continue; } - accountStatus = PurviewAccountStatus.DeserializePurviewAccountStatus(property.Value); + accountStatus = PurviewAccountStatus.DeserializePurviewAccountStatus(property.Value, options); continue; } if (property.NameEquals("cloudConnectors"u8)) @@ -179,7 +179,7 @@ internal static PurviewAccountProperties DeserializePurviewAccountProperties(Jso { continue; } - cloudConnectors = CloudConnectors.DeserializeCloudConnectors(property.Value); + cloudConnectors = CloudConnectors.DeserializeCloudConnectors(property.Value, options); continue; } if (property.NameEquals("createdAt"u8)) @@ -207,7 +207,7 @@ internal static PurviewAccountProperties DeserializePurviewAccountProperties(Jso { continue; } - endpoints = PurviewAccountEndpoint.DeserializePurviewAccountEndpoint(property.Value); + endpoints = PurviewAccountEndpoint.DeserializePurviewAccountEndpoint(property.Value, options); continue; } if (property.NameEquals("friendlyName"u8)) @@ -221,7 +221,7 @@ internal static PurviewAccountProperties DeserializePurviewAccountProperties(Jso { continue; } - ingestionStorage = PurviewIngestionStorage.DeserializePurviewIngestionStorage(property.Value); + ingestionStorage = PurviewIngestionStorage.DeserializePurviewIngestionStorage(property.Value, options); continue; } if (property.NameEquals("managedEventHubState"u8)) @@ -244,7 +244,7 @@ internal static PurviewAccountProperties DeserializePurviewAccountProperties(Jso { continue; } - managedResources = PurviewManagedResource.DeserializePurviewManagedResource(property.Value); + managedResources = PurviewManagedResource.DeserializePurviewManagedResource(property.Value, options); continue; } if (property.NameEquals("managedResourcesPublicNetworkAccess"u8)) @@ -265,7 +265,7 @@ internal static PurviewAccountProperties DeserializePurviewAccountProperties(Jso List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(PurviewPrivateEndpointConnectionData.DeserializePurviewPrivateEndpointConnectionData(item)); + array.Add(PurviewPrivateEndpointConnectionData.DeserializePurviewPrivateEndpointConnectionData(item, options)); } privateEndpointConnections = array; continue; diff --git a/sdk/purview/Azure.ResourceManager.Purview/src/Generated/Models/PurviewUsage.Serialization.cs b/sdk/purview/Azure.ResourceManager.Purview/src/Generated/Models/PurviewUsage.Serialization.cs index 5a04f69fd89bc..19d09290327f2 100644 --- a/sdk/purview/Azure.ResourceManager.Purview/src/Generated/Models/PurviewUsage.Serialization.cs +++ b/sdk/purview/Azure.ResourceManager.Purview/src/Generated/Models/PurviewUsage.Serialization.cs @@ -127,7 +127,7 @@ internal static PurviewUsage DeserializePurviewUsage(JsonElement element, ModelR { continue; } - name = PurviewUsageName.DeserializePurviewUsageName(property.Value); + name = PurviewUsageName.DeserializePurviewUsageName(property.Value, options); continue; } if (property.NameEquals("unit"u8)) diff --git a/sdk/purview/Azure.ResourceManager.Purview/src/Generated/Models/UsageList.Serialization.cs b/sdk/purview/Azure.ResourceManager.Purview/src/Generated/Models/UsageList.Serialization.cs index e286a36b33877..c3a33c8c36796 100644 --- a/sdk/purview/Azure.ResourceManager.Purview/src/Generated/Models/UsageList.Serialization.cs +++ b/sdk/purview/Azure.ResourceManager.Purview/src/Generated/Models/UsageList.Serialization.cs @@ -94,7 +94,7 @@ internal static UsageList DeserializeUsageList(JsonElement element, ModelReaderW List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(PurviewUsage.DeserializePurviewUsage(item)); + array.Add(PurviewUsage.DeserializePurviewUsage(item, options)); } value = array; continue; diff --git a/sdk/purview/Azure.ResourceManager.Purview/src/Generated/PurviewAccountData.Serialization.cs b/sdk/purview/Azure.ResourceManager.Purview/src/Generated/PurviewAccountData.Serialization.cs index a294e3ea649eb..a302ce29ca332 100644 --- a/sdk/purview/Azure.ResourceManager.Purview/src/Generated/PurviewAccountData.Serialization.cs +++ b/sdk/purview/Azure.ResourceManager.Purview/src/Generated/PurviewAccountData.Serialization.cs @@ -225,7 +225,7 @@ internal static PurviewAccountData DeserializePurviewAccountData(JsonElement ele { continue; } - sku = PurviewAccountSku.DeserializePurviewAccountSku(property.Value); + sku = PurviewAccountSku.DeserializePurviewAccountSku(property.Value, options); continue; } if (property.NameEquals("identity"u8)) @@ -295,7 +295,7 @@ internal static PurviewAccountData DeserializePurviewAccountData(JsonElement ele { continue; } - accountStatus = PurviewAccountStatus.DeserializePurviewAccountStatus(property0.Value); + accountStatus = PurviewAccountStatus.DeserializePurviewAccountStatus(property0.Value, options); continue; } if (property0.NameEquals("cloudConnectors"u8)) @@ -304,7 +304,7 @@ internal static PurviewAccountData DeserializePurviewAccountData(JsonElement ele { continue; } - cloudConnectors = CloudConnectors.DeserializeCloudConnectors(property0.Value); + cloudConnectors = CloudConnectors.DeserializeCloudConnectors(property0.Value, options); continue; } if (property0.NameEquals("createdAt"u8)) @@ -332,7 +332,7 @@ internal static PurviewAccountData DeserializePurviewAccountData(JsonElement ele { continue; } - endpoints = PurviewAccountEndpoint.DeserializePurviewAccountEndpoint(property0.Value); + endpoints = PurviewAccountEndpoint.DeserializePurviewAccountEndpoint(property0.Value, options); continue; } if (property0.NameEquals("friendlyName"u8)) @@ -346,7 +346,7 @@ internal static PurviewAccountData DeserializePurviewAccountData(JsonElement ele { continue; } - ingestionStorage = PurviewIngestionStorage.DeserializePurviewIngestionStorage(property0.Value); + ingestionStorage = PurviewIngestionStorage.DeserializePurviewIngestionStorage(property0.Value, options); continue; } if (property0.NameEquals("managedEventHubState"u8)) @@ -369,7 +369,7 @@ internal static PurviewAccountData DeserializePurviewAccountData(JsonElement ele { continue; } - managedResources = PurviewManagedResource.DeserializePurviewManagedResource(property0.Value); + managedResources = PurviewManagedResource.DeserializePurviewManagedResource(property0.Value, options); continue; } if (property0.NameEquals("managedResourcesPublicNetworkAccess"u8)) @@ -390,7 +390,7 @@ internal static PurviewAccountData DeserializePurviewAccountData(JsonElement ele List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(PurviewPrivateEndpointConnectionData.DeserializePurviewPrivateEndpointConnectionData(item)); + array.Add(PurviewPrivateEndpointConnectionData.DeserializePurviewPrivateEndpointConnectionData(item, options)); } privateEndpointConnections = array; continue; diff --git a/sdk/purview/Azure.ResourceManager.Purview/src/Generated/PurviewKafkaConfigurationData.Serialization.cs b/sdk/purview/Azure.ResourceManager.Purview/src/Generated/PurviewKafkaConfigurationData.Serialization.cs index ec5e8ef78cfe1..b2c1e5251ad60 100644 --- a/sdk/purview/Azure.ResourceManager.Purview/src/Generated/PurviewKafkaConfigurationData.Serialization.cs +++ b/sdk/purview/Azure.ResourceManager.Purview/src/Generated/PurviewKafkaConfigurationData.Serialization.cs @@ -183,7 +183,7 @@ internal static PurviewKafkaConfigurationData DeserializePurviewKafkaConfigurati { continue; } - credentials = PurviewCredentials.DeserializePurviewCredentials(property0.Value); + credentials = PurviewCredentials.DeserializePurviewCredentials(property0.Value, options); continue; } if (property0.NameEquals("eventHubPartitionId"u8)) diff --git a/sdk/purview/Azure.ResourceManager.Purview/src/Generated/PurviewPrivateEndpointConnectionData.Serialization.cs b/sdk/purview/Azure.ResourceManager.Purview/src/Generated/PurviewPrivateEndpointConnectionData.Serialization.cs index 476fdb52837ef..1fcbfd4547f88 100644 --- a/sdk/purview/Azure.ResourceManager.Purview/src/Generated/PurviewPrivateEndpointConnectionData.Serialization.cs +++ b/sdk/purview/Azure.ResourceManager.Purview/src/Generated/PurviewPrivateEndpointConnectionData.Serialization.cs @@ -164,7 +164,7 @@ internal static PurviewPrivateEndpointConnectionData DeserializePurviewPrivateEn { continue; } - privateLinkServiceConnectionState = PurviewPrivateLinkServiceConnectionState.DeserializePurviewPrivateLinkServiceConnectionState(property0.Value); + privateLinkServiceConnectionState = PurviewPrivateLinkServiceConnectionState.DeserializePurviewPrivateLinkServiceConnectionState(property0.Value, options); continue; } if (property0.NameEquals("provisioningState"u8)) diff --git a/sdk/purview/Azure.ResourceManager.Purview/src/Generated/PurviewPrivateLinkResourceData.Serialization.cs b/sdk/purview/Azure.ResourceManager.Purview/src/Generated/PurviewPrivateLinkResourceData.Serialization.cs index 18707cf9702b5..ac74639bab684 100644 --- a/sdk/purview/Azure.ResourceManager.Purview/src/Generated/PurviewPrivateLinkResourceData.Serialization.cs +++ b/sdk/purview/Azure.ResourceManager.Purview/src/Generated/PurviewPrivateLinkResourceData.Serialization.cs @@ -106,7 +106,7 @@ internal static PurviewPrivateLinkResourceData DeserializePurviewPrivateLinkReso { continue; } - properties = PurviewPrivateLinkResourceProperties.DeserializePurviewPrivateLinkResourceProperties(property.Value); + properties = PurviewPrivateLinkResourceProperties.DeserializePurviewPrivateLinkResourceProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/quantum/Azure.ResourceManager.Quantum/src/Generated/Models/OfferingsListResult.Serialization.cs b/sdk/quantum/Azure.ResourceManager.Quantum/src/Generated/Models/OfferingsListResult.Serialization.cs index 7dad54b255d20..1746df2abe8f5 100644 --- a/sdk/quantum/Azure.ResourceManager.Quantum/src/Generated/Models/OfferingsListResult.Serialization.cs +++ b/sdk/quantum/Azure.ResourceManager.Quantum/src/Generated/Models/OfferingsListResult.Serialization.cs @@ -94,7 +94,7 @@ internal static OfferingsListResult DeserializeOfferingsListResult(JsonElement e List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ProviderDescription.DeserializeProviderDescription(item)); + array.Add(ProviderDescription.DeserializeProviderDescription(item, options)); } value = array; continue; diff --git a/sdk/quantum/Azure.ResourceManager.Quantum/src/Generated/Models/ProviderDescription.Serialization.cs b/sdk/quantum/Azure.ResourceManager.Quantum/src/Generated/Models/ProviderDescription.Serialization.cs index 9754c12ef6932..47c2acf6dcc97 100644 --- a/sdk/quantum/Azure.ResourceManager.Quantum/src/Generated/Models/ProviderDescription.Serialization.cs +++ b/sdk/quantum/Azure.ResourceManager.Quantum/src/Generated/Models/ProviderDescription.Serialization.cs @@ -102,7 +102,7 @@ internal static ProviderDescription DeserializeProviderDescription(JsonElement e { continue; } - properties = ProviderProperties.DeserializeProviderProperties(property.Value); + properties = ProviderProperties.DeserializeProviderProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/quantum/Azure.ResourceManager.Quantum/src/Generated/Models/ProviderProperties.Serialization.cs b/sdk/quantum/Azure.ResourceManager.Quantum/src/Generated/Models/ProviderProperties.Serialization.cs index 8b8e9277a9da5..419672a0a32f0 100644 --- a/sdk/quantum/Azure.ResourceManager.Quantum/src/Generated/Models/ProviderProperties.Serialization.cs +++ b/sdk/quantum/Azure.ResourceManager.Quantum/src/Generated/Models/ProviderProperties.Serialization.cs @@ -174,7 +174,7 @@ internal static ProviderProperties DeserializeProviderProperties(JsonElement ele { continue; } - aad = ProviderPropertiesAad.DeserializeProviderPropertiesAad(property.Value); + aad = ProviderPropertiesAad.DeserializeProviderPropertiesAad(property.Value, options); continue; } if (property.NameEquals("managedApplication"u8)) @@ -183,7 +183,7 @@ internal static ProviderProperties DeserializeProviderProperties(JsonElement ele { continue; } - managedApplication = ProviderPropertiesManagedApplication.DeserializeProviderPropertiesManagedApplication(property.Value); + managedApplication = ProviderPropertiesManagedApplication.DeserializeProviderPropertiesManagedApplication(property.Value, options); continue; } if (property.NameEquals("targets"u8)) @@ -195,7 +195,7 @@ internal static ProviderProperties DeserializeProviderProperties(JsonElement ele List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(TargetDescription.DeserializeTargetDescription(item)); + array.Add(TargetDescription.DeserializeTargetDescription(item, options)); } targets = array; continue; @@ -209,7 +209,7 @@ internal static ProviderProperties DeserializeProviderProperties(JsonElement ele List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SkuDescription.DeserializeSkuDescription(item)); + array.Add(SkuDescription.DeserializeSkuDescription(item, options)); } skus = array; continue; @@ -223,7 +223,7 @@ internal static ProviderProperties DeserializeProviderProperties(JsonElement ele List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(QuotaDimension.DeserializeQuotaDimension(item)); + array.Add(QuotaDimension.DeserializeQuotaDimension(item, options)); } quotaDimensions = array; continue; @@ -237,7 +237,7 @@ internal static ProviderProperties DeserializeProviderProperties(JsonElement ele List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(PricingDimension.DeserializePricingDimension(item)); + array.Add(PricingDimension.DeserializePricingDimension(item, options)); } pricingDimensions = array; continue; diff --git a/sdk/quantum/Azure.ResourceManager.Quantum/src/Generated/Models/SkuDescription.Serialization.cs b/sdk/quantum/Azure.ResourceManager.Quantum/src/Generated/Models/SkuDescription.Serialization.cs index 3b3421374b1ed..30d4acd2ca1e9 100644 --- a/sdk/quantum/Azure.ResourceManager.Quantum/src/Generated/Models/SkuDescription.Serialization.cs +++ b/sdk/quantum/Azure.ResourceManager.Quantum/src/Generated/Models/SkuDescription.Serialization.cs @@ -198,7 +198,7 @@ internal static SkuDescription DeserializeSkuDescription(JsonElement element, Mo List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(QuotaDimension.DeserializeQuotaDimension(item)); + array.Add(QuotaDimension.DeserializeQuotaDimension(item, options)); } quotaDimensions = array; continue; @@ -212,7 +212,7 @@ internal static SkuDescription DeserializeSkuDescription(JsonElement element, Mo List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(PricingDetail.DeserializePricingDetail(item)); + array.Add(PricingDetail.DeserializePricingDetail(item, options)); } pricingDetails = array; continue; diff --git a/sdk/quantum/Azure.ResourceManager.Quantum/src/Generated/Models/WorkspaceListResult.Serialization.cs b/sdk/quantum/Azure.ResourceManager.Quantum/src/Generated/Models/WorkspaceListResult.Serialization.cs index bd1cd4abd5edc..376f92511bb94 100644 --- a/sdk/quantum/Azure.ResourceManager.Quantum/src/Generated/Models/WorkspaceListResult.Serialization.cs +++ b/sdk/quantum/Azure.ResourceManager.Quantum/src/Generated/Models/WorkspaceListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static WorkspaceListResult DeserializeWorkspaceListResult(JsonElement e List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(QuantumWorkspaceData.DeserializeQuantumWorkspaceData(item)); + array.Add(QuantumWorkspaceData.DeserializeQuantumWorkspaceData(item, options)); } value = array; continue; diff --git a/sdk/quantum/Azure.ResourceManager.Quantum/src/Generated/QuantumWorkspaceData.Serialization.cs b/sdk/quantum/Azure.ResourceManager.Quantum/src/Generated/QuantumWorkspaceData.Serialization.cs index 1e1f20506b0dd..59ee0c359fa10 100644 --- a/sdk/quantum/Azure.ResourceManager.Quantum/src/Generated/QuantumWorkspaceData.Serialization.cs +++ b/sdk/quantum/Azure.ResourceManager.Quantum/src/Generated/QuantumWorkspaceData.Serialization.cs @@ -223,7 +223,7 @@ internal static QuantumWorkspaceData DeserializeQuantumWorkspaceData(JsonElement List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(Provider.DeserializeProvider(item)); + array.Add(Provider.DeserializeProvider(item, options)); } providers = array; continue; diff --git a/sdk/qumulo/Azure.ResourceManager.Qumulo/src/Generated/Models/FileSystemResourceUpdateProperties.Serialization.cs b/sdk/qumulo/Azure.ResourceManager.Qumulo/src/Generated/Models/FileSystemResourceUpdateProperties.Serialization.cs index cee54374ec96b..afbe13dffff67 100644 --- a/sdk/qumulo/Azure.ResourceManager.Qumulo/src/Generated/Models/FileSystemResourceUpdateProperties.Serialization.cs +++ b/sdk/qumulo/Azure.ResourceManager.Qumulo/src/Generated/Models/FileSystemResourceUpdateProperties.Serialization.cs @@ -109,7 +109,7 @@ internal static FileSystemResourceUpdateProperties DeserializeFileSystemResource { continue; } - marketplaceDetails = MarketplaceDetails.DeserializeMarketplaceDetails(property.Value); + marketplaceDetails = MarketplaceDetails.DeserializeMarketplaceDetails(property.Value, options); continue; } if (property.NameEquals("userDetails"u8)) @@ -118,7 +118,7 @@ internal static FileSystemResourceUpdateProperties DeserializeFileSystemResource { continue; } - userDetails = QumuloUserDetails.DeserializeQumuloUserDetails(property.Value); + userDetails = QumuloUserDetails.DeserializeQumuloUserDetails(property.Value, options); continue; } if (property.NameEquals("delegatedSubnetId"u8)) diff --git a/sdk/qumulo/Azure.ResourceManager.Qumulo/src/Generated/Models/QumuloFileSystemResourceListResult.Serialization.cs b/sdk/qumulo/Azure.ResourceManager.Qumulo/src/Generated/Models/QumuloFileSystemResourceListResult.Serialization.cs index d6d2080bd7ff0..3ce863921d82d 100644 --- a/sdk/qumulo/Azure.ResourceManager.Qumulo/src/Generated/Models/QumuloFileSystemResourceListResult.Serialization.cs +++ b/sdk/qumulo/Azure.ResourceManager.Qumulo/src/Generated/Models/QumuloFileSystemResourceListResult.Serialization.cs @@ -88,7 +88,7 @@ internal static QumuloFileSystemResourceListResult DeserializeQumuloFileSystemRe List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(QumuloFileSystemResourceData.DeserializeQumuloFileSystemResourceData(item)); + array.Add(QumuloFileSystemResourceData.DeserializeQumuloFileSystemResourceData(item, options)); } value = array; continue; diff --git a/sdk/qumulo/Azure.ResourceManager.Qumulo/src/Generated/Models/QumuloFileSystemResourcePatch.Serialization.cs b/sdk/qumulo/Azure.ResourceManager.Qumulo/src/Generated/Models/QumuloFileSystemResourcePatch.Serialization.cs index 294ceaeb067f7..e25c30fae1b0a 100644 --- a/sdk/qumulo/Azure.ResourceManager.Qumulo/src/Generated/Models/QumuloFileSystemResourcePatch.Serialization.cs +++ b/sdk/qumulo/Azure.ResourceManager.Qumulo/src/Generated/Models/QumuloFileSystemResourcePatch.Serialization.cs @@ -122,7 +122,7 @@ internal static QumuloFileSystemResourcePatch DeserializeQumuloFileSystemResourc { continue; } - properties = FileSystemResourceUpdateProperties.DeserializeFileSystemResourceUpdateProperties(property.Value); + properties = FileSystemResourceUpdateProperties.DeserializeFileSystemResourceUpdateProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/qumulo/Azure.ResourceManager.Qumulo/src/Generated/QumuloFileSystemResourceData.Serialization.cs b/sdk/qumulo/Azure.ResourceManager.Qumulo/src/Generated/QumuloFileSystemResourceData.Serialization.cs index 56bad1e94eacf..415f24da211f5 100644 --- a/sdk/qumulo/Azure.ResourceManager.Qumulo/src/Generated/QumuloFileSystemResourceData.Serialization.cs +++ b/sdk/qumulo/Azure.ResourceManager.Qumulo/src/Generated/QumuloFileSystemResourceData.Serialization.cs @@ -234,7 +234,7 @@ internal static QumuloFileSystemResourceData DeserializeQumuloFileSystemResource { if (property0.NameEquals("marketplaceDetails"u8)) { - marketplaceDetails = MarketplaceDetails.DeserializeMarketplaceDetails(property0.Value); + marketplaceDetails = MarketplaceDetails.DeserializeMarketplaceDetails(property0.Value, options); continue; } if (property0.NameEquals("provisioningState"u8)) @@ -253,7 +253,7 @@ internal static QumuloFileSystemResourceData DeserializeQumuloFileSystemResource } if (property0.NameEquals("userDetails"u8)) { - userDetails = QumuloUserDetails.DeserializeQumuloUserDetails(property0.Value); + userDetails = QumuloUserDetails.DeserializeQumuloUserDetails(property0.Value, options); continue; } if (property0.NameEquals("delegatedSubnetId"u8)) diff --git a/sdk/quota/Azure.ResourceManager.Quota/src/Generated/CurrentQuotaLimitBaseData.Serialization.cs b/sdk/quota/Azure.ResourceManager.Quota/src/Generated/CurrentQuotaLimitBaseData.Serialization.cs index c90630ace9b04..2a36c55fd9d06 100644 --- a/sdk/quota/Azure.ResourceManager.Quota/src/Generated/CurrentQuotaLimitBaseData.Serialization.cs +++ b/sdk/quota/Azure.ResourceManager.Quota/src/Generated/CurrentQuotaLimitBaseData.Serialization.cs @@ -106,7 +106,7 @@ internal static CurrentQuotaLimitBaseData DeserializeCurrentQuotaLimitBaseData(J { continue; } - properties = QuotaProperties.DeserializeQuotaProperties(property.Value); + properties = QuotaProperties.DeserializeQuotaProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/quota/Azure.ResourceManager.Quota/src/Generated/CurrentUsagesBaseData.Serialization.cs b/sdk/quota/Azure.ResourceManager.Quota/src/Generated/CurrentUsagesBaseData.Serialization.cs index b512117884dd6..98c041dc5b3b6 100644 --- a/sdk/quota/Azure.ResourceManager.Quota/src/Generated/CurrentUsagesBaseData.Serialization.cs +++ b/sdk/quota/Azure.ResourceManager.Quota/src/Generated/CurrentUsagesBaseData.Serialization.cs @@ -106,7 +106,7 @@ internal static CurrentUsagesBaseData DeserializeCurrentUsagesBaseData(JsonEleme { continue; } - properties = QuotaUsagesProperties.DeserializeQuotaUsagesProperties(property.Value); + properties = QuotaUsagesProperties.DeserializeQuotaUsagesProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/quota/Azure.ResourceManager.Quota/src/Generated/Models/QuotaLimitJsonObject.Serialization.cs b/sdk/quota/Azure.ResourceManager.Quota/src/Generated/Models/QuotaLimitJsonObject.Serialization.cs index e4ff4f6d7ce3e..385ee6073e2e0 100644 --- a/sdk/quota/Azure.ResourceManager.Quota/src/Generated/Models/QuotaLimitJsonObject.Serialization.cs +++ b/sdk/quota/Azure.ResourceManager.Quota/src/Generated/Models/QuotaLimitJsonObject.Serialization.cs @@ -70,10 +70,10 @@ internal static QuotaLimitJsonObject DeserializeQuotaLimitJsonObject(JsonElement { switch (discriminator.GetString()) { - case "LimitValue": return QuotaLimitObject.DeserializeQuotaLimitObject(element); + case "LimitValue": return QuotaLimitObject.DeserializeQuotaLimitObject(element, options); } } - return UnknownLimitJsonObject.DeserializeUnknownLimitJsonObject(element); + return UnknownLimitJsonObject.DeserializeUnknownLimitJsonObject(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/quota/Azure.ResourceManager.Quota/src/Generated/Models/QuotaLimits.Serialization.cs b/sdk/quota/Azure.ResourceManager.Quota/src/Generated/Models/QuotaLimits.Serialization.cs index 8eea7b64b86b5..608ac4fc85db4 100644 --- a/sdk/quota/Azure.ResourceManager.Quota/src/Generated/Models/QuotaLimits.Serialization.cs +++ b/sdk/quota/Azure.ResourceManager.Quota/src/Generated/Models/QuotaLimits.Serialization.cs @@ -95,7 +95,7 @@ internal static QuotaLimits DeserializeQuotaLimits(JsonElement element, ModelRea List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(CurrentQuotaLimitBaseData.DeserializeCurrentQuotaLimitBaseData(item)); + array.Add(CurrentQuotaLimitBaseData.DeserializeCurrentQuotaLimitBaseData(item, options)); } value = array; continue; diff --git a/sdk/quota/Azure.ResourceManager.Quota/src/Generated/Models/QuotaOperationListResult.Serialization.cs b/sdk/quota/Azure.ResourceManager.Quota/src/Generated/Models/QuotaOperationListResult.Serialization.cs index 508096573cdb9..3415d8de5d6ae 100644 --- a/sdk/quota/Azure.ResourceManager.Quota/src/Generated/Models/QuotaOperationListResult.Serialization.cs +++ b/sdk/quota/Azure.ResourceManager.Quota/src/Generated/Models/QuotaOperationListResult.Serialization.cs @@ -94,7 +94,7 @@ internal static QuotaOperationListResult DeserializeQuotaOperationListResult(Jso List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(QuotaOperationResult.DeserializeQuotaOperationResult(item)); + array.Add(QuotaOperationResult.DeserializeQuotaOperationResult(item, options)); } value = array; continue; diff --git a/sdk/quota/Azure.ResourceManager.Quota/src/Generated/Models/QuotaOperationResult.Serialization.cs b/sdk/quota/Azure.ResourceManager.Quota/src/Generated/Models/QuotaOperationResult.Serialization.cs index 94658ae635d3f..633a9c029f5e0 100644 --- a/sdk/quota/Azure.ResourceManager.Quota/src/Generated/Models/QuotaOperationResult.Serialization.cs +++ b/sdk/quota/Azure.ResourceManager.Quota/src/Generated/Models/QuotaOperationResult.Serialization.cs @@ -97,7 +97,7 @@ internal static QuotaOperationResult DeserializeQuotaOperationResult(JsonElement { continue; } - display = QuotaOperationDisplay.DeserializeQuotaOperationDisplay(property.Value); + display = QuotaOperationDisplay.DeserializeQuotaOperationDisplay(property.Value, options); continue; } if (property.NameEquals("origin"u8)) diff --git a/sdk/quota/Azure.ResourceManager.Quota/src/Generated/Models/QuotaProperties.Serialization.cs b/sdk/quota/Azure.ResourceManager.Quota/src/Generated/Models/QuotaProperties.Serialization.cs index d1d2672e6753a..33ef1d4d3cee0 100644 --- a/sdk/quota/Azure.ResourceManager.Quota/src/Generated/Models/QuotaProperties.Serialization.cs +++ b/sdk/quota/Azure.ResourceManager.Quota/src/Generated/Models/QuotaProperties.Serialization.cs @@ -123,7 +123,7 @@ internal static QuotaProperties DeserializeQuotaProperties(JsonElement element, { continue; } - limit = QuotaLimitJsonObject.DeserializeQuotaLimitJsonObject(property.Value); + limit = QuotaLimitJsonObject.DeserializeQuotaLimitJsonObject(property.Value, options); continue; } if (property.NameEquals("unit"u8)) @@ -137,7 +137,7 @@ internal static QuotaProperties DeserializeQuotaProperties(JsonElement element, { continue; } - name = QuotaRequestResourceName.DeserializeQuotaRequestResourceName(property.Value); + name = QuotaRequestResourceName.DeserializeQuotaRequestResourceName(property.Value, options); continue; } if (property.NameEquals("resourceType"u8)) diff --git a/sdk/quota/Azure.ResourceManager.Quota/src/Generated/Models/QuotaRequestDetailsList.Serialization.cs b/sdk/quota/Azure.ResourceManager.Quota/src/Generated/Models/QuotaRequestDetailsList.Serialization.cs index 70c9305073a58..d1809287a3784 100644 --- a/sdk/quota/Azure.ResourceManager.Quota/src/Generated/Models/QuotaRequestDetailsList.Serialization.cs +++ b/sdk/quota/Azure.ResourceManager.Quota/src/Generated/Models/QuotaRequestDetailsList.Serialization.cs @@ -95,7 +95,7 @@ internal static QuotaRequestDetailsList DeserializeQuotaRequestDetailsList(JsonE List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(QuotaRequestDetailData.DeserializeQuotaRequestDetailData(item)); + array.Add(QuotaRequestDetailData.DeserializeQuotaRequestDetailData(item, options)); } value = array; continue; diff --git a/sdk/quota/Azure.ResourceManager.Quota/src/Generated/Models/QuotaSubRequestDetail.Serialization.cs b/sdk/quota/Azure.ResourceManager.Quota/src/Generated/Models/QuotaSubRequestDetail.Serialization.cs index b3e1d957882c5..574fc2159ee0b 100644 --- a/sdk/quota/Azure.ResourceManager.Quota/src/Generated/Models/QuotaSubRequestDetail.Serialization.cs +++ b/sdk/quota/Azure.ResourceManager.Quota/src/Generated/Models/QuotaSubRequestDetail.Serialization.cs @@ -116,7 +116,7 @@ internal static QuotaSubRequestDetail DeserializeQuotaSubRequestDetail(JsonEleme { continue; } - name = QuotaRequestResourceName.DeserializeQuotaRequestResourceName(property.Value); + name = QuotaRequestResourceName.DeserializeQuotaRequestResourceName(property.Value, options); continue; } if (property.NameEquals("resourceType"u8)) @@ -158,7 +158,7 @@ internal static QuotaSubRequestDetail DeserializeQuotaSubRequestDetail(JsonEleme { continue; } - limit = QuotaLimitJsonObject.DeserializeQuotaLimitJsonObject(property.Value); + limit = QuotaLimitJsonObject.DeserializeQuotaLimitJsonObject(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/quota/Azure.ResourceManager.Quota/src/Generated/Models/QuotaUsagesProperties.Serialization.cs b/sdk/quota/Azure.ResourceManager.Quota/src/Generated/Models/QuotaUsagesProperties.Serialization.cs index f42639a0dea11..232b1d8c27aa6 100644 --- a/sdk/quota/Azure.ResourceManager.Quota/src/Generated/Models/QuotaUsagesProperties.Serialization.cs +++ b/sdk/quota/Azure.ResourceManager.Quota/src/Generated/Models/QuotaUsagesProperties.Serialization.cs @@ -123,7 +123,7 @@ internal static QuotaUsagesProperties DeserializeQuotaUsagesProperties(JsonEleme { continue; } - usages = QuotaUsagesObject.DeserializeQuotaUsagesObject(property.Value); + usages = QuotaUsagesObject.DeserializeQuotaUsagesObject(property.Value, options); continue; } if (property.NameEquals("unit"u8)) @@ -137,7 +137,7 @@ internal static QuotaUsagesProperties DeserializeQuotaUsagesProperties(JsonEleme { continue; } - name = QuotaRequestResourceName.DeserializeQuotaRequestResourceName(property.Value); + name = QuotaRequestResourceName.DeserializeQuotaRequestResourceName(property.Value, options); continue; } if (property.NameEquals("resourceType"u8)) diff --git a/sdk/quota/Azure.ResourceManager.Quota/src/Generated/Models/UsagesLimits.Serialization.cs b/sdk/quota/Azure.ResourceManager.Quota/src/Generated/Models/UsagesLimits.Serialization.cs index 38ae3ba1a60d1..6d5788cce9486 100644 --- a/sdk/quota/Azure.ResourceManager.Quota/src/Generated/Models/UsagesLimits.Serialization.cs +++ b/sdk/quota/Azure.ResourceManager.Quota/src/Generated/Models/UsagesLimits.Serialization.cs @@ -95,7 +95,7 @@ internal static UsagesLimits DeserializeUsagesLimits(JsonElement element, ModelR List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(CurrentUsagesBaseData.DeserializeCurrentUsagesBaseData(item)); + array.Add(CurrentUsagesBaseData.DeserializeCurrentUsagesBaseData(item, options)); } value = array; continue; diff --git a/sdk/quota/Azure.ResourceManager.Quota/src/Generated/QuotaRequestDetailData.Serialization.cs b/sdk/quota/Azure.ResourceManager.Quota/src/Generated/QuotaRequestDetailData.Serialization.cs index 0a883cefc3658..44085d616dceb 100644 --- a/sdk/quota/Azure.ResourceManager.Quota/src/Generated/QuotaRequestDetailData.Serialization.cs +++ b/sdk/quota/Azure.ResourceManager.Quota/src/Generated/QuotaRequestDetailData.Serialization.cs @@ -185,7 +185,7 @@ internal static QuotaRequestDetailData DeserializeQuotaRequestDetailData(JsonEle { continue; } - error = ServiceErrorDetail.DeserializeServiceErrorDetail(property0.Value); + error = ServiceErrorDetail.DeserializeServiceErrorDetail(property0.Value, options); continue; } if (property0.NameEquals("requestSubmitTime"u8)) @@ -206,7 +206,7 @@ internal static QuotaRequestDetailData DeserializeQuotaRequestDetailData(JsonEle List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(QuotaSubRequestDetail.DeserializeQuotaSubRequestDetail(item)); + array.Add(QuotaSubRequestDetail.DeserializeQuotaSubRequestDetail(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupEngineData.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupEngineData.Serialization.cs index 22e5e7e589f40..8908e4999abd5 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupEngineData.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupEngineData.Serialization.cs @@ -128,7 +128,7 @@ internal static BackupEngineData DeserializeBackupEngineData(JsonElement element { continue; } - properties = BackupGenericEngine.DeserializeBackupGenericEngine(property.Value); + properties = BackupGenericEngine.DeserializeBackupGenericEngine(property.Value, options); continue; } if (property.NameEquals("eTag"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupJobData.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupJobData.Serialization.cs index d19a2014d2ddf..95927b570fb7f 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupJobData.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupJobData.Serialization.cs @@ -128,7 +128,7 @@ internal static BackupJobData DeserializeBackupJobData(JsonElement element, Mode { continue; } - properties = BackupGenericJob.DeserializeBackupGenericJob(property.Value); + properties = BackupGenericJob.DeserializeBackupGenericJob(property.Value, options); continue; } if (property.NameEquals("eTag"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupPrivateEndpointConnectionData.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupPrivateEndpointConnectionData.Serialization.cs index cbaac33cdfe06..d9b1c4e42867f 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupPrivateEndpointConnectionData.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupPrivateEndpointConnectionData.Serialization.cs @@ -128,7 +128,7 @@ internal static BackupPrivateEndpointConnectionData DeserializeBackupPrivateEndp { continue; } - properties = BackupPrivateEndpointConnectionProperties.DeserializeBackupPrivateEndpointConnectionProperties(property.Value); + properties = BackupPrivateEndpointConnectionProperties.DeserializeBackupPrivateEndpointConnectionProperties(property.Value, options); continue; } if (property.NameEquals("eTag"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupProtectedItemData.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupProtectedItemData.Serialization.cs index ab699c7fc3cec..7d8bdcc697946 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupProtectedItemData.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupProtectedItemData.Serialization.cs @@ -128,7 +128,7 @@ internal static BackupProtectedItemData DeserializeBackupProtectedItemData(JsonE { continue; } - properties = BackupGenericProtectedItem.DeserializeBackupGenericProtectedItem(property.Value); + properties = BackupGenericProtectedItem.DeserializeBackupGenericProtectedItem(property.Value, options); continue; } if (property.NameEquals("eTag"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupProtectionContainerData.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupProtectionContainerData.Serialization.cs index 89b233d751f52..7791a7b97d4d6 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupProtectionContainerData.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupProtectionContainerData.Serialization.cs @@ -128,7 +128,7 @@ internal static BackupProtectionContainerData DeserializeBackupProtectionContain { continue; } - properties = BackupGenericProtectionContainer.DeserializeBackupGenericProtectionContainer(property.Value); + properties = BackupGenericProtectionContainer.DeserializeBackupGenericProtectionContainer(property.Value, options); continue; } if (property.NameEquals("eTag"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupProtectionIntentData.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupProtectionIntentData.Serialization.cs index 396df6de9f2fa..53215143fcdb0 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupProtectionIntentData.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupProtectionIntentData.Serialization.cs @@ -128,7 +128,7 @@ internal static BackupProtectionIntentData DeserializeBackupProtectionIntentData { continue; } - properties = BackupGenericProtectionIntent.DeserializeBackupGenericProtectionIntent(property.Value); + properties = BackupGenericProtectionIntent.DeserializeBackupGenericProtectionIntent(property.Value, options); continue; } if (property.NameEquals("eTag"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupProtectionPolicyData.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupProtectionPolicyData.Serialization.cs index d7e83182a8bc8..c3894f68ad801 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupProtectionPolicyData.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupProtectionPolicyData.Serialization.cs @@ -128,7 +128,7 @@ internal static BackupProtectionPolicyData DeserializeBackupProtectionPolicyData { continue; } - properties = BackupGenericProtectionPolicy.DeserializeBackupGenericProtectionPolicy(property.Value); + properties = BackupGenericProtectionPolicy.DeserializeBackupGenericProtectionPolicy(property.Value, options); continue; } if (property.NameEquals("eTag"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupRecoveryPointData.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupRecoveryPointData.Serialization.cs index 84828e50fbf2a..bef8721e7b371 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupRecoveryPointData.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupRecoveryPointData.Serialization.cs @@ -128,7 +128,7 @@ internal static BackupRecoveryPointData DeserializeBackupRecoveryPointData(JsonE { continue; } - properties = BackupGenericRecoveryPoint.DeserializeBackupGenericRecoveryPoint(property.Value); + properties = BackupGenericRecoveryPoint.DeserializeBackupGenericRecoveryPoint(property.Value, options); continue; } if (property.NameEquals("eTag"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupResourceConfigData.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupResourceConfigData.Serialization.cs index 349c56861d2c5..c2d31b09d378b 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupResourceConfigData.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupResourceConfigData.Serialization.cs @@ -128,7 +128,7 @@ internal static BackupResourceConfigData DeserializeBackupResourceConfigData(Jso { continue; } - properties = BackupResourceConfigProperties.DeserializeBackupResourceConfigProperties(property.Value); + properties = BackupResourceConfigProperties.DeserializeBackupResourceConfigProperties(property.Value, options); continue; } if (property.NameEquals("eTag"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupResourceEncryptionConfigExtendedData.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupResourceEncryptionConfigExtendedData.Serialization.cs index 90318d2428bbe..5c57d7cd053cd 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupResourceEncryptionConfigExtendedData.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupResourceEncryptionConfigExtendedData.Serialization.cs @@ -128,7 +128,7 @@ internal static BackupResourceEncryptionConfigExtendedData DeserializeBackupReso { continue; } - properties = BackupResourceEncryptionConfigExtendedProperties.DeserializeBackupResourceEncryptionConfigExtendedProperties(property.Value); + properties = BackupResourceEncryptionConfigExtendedProperties.DeserializeBackupResourceEncryptionConfigExtendedProperties(property.Value, options); continue; } if (property.NameEquals("eTag"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupResourceVaultConfigData.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupResourceVaultConfigData.Serialization.cs index f3c78842524bb..1f43d8b52448f 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupResourceVaultConfigData.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/BackupResourceVaultConfigData.Serialization.cs @@ -128,7 +128,7 @@ internal static BackupResourceVaultConfigData DeserializeBackupResourceVaultConf { continue; } - properties = BackupResourceVaultConfigProperties.DeserializeBackupResourceVaultConfigProperties(property.Value); + properties = BackupResourceVaultConfigProperties.DeserializeBackupResourceVaultConfigProperties(property.Value, options); continue; } if (property.NameEquals("eTag"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupContent.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupContent.Serialization.cs index 55c8e4d5d040d..c24ba56371a5a 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupContent.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupContent.Serialization.cs @@ -70,12 +70,12 @@ internal static BackupContent DeserializeBackupContent(JsonElement element, Mode { switch (discriminator.GetString()) { - case "AzureFileShareBackupRequest": return FileShareBackupContent.DeserializeFileShareBackupContent(element); - case "AzureWorkloadBackupRequest": return WorkloadBackupContent.DeserializeWorkloadBackupContent(element); - case "IaasVMBackupRequest": return IaasVmBackupContent.DeserializeIaasVmBackupContent(element); + case "AzureFileShareBackupRequest": return FileShareBackupContent.DeserializeFileShareBackupContent(element, options); + case "AzureWorkloadBackupRequest": return WorkloadBackupContent.DeserializeWorkloadBackupContent(element, options); + case "IaasVMBackupRequest": return IaasVmBackupContent.DeserializeIaasVmBackupContent(element, options); } } - return UnknownBackupRequest.DeserializeUnknownBackupRequest(element); + return UnknownBackupRequest.DeserializeUnknownBackupRequest(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupEngineBaseResourceList.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupEngineBaseResourceList.Serialization.cs index 8e8f3b0e79855..d97e4ce37dca9 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupEngineBaseResourceList.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupEngineBaseResourceList.Serialization.cs @@ -95,7 +95,7 @@ internal static BackupEngineBaseResourceList DeserializeBackupEngineBaseResource List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(BackupEngineData.DeserializeBackupEngineData(item)); + array.Add(BackupEngineData.DeserializeBackupEngineData(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupGenericEngine.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupGenericEngine.Serialization.cs index d7922154b3cb9..846b10fd4ecef 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupGenericEngine.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupGenericEngine.Serialization.cs @@ -130,11 +130,11 @@ internal static BackupGenericEngine DeserializeBackupGenericEngine(JsonElement e { switch (discriminator.GetString()) { - case "AzureBackupServerEngine": return BackupServerEngine.DeserializeBackupServerEngine(element); - case "DpmBackupEngine": return DpmBackupEngine.DeserializeDpmBackupEngine(element); + case "AzureBackupServerEngine": return BackupServerEngine.DeserializeBackupServerEngine(element, options); + case "DpmBackupEngine": return DpmBackupEngine.DeserializeDpmBackupEngine(element, options); } } - return UnknownBackupEngineBase.DeserializeUnknownBackupEngineBase(element); + return UnknownBackupEngineBase.DeserializeUnknownBackupEngineBase(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupGenericJob.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupGenericJob.Serialization.cs index 54aae7f7d6d76..e3ad759f242a2 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupGenericJob.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupGenericJob.Serialization.cs @@ -105,16 +105,16 @@ internal static BackupGenericJob DeserializeBackupGenericJob(JsonElement element { switch (discriminator.GetString()) { - case "AzureIaaSVMJob": return IaasVmBackupJob.DeserializeIaasVmBackupJob(element); - case "AzureIaaSVMJobV2": return IaasVmBackupJobV2.DeserializeIaasVmBackupJobV2(element); - case "AzureStorageJob": return StorageBackupJob.DeserializeStorageBackupJob(element); - case "AzureWorkloadJob": return WorkloadBackupJob.DeserializeWorkloadBackupJob(element); - case "DpmJob": return DpmBackupJob.DeserializeDpmBackupJob(element); - case "MabJob": return MabBackupJob.DeserializeMabBackupJob(element); - case "VaultJob": return VaultBackupJob.DeserializeVaultBackupJob(element); + case "AzureIaaSVMJob": return IaasVmBackupJob.DeserializeIaasVmBackupJob(element, options); + case "AzureIaaSVMJobV2": return IaasVmBackupJobV2.DeserializeIaasVmBackupJobV2(element, options); + case "AzureStorageJob": return StorageBackupJob.DeserializeStorageBackupJob(element, options); + case "AzureWorkloadJob": return WorkloadBackupJob.DeserializeWorkloadBackupJob(element, options); + case "DpmJob": return DpmBackupJob.DeserializeDpmBackupJob(element, options); + case "MabJob": return MabBackupJob.DeserializeMabBackupJob(element, options); + case "VaultJob": return VaultBackupJob.DeserializeVaultBackupJob(element, options); } } - return UnknownJob.DeserializeUnknownJob(element); + return UnknownJob.DeserializeUnknownJob(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupGenericProtectedItem.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupGenericProtectedItem.Serialization.cs index 4274e716f9a2b..280d97266221f 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupGenericProtectedItem.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupGenericProtectedItem.Serialization.cs @@ -165,22 +165,22 @@ internal static BackupGenericProtectedItem DeserializeBackupGenericProtectedItem { switch (discriminator.GetString()) { - case "AzureFileShareProtectedItem": return FileshareProtectedItem.DeserializeFileshareProtectedItem(element); - case "AzureIaaSVMProtectedItem": return IaasVmProtectedItem.DeserializeIaasVmProtectedItem(element); - case "AzureVmWorkloadProtectedItem": return VmWorkloadProtectedItem.DeserializeVmWorkloadProtectedItem(element); - case "AzureVmWorkloadSAPAseDatabase": return VmWorkloadSapAseDatabaseProtectedItem.DeserializeVmWorkloadSapAseDatabaseProtectedItem(element); - case "AzureVmWorkloadSAPHanaDBInstance": return VmWorkloadSapHanaDBInstanceProtectedItem.DeserializeVmWorkloadSapHanaDBInstanceProtectedItem(element); - case "AzureVmWorkloadSAPHanaDatabase": return VmWorkloadSapHanaDatabaseProtectedItem.DeserializeVmWorkloadSapHanaDatabaseProtectedItem(element); - case "AzureVmWorkloadSQLDatabase": return VmWorkloadSqlDatabaseProtectedItem.DeserializeVmWorkloadSqlDatabaseProtectedItem(element); - case "DPMProtectedItem": return DpmProtectedItem.DeserializeDpmProtectedItem(element); - case "GenericProtectedItem": return GenericProtectedItem.DeserializeGenericProtectedItem(element); - case "MabFileFolderProtectedItem": return MabFileFolderProtectedItem.DeserializeMabFileFolderProtectedItem(element); - case "Microsoft.ClassicCompute/virtualMachines": return IaasClassicComputeVmProtectedItem.DeserializeIaasClassicComputeVmProtectedItem(element); - case "Microsoft.Compute/virtualMachines": return IaasComputeVmProtectedItem.DeserializeIaasComputeVmProtectedItem(element); - case "Microsoft.Sql/servers/databases": return SqlProtectedItem.DeserializeSqlProtectedItem(element); + case "AzureFileShareProtectedItem": return FileshareProtectedItem.DeserializeFileshareProtectedItem(element, options); + case "AzureIaaSVMProtectedItem": return IaasVmProtectedItem.DeserializeIaasVmProtectedItem(element, options); + case "AzureVmWorkloadProtectedItem": return VmWorkloadProtectedItem.DeserializeVmWorkloadProtectedItem(element, options); + case "AzureVmWorkloadSAPAseDatabase": return VmWorkloadSapAseDatabaseProtectedItem.DeserializeVmWorkloadSapAseDatabaseProtectedItem(element, options); + case "AzureVmWorkloadSAPHanaDBInstance": return VmWorkloadSapHanaDBInstanceProtectedItem.DeserializeVmWorkloadSapHanaDBInstanceProtectedItem(element, options); + case "AzureVmWorkloadSAPHanaDatabase": return VmWorkloadSapHanaDatabaseProtectedItem.DeserializeVmWorkloadSapHanaDatabaseProtectedItem(element, options); + case "AzureVmWorkloadSQLDatabase": return VmWorkloadSqlDatabaseProtectedItem.DeserializeVmWorkloadSqlDatabaseProtectedItem(element, options); + case "DPMProtectedItem": return DpmProtectedItem.DeserializeDpmProtectedItem(element, options); + case "GenericProtectedItem": return GenericProtectedItem.DeserializeGenericProtectedItem(element, options); + case "MabFileFolderProtectedItem": return MabFileFolderProtectedItem.DeserializeMabFileFolderProtectedItem(element, options); + case "Microsoft.ClassicCompute/virtualMachines": return IaasClassicComputeVmProtectedItem.DeserializeIaasClassicComputeVmProtectedItem(element, options); + case "Microsoft.Compute/virtualMachines": return IaasComputeVmProtectedItem.DeserializeIaasComputeVmProtectedItem(element, options); + case "Microsoft.Sql/servers/databases": return SqlProtectedItem.DeserializeSqlProtectedItem(element, options); } } - return UnknownProtectedItem.DeserializeUnknownProtectedItem(element); + return UnknownProtectedItem.DeserializeUnknownProtectedItem(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupGenericProtectionContainer.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupGenericProtectionContainer.Serialization.cs index af22e2eebfaae..c954c5f2c787a 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupGenericProtectionContainer.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupGenericProtectionContainer.Serialization.cs @@ -95,21 +95,21 @@ internal static BackupGenericProtectionContainer DeserializeBackupGenericProtect { switch (discriminator.GetString()) { - case "AzureBackupServerContainer": return BackupServerContainer.DeserializeBackupServerContainer(element); - case "AzureSqlContainer": return SqlContainer.DeserializeSqlContainer(element); - case "AzureWorkloadContainer": return WorkloadContainer.DeserializeWorkloadContainer(element); - case "DPMContainer": return DpmContainer.DeserializeDpmContainer(element); - case "GenericContainer": return GenericContainer.DeserializeGenericContainer(element); - case "IaasVMContainer": return IaasVmContainer.DeserializeIaasVmContainer(element); - case "Microsoft.ClassicCompute/virtualMachines": return IaasClassicComputeVmContainer.DeserializeIaasClassicComputeVmContainer(element); - case "Microsoft.Compute/virtualMachines": return IaasComputeVmContainer.DeserializeIaasComputeVmContainer(element); - case "SQLAGWorkLoadContainer": return SqlAvailabilityGroupWorkloadProtectionContainer.DeserializeSqlAvailabilityGroupWorkloadProtectionContainer(element); - case "StorageContainer": return StorageContainer.DeserializeStorageContainer(element); - case "VMAppContainer": return VmAppContainerProtectionContainer.DeserializeVmAppContainerProtectionContainer(element); - case "Windows": return MabContainer.DeserializeMabContainer(element); + case "AzureBackupServerContainer": return BackupServerContainer.DeserializeBackupServerContainer(element, options); + case "AzureSqlContainer": return SqlContainer.DeserializeSqlContainer(element, options); + case "AzureWorkloadContainer": return WorkloadContainer.DeserializeWorkloadContainer(element, options); + case "DPMContainer": return DpmContainer.DeserializeDpmContainer(element, options); + case "GenericContainer": return GenericContainer.DeserializeGenericContainer(element, options); + case "IaasVMContainer": return IaasVmContainer.DeserializeIaasVmContainer(element, options); + case "Microsoft.ClassicCompute/virtualMachines": return IaasClassicComputeVmContainer.DeserializeIaasClassicComputeVmContainer(element, options); + case "Microsoft.Compute/virtualMachines": return IaasComputeVmContainer.DeserializeIaasComputeVmContainer(element, options); + case "SQLAGWorkLoadContainer": return SqlAvailabilityGroupWorkloadProtectionContainer.DeserializeSqlAvailabilityGroupWorkloadProtectionContainer(element, options); + case "StorageContainer": return StorageContainer.DeserializeStorageContainer(element, options); + case "VMAppContainer": return VmAppContainerProtectionContainer.DeserializeVmAppContainerProtectionContainer(element, options); + case "Windows": return MabContainer.DeserializeMabContainer(element, options); } } - return UnknownProtectionContainer.DeserializeUnknownProtectionContainer(element); + return UnknownProtectionContainer.DeserializeUnknownProtectionContainer(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupGenericProtectionIntent.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupGenericProtectionIntent.Serialization.cs index 689c676598bc1..23880709200bb 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupGenericProtectionIntent.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupGenericProtectionIntent.Serialization.cs @@ -95,14 +95,14 @@ internal static BackupGenericProtectionIntent DeserializeBackupGenericProtection { switch (discriminator.GetString()) { - case "AzureResourceItem": return ResourceProtectionIntent.DeserializeResourceProtectionIntent(element); - case "AzureWorkloadAutoProtectionIntent": return WorkloadAutoProtectionIntent.DeserializeWorkloadAutoProtectionIntent(element); - case "AzureWorkloadContainerAutoProtectionIntent": return WorkloadContainerAutoProtectionIntent.DeserializeWorkloadContainerAutoProtectionIntent(element); - case "AzureWorkloadSQLAutoProtectionIntent": return WorkloadSqlAutoProtectionIntent.DeserializeWorkloadSqlAutoProtectionIntent(element); - case "RecoveryServiceVaultItem": return RecoveryServiceVaultProtectionIntent.DeserializeRecoveryServiceVaultProtectionIntent(element); + case "AzureResourceItem": return ResourceProtectionIntent.DeserializeResourceProtectionIntent(element, options); + case "AzureWorkloadAutoProtectionIntent": return WorkloadAutoProtectionIntent.DeserializeWorkloadAutoProtectionIntent(element, options); + case "AzureWorkloadContainerAutoProtectionIntent": return WorkloadContainerAutoProtectionIntent.DeserializeWorkloadContainerAutoProtectionIntent(element, options); + case "AzureWorkloadSQLAutoProtectionIntent": return WorkloadSqlAutoProtectionIntent.DeserializeWorkloadSqlAutoProtectionIntent(element, options); + case "RecoveryServiceVaultItem": return RecoveryServiceVaultProtectionIntent.DeserializeRecoveryServiceVaultProtectionIntent(element, options); } } - return UnknownProtectionIntent.DeserializeUnknownProtectionIntent(element); + return UnknownProtectionIntent.DeserializeUnknownProtectionIntent(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupGenericProtectionPolicy.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupGenericProtectionPolicy.Serialization.cs index 83590b76210b1..24fbfbae2dbd0 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupGenericProtectionPolicy.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupGenericProtectionPolicy.Serialization.cs @@ -85,15 +85,15 @@ internal static BackupGenericProtectionPolicy DeserializeBackupGenericProtection { switch (discriminator.GetString()) { - case "AzureIaasVM": return IaasVmProtectionPolicy.DeserializeIaasVmProtectionPolicy(element); - case "AzureSql": return SqlProtectionPolicy.DeserializeSqlProtectionPolicy(element); - case "AzureStorage": return FileShareProtectionPolicy.DeserializeFileShareProtectionPolicy(element); - case "AzureWorkload": return VmWorkloadProtectionPolicy.DeserializeVmWorkloadProtectionPolicy(element); - case "GenericProtectionPolicy": return GenericProtectionPolicy.DeserializeGenericProtectionPolicy(element); - case "MAB": return MabProtectionPolicy.DeserializeMabProtectionPolicy(element); + case "AzureIaasVM": return IaasVmProtectionPolicy.DeserializeIaasVmProtectionPolicy(element, options); + case "AzureSql": return SqlProtectionPolicy.DeserializeSqlProtectionPolicy(element, options); + case "AzureStorage": return FileShareProtectionPolicy.DeserializeFileShareProtectionPolicy(element, options); + case "AzureWorkload": return VmWorkloadProtectionPolicy.DeserializeVmWorkloadProtectionPolicy(element, options); + case "GenericProtectionPolicy": return GenericProtectionPolicy.DeserializeGenericProtectionPolicy(element, options); + case "MAB": return MabProtectionPolicy.DeserializeMabProtectionPolicy(element, options); } } - return UnknownProtectionPolicy.DeserializeUnknownProtectionPolicy(element); + return UnknownProtectionPolicy.DeserializeUnknownProtectionPolicy(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupGenericRecoveryPoint.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupGenericRecoveryPoint.Serialization.cs index 065c253c6c3cf..dfe0ffed76f59 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupGenericRecoveryPoint.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupGenericRecoveryPoint.Serialization.cs @@ -70,18 +70,18 @@ internal static BackupGenericRecoveryPoint DeserializeBackupGenericRecoveryPoint { switch (discriminator.GetString()) { - case "AzureFileShareRecoveryPoint": return FileShareRecoveryPoint.DeserializeFileShareRecoveryPoint(element); - case "AzureWorkloadPointInTimeRecoveryPoint": return WorkloadPointInTimeRecoveryPoint.DeserializeWorkloadPointInTimeRecoveryPoint(element); - case "AzureWorkloadRecoveryPoint": return WorkloadRecoveryPoint.DeserializeWorkloadRecoveryPoint(element); - case "AzureWorkloadSAPHanaPointInTimeRecoveryPoint": return WorkloadSapHanaPointInTimeRecoveryPoint.DeserializeWorkloadSapHanaPointInTimeRecoveryPoint(element); - case "AzureWorkloadSAPHanaRecoveryPoint": return WorkloadSapHanaRecoveryPoint.DeserializeWorkloadSapHanaRecoveryPoint(element); - case "AzureWorkloadSQLPointInTimeRecoveryPoint": return WorkloadSqlPointInTimeRecoveryPoint.DeserializeWorkloadSqlPointInTimeRecoveryPoint(element); - case "AzureWorkloadSQLRecoveryPoint": return WorkloadSqlRecoveryPoint.DeserializeWorkloadSqlRecoveryPoint(element); - case "GenericRecoveryPoint": return GenericRecoveryPoint.DeserializeGenericRecoveryPoint(element); - case "IaasVMRecoveryPoint": return IaasVmRecoveryPoint.DeserializeIaasVmRecoveryPoint(element); + case "AzureFileShareRecoveryPoint": return FileShareRecoveryPoint.DeserializeFileShareRecoveryPoint(element, options); + case "AzureWorkloadPointInTimeRecoveryPoint": return WorkloadPointInTimeRecoveryPoint.DeserializeWorkloadPointInTimeRecoveryPoint(element, options); + case "AzureWorkloadRecoveryPoint": return WorkloadRecoveryPoint.DeserializeWorkloadRecoveryPoint(element, options); + case "AzureWorkloadSAPHanaPointInTimeRecoveryPoint": return WorkloadSapHanaPointInTimeRecoveryPoint.DeserializeWorkloadSapHanaPointInTimeRecoveryPoint(element, options); + case "AzureWorkloadSAPHanaRecoveryPoint": return WorkloadSapHanaRecoveryPoint.DeserializeWorkloadSapHanaRecoveryPoint(element, options); + case "AzureWorkloadSQLPointInTimeRecoveryPoint": return WorkloadSqlPointInTimeRecoveryPoint.DeserializeWorkloadSqlPointInTimeRecoveryPoint(element, options); + case "AzureWorkloadSQLRecoveryPoint": return WorkloadSqlRecoveryPoint.DeserializeWorkloadSqlRecoveryPoint(element, options); + case "GenericRecoveryPoint": return GenericRecoveryPoint.DeserializeGenericRecoveryPoint(element, options); + case "IaasVMRecoveryPoint": return IaasVmRecoveryPoint.DeserializeIaasVmRecoveryPoint(element, options); } } - return UnknownRecoveryPoint.DeserializeUnknownRecoveryPoint(element); + return UnknownRecoveryPoint.DeserializeUnknownRecoveryPoint(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupJobListResult.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupJobListResult.Serialization.cs index e975f2575ca69..196ed87524c50 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupJobListResult.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupJobListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static BackupJobListResult DeserializeBackupJobListResult(JsonElement e List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(BackupJobData.DeserializeBackupJobData(item)); + array.Add(BackupJobData.DeserializeBackupJobData(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupManagementUsage.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupManagementUsage.Serialization.cs index cf2fe2df3ce85..864edd5e6c47d 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupManagementUsage.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupManagementUsage.Serialization.cs @@ -151,7 +151,7 @@ internal static BackupManagementUsage DeserializeBackupManagementUsage(JsonEleme { continue; } - name = BackupNameInfo.DeserializeBackupNameInfo(property.Value); + name = BackupNameInfo.DeserializeBackupNameInfo(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupManagementUsageList.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupManagementUsageList.Serialization.cs index 3aa75c0efb828..27d6a5715fc80 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupManagementUsageList.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupManagementUsageList.Serialization.cs @@ -88,7 +88,7 @@ internal static BackupManagementUsageList DeserializeBackupManagementUsageList(J List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(BackupManagementUsage.DeserializeBackupManagementUsage(item)); + array.Add(BackupManagementUsage.DeserializeBackupManagementUsage(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupPrivateEndpointConnectionProperties.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupPrivateEndpointConnectionProperties.Serialization.cs index f9e06f5021b0e..b28c8a256dd2c 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupPrivateEndpointConnectionProperties.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupPrivateEndpointConnectionProperties.Serialization.cs @@ -136,7 +136,7 @@ internal static BackupPrivateEndpointConnectionProperties DeserializeBackupPriva { continue; } - privateLinkServiceConnectionState = RecoveryServicesBackupPrivateLinkServiceConnectionState.DeserializeRecoveryServicesBackupPrivateLinkServiceConnectionState(property.Value); + privateLinkServiceConnectionState = RecoveryServicesBackupPrivateLinkServiceConnectionState.DeserializeRecoveryServicesBackupPrivateLinkServiceConnectionState(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupResourceEncryptionConfigExtendedCreateOrUpdateContent.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupResourceEncryptionConfigExtendedCreateOrUpdateContent.Serialization.cs index b7dfb3f2d6213..8393bc4b26435 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupResourceEncryptionConfigExtendedCreateOrUpdateContent.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupResourceEncryptionConfigExtendedCreateOrUpdateContent.Serialization.cs @@ -127,7 +127,7 @@ internal static BackupResourceEncryptionConfigExtendedCreateOrUpdateContent Dese { continue; } - properties = BackupResourceEncryptionConfig.DeserializeBackupResourceEncryptionConfig(property.Value); + properties = BackupResourceEncryptionConfig.DeserializeBackupResourceEncryptionConfig(property.Value, options); continue; } if (property.NameEquals("eTag"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupRetentionPolicy.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupRetentionPolicy.Serialization.cs index 4d380518e79b1..95a1ea229da85 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupRetentionPolicy.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupRetentionPolicy.Serialization.cs @@ -70,11 +70,11 @@ internal static BackupRetentionPolicy DeserializeBackupRetentionPolicy(JsonEleme { switch (discriminator.GetString()) { - case "LongTermRetentionPolicy": return LongTermRetentionPolicy.DeserializeLongTermRetentionPolicy(element); - case "SimpleRetentionPolicy": return SimpleRetentionPolicy.DeserializeSimpleRetentionPolicy(element); + case "LongTermRetentionPolicy": return LongTermRetentionPolicy.DeserializeLongTermRetentionPolicy(element, options); + case "SimpleRetentionPolicy": return SimpleRetentionPolicy.DeserializeSimpleRetentionPolicy(element, options); } } - return UnknownRetentionPolicy.DeserializeUnknownRetentionPolicy(element); + return UnknownRetentionPolicy.DeserializeUnknownRetentionPolicy(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupSchedulePolicy.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupSchedulePolicy.Serialization.cs index 766363721d889..56593568f4a30 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupSchedulePolicy.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupSchedulePolicy.Serialization.cs @@ -70,13 +70,13 @@ internal static BackupSchedulePolicy DeserializeBackupSchedulePolicy(JsonElement { switch (discriminator.GetString()) { - case "LogSchedulePolicy": return LogSchedulePolicy.DeserializeLogSchedulePolicy(element); - case "LongTermSchedulePolicy": return LongTermSchedulePolicy.DeserializeLongTermSchedulePolicy(element); - case "SimpleSchedulePolicy": return SimpleSchedulePolicy.DeserializeSimpleSchedulePolicy(element); - case "SimpleSchedulePolicyV2": return SimpleSchedulePolicyV2.DeserializeSimpleSchedulePolicyV2(element); + case "LogSchedulePolicy": return LogSchedulePolicy.DeserializeLogSchedulePolicy(element, options); + case "LongTermSchedulePolicy": return LongTermSchedulePolicy.DeserializeLongTermSchedulePolicy(element, options); + case "SimpleSchedulePolicy": return SimpleSchedulePolicy.DeserializeSimpleSchedulePolicy(element, options); + case "SimpleSchedulePolicyV2": return SimpleSchedulePolicyV2.DeserializeSimpleSchedulePolicyV2(element, options); } } - return UnknownSchedulePolicy.DeserializeUnknownSchedulePolicy(element); + return UnknownSchedulePolicy.DeserializeUnknownSchedulePolicy(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupServerContainer.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupServerContainer.Serialization.cs index bf353f38ee777..a711ac9b66dee 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupServerContainer.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupServerContainer.Serialization.cs @@ -216,7 +216,7 @@ internal static BackupServerContainer DeserializeBackupServerContainer(JsonEleme { continue; } - extendedInfo = DpmContainerExtendedInfo.DeserializeDpmContainerExtendedInfo(property.Value); + extendedInfo = DpmContainerExtendedInfo.DeserializeDpmContainerExtendedInfo(property.Value, options); continue; } if (property.NameEquals("friendlyName"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupServerEngine.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupServerEngine.Serialization.cs index f9dad1a1caefd..0e0baff11c51e 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupServerEngine.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/BackupServerEngine.Serialization.cs @@ -225,7 +225,7 @@ internal static BackupServerEngine DeserializeBackupServerEngine(JsonElement ele { continue; } - extendedInfo = BackupEngineExtendedInfo.DeserializeBackupEngineExtendedInfo(property.Value); + extendedInfo = BackupEngineExtendedInfo.DeserializeBackupEngineExtendedInfo(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/DailyRetentionFormat.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/DailyRetentionFormat.Serialization.cs index a40a9de9b134a..fa4c903ad122b 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/DailyRetentionFormat.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/DailyRetentionFormat.Serialization.cs @@ -88,7 +88,7 @@ internal static DailyRetentionFormat DeserializeDailyRetentionFormat(JsonElement List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(BackupDay.DeserializeBackupDay(item)); + array.Add(BackupDay.DeserializeBackupDay(item, options)); } daysOfTheMonth = array; continue; diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/DailyRetentionSchedule.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/DailyRetentionSchedule.Serialization.cs index 98eb1d06d2441..9758e0db36eab 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/DailyRetentionSchedule.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/DailyRetentionSchedule.Serialization.cs @@ -105,7 +105,7 @@ internal static DailyRetentionSchedule DeserializeDailyRetentionSchedule(JsonEle { continue; } - retentionDuration = RetentionDuration.DeserializeRetentionDuration(property.Value); + retentionDuration = RetentionDuration.DeserializeRetentionDuration(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/DistributedNodesInfo.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/DistributedNodesInfo.Serialization.cs index 4b95ab4788965..c6c7f380fadcd 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/DistributedNodesInfo.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/DistributedNodesInfo.Serialization.cs @@ -108,7 +108,7 @@ internal static DistributedNodesInfo DeserializeDistributedNodesInfo(JsonElement { continue; } - errorDetail = BackupErrorDetail.DeserializeBackupErrorDetail(property.Value); + errorDetail = BackupErrorDetail.DeserializeBackupErrorDetail(property.Value, options); continue; } if (property.NameEquals("sourceResourceId"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/DpmBackupEngine.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/DpmBackupEngine.Serialization.cs index 8d78e656de3e2..47b51897478a5 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/DpmBackupEngine.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/DpmBackupEngine.Serialization.cs @@ -225,7 +225,7 @@ internal static DpmBackupEngine DeserializeDpmBackupEngine(JsonElement element, { continue; } - extendedInfo = BackupEngineExtendedInfo.DeserializeBackupEngineExtendedInfo(property.Value); + extendedInfo = BackupEngineExtendedInfo.DeserializeBackupEngineExtendedInfo(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/DpmBackupJob.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/DpmBackupJob.Serialization.cs index 1a0ddc82eaf07..c62c6a2aeadcc 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/DpmBackupJob.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/DpmBackupJob.Serialization.cs @@ -223,7 +223,7 @@ internal static DpmBackupJob DeserializeDpmBackupJob(JsonElement element, ModelR List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DpmErrorInfo.DeserializeDpmErrorInfo(item)); + array.Add(DpmErrorInfo.DeserializeDpmErrorInfo(item, options)); } errorDetails = array; continue; @@ -234,7 +234,7 @@ internal static DpmBackupJob DeserializeDpmBackupJob(JsonElement element, ModelR { continue; } - extendedInfo = DpmBackupJobExtendedInfo.DeserializeDpmBackupJobExtendedInfo(property.Value); + extendedInfo = DpmBackupJobExtendedInfo.DeserializeDpmBackupJobExtendedInfo(property.Value, options); continue; } if (property.NameEquals("entityFriendlyName"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/DpmBackupJobExtendedInfo.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/DpmBackupJobExtendedInfo.Serialization.cs index b57735ec15ec0..9c65a30396882 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/DpmBackupJobExtendedInfo.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/DpmBackupJobExtendedInfo.Serialization.cs @@ -106,7 +106,7 @@ internal static DpmBackupJobExtendedInfo DeserializeDpmBackupJobExtendedInfo(Jso List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DpmBackupJobTaskDetails.DeserializeDpmBackupJobTaskDetails(item)); + array.Add(DpmBackupJobTaskDetails.DeserializeDpmBackupJobTaskDetails(item, options)); } tasksList = array; continue; diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/DpmContainer.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/DpmContainer.Serialization.cs index d2b64967f6c3c..7dad41f03d691 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/DpmContainer.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/DpmContainer.Serialization.cs @@ -140,7 +140,7 @@ internal static DpmContainer DeserializeDpmContainer(JsonElement element, ModelR { switch (discriminator.GetString()) { - case "AzureBackupServerContainer": return BackupServerContainer.DeserializeBackupServerContainer(element); + case "AzureBackupServerContainer": return BackupServerContainer.DeserializeBackupServerContainer(element, options); } } Optional canReRegister = default; @@ -223,7 +223,7 @@ internal static DpmContainer DeserializeDpmContainer(JsonElement element, ModelR { continue; } - extendedInfo = DpmContainerExtendedInfo.DeserializeDpmContainerExtendedInfo(property.Value); + extendedInfo = DpmContainerExtendedInfo.DeserializeDpmContainerExtendedInfo(property.Value, options); continue; } if (property.NameEquals("friendlyName"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/DpmProtectedItem.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/DpmProtectedItem.Serialization.cs index 8e289fe2da3b7..a059950ef6e58 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/DpmProtectedItem.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/DpmProtectedItem.Serialization.cs @@ -233,7 +233,7 @@ internal static DpmProtectedItem DeserializeDpmProtectedItem(JsonElement element { continue; } - extendedInfo = DpmProtectedItemExtendedInfo.DeserializeDpmProtectedItemExtendedInfo(property.Value); + extendedInfo = DpmProtectedItemExtendedInfo.DeserializeDpmProtectedItemExtendedInfo(property.Value, options); continue; } if (property.NameEquals("protectedItemType"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/FeatureSupportContent.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/FeatureSupportContent.Serialization.cs index 6fea5a7a08df5..bfb98636546df 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/FeatureSupportContent.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/FeatureSupportContent.Serialization.cs @@ -70,11 +70,11 @@ internal static FeatureSupportContent DeserializeFeatureSupportContent(JsonEleme { switch (discriminator.GetString()) { - case "AzureBackupGoals": return BackupGoalFeatureSupportContent.DeserializeBackupGoalFeatureSupportContent(element); - case "AzureVMResourceBackup": return VmResourceFeatureSupportContent.DeserializeVmResourceFeatureSupportContent(element); + case "AzureBackupGoals": return BackupGoalFeatureSupportContent.DeserializeBackupGoalFeatureSupportContent(element, options); + case "AzureVMResourceBackup": return VmResourceFeatureSupportContent.DeserializeVmResourceFeatureSupportContent(element, options); } } - return UnknownFeatureSupportRequest.DeserializeUnknownFeatureSupportRequest(element); + return UnknownFeatureSupportRequest.DeserializeUnknownFeatureSupportRequest(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/FetchTieringCostInfoContent.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/FetchTieringCostInfoContent.Serialization.cs index 801ad67036753..2374949beb379 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/FetchTieringCostInfoContent.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/FetchTieringCostInfoContent.Serialization.cs @@ -74,13 +74,13 @@ internal static FetchTieringCostInfoContent DeserializeFetchTieringCostInfoConte { switch (discriminator.GetString()) { - case "FetchTieringCostInfoForRehydrationRequest": return FetchTieringCostInfoForRehydrationContent.DeserializeFetchTieringCostInfoForRehydrationContent(element); - case "FetchTieringCostSavingsInfoForPolicyRequest": return FetchTieringCostSavingsInfoForPolicyContent.DeserializeFetchTieringCostSavingsInfoForPolicyContent(element); - case "FetchTieringCostSavingsInfoForProtectedItemRequest": return FetchTieringCostSavingsInfoForProtectedItemContent.DeserializeFetchTieringCostSavingsInfoForProtectedItemContent(element); - case "FetchTieringCostSavingsInfoForVaultRequest": return FetchTieringCostSavingsInfoForVaultContent.DeserializeFetchTieringCostSavingsInfoForVaultContent(element); + case "FetchTieringCostInfoForRehydrationRequest": return FetchTieringCostInfoForRehydrationContent.DeserializeFetchTieringCostInfoForRehydrationContent(element, options); + case "FetchTieringCostSavingsInfoForPolicyRequest": return FetchTieringCostSavingsInfoForPolicyContent.DeserializeFetchTieringCostSavingsInfoForPolicyContent(element, options); + case "FetchTieringCostSavingsInfoForProtectedItemRequest": return FetchTieringCostSavingsInfoForProtectedItemContent.DeserializeFetchTieringCostSavingsInfoForProtectedItemContent(element, options); + case "FetchTieringCostSavingsInfoForVaultRequest": return FetchTieringCostSavingsInfoForVaultContent.DeserializeFetchTieringCostSavingsInfoForVaultContent(element, options); } } - return UnknownFetchTieringCostInfoRequest.DeserializeUnknownFetchTieringCostInfoRequest(element); + return UnknownFetchTieringCostInfoRequest.DeserializeUnknownFetchTieringCostInfoRequest(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/FileShareProtectionPolicy.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/FileShareProtectionPolicy.Serialization.cs index 8d1efa439fe3d..89659d70733c6 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/FileShareProtectionPolicy.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/FileShareProtectionPolicy.Serialization.cs @@ -133,7 +133,7 @@ internal static FileShareProtectionPolicy DeserializeFileShareProtectionPolicy(J { continue; } - schedulePolicy = BackupSchedulePolicy.DeserializeBackupSchedulePolicy(property.Value); + schedulePolicy = BackupSchedulePolicy.DeserializeBackupSchedulePolicy(property.Value, options); continue; } if (property.NameEquals("retentionPolicy"u8)) @@ -142,7 +142,7 @@ internal static FileShareProtectionPolicy DeserializeFileShareProtectionPolicy(J { continue; } - retentionPolicy = BackupRetentionPolicy.DeserializeBackupRetentionPolicy(property.Value); + retentionPolicy = BackupRetentionPolicy.DeserializeBackupRetentionPolicy(property.Value, options); continue; } if (property.NameEquals("vaultRetentionPolicy"u8)) @@ -151,7 +151,7 @@ internal static FileShareProtectionPolicy DeserializeFileShareProtectionPolicy(J { continue; } - vaultRetentionPolicy = VaultRetentionPolicy.DeserializeVaultRetentionPolicy(property.Value); + vaultRetentionPolicy = VaultRetentionPolicy.DeserializeVaultRetentionPolicy(property.Value, options); continue; } if (property.NameEquals("timeZone"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/FileShareRecoveryPoint.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/FileShareRecoveryPoint.Serialization.cs index 02c42fb63d19f..2e6e2317879fa 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/FileShareRecoveryPoint.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/FileShareRecoveryPoint.Serialization.cs @@ -139,7 +139,7 @@ internal static FileShareRecoveryPoint DeserializeFileShareRecoveryPoint(JsonEle { continue; } - recoveryPointProperties = RecoveryPointProperties.DeserializeRecoveryPointProperties(property.Value); + recoveryPointProperties = RecoveryPointProperties.DeserializeRecoveryPointProperties(property.Value, options); continue; } if (property.NameEquals("objectType"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/FileShareRestoreContent.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/FileShareRestoreContent.Serialization.cs index a05e36a9cc004..e049e1de2d933 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/FileShareRestoreContent.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/FileShareRestoreContent.Serialization.cs @@ -157,7 +157,7 @@ internal static FileShareRestoreContent DeserializeFileShareRestoreContent(JsonE List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(Models.RestoreFileSpecs.DeserializeRestoreFileSpecs(item)); + array.Add(Models.RestoreFileSpecs.DeserializeRestoreFileSpecs(item, options)); } restoreFileSpecs = array; continue; @@ -168,7 +168,7 @@ internal static FileShareRestoreContent DeserializeFileShareRestoreContent(JsonE { continue; } - targetDetails = TargetAfsRestoreInfo.DeserializeTargetAfsRestoreInfo(property.Value); + targetDetails = TargetAfsRestoreInfo.DeserializeTargetAfsRestoreInfo(property.Value, options); continue; } if (property.NameEquals("objectType"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/FileshareProtectedItem.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/FileshareProtectedItem.Serialization.cs index b86da4099cc7b..b9bdc9dffce73 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/FileshareProtectedItem.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/FileshareProtectedItem.Serialization.cs @@ -274,7 +274,7 @@ internal static FileshareProtectedItem DeserializeFileshareProtectedItem(JsonEle Dictionary dictionary = new Dictionary(); foreach (var property0 in property.Value.EnumerateObject()) { - dictionary.Add(property0.Name, KpiResourceHealthDetails.DeserializeKpiResourceHealthDetails(property0.Value)); + dictionary.Add(property0.Name, KpiResourceHealthDetails.DeserializeKpiResourceHealthDetails(property0.Value, options)); } kpisHealths = dictionary; continue; @@ -285,7 +285,7 @@ internal static FileshareProtectedItem DeserializeFileshareProtectedItem(JsonEle { continue; } - extendedInfo = FileshareProtectedItemExtendedInfo.DeserializeFileshareProtectedItemExtendedInfo(property.Value); + extendedInfo = FileshareProtectedItemExtendedInfo.DeserializeFileshareProtectedItemExtendedInfo(property.Value, options); continue; } if (property.NameEquals("protectedItemType"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/GenericContainer.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/GenericContainer.Serialization.cs index 7fc9328982524..0e092f8533fca 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/GenericContainer.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/GenericContainer.Serialization.cs @@ -124,7 +124,7 @@ internal static GenericContainer DeserializeGenericContainer(JsonElement element { continue; } - extendedInformation = GenericContainerExtendedInfo.DeserializeGenericContainerExtendedInfo(property.Value); + extendedInformation = GenericContainerExtendedInfo.DeserializeGenericContainerExtendedInfo(property.Value, options); continue; } if (property.NameEquals("friendlyName"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/GenericContainerExtendedInfo.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/GenericContainerExtendedInfo.Serialization.cs index 05d93075de1f6..431eb98d4ee5c 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/GenericContainerExtendedInfo.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/GenericContainerExtendedInfo.Serialization.cs @@ -103,7 +103,7 @@ internal static GenericContainerExtendedInfo DeserializeGenericContainerExtended { continue; } - containerIdentityInfo = ContainerIdentityInfo.DeserializeContainerIdentityInfo(property.Value); + containerIdentityInfo = ContainerIdentityInfo.DeserializeContainerIdentityInfo(property.Value, options); continue; } if (property.NameEquals("serviceEndpoints"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/GenericProtectionPolicy.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/GenericProtectionPolicy.Serialization.cs index 66150cb2506af..203ee98f9f68e 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/GenericProtectionPolicy.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/GenericProtectionPolicy.Serialization.cs @@ -120,7 +120,7 @@ internal static GenericProtectionPolicy DeserializeGenericProtectionPolicy(JsonE List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(Models.SubProtectionPolicy.DeserializeSubProtectionPolicy(item)); + array.Add(Models.SubProtectionPolicy.DeserializeSubProtectionPolicy(item, options)); } subProtectionPolicy = array; continue; diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/GenericRecoveryPoint.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/GenericRecoveryPoint.Serialization.cs index a2ee514f7a463..e4d10a3e7da5f 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/GenericRecoveryPoint.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/GenericRecoveryPoint.Serialization.cs @@ -131,7 +131,7 @@ internal static GenericRecoveryPoint DeserializeGenericRecoveryPoint(JsonElement { continue; } - recoveryPointProperties = RecoveryPointProperties.DeserializeRecoveryPointProperties(property.Value); + recoveryPointProperties = RecoveryPointProperties.DeserializeRecoveryPointProperties(property.Value, options); continue; } if (property.NameEquals("objectType"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasClassicComputeVmProtectedItem.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasClassicComputeVmProtectedItem.Serialization.cs index b9aa7c0b40b34..6f0e46e01db1a 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasClassicComputeVmProtectedItem.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasClassicComputeVmProtectedItem.Serialization.cs @@ -313,7 +313,7 @@ internal static IaasClassicComputeVmProtectedItem DeserializeIaasClassicComputeV List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(IaasVmHealthDetails.DeserializeIaasVmHealthDetails(item)); + array.Add(IaasVmHealthDetails.DeserializeIaasVmHealthDetails(item, options)); } healthDetails = array; continue; @@ -327,7 +327,7 @@ internal static IaasClassicComputeVmProtectedItem DeserializeIaasClassicComputeV Dictionary dictionary = new Dictionary(); foreach (var property0 in property.Value.EnumerateObject()) { - dictionary.Add(property0.Name, KpiResourceHealthDetails.DeserializeKpiResourceHealthDetails(property0.Value)); + dictionary.Add(property0.Name, KpiResourceHealthDetails.DeserializeKpiResourceHealthDetails(property0.Value, options)); } kpisHealths = dictionary; continue; @@ -357,7 +357,7 @@ internal static IaasClassicComputeVmProtectedItem DeserializeIaasClassicComputeV { continue; } - extendedInfo = IaasVmProtectedItemExtendedInfo.DeserializeIaasVmProtectedItemExtendedInfo(property.Value); + extendedInfo = IaasVmProtectedItemExtendedInfo.DeserializeIaasVmProtectedItemExtendedInfo(property.Value, options); continue; } if (property.NameEquals("extendedProperties"u8)) @@ -366,7 +366,7 @@ internal static IaasClassicComputeVmProtectedItem DeserializeIaasClassicComputeV { continue; } - extendedProperties = IaasVmBackupExtendedProperties.DeserializeIaasVmBackupExtendedProperties(property.Value); + extendedProperties = IaasVmBackupExtendedProperties.DeserializeIaasVmBackupExtendedProperties(property.Value, options); continue; } if (property.NameEquals("protectedItemType"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasComputeVmProtectedItem.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasComputeVmProtectedItem.Serialization.cs index 9f6843ad0e822..d8d569dcbcecc 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasComputeVmProtectedItem.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasComputeVmProtectedItem.Serialization.cs @@ -313,7 +313,7 @@ internal static IaasComputeVmProtectedItem DeserializeIaasComputeVmProtectedItem List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(IaasVmHealthDetails.DeserializeIaasVmHealthDetails(item)); + array.Add(IaasVmHealthDetails.DeserializeIaasVmHealthDetails(item, options)); } healthDetails = array; continue; @@ -327,7 +327,7 @@ internal static IaasComputeVmProtectedItem DeserializeIaasComputeVmProtectedItem Dictionary dictionary = new Dictionary(); foreach (var property0 in property.Value.EnumerateObject()) { - dictionary.Add(property0.Name, KpiResourceHealthDetails.DeserializeKpiResourceHealthDetails(property0.Value)); + dictionary.Add(property0.Name, KpiResourceHealthDetails.DeserializeKpiResourceHealthDetails(property0.Value, options)); } kpisHealths = dictionary; continue; @@ -357,7 +357,7 @@ internal static IaasComputeVmProtectedItem DeserializeIaasComputeVmProtectedItem { continue; } - extendedInfo = IaasVmProtectedItemExtendedInfo.DeserializeIaasVmProtectedItemExtendedInfo(property.Value); + extendedInfo = IaasVmProtectedItemExtendedInfo.DeserializeIaasVmProtectedItemExtendedInfo(property.Value, options); continue; } if (property.NameEquals("extendedProperties"u8)) @@ -366,7 +366,7 @@ internal static IaasComputeVmProtectedItem DeserializeIaasComputeVmProtectedItem { continue; } - extendedProperties = IaasVmBackupExtendedProperties.DeserializeIaasVmBackupExtendedProperties(property.Value); + extendedProperties = IaasVmBackupExtendedProperties.DeserializeIaasVmBackupExtendedProperties(property.Value, options); continue; } if (property.NameEquals("protectedItemType"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmBackupExtendedProperties.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmBackupExtendedProperties.Serialization.cs index 583e4c6926f0e..9517664cdfbbd 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmBackupExtendedProperties.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmBackupExtendedProperties.Serialization.cs @@ -86,7 +86,7 @@ internal static IaasVmBackupExtendedProperties DeserializeIaasVmBackupExtendedPr { continue; } - diskExclusionProperties = DiskExclusionProperties.DeserializeDiskExclusionProperties(property.Value); + diskExclusionProperties = DiskExclusionProperties.DeserializeDiskExclusionProperties(property.Value, options); continue; } if (property.NameEquals("linuxVmApplicationName"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmBackupJob.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmBackupJob.Serialization.cs index 73fbdadcbd738..87b09815833ca 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmBackupJob.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmBackupJob.Serialization.cs @@ -197,7 +197,7 @@ internal static IaasVmBackupJob DeserializeIaasVmBackupJob(JsonElement element, List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(IaasVmErrorInfo.DeserializeIaasVmErrorInfo(item)); + array.Add(IaasVmErrorInfo.DeserializeIaasVmErrorInfo(item, options)); } errorDetails = array; continue; @@ -213,7 +213,7 @@ internal static IaasVmBackupJob DeserializeIaasVmBackupJob(JsonElement element, { continue; } - extendedInfo = IaasVmBackupJobExtendedInfo.DeserializeIaasVmBackupJobExtendedInfo(property.Value); + extendedInfo = IaasVmBackupJobExtendedInfo.DeserializeIaasVmBackupJobExtendedInfo(property.Value, options); continue; } if (property.NameEquals("containerName"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmBackupJobExtendedInfo.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmBackupJobExtendedInfo.Serialization.cs index bfc2c7c889a46..357adba4bf8f0 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmBackupJobExtendedInfo.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmBackupJobExtendedInfo.Serialization.cs @@ -130,7 +130,7 @@ internal static IaasVmBackupJobExtendedInfo DeserializeIaasVmBackupJobExtendedIn List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(IaasVmBackupJobTaskDetails.DeserializeIaasVmBackupJobTaskDetails(item)); + array.Add(IaasVmBackupJobTaskDetails.DeserializeIaasVmBackupJobTaskDetails(item, options)); } tasksList = array; continue; diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmBackupJobV2.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmBackupJobV2.Serialization.cs index 487e6fedce89e..0ab4f0ef166a1 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmBackupJobV2.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmBackupJobV2.Serialization.cs @@ -196,7 +196,7 @@ internal static IaasVmBackupJobV2 DeserializeIaasVmBackupJobV2(JsonElement eleme List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(IaasVmErrorInfo.DeserializeIaasVmErrorInfo(item)); + array.Add(IaasVmErrorInfo.DeserializeIaasVmErrorInfo(item, options)); } errorDetails = array; continue; @@ -212,7 +212,7 @@ internal static IaasVmBackupJobV2 DeserializeIaasVmBackupJobV2(JsonElement eleme { continue; } - extendedInfo = IaasVmBackupJobExtendedInfo.DeserializeIaasVmBackupJobExtendedInfo(property.Value); + extendedInfo = IaasVmBackupJobExtendedInfo.DeserializeIaasVmBackupJobExtendedInfo(property.Value, options); continue; } if (property.NameEquals("entityFriendlyName"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmContainer.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmContainer.Serialization.cs index d626e47619b57..609a3596f3950 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmContainer.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmContainer.Serialization.cs @@ -110,8 +110,8 @@ internal static IaasVmContainer DeserializeIaasVmContainer(JsonElement element, { switch (discriminator.GetString()) { - case "Microsoft.ClassicCompute/virtualMachines": return IaasClassicComputeVmContainer.DeserializeIaasClassicComputeVmContainer(element); - case "Microsoft.Compute/virtualMachines": return IaasComputeVmContainer.DeserializeIaasComputeVmContainer(element); + case "Microsoft.ClassicCompute/virtualMachines": return IaasClassicComputeVmContainer.DeserializeIaasClassicComputeVmContainer(element, options); + case "Microsoft.Compute/virtualMachines": return IaasComputeVmContainer.DeserializeIaasComputeVmContainer(element, options); } } Optional virtualMachineId = default; diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmProtectableItem.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmProtectableItem.Serialization.cs index b29eee32fa84e..432619cc024b5 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmProtectableItem.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmProtectableItem.Serialization.cs @@ -105,8 +105,8 @@ internal static IaasVmProtectableItem DeserializeIaasVmProtectableItem(JsonEleme { switch (discriminator.GetString()) { - case "Microsoft.ClassicCompute/virtualMachines": return IaasClassicComputeVmProtectableItem.DeserializeIaasClassicComputeVmProtectableItem(element); - case "Microsoft.Compute/virtualMachines": return IaasComputeVmProtectableItem.DeserializeIaasComputeVmProtectableItem(element); + case "Microsoft.ClassicCompute/virtualMachines": return IaasClassicComputeVmProtectableItem.DeserializeIaasClassicComputeVmProtectableItem(element, options); + case "Microsoft.Compute/virtualMachines": return IaasComputeVmProtectableItem.DeserializeIaasComputeVmProtectableItem(element, options); } } Optional virtualMachineId = default; diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmProtectedItem.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmProtectedItem.Serialization.cs index 023c2b77b82c6..967f17c96adc2 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmProtectedItem.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmProtectedItem.Serialization.cs @@ -236,8 +236,8 @@ internal static IaasVmProtectedItem DeserializeIaasVmProtectedItem(JsonElement e { switch (discriminator.GetString()) { - case "Microsoft.ClassicCompute/virtualMachines": return IaasClassicComputeVmProtectedItem.DeserializeIaasClassicComputeVmProtectedItem(element); - case "Microsoft.Compute/virtualMachines": return IaasComputeVmProtectedItem.DeserializeIaasComputeVmProtectedItem(element); + case "Microsoft.ClassicCompute/virtualMachines": return IaasClassicComputeVmProtectedItem.DeserializeIaasClassicComputeVmProtectedItem(element, options); + case "Microsoft.Compute/virtualMachines": return IaasComputeVmProtectedItem.DeserializeIaasComputeVmProtectedItem(element, options); } } Optional friendlyName = default; @@ -321,7 +321,7 @@ internal static IaasVmProtectedItem DeserializeIaasVmProtectedItem(JsonElement e List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(IaasVmHealthDetails.DeserializeIaasVmHealthDetails(item)); + array.Add(IaasVmHealthDetails.DeserializeIaasVmHealthDetails(item, options)); } healthDetails = array; continue; @@ -335,7 +335,7 @@ internal static IaasVmProtectedItem DeserializeIaasVmProtectedItem(JsonElement e Dictionary dictionary = new Dictionary(); foreach (var property0 in property.Value.EnumerateObject()) { - dictionary.Add(property0.Name, KpiResourceHealthDetails.DeserializeKpiResourceHealthDetails(property0.Value)); + dictionary.Add(property0.Name, KpiResourceHealthDetails.DeserializeKpiResourceHealthDetails(property0.Value, options)); } kpisHealths = dictionary; continue; @@ -365,7 +365,7 @@ internal static IaasVmProtectedItem DeserializeIaasVmProtectedItem(JsonElement e { continue; } - extendedInfo = IaasVmProtectedItemExtendedInfo.DeserializeIaasVmProtectedItemExtendedInfo(property.Value); + extendedInfo = IaasVmProtectedItemExtendedInfo.DeserializeIaasVmProtectedItemExtendedInfo(property.Value, options); continue; } if (property.NameEquals("extendedProperties"u8)) @@ -374,7 +374,7 @@ internal static IaasVmProtectedItem DeserializeIaasVmProtectedItem(JsonElement e { continue; } - extendedProperties = IaasVmBackupExtendedProperties.DeserializeIaasVmBackupExtendedProperties(property.Value); + extendedProperties = IaasVmBackupExtendedProperties.DeserializeIaasVmBackupExtendedProperties(property.Value, options); continue; } if (property.NameEquals("protectedItemType"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmProtectionPolicy.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmProtectionPolicy.Serialization.cs index 88a26542f2b2a..bff49931f3a82 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmProtectionPolicy.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmProtectionPolicy.Serialization.cs @@ -142,7 +142,7 @@ internal static IaasVmProtectionPolicy DeserializeIaasVmProtectionPolicy(JsonEle { continue; } - instantRPDetails = InstantRPAdditionalDetails.DeserializeInstantRPAdditionalDetails(property.Value); + instantRPDetails = InstantRPAdditionalDetails.DeserializeInstantRPAdditionalDetails(property.Value, options); continue; } if (property.NameEquals("schedulePolicy"u8)) @@ -151,7 +151,7 @@ internal static IaasVmProtectionPolicy DeserializeIaasVmProtectionPolicy(JsonEle { continue; } - schedulePolicy = BackupSchedulePolicy.DeserializeBackupSchedulePolicy(property.Value); + schedulePolicy = BackupSchedulePolicy.DeserializeBackupSchedulePolicy(property.Value, options); continue; } if (property.NameEquals("retentionPolicy"u8)) @@ -160,7 +160,7 @@ internal static IaasVmProtectionPolicy DeserializeIaasVmProtectionPolicy(JsonEle { continue; } - retentionPolicy = BackupRetentionPolicy.DeserializeBackupRetentionPolicy(property.Value); + retentionPolicy = BackupRetentionPolicy.DeserializeBackupRetentionPolicy(property.Value, options); continue; } if (property.NameEquals("tieringPolicy"u8)) @@ -172,7 +172,7 @@ internal static IaasVmProtectionPolicy DeserializeIaasVmProtectionPolicy(JsonEle Dictionary dictionary = new Dictionary(); foreach (var property0 in property.Value.EnumerateObject()) { - dictionary.Add(property0.Name, BackupTieringPolicy.DeserializeBackupTieringPolicy(property0.Value)); + dictionary.Add(property0.Name, BackupTieringPolicy.DeserializeBackupTieringPolicy(property0.Value, options)); } tieringPolicy = dictionary; continue; diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmRecoveryPoint.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmRecoveryPoint.Serialization.cs index 54b564b0ccad7..df3b175956509 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmRecoveryPoint.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmRecoveryPoint.Serialization.cs @@ -241,7 +241,7 @@ internal static IaasVmRecoveryPoint DeserializeIaasVmRecoveryPoint(JsonElement e { continue; } - keyAndSecret = KeyAndSecretDetails.DeserializeKeyAndSecretDetails(property.Value); + keyAndSecret = KeyAndSecretDetails.DeserializeKeyAndSecretDetails(property.Value, options); continue; } if (property.NameEquals("isInstantIlrSessionActive"u8)) @@ -262,7 +262,7 @@ internal static IaasVmRecoveryPoint DeserializeIaasVmRecoveryPoint(JsonElement e List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RecoveryPointTierInformationV2.DeserializeRecoveryPointTierInformationV2(item)); + array.Add(RecoveryPointTierInformationV2.DeserializeRecoveryPointTierInformationV2(item, options)); } recoveryPointTierDetails = array; continue; @@ -301,7 +301,7 @@ internal static IaasVmRecoveryPoint DeserializeIaasVmRecoveryPoint(JsonElement e { continue; } - recoveryPointDiskConfiguration = RecoveryPointDiskConfiguration.DeserializeRecoveryPointDiskConfiguration(property.Value); + recoveryPointDiskConfiguration = RecoveryPointDiskConfiguration.DeserializeRecoveryPointDiskConfiguration(property.Value, options); continue; } if (property.NameEquals("zones"u8)) @@ -327,7 +327,7 @@ internal static IaasVmRecoveryPoint DeserializeIaasVmRecoveryPoint(JsonElement e Dictionary dictionary = new Dictionary(); foreach (var property0 in property.Value.EnumerateObject()) { - dictionary.Add(property0.Name, Models.RecoveryPointMoveReadinessInfo.DeserializeRecoveryPointMoveReadinessInfo(property0.Value)); + dictionary.Add(property0.Name, Models.RecoveryPointMoveReadinessInfo.DeserializeRecoveryPointMoveReadinessInfo(property0.Value, options)); } recoveryPointMoveReadinessInfo = dictionary; continue; @@ -343,7 +343,7 @@ internal static IaasVmRecoveryPoint DeserializeIaasVmRecoveryPoint(JsonElement e { continue; } - recoveryPointProperties = RecoveryPointProperties.DeserializeRecoveryPointProperties(property.Value); + recoveryPointProperties = RecoveryPointProperties.DeserializeRecoveryPointProperties(property.Value, options); continue; } if (property.NameEquals("isPrivateAccessEnabledOnAnyDisk"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmRestoreContent.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmRestoreContent.Serialization.cs index 365991e04dc9b..c1798772e7f41 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmRestoreContent.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmRestoreContent.Serialization.cs @@ -196,7 +196,7 @@ internal static IaasVmRestoreContent DeserializeIaasVmRestoreContent(JsonElement { switch (discriminator.GetString()) { - case "IaasVMRestoreWithRehydrationRequest": return IaasVmRestoreWithRehydrationContent.DeserializeIaasVmRestoreWithRehydrationContent(element); + case "IaasVMRestoreWithRehydrationRequest": return IaasVmRestoreWithRehydrationContent.DeserializeIaasVmRestoreWithRehydrationContent(element, options); } } Optional recoveryPointId = default; @@ -342,7 +342,7 @@ internal static IaasVmRestoreContent DeserializeIaasVmRestoreContent(JsonElement { continue; } - encryptionDetails = VmEncryptionDetails.DeserializeVmEncryptionDetails(property.Value); + encryptionDetails = VmEncryptionDetails.DeserializeVmEncryptionDetails(property.Value, options); continue; } if (property.NameEquals("restoreDiskLunList"u8)) @@ -393,7 +393,7 @@ internal static IaasVmRestoreContent DeserializeIaasVmRestoreContent(JsonElement { continue; } - identityInfo = BackupIdentityInfo.DeserializeBackupIdentityInfo(property.Value); + identityInfo = BackupIdentityInfo.DeserializeBackupIdentityInfo(property.Value, options); continue; } if (property.NameEquals("identityBasedRestoreDetails"u8)) @@ -402,7 +402,7 @@ internal static IaasVmRestoreContent DeserializeIaasVmRestoreContent(JsonElement { continue; } - identityBasedRestoreDetails = IdentityBasedRestoreDetails.DeserializeIdentityBasedRestoreDetails(property.Value); + identityBasedRestoreDetails = IdentityBasedRestoreDetails.DeserializeIdentityBasedRestoreDetails(property.Value, options); continue; } if (property.NameEquals("extendedLocation"u8)) @@ -420,7 +420,7 @@ internal static IaasVmRestoreContent DeserializeIaasVmRestoreContent(JsonElement { continue; } - securedVmDetails = SecuredVmDetails.DeserializeSecuredVmDetails(property.Value); + securedVmDetails = SecuredVmDetails.DeserializeSecuredVmDetails(property.Value, options); continue; } if (property.NameEquals("targetDiskNetworkAccessSettings"u8)) @@ -429,7 +429,7 @@ internal static IaasVmRestoreContent DeserializeIaasVmRestoreContent(JsonElement { continue; } - targetDiskNetworkAccessSettings = BackupTargetDiskNetworkAccessSettings.DeserializeBackupTargetDiskNetworkAccessSettings(property.Value); + targetDiskNetworkAccessSettings = BackupTargetDiskNetworkAccessSettings.DeserializeBackupTargetDiskNetworkAccessSettings(property.Value, options); continue; } if (property.NameEquals("objectType"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmRestoreWithRehydrationContent.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmRestoreWithRehydrationContent.Serialization.cs index bfc512b70e5c0..563eac3c2e766 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmRestoreWithRehydrationContent.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IaasVmRestoreWithRehydrationContent.Serialization.cs @@ -232,7 +232,7 @@ internal static IaasVmRestoreWithRehydrationContent DeserializeIaasVmRestoreWith { continue; } - recoveryPointRehydrationInfo = RecoveryPointRehydrationInfo.DeserializeRecoveryPointRehydrationInfo(property.Value); + recoveryPointRehydrationInfo = RecoveryPointRehydrationInfo.DeserializeRecoveryPointRehydrationInfo(property.Value, options); continue; } if (property.NameEquals("recoveryPointId"u8)) @@ -350,7 +350,7 @@ internal static IaasVmRestoreWithRehydrationContent DeserializeIaasVmRestoreWith { continue; } - encryptionDetails = VmEncryptionDetails.DeserializeVmEncryptionDetails(property.Value); + encryptionDetails = VmEncryptionDetails.DeserializeVmEncryptionDetails(property.Value, options); continue; } if (property.NameEquals("restoreDiskLunList"u8)) @@ -401,7 +401,7 @@ internal static IaasVmRestoreWithRehydrationContent DeserializeIaasVmRestoreWith { continue; } - identityInfo = BackupIdentityInfo.DeserializeBackupIdentityInfo(property.Value); + identityInfo = BackupIdentityInfo.DeserializeBackupIdentityInfo(property.Value, options); continue; } if (property.NameEquals("identityBasedRestoreDetails"u8)) @@ -410,7 +410,7 @@ internal static IaasVmRestoreWithRehydrationContent DeserializeIaasVmRestoreWith { continue; } - identityBasedRestoreDetails = IdentityBasedRestoreDetails.DeserializeIdentityBasedRestoreDetails(property.Value); + identityBasedRestoreDetails = IdentityBasedRestoreDetails.DeserializeIdentityBasedRestoreDetails(property.Value, options); continue; } if (property.NameEquals("extendedLocation"u8)) @@ -428,7 +428,7 @@ internal static IaasVmRestoreWithRehydrationContent DeserializeIaasVmRestoreWith { continue; } - securedVmDetails = SecuredVmDetails.DeserializeSecuredVmDetails(property.Value); + securedVmDetails = SecuredVmDetails.DeserializeSecuredVmDetails(property.Value, options); continue; } if (property.NameEquals("targetDiskNetworkAccessSettings"u8)) @@ -437,7 +437,7 @@ internal static IaasVmRestoreWithRehydrationContent DeserializeIaasVmRestoreWith { continue; } - targetDiskNetworkAccessSettings = BackupTargetDiskNetworkAccessSettings.DeserializeBackupTargetDiskNetworkAccessSettings(property.Value); + targetDiskNetworkAccessSettings = BackupTargetDiskNetworkAccessSettings.DeserializeBackupTargetDiskNetworkAccessSettings(property.Value, options); continue; } if (property.NameEquals("objectType"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IlrContent.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IlrContent.Serialization.cs index 92294561348d7..b39c7476ca321 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IlrContent.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/IlrContent.Serialization.cs @@ -70,11 +70,11 @@ internal static IlrContent DeserializeIlrContent(JsonElement element, ModelReade { switch (discriminator.GetString()) { - case "AzureFileShareProvisionILRRequest": return FileShareProvisionIlrContent.DeserializeFileShareProvisionIlrContent(element); - case "IaasVMILRRegistrationRequest": return IaasVmIlrRegistrationContent.DeserializeIaasVmIlrRegistrationContent(element); + case "AzureFileShareProvisionILRRequest": return FileShareProvisionIlrContent.DeserializeFileShareProvisionIlrContent(element, options); + case "IaasVMILRRegistrationRequest": return IaasVmIlrRegistrationContent.DeserializeIaasVmIlrRegistrationContent(element, options); } } - return UnknownIlrRequest.DeserializeUnknownIlrRequest(element); + return UnknownIlrRequest.DeserializeUnknownIlrRequest(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/InquiryValidation.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/InquiryValidation.Serialization.cs index c96164c6c24a4..b6d7a98135620 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/InquiryValidation.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/InquiryValidation.Serialization.cs @@ -110,7 +110,7 @@ internal static InquiryValidation DeserializeInquiryValidation(JsonElement eleme { continue; } - errorDetail = BackupErrorDetail.DeserializeBackupErrorDetail(property.Value); + errorDetail = BackupErrorDetail.DeserializeBackupErrorDetail(property.Value, options); continue; } if (property.NameEquals("additionalDetail"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/KeyAndSecretDetails.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/KeyAndSecretDetails.Serialization.cs index d916874ecbed8..87480f9f0ed2e 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/KeyAndSecretDetails.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/KeyAndSecretDetails.Serialization.cs @@ -92,7 +92,7 @@ internal static KeyAndSecretDetails DeserializeKeyAndSecretDetails(JsonElement e { continue; } - kekDetails = KekDetails.DeserializeKekDetails(property.Value); + kekDetails = KekDetails.DeserializeKekDetails(property.Value, options); continue; } if (property.NameEquals("bekDetails"u8)) @@ -101,7 +101,7 @@ internal static KeyAndSecretDetails DeserializeKeyAndSecretDetails(JsonElement e { continue; } - bekDetails = BekDetails.DeserializeBekDetails(property.Value); + bekDetails = BekDetails.DeserializeBekDetails(property.Value, options); continue; } if (property.NameEquals("encryptionMechanism"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/KpiResourceHealthDetails.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/KpiResourceHealthDetails.Serialization.cs index 076cdebf0237f..e6d9e8a023dbe 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/KpiResourceHealthDetails.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/KpiResourceHealthDetails.Serialization.cs @@ -103,7 +103,7 @@ internal static KpiResourceHealthDetails DeserializeKpiResourceHealthDetails(Jso List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(Models.ResourceHealthDetails.DeserializeResourceHealthDetails(item)); + array.Add(Models.ResourceHealthDetails.DeserializeResourceHealthDetails(item, options)); } resourceHealthDetails = array; continue; diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/LongTermRetentionPolicy.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/LongTermRetentionPolicy.Serialization.cs index 23e27bfeb10c6..df924d474f3ba 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/LongTermRetentionPolicy.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/LongTermRetentionPolicy.Serialization.cs @@ -101,7 +101,7 @@ internal static LongTermRetentionPolicy DeserializeLongTermRetentionPolicy(JsonE { continue; } - dailySchedule = DailyRetentionSchedule.DeserializeDailyRetentionSchedule(property.Value); + dailySchedule = DailyRetentionSchedule.DeserializeDailyRetentionSchedule(property.Value, options); continue; } if (property.NameEquals("weeklySchedule"u8)) @@ -110,7 +110,7 @@ internal static LongTermRetentionPolicy DeserializeLongTermRetentionPolicy(JsonE { continue; } - weeklySchedule = WeeklyRetentionSchedule.DeserializeWeeklyRetentionSchedule(property.Value); + weeklySchedule = WeeklyRetentionSchedule.DeserializeWeeklyRetentionSchedule(property.Value, options); continue; } if (property.NameEquals("monthlySchedule"u8)) @@ -119,7 +119,7 @@ internal static LongTermRetentionPolicy DeserializeLongTermRetentionPolicy(JsonE { continue; } - monthlySchedule = MonthlyRetentionSchedule.DeserializeMonthlyRetentionSchedule(property.Value); + monthlySchedule = MonthlyRetentionSchedule.DeserializeMonthlyRetentionSchedule(property.Value, options); continue; } if (property.NameEquals("yearlySchedule"u8)) @@ -128,7 +128,7 @@ internal static LongTermRetentionPolicy DeserializeLongTermRetentionPolicy(JsonE { continue; } - yearlySchedule = YearlyRetentionSchedule.DeserializeYearlyRetentionSchedule(property.Value); + yearlySchedule = YearlyRetentionSchedule.DeserializeYearlyRetentionSchedule(property.Value, options); continue; } if (property.NameEquals("retentionPolicyType"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/MabBackupJob.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/MabBackupJob.Serialization.cs index 31541762ceef1..2f382b641c584 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/MabBackupJob.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/MabBackupJob.Serialization.cs @@ -220,7 +220,7 @@ internal static MabBackupJob DeserializeMabBackupJob(JsonElement element, ModelR List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(MabErrorInfo.DeserializeMabErrorInfo(item)); + array.Add(MabErrorInfo.DeserializeMabErrorInfo(item, options)); } errorDetails = array; continue; @@ -231,7 +231,7 @@ internal static MabBackupJob DeserializeMabBackupJob(JsonElement element, ModelR { continue; } - extendedInfo = MabBackupJobExtendedInfo.DeserializeMabBackupJobExtendedInfo(property.Value); + extendedInfo = MabBackupJobExtendedInfo.DeserializeMabBackupJobExtendedInfo(property.Value, options); continue; } if (property.NameEquals("entityFriendlyName"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/MabBackupJobExtendedInfo.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/MabBackupJobExtendedInfo.Serialization.cs index e68fde560fe07..714bb33c64281 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/MabBackupJobExtendedInfo.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/MabBackupJobExtendedInfo.Serialization.cs @@ -106,7 +106,7 @@ internal static MabBackupJobExtendedInfo DeserializeMabBackupJobExtendedInfo(Jso List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(MabBackupJobTaskDetails.DeserializeMabBackupJobTaskDetails(item)); + array.Add(MabBackupJobTaskDetails.DeserializeMabBackupJobTaskDetails(item, options)); } tasksList = array; continue; diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/MabContainer.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/MabContainer.Serialization.cs index aea6a5ca3c117..0740b8e59cda9 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/MabContainer.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/MabContainer.Serialization.cs @@ -186,7 +186,7 @@ internal static MabContainer DeserializeMabContainer(JsonElement element, ModelR { continue; } - extendedInfo = MabContainerExtendedInfo.DeserializeMabContainerExtendedInfo(property.Value); + extendedInfo = MabContainerExtendedInfo.DeserializeMabContainerExtendedInfo(property.Value, options); continue; } if (property.NameEquals("mabContainerHealthDetails"u8)) @@ -198,7 +198,7 @@ internal static MabContainer DeserializeMabContainer(JsonElement element, ModelR List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(Models.MabContainerHealthDetails.DeserializeMabContainerHealthDetails(item)); + array.Add(Models.MabContainerHealthDetails.DeserializeMabContainerHealthDetails(item, options)); } mabContainerHealthDetails = array; continue; diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/MabFileFolderProtectedItem.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/MabFileFolderProtectedItem.Serialization.cs index 405cc4d481e9d..4b8e8cd93f5f4 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/MabFileFolderProtectedItem.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/MabFileFolderProtectedItem.Serialization.cs @@ -270,7 +270,7 @@ internal static MabFileFolderProtectedItem DeserializeMabFileFolderProtectedItem { continue; } - extendedInfo = MabFileFolderProtectedItemExtendedInfo.DeserializeMabFileFolderProtectedItemExtendedInfo(property.Value); + extendedInfo = MabFileFolderProtectedItemExtendedInfo.DeserializeMabFileFolderProtectedItemExtendedInfo(property.Value, options); continue; } if (property.NameEquals("protectedItemType"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/MabProtectionPolicy.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/MabProtectionPolicy.Serialization.cs index 5a4ac03fb00ee..0c32b493572a8 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/MabProtectionPolicy.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/MabProtectionPolicy.Serialization.cs @@ -106,7 +106,7 @@ internal static MabProtectionPolicy DeserializeMabProtectionPolicy(JsonElement e { continue; } - schedulePolicy = BackupSchedulePolicy.DeserializeBackupSchedulePolicy(property.Value); + schedulePolicy = BackupSchedulePolicy.DeserializeBackupSchedulePolicy(property.Value, options); continue; } if (property.NameEquals("retentionPolicy"u8)) @@ -115,7 +115,7 @@ internal static MabProtectionPolicy DeserializeMabProtectionPolicy(JsonElement e { continue; } - retentionPolicy = BackupRetentionPolicy.DeserializeBackupRetentionPolicy(property.Value); + retentionPolicy = BackupRetentionPolicy.DeserializeBackupRetentionPolicy(property.Value, options); continue; } if (property.NameEquals("protectedItemsCount"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/MonthlyRetentionSchedule.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/MonthlyRetentionSchedule.Serialization.cs index 03375af37ff6e..3eaeabf798da6 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/MonthlyRetentionSchedule.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/MonthlyRetentionSchedule.Serialization.cs @@ -118,7 +118,7 @@ internal static MonthlyRetentionSchedule DeserializeMonthlyRetentionSchedule(Jso { continue; } - retentionScheduleDaily = DailyRetentionFormat.DeserializeDailyRetentionFormat(property.Value); + retentionScheduleDaily = DailyRetentionFormat.DeserializeDailyRetentionFormat(property.Value, options); continue; } if (property.NameEquals("retentionScheduleWeekly"u8)) @@ -127,7 +127,7 @@ internal static MonthlyRetentionSchedule DeserializeMonthlyRetentionSchedule(Jso { continue; } - retentionScheduleWeekly = WeeklyRetentionFormat.DeserializeWeeklyRetentionFormat(property.Value); + retentionScheduleWeekly = WeeklyRetentionFormat.DeserializeWeeklyRetentionFormat(property.Value, options); continue; } if (property.NameEquals("retentionTimes"u8)) @@ -150,7 +150,7 @@ internal static MonthlyRetentionSchedule DeserializeMonthlyRetentionSchedule(Jso { continue; } - retentionDuration = RetentionDuration.DeserializeRetentionDuration(property.Value); + retentionDuration = RetentionDuration.DeserializeRetentionDuration(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/ProtectableContainer.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/ProtectableContainer.Serialization.cs index b31ce64dd31a8..acce38ef5ef37 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/ProtectableContainer.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/ProtectableContainer.Serialization.cs @@ -90,11 +90,11 @@ internal static ProtectableContainer DeserializeProtectableContainer(JsonElement { switch (discriminator.GetString()) { - case "StorageContainer": return StorageProtectableContainer.DeserializeStorageProtectableContainer(element); - case "VMAppContainer": return VmAppContainerProtectableContainer.DeserializeVmAppContainerProtectableContainer(element); + case "StorageContainer": return StorageProtectableContainer.DeserializeStorageProtectableContainer(element, options); + case "VMAppContainer": return VmAppContainerProtectableContainer.DeserializeVmAppContainerProtectableContainer(element, options); } } - return UnknownProtectableContainer.DeserializeUnknownProtectableContainer(element); + return UnknownProtectableContainer.DeserializeUnknownProtectableContainer(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/ProtectableContainerResource.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/ProtectableContainerResource.Serialization.cs index 8beef345fcee0..613a111bde50e 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/ProtectableContainerResource.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/ProtectableContainerResource.Serialization.cs @@ -127,7 +127,7 @@ internal static ProtectableContainerResource DeserializeProtectableContainerReso { continue; } - properties = ProtectableContainer.DeserializeProtectableContainer(property.Value); + properties = ProtectableContainer.DeserializeProtectableContainer(property.Value, options); continue; } if (property.NameEquals("eTag"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/ProtectableContainerResourceList.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/ProtectableContainerResourceList.Serialization.cs index 898a845162d4d..3315f4bec4006 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/ProtectableContainerResourceList.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/ProtectableContainerResourceList.Serialization.cs @@ -94,7 +94,7 @@ internal static ProtectableContainerResourceList DeserializeProtectableContainer List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ProtectableContainerResource.DeserializeProtectableContainerResource(item)); + array.Add(ProtectableContainerResource.DeserializeProtectableContainerResource(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/ProtectedItemResourceList.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/ProtectedItemResourceList.Serialization.cs index e953e8692eaed..8cf0d5d6c4a63 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/ProtectedItemResourceList.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/ProtectedItemResourceList.Serialization.cs @@ -95,7 +95,7 @@ internal static ProtectedItemResourceList DeserializeProtectedItemResourceList(J List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(BackupProtectedItemData.DeserializeBackupProtectedItemData(item)); + array.Add(BackupProtectedItemData.DeserializeBackupProtectedItemData(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/ProtectionContainerResourceList.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/ProtectionContainerResourceList.Serialization.cs index 6fbbc5976f5b1..c82ce0c6c74fc 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/ProtectionContainerResourceList.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/ProtectionContainerResourceList.Serialization.cs @@ -95,7 +95,7 @@ internal static ProtectionContainerResourceList DeserializeProtectionContainerRe List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(BackupProtectionContainerData.DeserializeBackupProtectionContainerData(item)); + array.Add(BackupProtectionContainerData.DeserializeBackupProtectionContainerData(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/ProtectionIntentResourceList.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/ProtectionIntentResourceList.Serialization.cs index 4ce2674c44376..66982e915b319 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/ProtectionIntentResourceList.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/ProtectionIntentResourceList.Serialization.cs @@ -95,7 +95,7 @@ internal static ProtectionIntentResourceList DeserializeProtectionIntentResource List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(BackupProtectionIntentData.DeserializeBackupProtectionIntentData(item)); + array.Add(BackupProtectionIntentData.DeserializeBackupProtectionIntentData(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/ProtectionPolicyResourceList.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/ProtectionPolicyResourceList.Serialization.cs index 28b7d82911de2..eb8067c52bcef 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/ProtectionPolicyResourceList.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/ProtectionPolicyResourceList.Serialization.cs @@ -95,7 +95,7 @@ internal static ProtectionPolicyResourceList DeserializeProtectionPolicyResource List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(BackupProtectionPolicyData.DeserializeBackupProtectionPolicyData(item)); + array.Add(BackupProtectionPolicyData.DeserializeBackupProtectionPolicyData(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/ProvisionIlrConnectionContent.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/ProvisionIlrConnectionContent.Serialization.cs index 8c3011cbbfde0..00b51f97531fe 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/ProvisionIlrConnectionContent.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/ProvisionIlrConnectionContent.Serialization.cs @@ -127,7 +127,7 @@ internal static ProvisionIlrConnectionContent DeserializeProvisionIlrConnectionC { continue; } - properties = IlrContent.DeserializeIlrContent(property.Value); + properties = IlrContent.DeserializeIlrContent(property.Value, options); continue; } if (property.NameEquals("eTag"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/RecoveryPointDiskConfiguration.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/RecoveryPointDiskConfiguration.Serialization.cs index e22d217ed4049..bfc23bcdaebd6 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/RecoveryPointDiskConfiguration.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/RecoveryPointDiskConfiguration.Serialization.cs @@ -129,7 +129,7 @@ internal static RecoveryPointDiskConfiguration DeserializeRecoveryPointDiskConfi List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DiskInformation.DeserializeDiskInformation(item)); + array.Add(DiskInformation.DeserializeDiskInformation(item, options)); } includedDiskList = array; continue; @@ -143,7 +143,7 @@ internal static RecoveryPointDiskConfiguration DeserializeRecoveryPointDiskConfi List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DiskInformation.DeserializeDiskInformation(item)); + array.Add(DiskInformation.DeserializeDiskInformation(item, options)); } excludedDiskList = array; continue; diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/RecoveryPointResourceList.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/RecoveryPointResourceList.Serialization.cs index e6aa359c4374c..1744069222335 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/RecoveryPointResourceList.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/RecoveryPointResourceList.Serialization.cs @@ -95,7 +95,7 @@ internal static RecoveryPointResourceList DeserializeRecoveryPointResourceList(J List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(BackupRecoveryPointData.DeserializeBackupRecoveryPointData(item)); + array.Add(BackupRecoveryPointData.DeserializeBackupRecoveryPointData(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/RecoveryServiceVaultProtectionIntent.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/RecoveryServiceVaultProtectionIntent.Serialization.cs index b938a1c37da39..e2bda386bc2f2 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/RecoveryServiceVaultProtectionIntent.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/RecoveryServiceVaultProtectionIntent.Serialization.cs @@ -95,8 +95,8 @@ internal static RecoveryServiceVaultProtectionIntent DeserializeRecoveryServiceV { switch (discriminator.GetString()) { - case "AzureWorkloadAutoProtectionIntent": return WorkloadAutoProtectionIntent.DeserializeWorkloadAutoProtectionIntent(element); - case "AzureWorkloadSQLAutoProtectionIntent": return WorkloadSqlAutoProtectionIntent.DeserializeWorkloadSqlAutoProtectionIntent(element); + case "AzureWorkloadAutoProtectionIntent": return WorkloadAutoProtectionIntent.DeserializeWorkloadAutoProtectionIntent(element, options); + case "AzureWorkloadSQLAutoProtectionIntent": return WorkloadSqlAutoProtectionIntent.DeserializeWorkloadSqlAutoProtectionIntent(element, options); } } ProtectionIntentItemType protectionIntentItemType = "AutoRest.CSharp.Output.Models.Types.EnumTypeValue"; diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/ResourceGuardProxyBaseResourceList.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/ResourceGuardProxyBaseResourceList.Serialization.cs index 1b2bdedb7b1d8..e7c960e9a1485 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/ResourceGuardProxyBaseResourceList.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/ResourceGuardProxyBaseResourceList.Serialization.cs @@ -95,7 +95,7 @@ internal static ResourceGuardProxyBaseResourceList DeserializeResourceGuardProxy List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ResourceGuardProxyData.DeserializeResourceGuardProxyData(item)); + array.Add(ResourceGuardProxyData.DeserializeResourceGuardProxyData(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/ResourceGuardProxyProperties.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/ResourceGuardProxyProperties.Serialization.cs index e6655d2408bad..50e826691fe27 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/ResourceGuardProxyProperties.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/ResourceGuardProxyProperties.Serialization.cs @@ -108,7 +108,7 @@ internal static ResourceGuardProxyProperties DeserializeResourceGuardProxyProper List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ResourceGuardOperationDetail.DeserializeResourceGuardOperationDetail(item)); + array.Add(ResourceGuardOperationDetail.DeserializeResourceGuardOperationDetail(item, options)); } resourceGuardOperationDetails = array; continue; diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/RestoreContent.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/RestoreContent.Serialization.cs index 625b596cab5cb..a0b0a4886b257 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/RestoreContent.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/RestoreContent.Serialization.cs @@ -70,22 +70,22 @@ internal static RestoreContent DeserializeRestoreContent(JsonElement element, Mo { switch (discriminator.GetString()) { - case "AzureFileShareRestoreRequest": return FileShareRestoreContent.DeserializeFileShareRestoreContent(element); - case "AzureWorkloadPointInTimeRestoreRequest": return WorkloadPointInTimeRestoreContent.DeserializeWorkloadPointInTimeRestoreContent(element); - case "AzureWorkloadRestoreRequest": return WorkloadRestoreContent.DeserializeWorkloadRestoreContent(element); - case "AzureWorkloadSAPHanaPointInTimeRestoreRequest": return WorkloadSapHanaPointInTimeRestoreContent.DeserializeWorkloadSapHanaPointInTimeRestoreContent(element); - case "AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest": return WorkloadSapHanaPointInTimeRestoreWithRehydrateContent.DeserializeWorkloadSapHanaPointInTimeRestoreWithRehydrateContent(element); - case "AzureWorkloadSAPHanaRestoreRequest": return WorkloadSapHanaRestoreContent.DeserializeWorkloadSapHanaRestoreContent(element); - case "AzureWorkloadSAPHanaRestoreWithRehydrateRequest": return WorkloadSapHanaRestoreWithRehydrateContent.DeserializeWorkloadSapHanaRestoreWithRehydrateContent(element); - case "AzureWorkloadSQLPointInTimeRestoreRequest": return WorkloadSqlPointInTimeRestoreContent.DeserializeWorkloadSqlPointInTimeRestoreContent(element); - case "AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest": return WorkloadSqlPointInTimeRestoreWithRehydrateContent.DeserializeWorkloadSqlPointInTimeRestoreWithRehydrateContent(element); - case "AzureWorkloadSQLRestoreRequest": return WorkloadSqlRestoreContent.DeserializeWorkloadSqlRestoreContent(element); - case "AzureWorkloadSQLRestoreWithRehydrateRequest": return WorkloadSqlRestoreWithRehydrateContent.DeserializeWorkloadSqlRestoreWithRehydrateContent(element); - case "IaasVMRestoreRequest": return IaasVmRestoreContent.DeserializeIaasVmRestoreContent(element); - case "IaasVMRestoreWithRehydrationRequest": return IaasVmRestoreWithRehydrationContent.DeserializeIaasVmRestoreWithRehydrationContent(element); + case "AzureFileShareRestoreRequest": return FileShareRestoreContent.DeserializeFileShareRestoreContent(element, options); + case "AzureWorkloadPointInTimeRestoreRequest": return WorkloadPointInTimeRestoreContent.DeserializeWorkloadPointInTimeRestoreContent(element, options); + case "AzureWorkloadRestoreRequest": return WorkloadRestoreContent.DeserializeWorkloadRestoreContent(element, options); + case "AzureWorkloadSAPHanaPointInTimeRestoreRequest": return WorkloadSapHanaPointInTimeRestoreContent.DeserializeWorkloadSapHanaPointInTimeRestoreContent(element, options); + case "AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest": return WorkloadSapHanaPointInTimeRestoreWithRehydrateContent.DeserializeWorkloadSapHanaPointInTimeRestoreWithRehydrateContent(element, options); + case "AzureWorkloadSAPHanaRestoreRequest": return WorkloadSapHanaRestoreContent.DeserializeWorkloadSapHanaRestoreContent(element, options); + case "AzureWorkloadSAPHanaRestoreWithRehydrateRequest": return WorkloadSapHanaRestoreWithRehydrateContent.DeserializeWorkloadSapHanaRestoreWithRehydrateContent(element, options); + case "AzureWorkloadSQLPointInTimeRestoreRequest": return WorkloadSqlPointInTimeRestoreContent.DeserializeWorkloadSqlPointInTimeRestoreContent(element, options); + case "AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest": return WorkloadSqlPointInTimeRestoreWithRehydrateContent.DeserializeWorkloadSqlPointInTimeRestoreWithRehydrateContent(element, options); + case "AzureWorkloadSQLRestoreRequest": return WorkloadSqlRestoreContent.DeserializeWorkloadSqlRestoreContent(element, options); + case "AzureWorkloadSQLRestoreWithRehydrateRequest": return WorkloadSqlRestoreWithRehydrateContent.DeserializeWorkloadSqlRestoreWithRehydrateContent(element, options); + case "IaasVMRestoreRequest": return IaasVmRestoreContent.DeserializeIaasVmRestoreContent(element, options); + case "IaasVMRestoreWithRehydrationRequest": return IaasVmRestoreWithRehydrationContent.DeserializeIaasVmRestoreWithRehydrationContent(element, options); } } - return UnknownRestoreRequest.DeserializeUnknownRestoreRequest(element); + return UnknownRestoreRequest.DeserializeUnknownRestoreRequest(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/SimpleRetentionPolicy.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/SimpleRetentionPolicy.Serialization.cs index 3e67390d3fda0..d2242850d0f71 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/SimpleRetentionPolicy.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/SimpleRetentionPolicy.Serialization.cs @@ -83,7 +83,7 @@ internal static SimpleRetentionPolicy DeserializeSimpleRetentionPolicy(JsonEleme { continue; } - retentionDuration = RetentionDuration.DeserializeRetentionDuration(property.Value); + retentionDuration = RetentionDuration.DeserializeRetentionDuration(property.Value, options); continue; } if (property.NameEquals("retentionPolicyType"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/SimpleSchedulePolicy.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/SimpleSchedulePolicy.Serialization.cs index 101ed40c48017..3c5ae80bd059b 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/SimpleSchedulePolicy.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/SimpleSchedulePolicy.Serialization.cs @@ -154,7 +154,7 @@ internal static SimpleSchedulePolicy DeserializeSimpleSchedulePolicy(JsonElement { continue; } - hourlySchedule = BackupHourlySchedule.DeserializeBackupHourlySchedule(property.Value); + hourlySchedule = BackupHourlySchedule.DeserializeBackupHourlySchedule(property.Value, options); continue; } if (property.NameEquals("scheduleWeeklyFrequency"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/SimpleSchedulePolicyV2.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/SimpleSchedulePolicyV2.Serialization.cs index 5616a1bed0fe2..8dc2b8c7b6849 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/SimpleSchedulePolicyV2.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/SimpleSchedulePolicyV2.Serialization.cs @@ -110,7 +110,7 @@ internal static SimpleSchedulePolicyV2 DeserializeSimpleSchedulePolicyV2(JsonEle { continue; } - hourlySchedule = BackupHourlySchedule.DeserializeBackupHourlySchedule(property.Value); + hourlySchedule = BackupHourlySchedule.DeserializeBackupHourlySchedule(property.Value, options); continue; } if (property.NameEquals("dailySchedule"u8)) @@ -119,7 +119,7 @@ internal static SimpleSchedulePolicyV2 DeserializeSimpleSchedulePolicyV2(JsonEle { continue; } - dailySchedule = BackupDailySchedule.DeserializeBackupDailySchedule(property.Value); + dailySchedule = BackupDailySchedule.DeserializeBackupDailySchedule(property.Value, options); continue; } if (property.NameEquals("weeklySchedule"u8)) @@ -128,7 +128,7 @@ internal static SimpleSchedulePolicyV2 DeserializeSimpleSchedulePolicyV2(JsonEle { continue; } - weeklySchedule = BackupWeeklySchedule.DeserializeBackupWeeklySchedule(property.Value); + weeklySchedule = BackupWeeklySchedule.DeserializeBackupWeeklySchedule(property.Value, options); continue; } if (property.NameEquals("schedulePolicyType"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/SnapshotBackupAdditionalDetails.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/SnapshotBackupAdditionalDetails.Serialization.cs index f3e628cbe4484..4151700442e7d 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/SnapshotBackupAdditionalDetails.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/SnapshotBackupAdditionalDetails.Serialization.cs @@ -106,7 +106,7 @@ internal static SnapshotBackupAdditionalDetails DeserializeSnapshotBackupAdditio { continue; } - userAssignedManagedIdentityDetails = UserAssignedManagedIdentityDetails.DeserializeUserAssignedManagedIdentityDetails(property.Value); + userAssignedManagedIdentityDetails = UserAssignedManagedIdentityDetails.DeserializeUserAssignedManagedIdentityDetails(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/SqlAvailabilityGroupWorkloadProtectionContainer.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/SqlAvailabilityGroupWorkloadProtectionContainer.Serialization.cs index 1ee7bcdf7b17a..36b6e72379028 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/SqlAvailabilityGroupWorkloadProtectionContainer.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/SqlAvailabilityGroupWorkloadProtectionContainer.Serialization.cs @@ -155,7 +155,7 @@ internal static SqlAvailabilityGroupWorkloadProtectionContainer DeserializeSqlAv { continue; } - extendedInfo = WorkloadContainerExtendedInfo.DeserializeWorkloadContainerExtendedInfo(property.Value); + extendedInfo = WorkloadContainerExtendedInfo.DeserializeWorkloadContainerExtendedInfo(property.Value, options); continue; } if (property.NameEquals("workloadType"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/SqlProtectedItem.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/SqlProtectedItem.Serialization.cs index 414b0ab703e8b..2cabdc608a2da 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/SqlProtectedItem.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/SqlProtectedItem.Serialization.cs @@ -222,7 +222,7 @@ internal static SqlProtectedItem DeserializeSqlProtectedItem(JsonElement element { continue; } - extendedInfo = SqlProtectedItemExtendedInfo.DeserializeSqlProtectedItemExtendedInfo(property.Value); + extendedInfo = SqlProtectedItemExtendedInfo.DeserializeSqlProtectedItemExtendedInfo(property.Value, options); continue; } if (property.NameEquals("protectedItemType"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/SqlProtectionPolicy.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/SqlProtectionPolicy.Serialization.cs index d53b1f98e9293..9041b947e836e 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/SqlProtectionPolicy.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/SqlProtectionPolicy.Serialization.cs @@ -100,7 +100,7 @@ internal static SqlProtectionPolicy DeserializeSqlProtectionPolicy(JsonElement e { continue; } - retentionPolicy = BackupRetentionPolicy.DeserializeBackupRetentionPolicy(property.Value); + retentionPolicy = BackupRetentionPolicy.DeserializeBackupRetentionPolicy(property.Value, options); continue; } if (property.NameEquals("protectedItemsCount"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/StorageBackupJob.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/StorageBackupJob.Serialization.cs index f7a1790010626..ed48e4648fdbe 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/StorageBackupJob.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/StorageBackupJob.Serialization.cs @@ -197,7 +197,7 @@ internal static StorageBackupJob DeserializeStorageBackupJob(JsonElement element List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(StorageErrorInfo.DeserializeStorageErrorInfo(item)); + array.Add(StorageErrorInfo.DeserializeStorageErrorInfo(item, options)); } errorDetails = array; continue; @@ -218,7 +218,7 @@ internal static StorageBackupJob DeserializeStorageBackupJob(JsonElement element { continue; } - extendedInfo = StorageBackupJobExtendedInfo.DeserializeStorageBackupJobExtendedInfo(property.Value); + extendedInfo = StorageBackupJobExtendedInfo.DeserializeStorageBackupJobExtendedInfo(property.Value, options); continue; } if (property.NameEquals("isUserTriggered"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/StorageBackupJobExtendedInfo.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/StorageBackupJobExtendedInfo.Serialization.cs index 2964e5e09ec60..0473527b0f87e 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/StorageBackupJobExtendedInfo.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/StorageBackupJobExtendedInfo.Serialization.cs @@ -106,7 +106,7 @@ internal static StorageBackupJobExtendedInfo DeserializeStorageBackupJobExtended List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(StorageBackupJobTaskDetails.DeserializeStorageBackupJobTaskDetails(item)); + array.Add(StorageBackupJobTaskDetails.DeserializeStorageBackupJobTaskDetails(item, options)); } tasksList = array; continue; diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/SubProtectionPolicy.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/SubProtectionPolicy.Serialization.cs index acadfa0e620f4..817e818d39f9d 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/SubProtectionPolicy.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/SubProtectionPolicy.Serialization.cs @@ -119,7 +119,7 @@ internal static SubProtectionPolicy DeserializeSubProtectionPolicy(JsonElement e { continue; } - schedulePolicy = BackupSchedulePolicy.DeserializeBackupSchedulePolicy(property.Value); + schedulePolicy = BackupSchedulePolicy.DeserializeBackupSchedulePolicy(property.Value, options); continue; } if (property.NameEquals("retentionPolicy"u8)) @@ -128,7 +128,7 @@ internal static SubProtectionPolicy DeserializeSubProtectionPolicy(JsonElement e { continue; } - retentionPolicy = BackupRetentionPolicy.DeserializeBackupRetentionPolicy(property.Value); + retentionPolicy = BackupRetentionPolicy.DeserializeBackupRetentionPolicy(property.Value, options); continue; } if (property.NameEquals("tieringPolicy"u8)) @@ -140,7 +140,7 @@ internal static SubProtectionPolicy DeserializeSubProtectionPolicy(JsonElement e Dictionary dictionary = new Dictionary(); foreach (var property0 in property.Value.EnumerateObject()) { - dictionary.Add(property0.Name, BackupTieringPolicy.DeserializeBackupTieringPolicy(property0.Value)); + dictionary.Add(property0.Name, BackupTieringPolicy.DeserializeBackupTieringPolicy(property0.Value, options)); } tieringPolicy = dictionary; continue; @@ -151,7 +151,7 @@ internal static SubProtectionPolicy DeserializeSubProtectionPolicy(JsonElement e { continue; } - snapshotBackupAdditionalDetails = SnapshotBackupAdditionalDetails.DeserializeSnapshotBackupAdditionalDetails(property.Value); + snapshotBackupAdditionalDetails = SnapshotBackupAdditionalDetails.DeserializeSnapshotBackupAdditionalDetails(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/TieringCostInfo.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/TieringCostInfo.Serialization.cs index 265e788deef5e..34b8ac8c6bd95 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/TieringCostInfo.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/TieringCostInfo.Serialization.cs @@ -70,11 +70,11 @@ internal static TieringCostInfo DeserializeTieringCostInfo(JsonElement element, { switch (discriminator.GetString()) { - case "TieringCostRehydrationInfo": return TieringCostRehydrationInfo.DeserializeTieringCostRehydrationInfo(element); - case "TieringCostSavingInfo": return TieringCostSavingInfo.DeserializeTieringCostSavingInfo(element); + case "TieringCostRehydrationInfo": return TieringCostRehydrationInfo.DeserializeTieringCostRehydrationInfo(element, options); + case "TieringCostSavingInfo": return TieringCostSavingInfo.DeserializeTieringCostSavingInfo(element, options); } } - return UnknownTieringCostInfo.DeserializeUnknownTieringCostInfo(element); + return UnknownTieringCostInfo.DeserializeUnknownTieringCostInfo(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/TriggerBackupContent.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/TriggerBackupContent.Serialization.cs index 0b2998e4cbf8b..f0e2843d5d2a2 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/TriggerBackupContent.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/TriggerBackupContent.Serialization.cs @@ -127,7 +127,7 @@ internal static TriggerBackupContent DeserializeTriggerBackupContent(JsonElement { continue; } - properties = BackupContent.DeserializeBackupContent(property.Value); + properties = BackupContent.DeserializeBackupContent(property.Value, options); continue; } if (property.NameEquals("eTag"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/TriggerRestoreContent.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/TriggerRestoreContent.Serialization.cs index 103a860e4d976..fa86c71dc6407 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/TriggerRestoreContent.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/TriggerRestoreContent.Serialization.cs @@ -127,7 +127,7 @@ internal static TriggerRestoreContent DeserializeTriggerRestoreContent(JsonEleme { continue; } - properties = RestoreContent.DeserializeRestoreContent(property.Value); + properties = RestoreContent.DeserializeRestoreContent(property.Value, options); continue; } if (property.NameEquals("eTag"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/UnknownBackupEngineBase.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/UnknownBackupEngineBase.Serialization.cs index 0be769c40972f..c72cb345b4fd1 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/UnknownBackupEngineBase.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/UnknownBackupEngineBase.Serialization.cs @@ -225,7 +225,7 @@ internal static UnknownBackupEngineBase DeserializeUnknownBackupEngineBase(JsonE { continue; } - extendedInfo = BackupEngineExtendedInfo.DeserializeBackupEngineExtendedInfo(property.Value); + extendedInfo = BackupEngineExtendedInfo.DeserializeBackupEngineExtendedInfo(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VaultBackupJob.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VaultBackupJob.Serialization.cs index abbd0968104cc..1d53fa12aad1e 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VaultBackupJob.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VaultBackupJob.Serialization.cs @@ -179,7 +179,7 @@ internal static VaultBackupJob DeserializeVaultBackupJob(JsonElement element, Mo List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(VaultBackupJobErrorInfo.DeserializeVaultBackupJobErrorInfo(item)); + array.Add(VaultBackupJobErrorInfo.DeserializeVaultBackupJobErrorInfo(item, options)); } errorDetails = array; continue; @@ -190,7 +190,7 @@ internal static VaultBackupJob DeserializeVaultBackupJob(JsonElement element, Mo { continue; } - extendedInfo = VaultBackupJobExtendedInfo.DeserializeVaultBackupJobExtendedInfo(property.Value); + extendedInfo = VaultBackupJobExtendedInfo.DeserializeVaultBackupJobExtendedInfo(property.Value, options); continue; } if (property.NameEquals("entityFriendlyName"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VaultRetentionPolicy.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VaultRetentionPolicy.Serialization.cs index 20653eee2bf9d..bfe017c1deb80 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VaultRetentionPolicy.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VaultRetentionPolicy.Serialization.cs @@ -76,7 +76,7 @@ internal static VaultRetentionPolicy DeserializeVaultRetentionPolicy(JsonElement { if (property.NameEquals("vaultRetention"u8)) { - vaultRetention = BackupRetentionPolicy.DeserializeBackupRetentionPolicy(property.Value); + vaultRetention = BackupRetentionPolicy.DeserializeBackupRetentionPolicy(property.Value, options); continue; } if (property.NameEquals("snapshotRetentionInDays"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmAppContainerProtectionContainer.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmAppContainerProtectionContainer.Serialization.cs index 267343caa2f78..69db68fbdf202 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmAppContainerProtectionContainer.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmAppContainerProtectionContainer.Serialization.cs @@ -155,7 +155,7 @@ internal static VmAppContainerProtectionContainer DeserializeVmAppContainerProte { continue; } - extendedInfo = WorkloadContainerExtendedInfo.DeserializeWorkloadContainerExtendedInfo(property.Value); + extendedInfo = WorkloadContainerExtendedInfo.DeserializeWorkloadContainerExtendedInfo(property.Value, options); continue; } if (property.NameEquals("workloadType"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadItem.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadItem.Serialization.cs index a34ea7ae814df..9320f3df77153 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadItem.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadItem.Serialization.cs @@ -115,12 +115,12 @@ internal static VmWorkloadItem DeserializeVmWorkloadItem(JsonElement element, Mo { switch (discriminator.GetString()) { - case "SAPAseDatabase": return VmWorkloadSapAseDatabaseWorkloadItem.DeserializeVmWorkloadSapAseDatabaseWorkloadItem(element); - case "SAPAseSystem": return VmWorkloadSapAseSystemWorkloadItem.DeserializeVmWorkloadSapAseSystemWorkloadItem(element); - case "SAPHanaDatabase": return VmWorkloadSapHanaDatabaseWorkloadItem.DeserializeVmWorkloadSapHanaDatabaseWorkloadItem(element); - case "SAPHanaSystem": return VmWorkloadSapHanaSystemWorkloadItem.DeserializeVmWorkloadSapHanaSystemWorkloadItem(element); - case "SQLDataBase": return VmWorkloadSqlDatabaseWorkloadItem.DeserializeVmWorkloadSqlDatabaseWorkloadItem(element); - case "SQLInstance": return VmWorkloadSqlInstanceWorkloadItem.DeserializeVmWorkloadSqlInstanceWorkloadItem(element); + case "SAPAseDatabase": return VmWorkloadSapAseDatabaseWorkloadItem.DeserializeVmWorkloadSapAseDatabaseWorkloadItem(element, options); + case "SAPAseSystem": return VmWorkloadSapAseSystemWorkloadItem.DeserializeVmWorkloadSapAseSystemWorkloadItem(element, options); + case "SAPHanaDatabase": return VmWorkloadSapHanaDatabaseWorkloadItem.DeserializeVmWorkloadSapHanaDatabaseWorkloadItem(element, options); + case "SAPHanaSystem": return VmWorkloadSapHanaSystemWorkloadItem.DeserializeVmWorkloadSapHanaSystemWorkloadItem(element, options); + case "SQLDataBase": return VmWorkloadSqlDatabaseWorkloadItem.DeserializeVmWorkloadSqlDatabaseWorkloadItem(element, options); + case "SQLInstance": return VmWorkloadSqlInstanceWorkloadItem.DeserializeVmWorkloadSqlInstanceWorkloadItem(element, options); } } Optional parentName = default; diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadProtectableItem.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadProtectableItem.Serialization.cs index a1d120ce9c60b..db909cfd6e8c6 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadProtectableItem.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadProtectableItem.Serialization.cs @@ -135,14 +135,14 @@ internal static VmWorkloadProtectableItem DeserializeVmWorkloadProtectableItem(J { switch (discriminator.GetString()) { - case "HanaHSRContainer": return VmWorkloadSapHanaHsrProtectableItem.DeserializeVmWorkloadSapHanaHsrProtectableItem(element); - case "SAPAseSystem": return VmWorkloadSapAseSystemProtectableItem.DeserializeVmWorkloadSapAseSystemProtectableItem(element); - case "SAPHanaDBInstance": return VmWorkloadSapHanaDBInstance.DeserializeVmWorkloadSapHanaDBInstance(element); - case "SAPHanaDatabase": return VmWorkloadSapHanaDatabaseProtectableItem.DeserializeVmWorkloadSapHanaDatabaseProtectableItem(element); - case "SAPHanaSystem": return VmWorkloadSapHanaSystemProtectableItem.DeserializeVmWorkloadSapHanaSystemProtectableItem(element); - case "SQLAvailabilityGroupContainer": return VmWorkloadSqlAvailabilityGroupProtectableItem.DeserializeVmWorkloadSqlAvailabilityGroupProtectableItem(element); - case "SQLDataBase": return VmWorkloadSqlDatabaseProtectableItem.DeserializeVmWorkloadSqlDatabaseProtectableItem(element); - case "SQLInstance": return VmWorkloadSqlInstanceProtectableItem.DeserializeVmWorkloadSqlInstanceProtectableItem(element); + case "HanaHSRContainer": return VmWorkloadSapHanaHsrProtectableItem.DeserializeVmWorkloadSapHanaHsrProtectableItem(element, options); + case "SAPAseSystem": return VmWorkloadSapAseSystemProtectableItem.DeserializeVmWorkloadSapAseSystemProtectableItem(element, options); + case "SAPHanaDBInstance": return VmWorkloadSapHanaDBInstance.DeserializeVmWorkloadSapHanaDBInstance(element, options); + case "SAPHanaDatabase": return VmWorkloadSapHanaDatabaseProtectableItem.DeserializeVmWorkloadSapHanaDatabaseProtectableItem(element, options); + case "SAPHanaSystem": return VmWorkloadSapHanaSystemProtectableItem.DeserializeVmWorkloadSapHanaSystemProtectableItem(element, options); + case "SQLAvailabilityGroupContainer": return VmWorkloadSqlAvailabilityGroupProtectableItem.DeserializeVmWorkloadSqlAvailabilityGroupProtectableItem(element, options); + case "SQLDataBase": return VmWorkloadSqlDatabaseProtectableItem.DeserializeVmWorkloadSqlDatabaseProtectableItem(element, options); + case "SQLInstance": return VmWorkloadSqlInstanceProtectableItem.DeserializeVmWorkloadSqlInstanceProtectableItem(element, options); } } Optional parentName = default; @@ -220,7 +220,7 @@ internal static VmWorkloadProtectableItem DeserializeVmWorkloadProtectableItem(J { continue; } - prebackupvalidation = PreBackupValidation.DeserializePreBackupValidation(property.Value); + prebackupvalidation = PreBackupValidation.DeserializePreBackupValidation(property.Value, options); continue; } if (property.NameEquals("isProtectable"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadProtectedItem.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadProtectedItem.Serialization.cs index efc71baba02c2..6d81e2525b7d9 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadProtectedItem.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadProtectedItem.Serialization.cs @@ -246,10 +246,10 @@ internal static VmWorkloadProtectedItem DeserializeVmWorkloadProtectedItem(JsonE { switch (discriminator.GetString()) { - case "AzureVmWorkloadSAPAseDatabase": return VmWorkloadSapAseDatabaseProtectedItem.DeserializeVmWorkloadSapAseDatabaseProtectedItem(element); - case "AzureVmWorkloadSAPHanaDBInstance": return VmWorkloadSapHanaDBInstanceProtectedItem.DeserializeVmWorkloadSapHanaDBInstanceProtectedItem(element); - case "AzureVmWorkloadSAPHanaDatabase": return VmWorkloadSapHanaDatabaseProtectedItem.DeserializeVmWorkloadSapHanaDatabaseProtectedItem(element); - case "AzureVmWorkloadSQLDatabase": return VmWorkloadSqlDatabaseProtectedItem.DeserializeVmWorkloadSqlDatabaseProtectedItem(element); + case "AzureVmWorkloadSAPAseDatabase": return VmWorkloadSapAseDatabaseProtectedItem.DeserializeVmWorkloadSapAseDatabaseProtectedItem(element, options); + case "AzureVmWorkloadSAPHanaDBInstance": return VmWorkloadSapHanaDBInstanceProtectedItem.DeserializeVmWorkloadSapHanaDBInstanceProtectedItem(element, options); + case "AzureVmWorkloadSAPHanaDatabase": return VmWorkloadSapHanaDatabaseProtectedItem.DeserializeVmWorkloadSapHanaDatabaseProtectedItem(element, options); + case "AzureVmWorkloadSQLDatabase": return VmWorkloadSqlDatabaseProtectedItem.DeserializeVmWorkloadSqlDatabaseProtectedItem(element, options); } } Optional friendlyName = default; @@ -347,7 +347,7 @@ internal static VmWorkloadProtectedItem DeserializeVmWorkloadProtectedItem(JsonE { continue; } - lastBackupErrorDetail = BackupErrorDetail.DeserializeBackupErrorDetail(property.Value); + lastBackupErrorDetail = BackupErrorDetail.DeserializeBackupErrorDetail(property.Value, options); continue; } if (property.NameEquals("protectedItemDataSourceId"u8)) @@ -370,7 +370,7 @@ internal static VmWorkloadProtectedItem DeserializeVmWorkloadProtectedItem(JsonE { continue; } - extendedInfo = VmWorkloadProtectedItemExtendedInfo.DeserializeVmWorkloadProtectedItemExtendedInfo(property.Value); + extendedInfo = VmWorkloadProtectedItemExtendedInfo.DeserializeVmWorkloadProtectedItemExtendedInfo(property.Value, options); continue; } if (property.NameEquals("kpisHealths"u8)) @@ -382,7 +382,7 @@ internal static VmWorkloadProtectedItem DeserializeVmWorkloadProtectedItem(JsonE Dictionary dictionary = new Dictionary(); foreach (var property0 in property.Value.EnumerateObject()) { - dictionary.Add(property0.Name, KpiResourceHealthDetails.DeserializeKpiResourceHealthDetails(property0.Value)); + dictionary.Add(property0.Name, KpiResourceHealthDetails.DeserializeKpiResourceHealthDetails(property0.Value, options)); } kpisHealths = dictionary; continue; @@ -396,7 +396,7 @@ internal static VmWorkloadProtectedItem DeserializeVmWorkloadProtectedItem(JsonE List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DistributedNodesInfo.DeserializeDistributedNodesInfo(item)); + array.Add(DistributedNodesInfo.DeserializeDistributedNodesInfo(item, options)); } nodesList = array; continue; diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadProtectionPolicy.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadProtectionPolicy.Serialization.cs index f9ebec857ab96..53b52b1484a29 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadProtectionPolicy.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadProtectionPolicy.Serialization.cs @@ -132,7 +132,7 @@ internal static VmWorkloadProtectionPolicy DeserializeVmWorkloadProtectionPolicy { continue; } - settings = BackupCommonSettings.DeserializeBackupCommonSettings(property.Value); + settings = BackupCommonSettings.DeserializeBackupCommonSettings(property.Value, options); continue; } if (property.NameEquals("subProtectionPolicy"u8)) @@ -144,7 +144,7 @@ internal static VmWorkloadProtectionPolicy DeserializeVmWorkloadProtectionPolicy List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(Models.SubProtectionPolicy.DeserializeSubProtectionPolicy(item)); + array.Add(Models.SubProtectionPolicy.DeserializeSubProtectionPolicy(item, options)); } subProtectionPolicy = array; continue; diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSapAseDatabaseProtectedItem.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSapAseDatabaseProtectedItem.Serialization.cs index 6c583bfaf192c..57bc062120c72 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSapAseDatabaseProtectedItem.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSapAseDatabaseProtectedItem.Serialization.cs @@ -337,7 +337,7 @@ internal static VmWorkloadSapAseDatabaseProtectedItem DeserializeVmWorkloadSapAs { continue; } - lastBackupErrorDetail = BackupErrorDetail.DeserializeBackupErrorDetail(property.Value); + lastBackupErrorDetail = BackupErrorDetail.DeserializeBackupErrorDetail(property.Value, options); continue; } if (property.NameEquals("protectedItemDataSourceId"u8)) @@ -360,7 +360,7 @@ internal static VmWorkloadSapAseDatabaseProtectedItem DeserializeVmWorkloadSapAs { continue; } - extendedInfo = VmWorkloadProtectedItemExtendedInfo.DeserializeVmWorkloadProtectedItemExtendedInfo(property.Value); + extendedInfo = VmWorkloadProtectedItemExtendedInfo.DeserializeVmWorkloadProtectedItemExtendedInfo(property.Value, options); continue; } if (property.NameEquals("kpisHealths"u8)) @@ -372,7 +372,7 @@ internal static VmWorkloadSapAseDatabaseProtectedItem DeserializeVmWorkloadSapAs Dictionary dictionary = new Dictionary(); foreach (var property0 in property.Value.EnumerateObject()) { - dictionary.Add(property0.Name, KpiResourceHealthDetails.DeserializeKpiResourceHealthDetails(property0.Value)); + dictionary.Add(property0.Name, KpiResourceHealthDetails.DeserializeKpiResourceHealthDetails(property0.Value, options)); } kpisHealths = dictionary; continue; @@ -386,7 +386,7 @@ internal static VmWorkloadSapAseDatabaseProtectedItem DeserializeVmWorkloadSapAs List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DistributedNodesInfo.DeserializeDistributedNodesInfo(item)); + array.Add(DistributedNodesInfo.DeserializeDistributedNodesInfo(item, options)); } nodesList = array; continue; diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSapAseSystemProtectableItem.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSapAseSystemProtectableItem.Serialization.cs index fece7aeb99435..eb66266bc1639 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSapAseSystemProtectableItem.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSapAseSystemProtectableItem.Serialization.cs @@ -206,7 +206,7 @@ internal static VmWorkloadSapAseSystemProtectableItem DeserializeVmWorkloadSapAs { continue; } - prebackupvalidation = PreBackupValidation.DeserializePreBackupValidation(property.Value); + prebackupvalidation = PreBackupValidation.DeserializePreBackupValidation(property.Value, options); continue; } if (property.NameEquals("isProtectable"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSapHanaDBInstance.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSapHanaDBInstance.Serialization.cs index 01f77eb5361d8..22f3f9aa2416c 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSapHanaDBInstance.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSapHanaDBInstance.Serialization.cs @@ -206,7 +206,7 @@ internal static VmWorkloadSapHanaDBInstance DeserializeVmWorkloadSapHanaDBInstan { continue; } - prebackupvalidation = PreBackupValidation.DeserializePreBackupValidation(property.Value); + prebackupvalidation = PreBackupValidation.DeserializePreBackupValidation(property.Value, options); continue; } if (property.NameEquals("isProtectable"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSapHanaDBInstanceProtectedItem.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSapHanaDBInstanceProtectedItem.Serialization.cs index 1090b9e9085d4..cce49ccde41b8 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSapHanaDBInstanceProtectedItem.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSapHanaDBInstanceProtectedItem.Serialization.cs @@ -337,7 +337,7 @@ internal static VmWorkloadSapHanaDBInstanceProtectedItem DeserializeVmWorkloadSa { continue; } - lastBackupErrorDetail = BackupErrorDetail.DeserializeBackupErrorDetail(property.Value); + lastBackupErrorDetail = BackupErrorDetail.DeserializeBackupErrorDetail(property.Value, options); continue; } if (property.NameEquals("protectedItemDataSourceId"u8)) @@ -360,7 +360,7 @@ internal static VmWorkloadSapHanaDBInstanceProtectedItem DeserializeVmWorkloadSa { continue; } - extendedInfo = VmWorkloadProtectedItemExtendedInfo.DeserializeVmWorkloadProtectedItemExtendedInfo(property.Value); + extendedInfo = VmWorkloadProtectedItemExtendedInfo.DeserializeVmWorkloadProtectedItemExtendedInfo(property.Value, options); continue; } if (property.NameEquals("kpisHealths"u8)) @@ -372,7 +372,7 @@ internal static VmWorkloadSapHanaDBInstanceProtectedItem DeserializeVmWorkloadSa Dictionary dictionary = new Dictionary(); foreach (var property0 in property.Value.EnumerateObject()) { - dictionary.Add(property0.Name, KpiResourceHealthDetails.DeserializeKpiResourceHealthDetails(property0.Value)); + dictionary.Add(property0.Name, KpiResourceHealthDetails.DeserializeKpiResourceHealthDetails(property0.Value, options)); } kpisHealths = dictionary; continue; @@ -386,7 +386,7 @@ internal static VmWorkloadSapHanaDBInstanceProtectedItem DeserializeVmWorkloadSa List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DistributedNodesInfo.DeserializeDistributedNodesInfo(item)); + array.Add(DistributedNodesInfo.DeserializeDistributedNodesInfo(item, options)); } nodesList = array; continue; diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSapHanaDatabaseProtectableItem.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSapHanaDatabaseProtectableItem.Serialization.cs index 4fa4cc504f583..bd85b1fba8b5a 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSapHanaDatabaseProtectableItem.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSapHanaDatabaseProtectableItem.Serialization.cs @@ -206,7 +206,7 @@ internal static VmWorkloadSapHanaDatabaseProtectableItem DeserializeVmWorkloadSa { continue; } - prebackupvalidation = PreBackupValidation.DeserializePreBackupValidation(property.Value); + prebackupvalidation = PreBackupValidation.DeserializePreBackupValidation(property.Value, options); continue; } if (property.NameEquals("isProtectable"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSapHanaDatabaseProtectedItem.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSapHanaDatabaseProtectedItem.Serialization.cs index 5188dc5a25a84..13b90792d9771 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSapHanaDatabaseProtectedItem.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSapHanaDatabaseProtectedItem.Serialization.cs @@ -337,7 +337,7 @@ internal static VmWorkloadSapHanaDatabaseProtectedItem DeserializeVmWorkloadSapH { continue; } - lastBackupErrorDetail = BackupErrorDetail.DeserializeBackupErrorDetail(property.Value); + lastBackupErrorDetail = BackupErrorDetail.DeserializeBackupErrorDetail(property.Value, options); continue; } if (property.NameEquals("protectedItemDataSourceId"u8)) @@ -360,7 +360,7 @@ internal static VmWorkloadSapHanaDatabaseProtectedItem DeserializeVmWorkloadSapH { continue; } - extendedInfo = VmWorkloadProtectedItemExtendedInfo.DeserializeVmWorkloadProtectedItemExtendedInfo(property.Value); + extendedInfo = VmWorkloadProtectedItemExtendedInfo.DeserializeVmWorkloadProtectedItemExtendedInfo(property.Value, options); continue; } if (property.NameEquals("kpisHealths"u8)) @@ -372,7 +372,7 @@ internal static VmWorkloadSapHanaDatabaseProtectedItem DeserializeVmWorkloadSapH Dictionary dictionary = new Dictionary(); foreach (var property0 in property.Value.EnumerateObject()) { - dictionary.Add(property0.Name, KpiResourceHealthDetails.DeserializeKpiResourceHealthDetails(property0.Value)); + dictionary.Add(property0.Name, KpiResourceHealthDetails.DeserializeKpiResourceHealthDetails(property0.Value, options)); } kpisHealths = dictionary; continue; @@ -386,7 +386,7 @@ internal static VmWorkloadSapHanaDatabaseProtectedItem DeserializeVmWorkloadSapH List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DistributedNodesInfo.DeserializeDistributedNodesInfo(item)); + array.Add(DistributedNodesInfo.DeserializeDistributedNodesInfo(item, options)); } nodesList = array; continue; diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSapHanaHsrProtectableItem.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSapHanaHsrProtectableItem.Serialization.cs index 7a044ac06b7a7..ee3fc8f17a99f 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSapHanaHsrProtectableItem.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSapHanaHsrProtectableItem.Serialization.cs @@ -206,7 +206,7 @@ internal static VmWorkloadSapHanaHsrProtectableItem DeserializeVmWorkloadSapHana { continue; } - prebackupvalidation = PreBackupValidation.DeserializePreBackupValidation(property.Value); + prebackupvalidation = PreBackupValidation.DeserializePreBackupValidation(property.Value, options); continue; } if (property.NameEquals("isProtectable"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSapHanaSystemProtectableItem.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSapHanaSystemProtectableItem.Serialization.cs index be41ccbfb2674..b7baabfcb41c3 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSapHanaSystemProtectableItem.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSapHanaSystemProtectableItem.Serialization.cs @@ -206,7 +206,7 @@ internal static VmWorkloadSapHanaSystemProtectableItem DeserializeVmWorkloadSapH { continue; } - prebackupvalidation = PreBackupValidation.DeserializePreBackupValidation(property.Value); + prebackupvalidation = PreBackupValidation.DeserializePreBackupValidation(property.Value, options); continue; } if (property.NameEquals("isProtectable"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSqlAvailabilityGroupProtectableItem.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSqlAvailabilityGroupProtectableItem.Serialization.cs index 094487f3a1976..e1025f19d01e9 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSqlAvailabilityGroupProtectableItem.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSqlAvailabilityGroupProtectableItem.Serialization.cs @@ -169,7 +169,7 @@ internal static VmWorkloadSqlAvailabilityGroupProtectableItem DeserializeVmWorkl List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DistributedNodesInfo.DeserializeDistributedNodesInfo(item)); + array.Add(DistributedNodesInfo.DeserializeDistributedNodesInfo(item, options)); } nodesList = array; continue; @@ -231,7 +231,7 @@ internal static VmWorkloadSqlAvailabilityGroupProtectableItem DeserializeVmWorkl { continue; } - prebackupvalidation = PreBackupValidation.DeserializePreBackupValidation(property.Value); + prebackupvalidation = PreBackupValidation.DeserializePreBackupValidation(property.Value, options); continue; } if (property.NameEquals("isProtectable"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSqlDatabaseProtectableItem.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSqlDatabaseProtectableItem.Serialization.cs index cc0370bc54f3a..706918538f64d 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSqlDatabaseProtectableItem.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSqlDatabaseProtectableItem.Serialization.cs @@ -206,7 +206,7 @@ internal static VmWorkloadSqlDatabaseProtectableItem DeserializeVmWorkloadSqlDat { continue; } - prebackupvalidation = PreBackupValidation.DeserializePreBackupValidation(property.Value); + prebackupvalidation = PreBackupValidation.DeserializePreBackupValidation(property.Value, options); continue; } if (property.NameEquals("isProtectable"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSqlDatabaseProtectedItem.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSqlDatabaseProtectedItem.Serialization.cs index 03646c1c2a0ce..a6db10737063d 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSqlDatabaseProtectedItem.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSqlDatabaseProtectedItem.Serialization.cs @@ -337,7 +337,7 @@ internal static VmWorkloadSqlDatabaseProtectedItem DeserializeVmWorkloadSqlDatab { continue; } - lastBackupErrorDetail = BackupErrorDetail.DeserializeBackupErrorDetail(property.Value); + lastBackupErrorDetail = BackupErrorDetail.DeserializeBackupErrorDetail(property.Value, options); continue; } if (property.NameEquals("protectedItemDataSourceId"u8)) @@ -360,7 +360,7 @@ internal static VmWorkloadSqlDatabaseProtectedItem DeserializeVmWorkloadSqlDatab { continue; } - extendedInfo = VmWorkloadProtectedItemExtendedInfo.DeserializeVmWorkloadProtectedItemExtendedInfo(property.Value); + extendedInfo = VmWorkloadProtectedItemExtendedInfo.DeserializeVmWorkloadProtectedItemExtendedInfo(property.Value, options); continue; } if (property.NameEquals("kpisHealths"u8)) @@ -372,7 +372,7 @@ internal static VmWorkloadSqlDatabaseProtectedItem DeserializeVmWorkloadSqlDatab Dictionary dictionary = new Dictionary(); foreach (var property0 in property.Value.EnumerateObject()) { - dictionary.Add(property0.Name, KpiResourceHealthDetails.DeserializeKpiResourceHealthDetails(property0.Value)); + dictionary.Add(property0.Name, KpiResourceHealthDetails.DeserializeKpiResourceHealthDetails(property0.Value, options)); } kpisHealths = dictionary; continue; @@ -386,7 +386,7 @@ internal static VmWorkloadSqlDatabaseProtectedItem DeserializeVmWorkloadSqlDatab List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DistributedNodesInfo.DeserializeDistributedNodesInfo(item)); + array.Add(DistributedNodesInfo.DeserializeDistributedNodesInfo(item, options)); } nodesList = array; continue; diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSqlInstanceProtectableItem.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSqlInstanceProtectableItem.Serialization.cs index ee19ade03aaf4..b23c3c79bcea1 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSqlInstanceProtectableItem.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSqlInstanceProtectableItem.Serialization.cs @@ -206,7 +206,7 @@ internal static VmWorkloadSqlInstanceProtectableItem DeserializeVmWorkloadSqlIns { continue; } - prebackupvalidation = PreBackupValidation.DeserializePreBackupValidation(property.Value); + prebackupvalidation = PreBackupValidation.DeserializePreBackupValidation(property.Value, options); continue; } if (property.NameEquals("isProtectable"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSqlInstanceWorkloadItem.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSqlInstanceWorkloadItem.Serialization.cs index a00b46e45b42b..4885f302b8150 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSqlInstanceWorkloadItem.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/VmWorkloadSqlInstanceWorkloadItem.Serialization.cs @@ -145,7 +145,7 @@ internal static VmWorkloadSqlInstanceWorkloadItem DeserializeVmWorkloadSqlInstan List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlDataDirectory.DeserializeSqlDataDirectory(item)); + array.Add(SqlDataDirectory.DeserializeSqlDataDirectory(item, options)); } dataDirectoryPaths = array; continue; diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WeeklyRetentionSchedule.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WeeklyRetentionSchedule.Serialization.cs index a82c81bc91f1b..b231e4af4bd01 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WeeklyRetentionSchedule.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WeeklyRetentionSchedule.Serialization.cs @@ -130,7 +130,7 @@ internal static WeeklyRetentionSchedule DeserializeWeeklyRetentionSchedule(JsonE { continue; } - retentionDuration = RetentionDuration.DeserializeRetentionDuration(property.Value); + retentionDuration = RetentionDuration.DeserializeRetentionDuration(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadAutoProtectionIntent.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadAutoProtectionIntent.Serialization.cs index e62c813eda400..ad7a55b639d7b 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadAutoProtectionIntent.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadAutoProtectionIntent.Serialization.cs @@ -95,7 +95,7 @@ internal static WorkloadAutoProtectionIntent DeserializeWorkloadAutoProtectionIn { switch (discriminator.GetString()) { - case "AzureWorkloadSQLAutoProtectionIntent": return WorkloadSqlAutoProtectionIntent.DeserializeWorkloadSqlAutoProtectionIntent(element); + case "AzureWorkloadSQLAutoProtectionIntent": return WorkloadSqlAutoProtectionIntent.DeserializeWorkloadSqlAutoProtectionIntent(element, options); } } ProtectionIntentItemType protectionIntentItemType = "AutoRest.CSharp.Output.Models.Types.EnumTypeValue"; diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadBackupJob.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadBackupJob.Serialization.cs index f9b17b917909a..1a23f3ca04dab 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadBackupJob.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadBackupJob.Serialization.cs @@ -190,7 +190,7 @@ internal static WorkloadBackupJob DeserializeWorkloadBackupJob(JsonElement eleme List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(WorkloadErrorInfo.DeserializeWorkloadErrorInfo(item)); + array.Add(WorkloadErrorInfo.DeserializeWorkloadErrorInfo(item, options)); } errorDetails = array; continue; @@ -201,7 +201,7 @@ internal static WorkloadBackupJob DeserializeWorkloadBackupJob(JsonElement eleme { continue; } - extendedInfo = WorkloadBackupJobExtendedInfo.DeserializeWorkloadBackupJobExtendedInfo(property.Value); + extendedInfo = WorkloadBackupJobExtendedInfo.DeserializeWorkloadBackupJobExtendedInfo(property.Value, options); continue; } if (property.NameEquals("entityFriendlyName"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadBackupJobExtendedInfo.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadBackupJobExtendedInfo.Serialization.cs index 40de9bbf98f9d..9030f0a98af45 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadBackupJobExtendedInfo.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadBackupJobExtendedInfo.Serialization.cs @@ -106,7 +106,7 @@ internal static WorkloadBackupJobExtendedInfo DeserializeWorkloadBackupJobExtend List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(WorkloadBackupJobTaskDetails.DeserializeWorkloadBackupJobTaskDetails(item)); + array.Add(WorkloadBackupJobTaskDetails.DeserializeWorkloadBackupJobTaskDetails(item, options)); } tasksList = array; continue; diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadContainer.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadContainer.Serialization.cs index 0135e6655d7b5..7b3128e4968ca 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadContainer.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadContainer.Serialization.cs @@ -120,8 +120,8 @@ internal static WorkloadContainer DeserializeWorkloadContainer(JsonElement eleme { switch (discriminator.GetString()) { - case "SQLAGWorkLoadContainer": return SqlAvailabilityGroupWorkloadProtectionContainer.DeserializeSqlAvailabilityGroupWorkloadProtectionContainer(element); - case "VMAppContainer": return VmAppContainerProtectionContainer.DeserializeVmAppContainerProtectionContainer(element); + case "SQLAGWorkLoadContainer": return SqlAvailabilityGroupWorkloadProtectionContainer.DeserializeSqlAvailabilityGroupWorkloadProtectionContainer(element, options); + case "VMAppContainer": return VmAppContainerProtectionContainer.DeserializeVmAppContainerProtectionContainer(element, options); } } Optional sourceResourceId = default; @@ -163,7 +163,7 @@ internal static WorkloadContainer DeserializeWorkloadContainer(JsonElement eleme { continue; } - extendedInfo = WorkloadContainerExtendedInfo.DeserializeWorkloadContainerExtendedInfo(property.Value); + extendedInfo = WorkloadContainerExtendedInfo.DeserializeWorkloadContainerExtendedInfo(property.Value, options); continue; } if (property.NameEquals("workloadType"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadContainerExtendedInfo.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadContainerExtendedInfo.Serialization.cs index d54efae50f2e3..3a2e930a826de 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadContainerExtendedInfo.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadContainerExtendedInfo.Serialization.cs @@ -102,7 +102,7 @@ internal static WorkloadContainerExtendedInfo DeserializeWorkloadContainerExtend { continue; } - inquiryInfo = WorkloadContainerInquiryInfo.DeserializeWorkloadContainerInquiryInfo(property.Value); + inquiryInfo = WorkloadContainerInquiryInfo.DeserializeWorkloadContainerInquiryInfo(property.Value, options); continue; } if (property.NameEquals("nodesList"u8)) @@ -114,7 +114,7 @@ internal static WorkloadContainerExtendedInfo DeserializeWorkloadContainerExtend List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DistributedNodesInfo.DeserializeDistributedNodesInfo(item)); + array.Add(DistributedNodesInfo.DeserializeDistributedNodesInfo(item, options)); } nodesList = array; continue; diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadContainerInquiryInfo.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadContainerInquiryInfo.Serialization.cs index 36d16f4f34d81..7ec8cc49894da 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadContainerInquiryInfo.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadContainerInquiryInfo.Serialization.cs @@ -102,7 +102,7 @@ internal static WorkloadContainerInquiryInfo DeserializeWorkloadContainerInquiry { continue; } - errorDetail = BackupErrorDetail.DeserializeBackupErrorDetail(property.Value); + errorDetail = BackupErrorDetail.DeserializeBackupErrorDetail(property.Value, options); continue; } if (property.NameEquals("inquiryDetails"u8)) @@ -114,7 +114,7 @@ internal static WorkloadContainerInquiryInfo DeserializeWorkloadContainerInquiry List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(WorkloadInquiryDetails.DeserializeWorkloadInquiryDetails(item)); + array.Add(WorkloadInquiryDetails.DeserializeWorkloadInquiryDetails(item, options)); } inquiryDetails = array; continue; diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadInquiryDetails.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadInquiryDetails.Serialization.cs index 5464b47a7c852..4810e9694badf 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadInquiryDetails.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadInquiryDetails.Serialization.cs @@ -106,7 +106,7 @@ internal static WorkloadInquiryDetails DeserializeWorkloadInquiryDetails(JsonEle { continue; } - inquiryValidation = InquiryValidation.DeserializeInquiryValidation(property.Value); + inquiryValidation = InquiryValidation.DeserializeInquiryValidation(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadItem.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadItem.Serialization.cs index f971a45bf2098..084116243b0b3 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadItem.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadItem.Serialization.cs @@ -90,16 +90,16 @@ internal static WorkloadItem DeserializeWorkloadItem(JsonElement element, ModelR { switch (discriminator.GetString()) { - case "AzureVmWorkloadItem": return VmWorkloadItem.DeserializeVmWorkloadItem(element); - case "SAPAseDatabase": return VmWorkloadSapAseDatabaseWorkloadItem.DeserializeVmWorkloadSapAseDatabaseWorkloadItem(element); - case "SAPAseSystem": return VmWorkloadSapAseSystemWorkloadItem.DeserializeVmWorkloadSapAseSystemWorkloadItem(element); - case "SAPHanaDatabase": return VmWorkloadSapHanaDatabaseWorkloadItem.DeserializeVmWorkloadSapHanaDatabaseWorkloadItem(element); - case "SAPHanaSystem": return VmWorkloadSapHanaSystemWorkloadItem.DeserializeVmWorkloadSapHanaSystemWorkloadItem(element); - case "SQLDataBase": return VmWorkloadSqlDatabaseWorkloadItem.DeserializeVmWorkloadSqlDatabaseWorkloadItem(element); - case "SQLInstance": return VmWorkloadSqlInstanceWorkloadItem.DeserializeVmWorkloadSqlInstanceWorkloadItem(element); + case "AzureVmWorkloadItem": return VmWorkloadItem.DeserializeVmWorkloadItem(element, options); + case "SAPAseDatabase": return VmWorkloadSapAseDatabaseWorkloadItem.DeserializeVmWorkloadSapAseDatabaseWorkloadItem(element, options); + case "SAPAseSystem": return VmWorkloadSapAseSystemWorkloadItem.DeserializeVmWorkloadSapAseSystemWorkloadItem(element, options); + case "SAPHanaDatabase": return VmWorkloadSapHanaDatabaseWorkloadItem.DeserializeVmWorkloadSapHanaDatabaseWorkloadItem(element, options); + case "SAPHanaSystem": return VmWorkloadSapHanaSystemWorkloadItem.DeserializeVmWorkloadSapHanaSystemWorkloadItem(element, options); + case "SQLDataBase": return VmWorkloadSqlDatabaseWorkloadItem.DeserializeVmWorkloadSqlDatabaseWorkloadItem(element, options); + case "SQLInstance": return VmWorkloadSqlInstanceWorkloadItem.DeserializeVmWorkloadSqlInstanceWorkloadItem(element, options); } } - return UnknownWorkloadItem.DeserializeUnknownWorkloadItem(element); + return UnknownWorkloadItem.DeserializeUnknownWorkloadItem(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadItemResource.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadItemResource.Serialization.cs index cac1263ccadf0..f213a966c55e2 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadItemResource.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadItemResource.Serialization.cs @@ -127,7 +127,7 @@ internal static WorkloadItemResource DeserializeWorkloadItemResource(JsonElement { continue; } - properties = WorkloadItem.DeserializeWorkloadItem(property.Value); + properties = WorkloadItem.DeserializeWorkloadItem(property.Value, options); continue; } if (property.NameEquals("eTag"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadItemResourceList.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadItemResourceList.Serialization.cs index edf0755ae0003..f18e08edac2cd 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadItemResourceList.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadItemResourceList.Serialization.cs @@ -94,7 +94,7 @@ internal static WorkloadItemResourceList DeserializeWorkloadItemResourceList(Jso List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(WorkloadItemResource.DeserializeWorkloadItemResource(item)); + array.Add(WorkloadItemResource.DeserializeWorkloadItemResource(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadPointInTimeRecoveryPoint.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadPointInTimeRecoveryPoint.Serialization.cs index 1cdf3f7a30094..f4dfec10280f6 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadPointInTimeRecoveryPoint.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadPointInTimeRecoveryPoint.Serialization.cs @@ -116,7 +116,7 @@ internal static WorkloadPointInTimeRecoveryPoint DeserializeWorkloadPointInTimeR { switch (discriminator.GetString()) { - case "AzureWorkloadSAPHanaPointInTimeRecoveryPoint": return WorkloadSapHanaPointInTimeRecoveryPoint.DeserializeWorkloadSapHanaPointInTimeRecoveryPoint(element); + case "AzureWorkloadSAPHanaPointInTimeRecoveryPoint": return WorkloadSapHanaPointInTimeRecoveryPoint.DeserializeWorkloadSapHanaPointInTimeRecoveryPoint(element, options); } } Optional> timeRanges = default; @@ -139,7 +139,7 @@ internal static WorkloadPointInTimeRecoveryPoint DeserializeWorkloadPointInTimeR List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(PointInTimeRange.DeserializePointInTimeRange(item)); + array.Add(PointInTimeRange.DeserializePointInTimeRange(item, options)); } timeRanges = array; continue; @@ -171,7 +171,7 @@ internal static WorkloadPointInTimeRecoveryPoint DeserializeWorkloadPointInTimeR List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RecoveryPointTierInformationV2.DeserializeRecoveryPointTierInformationV2(item)); + array.Add(RecoveryPointTierInformationV2.DeserializeRecoveryPointTierInformationV2(item, options)); } recoveryPointTierDetails = array; continue; @@ -185,7 +185,7 @@ internal static WorkloadPointInTimeRecoveryPoint DeserializeWorkloadPointInTimeR Dictionary dictionary = new Dictionary(); foreach (var property0 in property.Value.EnumerateObject()) { - dictionary.Add(property0.Name, Models.RecoveryPointMoveReadinessInfo.DeserializeRecoveryPointMoveReadinessInfo(property0.Value)); + dictionary.Add(property0.Name, Models.RecoveryPointMoveReadinessInfo.DeserializeRecoveryPointMoveReadinessInfo(property0.Value, options)); } recoveryPointMoveReadinessInfo = dictionary; continue; @@ -196,7 +196,7 @@ internal static WorkloadPointInTimeRecoveryPoint DeserializeWorkloadPointInTimeR { continue; } - recoveryPointProperties = RecoveryPointProperties.DeserializeRecoveryPointProperties(property.Value); + recoveryPointProperties = RecoveryPointProperties.DeserializeRecoveryPointProperties(property.Value, options); continue; } if (property.NameEquals("objectType"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadPointInTimeRestoreContent.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadPointInTimeRestoreContent.Serialization.cs index cb0210c796dd2..b35e0a7c00c0a 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadPointInTimeRestoreContent.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadPointInTimeRestoreContent.Serialization.cs @@ -184,7 +184,7 @@ internal static WorkloadPointInTimeRestoreContent DeserializeWorkloadPointInTime { continue; } - targetInfo = TargetRestoreInfo.DeserializeTargetRestoreInfo(property.Value); + targetInfo = TargetRestoreInfo.DeserializeTargetRestoreInfo(property.Value, options); continue; } if (property.NameEquals("recoveryMode"u8)) @@ -207,7 +207,7 @@ internal static WorkloadPointInTimeRestoreContent DeserializeWorkloadPointInTime { continue; } - userAssignedManagedIdentityDetails = UserAssignedManagedIdentityDetails.DeserializeUserAssignedManagedIdentityDetails(property.Value); + userAssignedManagedIdentityDetails = UserAssignedManagedIdentityDetails.DeserializeUserAssignedManagedIdentityDetails(property.Value, options); continue; } if (property.NameEquals("snapshotRestoreParameters"u8)) @@ -216,7 +216,7 @@ internal static WorkloadPointInTimeRestoreContent DeserializeWorkloadPointInTime { continue; } - snapshotRestoreParameters = SnapshotRestoreContent.DeserializeSnapshotRestoreContent(property.Value); + snapshotRestoreParameters = SnapshotRestoreContent.DeserializeSnapshotRestoreContent(property.Value, options); continue; } if (property.NameEquals("targetVirtualMachineId"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadProtectableItem.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadProtectableItem.Serialization.cs index 34c31f9a06489..03b4994a5f3f4 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadProtectableItem.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadProtectableItem.Serialization.cs @@ -90,22 +90,22 @@ internal static WorkloadProtectableItem DeserializeWorkloadProtectableItem(JsonE { switch (discriminator.GetString()) { - case "AzureFileShare": return FileShareProtectableItem.DeserializeFileShareProtectableItem(element); - case "AzureVmWorkloadProtectableItem": return VmWorkloadProtectableItem.DeserializeVmWorkloadProtectableItem(element); - case "HanaHSRContainer": return VmWorkloadSapHanaHsrProtectableItem.DeserializeVmWorkloadSapHanaHsrProtectableItem(element); - case "IaaSVMProtectableItem": return IaasVmProtectableItem.DeserializeIaasVmProtectableItem(element); - case "Microsoft.ClassicCompute/virtualMachines": return IaasClassicComputeVmProtectableItem.DeserializeIaasClassicComputeVmProtectableItem(element); - case "Microsoft.Compute/virtualMachines": return IaasComputeVmProtectableItem.DeserializeIaasComputeVmProtectableItem(element); - case "SAPAseSystem": return VmWorkloadSapAseSystemProtectableItem.DeserializeVmWorkloadSapAseSystemProtectableItem(element); - case "SAPHanaDBInstance": return VmWorkloadSapHanaDBInstance.DeserializeVmWorkloadSapHanaDBInstance(element); - case "SAPHanaDatabase": return VmWorkloadSapHanaDatabaseProtectableItem.DeserializeVmWorkloadSapHanaDatabaseProtectableItem(element); - case "SAPHanaSystem": return VmWorkloadSapHanaSystemProtectableItem.DeserializeVmWorkloadSapHanaSystemProtectableItem(element); - case "SQLAvailabilityGroupContainer": return VmWorkloadSqlAvailabilityGroupProtectableItem.DeserializeVmWorkloadSqlAvailabilityGroupProtectableItem(element); - case "SQLDataBase": return VmWorkloadSqlDatabaseProtectableItem.DeserializeVmWorkloadSqlDatabaseProtectableItem(element); - case "SQLInstance": return VmWorkloadSqlInstanceProtectableItem.DeserializeVmWorkloadSqlInstanceProtectableItem(element); + case "AzureFileShare": return FileShareProtectableItem.DeserializeFileShareProtectableItem(element, options); + case "AzureVmWorkloadProtectableItem": return VmWorkloadProtectableItem.DeserializeVmWorkloadProtectableItem(element, options); + case "HanaHSRContainer": return VmWorkloadSapHanaHsrProtectableItem.DeserializeVmWorkloadSapHanaHsrProtectableItem(element, options); + case "IaaSVMProtectableItem": return IaasVmProtectableItem.DeserializeIaasVmProtectableItem(element, options); + case "Microsoft.ClassicCompute/virtualMachines": return IaasClassicComputeVmProtectableItem.DeserializeIaasClassicComputeVmProtectableItem(element, options); + case "Microsoft.Compute/virtualMachines": return IaasComputeVmProtectableItem.DeserializeIaasComputeVmProtectableItem(element, options); + case "SAPAseSystem": return VmWorkloadSapAseSystemProtectableItem.DeserializeVmWorkloadSapAseSystemProtectableItem(element, options); + case "SAPHanaDBInstance": return VmWorkloadSapHanaDBInstance.DeserializeVmWorkloadSapHanaDBInstance(element, options); + case "SAPHanaDatabase": return VmWorkloadSapHanaDatabaseProtectableItem.DeserializeVmWorkloadSapHanaDatabaseProtectableItem(element, options); + case "SAPHanaSystem": return VmWorkloadSapHanaSystemProtectableItem.DeserializeVmWorkloadSapHanaSystemProtectableItem(element, options); + case "SQLAvailabilityGroupContainer": return VmWorkloadSqlAvailabilityGroupProtectableItem.DeserializeVmWorkloadSqlAvailabilityGroupProtectableItem(element, options); + case "SQLDataBase": return VmWorkloadSqlDatabaseProtectableItem.DeserializeVmWorkloadSqlDatabaseProtectableItem(element, options); + case "SQLInstance": return VmWorkloadSqlInstanceProtectableItem.DeserializeVmWorkloadSqlInstanceProtectableItem(element, options); } } - return UnknownWorkloadProtectableItem.DeserializeUnknownWorkloadProtectableItem(element); + return UnknownWorkloadProtectableItem.DeserializeUnknownWorkloadProtectableItem(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadProtectableItemResource.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadProtectableItemResource.Serialization.cs index 33b4b3f29f7af..049ac861cf876 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadProtectableItemResource.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadProtectableItemResource.Serialization.cs @@ -127,7 +127,7 @@ internal static WorkloadProtectableItemResource DeserializeWorkloadProtectableIt { continue; } - properties = WorkloadProtectableItem.DeserializeWorkloadProtectableItem(property.Value); + properties = WorkloadProtectableItem.DeserializeWorkloadProtectableItem(property.Value, options); continue; } if (property.NameEquals("eTag"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadProtectableItemResourceList.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadProtectableItemResourceList.Serialization.cs index 82e367e97d11c..e15ab3ef012dc 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadProtectableItemResourceList.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadProtectableItemResourceList.Serialization.cs @@ -94,7 +94,7 @@ internal static WorkloadProtectableItemResourceList DeserializeWorkloadProtectab List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(WorkloadProtectableItemResource.DeserializeWorkloadProtectableItemResource(item)); + array.Add(WorkloadProtectableItemResource.DeserializeWorkloadProtectableItemResource(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadRecoveryPoint.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadRecoveryPoint.Serialization.cs index 48c50cba12e56..80f88d04be031 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadRecoveryPoint.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadRecoveryPoint.Serialization.cs @@ -106,11 +106,11 @@ internal static WorkloadRecoveryPoint DeserializeWorkloadRecoveryPoint(JsonEleme { switch (discriminator.GetString()) { - case "AzureWorkloadPointInTimeRecoveryPoint": return WorkloadPointInTimeRecoveryPoint.DeserializeWorkloadPointInTimeRecoveryPoint(element); - case "AzureWorkloadSAPHanaPointInTimeRecoveryPoint": return WorkloadSapHanaPointInTimeRecoveryPoint.DeserializeWorkloadSapHanaPointInTimeRecoveryPoint(element); - case "AzureWorkloadSAPHanaRecoveryPoint": return WorkloadSapHanaRecoveryPoint.DeserializeWorkloadSapHanaRecoveryPoint(element); - case "AzureWorkloadSQLPointInTimeRecoveryPoint": return WorkloadSqlPointInTimeRecoveryPoint.DeserializeWorkloadSqlPointInTimeRecoveryPoint(element); - case "AzureWorkloadSQLRecoveryPoint": return WorkloadSqlRecoveryPoint.DeserializeWorkloadSqlRecoveryPoint(element); + case "AzureWorkloadPointInTimeRecoveryPoint": return WorkloadPointInTimeRecoveryPoint.DeserializeWorkloadPointInTimeRecoveryPoint(element, options); + case "AzureWorkloadSAPHanaPointInTimeRecoveryPoint": return WorkloadSapHanaPointInTimeRecoveryPoint.DeserializeWorkloadSapHanaPointInTimeRecoveryPoint(element, options); + case "AzureWorkloadSAPHanaRecoveryPoint": return WorkloadSapHanaRecoveryPoint.DeserializeWorkloadSapHanaRecoveryPoint(element, options); + case "AzureWorkloadSQLPointInTimeRecoveryPoint": return WorkloadSqlPointInTimeRecoveryPoint.DeserializeWorkloadSqlPointInTimeRecoveryPoint(element, options); + case "AzureWorkloadSQLRecoveryPoint": return WorkloadSqlRecoveryPoint.DeserializeWorkloadSqlRecoveryPoint(element, options); } } Optional recoveryPointTimeInUTC = default; @@ -150,7 +150,7 @@ internal static WorkloadRecoveryPoint DeserializeWorkloadRecoveryPoint(JsonEleme List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RecoveryPointTierInformationV2.DeserializeRecoveryPointTierInformationV2(item)); + array.Add(RecoveryPointTierInformationV2.DeserializeRecoveryPointTierInformationV2(item, options)); } recoveryPointTierDetails = array; continue; @@ -164,7 +164,7 @@ internal static WorkloadRecoveryPoint DeserializeWorkloadRecoveryPoint(JsonEleme Dictionary dictionary = new Dictionary(); foreach (var property0 in property.Value.EnumerateObject()) { - dictionary.Add(property0.Name, Models.RecoveryPointMoveReadinessInfo.DeserializeRecoveryPointMoveReadinessInfo(property0.Value)); + dictionary.Add(property0.Name, Models.RecoveryPointMoveReadinessInfo.DeserializeRecoveryPointMoveReadinessInfo(property0.Value, options)); } recoveryPointMoveReadinessInfo = dictionary; continue; @@ -175,7 +175,7 @@ internal static WorkloadRecoveryPoint DeserializeWorkloadRecoveryPoint(JsonEleme { continue; } - recoveryPointProperties = RecoveryPointProperties.DeserializeRecoveryPointProperties(property.Value); + recoveryPointProperties = RecoveryPointProperties.DeserializeRecoveryPointProperties(property.Value, options); continue; } if (property.NameEquals("objectType"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadRestoreContent.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadRestoreContent.Serialization.cs index eac3f9a48d79b..52a22533283bb 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadRestoreContent.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadRestoreContent.Serialization.cs @@ -121,15 +121,15 @@ internal static WorkloadRestoreContent DeserializeWorkloadRestoreContent(JsonEle { switch (discriminator.GetString()) { - case "AzureWorkloadPointInTimeRestoreRequest": return WorkloadPointInTimeRestoreContent.DeserializeWorkloadPointInTimeRestoreContent(element); - case "AzureWorkloadSAPHanaPointInTimeRestoreRequest": return WorkloadSapHanaPointInTimeRestoreContent.DeserializeWorkloadSapHanaPointInTimeRestoreContent(element); - case "AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest": return WorkloadSapHanaPointInTimeRestoreWithRehydrateContent.DeserializeWorkloadSapHanaPointInTimeRestoreWithRehydrateContent(element); - case "AzureWorkloadSAPHanaRestoreRequest": return WorkloadSapHanaRestoreContent.DeserializeWorkloadSapHanaRestoreContent(element); - case "AzureWorkloadSAPHanaRestoreWithRehydrateRequest": return WorkloadSapHanaRestoreWithRehydrateContent.DeserializeWorkloadSapHanaRestoreWithRehydrateContent(element); - case "AzureWorkloadSQLPointInTimeRestoreRequest": return WorkloadSqlPointInTimeRestoreContent.DeserializeWorkloadSqlPointInTimeRestoreContent(element); - case "AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest": return WorkloadSqlPointInTimeRestoreWithRehydrateContent.DeserializeWorkloadSqlPointInTimeRestoreWithRehydrateContent(element); - case "AzureWorkloadSQLRestoreRequest": return WorkloadSqlRestoreContent.DeserializeWorkloadSqlRestoreContent(element); - case "AzureWorkloadSQLRestoreWithRehydrateRequest": return WorkloadSqlRestoreWithRehydrateContent.DeserializeWorkloadSqlRestoreWithRehydrateContent(element); + case "AzureWorkloadPointInTimeRestoreRequest": return WorkloadPointInTimeRestoreContent.DeserializeWorkloadPointInTimeRestoreContent(element, options); + case "AzureWorkloadSAPHanaPointInTimeRestoreRequest": return WorkloadSapHanaPointInTimeRestoreContent.DeserializeWorkloadSapHanaPointInTimeRestoreContent(element, options); + case "AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest": return WorkloadSapHanaPointInTimeRestoreWithRehydrateContent.DeserializeWorkloadSapHanaPointInTimeRestoreWithRehydrateContent(element, options); + case "AzureWorkloadSAPHanaRestoreRequest": return WorkloadSapHanaRestoreContent.DeserializeWorkloadSapHanaRestoreContent(element, options); + case "AzureWorkloadSAPHanaRestoreWithRehydrateRequest": return WorkloadSapHanaRestoreWithRehydrateContent.DeserializeWorkloadSapHanaRestoreWithRehydrateContent(element, options); + case "AzureWorkloadSQLPointInTimeRestoreRequest": return WorkloadSqlPointInTimeRestoreContent.DeserializeWorkloadSqlPointInTimeRestoreContent(element, options); + case "AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest": return WorkloadSqlPointInTimeRestoreWithRehydrateContent.DeserializeWorkloadSqlPointInTimeRestoreWithRehydrateContent(element, options); + case "AzureWorkloadSQLRestoreRequest": return WorkloadSqlRestoreContent.DeserializeWorkloadSqlRestoreContent(element, options); + case "AzureWorkloadSQLRestoreWithRehydrateRequest": return WorkloadSqlRestoreWithRehydrateContent.DeserializeWorkloadSqlRestoreWithRehydrateContent(element, options); } } Optional recoveryType = default; @@ -184,7 +184,7 @@ internal static WorkloadRestoreContent DeserializeWorkloadRestoreContent(JsonEle { continue; } - targetInfo = TargetRestoreInfo.DeserializeTargetRestoreInfo(property.Value); + targetInfo = TargetRestoreInfo.DeserializeTargetRestoreInfo(property.Value, options); continue; } if (property.NameEquals("recoveryMode"u8)) @@ -207,7 +207,7 @@ internal static WorkloadRestoreContent DeserializeWorkloadRestoreContent(JsonEle { continue; } - userAssignedManagedIdentityDetails = UserAssignedManagedIdentityDetails.DeserializeUserAssignedManagedIdentityDetails(property.Value); + userAssignedManagedIdentityDetails = UserAssignedManagedIdentityDetails.DeserializeUserAssignedManagedIdentityDetails(property.Value, options); continue; } if (property.NameEquals("snapshotRestoreParameters"u8)) @@ -216,7 +216,7 @@ internal static WorkloadRestoreContent DeserializeWorkloadRestoreContent(JsonEle { continue; } - snapshotRestoreParameters = SnapshotRestoreContent.DeserializeSnapshotRestoreContent(property.Value); + snapshotRestoreParameters = SnapshotRestoreContent.DeserializeSnapshotRestoreContent(property.Value, options); continue; } if (property.NameEquals("targetVirtualMachineId"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSapHanaPointInTimeRecoveryPoint.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSapHanaPointInTimeRecoveryPoint.Serialization.cs index 988bdc66be4b3..0e2a6f3328229 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSapHanaPointInTimeRecoveryPoint.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSapHanaPointInTimeRecoveryPoint.Serialization.cs @@ -132,7 +132,7 @@ internal static WorkloadSapHanaPointInTimeRecoveryPoint DeserializeWorkloadSapHa List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(PointInTimeRange.DeserializePointInTimeRange(item)); + array.Add(PointInTimeRange.DeserializePointInTimeRange(item, options)); } timeRanges = array; continue; @@ -164,7 +164,7 @@ internal static WorkloadSapHanaPointInTimeRecoveryPoint DeserializeWorkloadSapHa List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RecoveryPointTierInformationV2.DeserializeRecoveryPointTierInformationV2(item)); + array.Add(RecoveryPointTierInformationV2.DeserializeRecoveryPointTierInformationV2(item, options)); } recoveryPointTierDetails = array; continue; @@ -178,7 +178,7 @@ internal static WorkloadSapHanaPointInTimeRecoveryPoint DeserializeWorkloadSapHa Dictionary dictionary = new Dictionary(); foreach (var property0 in property.Value.EnumerateObject()) { - dictionary.Add(property0.Name, Models.RecoveryPointMoveReadinessInfo.DeserializeRecoveryPointMoveReadinessInfo(property0.Value)); + dictionary.Add(property0.Name, Models.RecoveryPointMoveReadinessInfo.DeserializeRecoveryPointMoveReadinessInfo(property0.Value, options)); } recoveryPointMoveReadinessInfo = dictionary; continue; @@ -189,7 +189,7 @@ internal static WorkloadSapHanaPointInTimeRecoveryPoint DeserializeWorkloadSapHa { continue; } - recoveryPointProperties = RecoveryPointProperties.DeserializeRecoveryPointProperties(property.Value); + recoveryPointProperties = RecoveryPointProperties.DeserializeRecoveryPointProperties(property.Value, options); continue; } if (property.NameEquals("objectType"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSapHanaPointInTimeRestoreContent.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSapHanaPointInTimeRestoreContent.Serialization.cs index ce3578e5d8879..5063c48473d7d 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSapHanaPointInTimeRestoreContent.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSapHanaPointInTimeRestoreContent.Serialization.cs @@ -126,7 +126,7 @@ internal static WorkloadSapHanaPointInTimeRestoreContent DeserializeWorkloadSapH { switch (discriminator.GetString()) { - case "AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest": return WorkloadSapHanaPointInTimeRestoreWithRehydrateContent.DeserializeWorkloadSapHanaPointInTimeRestoreWithRehydrateContent(element); + case "AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest": return WorkloadSapHanaPointInTimeRestoreWithRehydrateContent.DeserializeWorkloadSapHanaPointInTimeRestoreWithRehydrateContent(element, options); } } Optional pointInTime = default; @@ -191,7 +191,7 @@ internal static WorkloadSapHanaPointInTimeRestoreContent DeserializeWorkloadSapH { continue; } - targetInfo = TargetRestoreInfo.DeserializeTargetRestoreInfo(property.Value); + targetInfo = TargetRestoreInfo.DeserializeTargetRestoreInfo(property.Value, options); continue; } if (property.NameEquals("recoveryMode"u8)) @@ -214,7 +214,7 @@ internal static WorkloadSapHanaPointInTimeRestoreContent DeserializeWorkloadSapH { continue; } - userAssignedManagedIdentityDetails = UserAssignedManagedIdentityDetails.DeserializeUserAssignedManagedIdentityDetails(property.Value); + userAssignedManagedIdentityDetails = UserAssignedManagedIdentityDetails.DeserializeUserAssignedManagedIdentityDetails(property.Value, options); continue; } if (property.NameEquals("snapshotRestoreParameters"u8)) @@ -223,7 +223,7 @@ internal static WorkloadSapHanaPointInTimeRestoreContent DeserializeWorkloadSapH { continue; } - snapshotRestoreParameters = SnapshotRestoreContent.DeserializeSnapshotRestoreContent(property.Value); + snapshotRestoreParameters = SnapshotRestoreContent.DeserializeSnapshotRestoreContent(property.Value, options); continue; } if (property.NameEquals("targetVirtualMachineId"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSapHanaPointInTimeRestoreWithRehydrateContent.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSapHanaPointInTimeRestoreWithRehydrateContent.Serialization.cs index eedc9233cddcc..6b849ff067e32 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSapHanaPointInTimeRestoreWithRehydrateContent.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSapHanaPointInTimeRestoreWithRehydrateContent.Serialization.cs @@ -149,7 +149,7 @@ internal static WorkloadSapHanaPointInTimeRestoreWithRehydrateContent Deserializ { continue; } - recoveryPointRehydrationInfo = RecoveryPointRehydrationInfo.DeserializeRecoveryPointRehydrationInfo(property.Value); + recoveryPointRehydrationInfo = RecoveryPointRehydrationInfo.DeserializeRecoveryPointRehydrationInfo(property.Value, options); continue; } if (property.NameEquals("pointInTime"u8)) @@ -199,7 +199,7 @@ internal static WorkloadSapHanaPointInTimeRestoreWithRehydrateContent Deserializ { continue; } - targetInfo = TargetRestoreInfo.DeserializeTargetRestoreInfo(property.Value); + targetInfo = TargetRestoreInfo.DeserializeTargetRestoreInfo(property.Value, options); continue; } if (property.NameEquals("recoveryMode"u8)) @@ -222,7 +222,7 @@ internal static WorkloadSapHanaPointInTimeRestoreWithRehydrateContent Deserializ { continue; } - userAssignedManagedIdentityDetails = UserAssignedManagedIdentityDetails.DeserializeUserAssignedManagedIdentityDetails(property.Value); + userAssignedManagedIdentityDetails = UserAssignedManagedIdentityDetails.DeserializeUserAssignedManagedIdentityDetails(property.Value, options); continue; } if (property.NameEquals("snapshotRestoreParameters"u8)) @@ -231,7 +231,7 @@ internal static WorkloadSapHanaPointInTimeRestoreWithRehydrateContent Deserializ { continue; } - snapshotRestoreParameters = SnapshotRestoreContent.DeserializeSnapshotRestoreContent(property.Value); + snapshotRestoreParameters = SnapshotRestoreContent.DeserializeSnapshotRestoreContent(property.Value, options); continue; } if (property.NameEquals("targetVirtualMachineId"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSapHanaRecoveryPoint.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSapHanaRecoveryPoint.Serialization.cs index bd02fcdac0be0..54f1cf022bc97 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSapHanaRecoveryPoint.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSapHanaRecoveryPoint.Serialization.cs @@ -139,7 +139,7 @@ internal static WorkloadSapHanaRecoveryPoint DeserializeWorkloadSapHanaRecoveryP List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RecoveryPointTierInformationV2.DeserializeRecoveryPointTierInformationV2(item)); + array.Add(RecoveryPointTierInformationV2.DeserializeRecoveryPointTierInformationV2(item, options)); } recoveryPointTierDetails = array; continue; @@ -153,7 +153,7 @@ internal static WorkloadSapHanaRecoveryPoint DeserializeWorkloadSapHanaRecoveryP Dictionary dictionary = new Dictionary(); foreach (var property0 in property.Value.EnumerateObject()) { - dictionary.Add(property0.Name, Models.RecoveryPointMoveReadinessInfo.DeserializeRecoveryPointMoveReadinessInfo(property0.Value)); + dictionary.Add(property0.Name, Models.RecoveryPointMoveReadinessInfo.DeserializeRecoveryPointMoveReadinessInfo(property0.Value, options)); } recoveryPointMoveReadinessInfo = dictionary; continue; @@ -164,7 +164,7 @@ internal static WorkloadSapHanaRecoveryPoint DeserializeWorkloadSapHanaRecoveryP { continue; } - recoveryPointProperties = RecoveryPointProperties.DeserializeRecoveryPointProperties(property.Value); + recoveryPointProperties = RecoveryPointProperties.DeserializeRecoveryPointProperties(property.Value, options); continue; } if (property.NameEquals("objectType"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSapHanaRestoreContent.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSapHanaRestoreContent.Serialization.cs index 9f7a98842570d..7804819b6e574 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSapHanaRestoreContent.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSapHanaRestoreContent.Serialization.cs @@ -121,9 +121,9 @@ internal static WorkloadSapHanaRestoreContent DeserializeWorkloadSapHanaRestoreC { switch (discriminator.GetString()) { - case "AzureWorkloadSAPHanaPointInTimeRestoreRequest": return WorkloadSapHanaPointInTimeRestoreContent.DeserializeWorkloadSapHanaPointInTimeRestoreContent(element); - case "AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest": return WorkloadSapHanaPointInTimeRestoreWithRehydrateContent.DeserializeWorkloadSapHanaPointInTimeRestoreWithRehydrateContent(element); - case "AzureWorkloadSAPHanaRestoreWithRehydrateRequest": return WorkloadSapHanaRestoreWithRehydrateContent.DeserializeWorkloadSapHanaRestoreWithRehydrateContent(element); + case "AzureWorkloadSAPHanaPointInTimeRestoreRequest": return WorkloadSapHanaPointInTimeRestoreContent.DeserializeWorkloadSapHanaPointInTimeRestoreContent(element, options); + case "AzureWorkloadSAPHanaPointInTimeRestoreWithRehydrateRequest": return WorkloadSapHanaPointInTimeRestoreWithRehydrateContent.DeserializeWorkloadSapHanaPointInTimeRestoreWithRehydrateContent(element, options); + case "AzureWorkloadSAPHanaRestoreWithRehydrateRequest": return WorkloadSapHanaRestoreWithRehydrateContent.DeserializeWorkloadSapHanaRestoreWithRehydrateContent(element, options); } } Optional recoveryType = default; @@ -178,7 +178,7 @@ internal static WorkloadSapHanaRestoreContent DeserializeWorkloadSapHanaRestoreC { continue; } - targetInfo = TargetRestoreInfo.DeserializeTargetRestoreInfo(property.Value); + targetInfo = TargetRestoreInfo.DeserializeTargetRestoreInfo(property.Value, options); continue; } if (property.NameEquals("recoveryMode"u8)) @@ -201,7 +201,7 @@ internal static WorkloadSapHanaRestoreContent DeserializeWorkloadSapHanaRestoreC { continue; } - userAssignedManagedIdentityDetails = UserAssignedManagedIdentityDetails.DeserializeUserAssignedManagedIdentityDetails(property.Value); + userAssignedManagedIdentityDetails = UserAssignedManagedIdentityDetails.DeserializeUserAssignedManagedIdentityDetails(property.Value, options); continue; } if (property.NameEquals("snapshotRestoreParameters"u8)) @@ -210,7 +210,7 @@ internal static WorkloadSapHanaRestoreContent DeserializeWorkloadSapHanaRestoreC { continue; } - snapshotRestoreParameters = SnapshotRestoreContent.DeserializeSnapshotRestoreContent(property.Value); + snapshotRestoreParameters = SnapshotRestoreContent.DeserializeSnapshotRestoreContent(property.Value, options); continue; } if (property.NameEquals("targetVirtualMachineId"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSapHanaRestoreWithRehydrateContent.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSapHanaRestoreWithRehydrateContent.Serialization.cs index 982dfac95dd4d..1162c3e354dc5 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSapHanaRestoreWithRehydrateContent.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSapHanaRestoreWithRehydrateContent.Serialization.cs @@ -143,7 +143,7 @@ internal static WorkloadSapHanaRestoreWithRehydrateContent DeserializeWorkloadSa { continue; } - recoveryPointRehydrationInfo = RecoveryPointRehydrationInfo.DeserializeRecoveryPointRehydrationInfo(property.Value); + recoveryPointRehydrationInfo = RecoveryPointRehydrationInfo.DeserializeRecoveryPointRehydrationInfo(property.Value, options); continue; } if (property.NameEquals("recoveryType"u8)) @@ -184,7 +184,7 @@ internal static WorkloadSapHanaRestoreWithRehydrateContent DeserializeWorkloadSa { continue; } - targetInfo = TargetRestoreInfo.DeserializeTargetRestoreInfo(property.Value); + targetInfo = TargetRestoreInfo.DeserializeTargetRestoreInfo(property.Value, options); continue; } if (property.NameEquals("recoveryMode"u8)) @@ -207,7 +207,7 @@ internal static WorkloadSapHanaRestoreWithRehydrateContent DeserializeWorkloadSa { continue; } - userAssignedManagedIdentityDetails = UserAssignedManagedIdentityDetails.DeserializeUserAssignedManagedIdentityDetails(property.Value); + userAssignedManagedIdentityDetails = UserAssignedManagedIdentityDetails.DeserializeUserAssignedManagedIdentityDetails(property.Value, options); continue; } if (property.NameEquals("snapshotRestoreParameters"u8)) @@ -216,7 +216,7 @@ internal static WorkloadSapHanaRestoreWithRehydrateContent DeserializeWorkloadSa { continue; } - snapshotRestoreParameters = SnapshotRestoreContent.DeserializeSnapshotRestoreContent(property.Value); + snapshotRestoreParameters = SnapshotRestoreContent.DeserializeSnapshotRestoreContent(property.Value, options); continue; } if (property.NameEquals("targetVirtualMachineId"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSqlPointInTimeRecoveryPoint.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSqlPointInTimeRecoveryPoint.Serialization.cs index 28ca44f0f31c4..7cbf1bb9719a4 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSqlPointInTimeRecoveryPoint.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSqlPointInTimeRecoveryPoint.Serialization.cs @@ -138,7 +138,7 @@ internal static WorkloadSqlPointInTimeRecoveryPoint DeserializeWorkloadSqlPointI List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(PointInTimeRange.DeserializePointInTimeRange(item)); + array.Add(PointInTimeRange.DeserializePointInTimeRange(item, options)); } timeRanges = array; continue; @@ -149,7 +149,7 @@ internal static WorkloadSqlPointInTimeRecoveryPoint DeserializeWorkloadSqlPointI { continue; } - extendedInfo = WorkloadSqlRecoveryPointExtendedInfo.DeserializeWorkloadSqlRecoveryPointExtendedInfo(property.Value); + extendedInfo = WorkloadSqlRecoveryPointExtendedInfo.DeserializeWorkloadSqlRecoveryPointExtendedInfo(property.Value, options); continue; } if (property.NameEquals("recoveryPointTimeInUTC"u8)) @@ -179,7 +179,7 @@ internal static WorkloadSqlPointInTimeRecoveryPoint DeserializeWorkloadSqlPointI List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RecoveryPointTierInformationV2.DeserializeRecoveryPointTierInformationV2(item)); + array.Add(RecoveryPointTierInformationV2.DeserializeRecoveryPointTierInformationV2(item, options)); } recoveryPointTierDetails = array; continue; @@ -193,7 +193,7 @@ internal static WorkloadSqlPointInTimeRecoveryPoint DeserializeWorkloadSqlPointI Dictionary dictionary = new Dictionary(); foreach (var property0 in property.Value.EnumerateObject()) { - dictionary.Add(property0.Name, Models.RecoveryPointMoveReadinessInfo.DeserializeRecoveryPointMoveReadinessInfo(property0.Value)); + dictionary.Add(property0.Name, Models.RecoveryPointMoveReadinessInfo.DeserializeRecoveryPointMoveReadinessInfo(property0.Value, options)); } recoveryPointMoveReadinessInfo = dictionary; continue; @@ -204,7 +204,7 @@ internal static WorkloadSqlPointInTimeRecoveryPoint DeserializeWorkloadSqlPointI { continue; } - recoveryPointProperties = RecoveryPointProperties.DeserializeRecoveryPointProperties(property.Value); + recoveryPointProperties = RecoveryPointProperties.DeserializeRecoveryPointProperties(property.Value, options); continue; } if (property.NameEquals("objectType"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSqlPointInTimeRestoreContent.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSqlPointInTimeRestoreContent.Serialization.cs index a96d081e6b112..6ad7581c5bdbd 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSqlPointInTimeRestoreContent.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSqlPointInTimeRestoreContent.Serialization.cs @@ -146,7 +146,7 @@ internal static WorkloadSqlPointInTimeRestoreContent DeserializeWorkloadSqlPoint { switch (discriminator.GetString()) { - case "AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest": return WorkloadSqlPointInTimeRestoreWithRehydrateContent.DeserializeWorkloadSqlPointInTimeRestoreWithRehydrateContent(element); + case "AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest": return WorkloadSqlPointInTimeRestoreWithRehydrateContent.DeserializeWorkloadSqlPointInTimeRestoreWithRehydrateContent(element, options); } } Optional pointInTime = default; @@ -203,7 +203,7 @@ internal static WorkloadSqlPointInTimeRestoreContent DeserializeWorkloadSqlPoint List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlDataDirectoryMapping.DeserializeSqlDataDirectoryMapping(item)); + array.Add(SqlDataDirectoryMapping.DeserializeSqlDataDirectoryMapping(item, options)); } alternateDirectoryPaths = array; continue; @@ -246,7 +246,7 @@ internal static WorkloadSqlPointInTimeRestoreContent DeserializeWorkloadSqlPoint { continue; } - targetInfo = TargetRestoreInfo.DeserializeTargetRestoreInfo(property.Value); + targetInfo = TargetRestoreInfo.DeserializeTargetRestoreInfo(property.Value, options); continue; } if (property.NameEquals("recoveryMode"u8)) @@ -269,7 +269,7 @@ internal static WorkloadSqlPointInTimeRestoreContent DeserializeWorkloadSqlPoint { continue; } - userAssignedManagedIdentityDetails = UserAssignedManagedIdentityDetails.DeserializeUserAssignedManagedIdentityDetails(property.Value); + userAssignedManagedIdentityDetails = UserAssignedManagedIdentityDetails.DeserializeUserAssignedManagedIdentityDetails(property.Value, options); continue; } if (property.NameEquals("snapshotRestoreParameters"u8)) @@ -278,7 +278,7 @@ internal static WorkloadSqlPointInTimeRestoreContent DeserializeWorkloadSqlPoint { continue; } - snapshotRestoreParameters = SnapshotRestoreContent.DeserializeSnapshotRestoreContent(property.Value); + snapshotRestoreParameters = SnapshotRestoreContent.DeserializeSnapshotRestoreContent(property.Value, options); continue; } if (property.NameEquals("targetVirtualMachineId"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSqlPointInTimeRestoreWithRehydrateContent.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSqlPointInTimeRestoreWithRehydrateContent.Serialization.cs index dc16342da21ca..f250ed916c6f8 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSqlPointInTimeRestoreWithRehydrateContent.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSqlPointInTimeRestoreWithRehydrateContent.Serialization.cs @@ -172,7 +172,7 @@ internal static WorkloadSqlPointInTimeRestoreWithRehydrateContent DeserializeWor { continue; } - recoveryPointRehydrationInfo = RecoveryPointRehydrationInfo.DeserializeRecoveryPointRehydrationInfo(property.Value); + recoveryPointRehydrationInfo = RecoveryPointRehydrationInfo.DeserializeRecoveryPointRehydrationInfo(property.Value, options); continue; } if (property.NameEquals("pointInTime"u8)) @@ -211,7 +211,7 @@ internal static WorkloadSqlPointInTimeRestoreWithRehydrateContent DeserializeWor List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlDataDirectoryMapping.DeserializeSqlDataDirectoryMapping(item)); + array.Add(SqlDataDirectoryMapping.DeserializeSqlDataDirectoryMapping(item, options)); } alternateDirectoryPaths = array; continue; @@ -254,7 +254,7 @@ internal static WorkloadSqlPointInTimeRestoreWithRehydrateContent DeserializeWor { continue; } - targetInfo = TargetRestoreInfo.DeserializeTargetRestoreInfo(property.Value); + targetInfo = TargetRestoreInfo.DeserializeTargetRestoreInfo(property.Value, options); continue; } if (property.NameEquals("recoveryMode"u8)) @@ -277,7 +277,7 @@ internal static WorkloadSqlPointInTimeRestoreWithRehydrateContent DeserializeWor { continue; } - userAssignedManagedIdentityDetails = UserAssignedManagedIdentityDetails.DeserializeUserAssignedManagedIdentityDetails(property.Value); + userAssignedManagedIdentityDetails = UserAssignedManagedIdentityDetails.DeserializeUserAssignedManagedIdentityDetails(property.Value, options); continue; } if (property.NameEquals("snapshotRestoreParameters"u8)) @@ -286,7 +286,7 @@ internal static WorkloadSqlPointInTimeRestoreWithRehydrateContent DeserializeWor { continue; } - snapshotRestoreParameters = SnapshotRestoreContent.DeserializeSnapshotRestoreContent(property.Value); + snapshotRestoreParameters = SnapshotRestoreContent.DeserializeSnapshotRestoreContent(property.Value, options); continue; } if (property.NameEquals("targetVirtualMachineId"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSqlRecoveryPoint.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSqlRecoveryPoint.Serialization.cs index 7c7c267461781..d07006893a7ac 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSqlRecoveryPoint.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSqlRecoveryPoint.Serialization.cs @@ -111,7 +111,7 @@ internal static WorkloadSqlRecoveryPoint DeserializeWorkloadSqlRecoveryPoint(Jso { switch (discriminator.GetString()) { - case "AzureWorkloadSQLPointInTimeRecoveryPoint": return WorkloadSqlPointInTimeRecoveryPoint.DeserializeWorkloadSqlPointInTimeRecoveryPoint(element); + case "AzureWorkloadSQLPointInTimeRecoveryPoint": return WorkloadSqlPointInTimeRecoveryPoint.DeserializeWorkloadSqlPointInTimeRecoveryPoint(element, options); } } Optional extendedInfo = default; @@ -131,7 +131,7 @@ internal static WorkloadSqlRecoveryPoint DeserializeWorkloadSqlRecoveryPoint(Jso { continue; } - extendedInfo = WorkloadSqlRecoveryPointExtendedInfo.DeserializeWorkloadSqlRecoveryPointExtendedInfo(property.Value); + extendedInfo = WorkloadSqlRecoveryPointExtendedInfo.DeserializeWorkloadSqlRecoveryPointExtendedInfo(property.Value, options); continue; } if (property.NameEquals("recoveryPointTimeInUTC"u8)) @@ -161,7 +161,7 @@ internal static WorkloadSqlRecoveryPoint DeserializeWorkloadSqlRecoveryPoint(Jso List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RecoveryPointTierInformationV2.DeserializeRecoveryPointTierInformationV2(item)); + array.Add(RecoveryPointTierInformationV2.DeserializeRecoveryPointTierInformationV2(item, options)); } recoveryPointTierDetails = array; continue; @@ -175,7 +175,7 @@ internal static WorkloadSqlRecoveryPoint DeserializeWorkloadSqlRecoveryPoint(Jso Dictionary dictionary = new Dictionary(); foreach (var property0 in property.Value.EnumerateObject()) { - dictionary.Add(property0.Name, Models.RecoveryPointMoveReadinessInfo.DeserializeRecoveryPointMoveReadinessInfo(property0.Value)); + dictionary.Add(property0.Name, Models.RecoveryPointMoveReadinessInfo.DeserializeRecoveryPointMoveReadinessInfo(property0.Value, options)); } recoveryPointMoveReadinessInfo = dictionary; continue; @@ -186,7 +186,7 @@ internal static WorkloadSqlRecoveryPoint DeserializeWorkloadSqlRecoveryPoint(Jso { continue; } - recoveryPointProperties = RecoveryPointProperties.DeserializeRecoveryPointProperties(property.Value); + recoveryPointProperties = RecoveryPointProperties.DeserializeRecoveryPointProperties(property.Value, options); continue; } if (property.NameEquals("objectType"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSqlRecoveryPointExtendedInfo.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSqlRecoveryPointExtendedInfo.Serialization.cs index d731078de2d02..fa538e03e0b56 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSqlRecoveryPointExtendedInfo.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSqlRecoveryPointExtendedInfo.Serialization.cs @@ -103,7 +103,7 @@ internal static WorkloadSqlRecoveryPointExtendedInfo DeserializeWorkloadSqlRecov List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlDataDirectory.DeserializeSqlDataDirectory(item)); + array.Add(SqlDataDirectory.DeserializeSqlDataDirectory(item, options)); } dataDirectoryPaths = array; continue; diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSqlRestoreContent.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSqlRestoreContent.Serialization.cs index df81c0154dde0..5e186ce0cbec9 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSqlRestoreContent.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSqlRestoreContent.Serialization.cs @@ -141,9 +141,9 @@ internal static WorkloadSqlRestoreContent DeserializeWorkloadSqlRestoreContent(J { switch (discriminator.GetString()) { - case "AzureWorkloadSQLPointInTimeRestoreRequest": return WorkloadSqlPointInTimeRestoreContent.DeserializeWorkloadSqlPointInTimeRestoreContent(element); - case "AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest": return WorkloadSqlPointInTimeRestoreWithRehydrateContent.DeserializeWorkloadSqlPointInTimeRestoreWithRehydrateContent(element); - case "AzureWorkloadSQLRestoreWithRehydrateRequest": return WorkloadSqlRestoreWithRehydrateContent.DeserializeWorkloadSqlRestoreWithRehydrateContent(element); + case "AzureWorkloadSQLPointInTimeRestoreRequest": return WorkloadSqlPointInTimeRestoreContent.DeserializeWorkloadSqlPointInTimeRestoreContent(element, options); + case "AzureWorkloadSQLPointInTimeRestoreWithRehydrateRequest": return WorkloadSqlPointInTimeRestoreWithRehydrateContent.DeserializeWorkloadSqlPointInTimeRestoreWithRehydrateContent(element, options); + case "AzureWorkloadSQLRestoreWithRehydrateRequest": return WorkloadSqlRestoreWithRehydrateContent.DeserializeWorkloadSqlRestoreWithRehydrateContent(element, options); } } Optional shouldUseAlternateTargetLocation = default; @@ -190,7 +190,7 @@ internal static WorkloadSqlRestoreContent DeserializeWorkloadSqlRestoreContent(J List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlDataDirectoryMapping.DeserializeSqlDataDirectoryMapping(item)); + array.Add(SqlDataDirectoryMapping.DeserializeSqlDataDirectoryMapping(item, options)); } alternateDirectoryPaths = array; continue; @@ -233,7 +233,7 @@ internal static WorkloadSqlRestoreContent DeserializeWorkloadSqlRestoreContent(J { continue; } - targetInfo = TargetRestoreInfo.DeserializeTargetRestoreInfo(property.Value); + targetInfo = TargetRestoreInfo.DeserializeTargetRestoreInfo(property.Value, options); continue; } if (property.NameEquals("recoveryMode"u8)) @@ -256,7 +256,7 @@ internal static WorkloadSqlRestoreContent DeserializeWorkloadSqlRestoreContent(J { continue; } - userAssignedManagedIdentityDetails = UserAssignedManagedIdentityDetails.DeserializeUserAssignedManagedIdentityDetails(property.Value); + userAssignedManagedIdentityDetails = UserAssignedManagedIdentityDetails.DeserializeUserAssignedManagedIdentityDetails(property.Value, options); continue; } if (property.NameEquals("snapshotRestoreParameters"u8)) @@ -265,7 +265,7 @@ internal static WorkloadSqlRestoreContent DeserializeWorkloadSqlRestoreContent(J { continue; } - snapshotRestoreParameters = SnapshotRestoreContent.DeserializeSnapshotRestoreContent(property.Value); + snapshotRestoreParameters = SnapshotRestoreContent.DeserializeSnapshotRestoreContent(property.Value, options); continue; } if (property.NameEquals("targetVirtualMachineId"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSqlRestoreWithRehydrateContent.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSqlRestoreWithRehydrateContent.Serialization.cs index 631713c706904..739f3b083bbaa 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSqlRestoreWithRehydrateContent.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/WorkloadSqlRestoreWithRehydrateContent.Serialization.cs @@ -166,7 +166,7 @@ internal static WorkloadSqlRestoreWithRehydrateContent DeserializeWorkloadSqlRes { continue; } - recoveryPointRehydrationInfo = RecoveryPointRehydrationInfo.DeserializeRecoveryPointRehydrationInfo(property.Value); + recoveryPointRehydrationInfo = RecoveryPointRehydrationInfo.DeserializeRecoveryPointRehydrationInfo(property.Value, options); continue; } if (property.NameEquals("shouldUseAlternateTargetLocation"u8)) @@ -196,7 +196,7 @@ internal static WorkloadSqlRestoreWithRehydrateContent DeserializeWorkloadSqlRes List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlDataDirectoryMapping.DeserializeSqlDataDirectoryMapping(item)); + array.Add(SqlDataDirectoryMapping.DeserializeSqlDataDirectoryMapping(item, options)); } alternateDirectoryPaths = array; continue; @@ -239,7 +239,7 @@ internal static WorkloadSqlRestoreWithRehydrateContent DeserializeWorkloadSqlRes { continue; } - targetInfo = TargetRestoreInfo.DeserializeTargetRestoreInfo(property.Value); + targetInfo = TargetRestoreInfo.DeserializeTargetRestoreInfo(property.Value, options); continue; } if (property.NameEquals("recoveryMode"u8)) @@ -262,7 +262,7 @@ internal static WorkloadSqlRestoreWithRehydrateContent DeserializeWorkloadSqlRes { continue; } - userAssignedManagedIdentityDetails = UserAssignedManagedIdentityDetails.DeserializeUserAssignedManagedIdentityDetails(property.Value); + userAssignedManagedIdentityDetails = UserAssignedManagedIdentityDetails.DeserializeUserAssignedManagedIdentityDetails(property.Value, options); continue; } if (property.NameEquals("snapshotRestoreParameters"u8)) @@ -271,7 +271,7 @@ internal static WorkloadSqlRestoreWithRehydrateContent DeserializeWorkloadSqlRes { continue; } - snapshotRestoreParameters = SnapshotRestoreContent.DeserializeSnapshotRestoreContent(property.Value); + snapshotRestoreParameters = SnapshotRestoreContent.DeserializeSnapshotRestoreContent(property.Value, options); continue; } if (property.NameEquals("targetVirtualMachineId"u8)) diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/YearlyRetentionSchedule.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/YearlyRetentionSchedule.Serialization.cs index 2b0f4150ed680..366b6c9a26d10 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/YearlyRetentionSchedule.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/Models/YearlyRetentionSchedule.Serialization.cs @@ -143,7 +143,7 @@ internal static YearlyRetentionSchedule DeserializeYearlyRetentionSchedule(JsonE { continue; } - retentionScheduleDaily = DailyRetentionFormat.DeserializeDailyRetentionFormat(property.Value); + retentionScheduleDaily = DailyRetentionFormat.DeserializeDailyRetentionFormat(property.Value, options); continue; } if (property.NameEquals("retentionScheduleWeekly"u8)) @@ -152,7 +152,7 @@ internal static YearlyRetentionSchedule DeserializeYearlyRetentionSchedule(JsonE { continue; } - retentionScheduleWeekly = WeeklyRetentionFormat.DeserializeWeeklyRetentionFormat(property.Value); + retentionScheduleWeekly = WeeklyRetentionFormat.DeserializeWeeklyRetentionFormat(property.Value, options); continue; } if (property.NameEquals("retentionTimes"u8)) @@ -175,7 +175,7 @@ internal static YearlyRetentionSchedule DeserializeYearlyRetentionSchedule(JsonE { continue; } - retentionDuration = RetentionDuration.DeserializeRetentionDuration(property.Value); + retentionDuration = RetentionDuration.DeserializeRetentionDuration(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/ResourceGuardProxyData.Serialization.cs b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/ResourceGuardProxyData.Serialization.cs index 7e4a1f5b0e4ff..061c4a112fcfe 100644 --- a/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/ResourceGuardProxyData.Serialization.cs +++ b/sdk/recoveryservices-backup/Azure.ResourceManager.RecoveryServicesBackup/src/Generated/ResourceGuardProxyData.Serialization.cs @@ -128,7 +128,7 @@ internal static ResourceGuardProxyData DeserializeResourceGuardProxyData(JsonEle { continue; } - properties = ResourceGuardProxyProperties.DeserializeResourceGuardProxyProperties(property.Value); + properties = ResourceGuardProxyProperties.DeserializeResourceGuardProxyProperties(property.Value, options); continue; } if (property.NameEquals("eTag"u8)) diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/DataReplicationDraData.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/DataReplicationDraData.Serialization.cs index 1f11d1c2414d3..1ea2cae1cf19e 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/DataReplicationDraData.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/DataReplicationDraData.Serialization.cs @@ -99,7 +99,7 @@ internal static DataReplicationDraData DeserializeDataReplicationDraData(JsonEle { if (property.NameEquals("properties"u8)) { - properties = DataReplicationDraProperties.DeserializeDataReplicationDraProperties(property.Value); + properties = DataReplicationDraProperties.DeserializeDataReplicationDraProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/DataReplicationEmailConfigurationData.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/DataReplicationEmailConfigurationData.Serialization.cs index 14decb9b9411e..3cb7ec8863e44 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/DataReplicationEmailConfigurationData.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/DataReplicationEmailConfigurationData.Serialization.cs @@ -99,7 +99,7 @@ internal static DataReplicationEmailConfigurationData DeserializeDataReplication { if (property.NameEquals("properties"u8)) { - properties = DataReplicationEmailConfigurationProperties.DeserializeDataReplicationEmailConfigurationProperties(property.Value); + properties = DataReplicationEmailConfigurationProperties.DeserializeDataReplicationEmailConfigurationProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/DataReplicationEventData.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/DataReplicationEventData.Serialization.cs index 7293958718493..733cd94f7d7c4 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/DataReplicationEventData.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/DataReplicationEventData.Serialization.cs @@ -99,7 +99,7 @@ internal static DataReplicationEventData DeserializeDataReplicationEventData(Jso { if (property.NameEquals("properties"u8)) { - properties = DataReplicationEventProperties.DeserializeDataReplicationEventProperties(property.Value); + properties = DataReplicationEventProperties.DeserializeDataReplicationEventProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/DataReplicationFabricData.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/DataReplicationFabricData.Serialization.cs index 4add2429ca547..d10ec94e24461 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/DataReplicationFabricData.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/DataReplicationFabricData.Serialization.cs @@ -114,7 +114,7 @@ internal static DataReplicationFabricData DeserializeDataReplicationFabricData(J { if (property.NameEquals("properties"u8)) { - properties = DataReplicationFabricProperties.DeserializeDataReplicationFabricProperties(property.Value); + properties = DataReplicationFabricProperties.DeserializeDataReplicationFabricProperties(property.Value, options); continue; } if (property.NameEquals("tags"u8)) diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/DataReplicationPolicyData.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/DataReplicationPolicyData.Serialization.cs index 90e1a0b56d233..7db23a57caf18 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/DataReplicationPolicyData.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/DataReplicationPolicyData.Serialization.cs @@ -99,7 +99,7 @@ internal static DataReplicationPolicyData DeserializeDataReplicationPolicyData(J { if (property.NameEquals("properties"u8)) { - properties = DataReplicationPolicyProperties.DeserializeDataReplicationPolicyProperties(property.Value); + properties = DataReplicationPolicyProperties.DeserializeDataReplicationPolicyProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/DataReplicationProtectedItemData.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/DataReplicationProtectedItemData.Serialization.cs index 651f42cf920c8..857f37769271c 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/DataReplicationProtectedItemData.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/DataReplicationProtectedItemData.Serialization.cs @@ -99,7 +99,7 @@ internal static DataReplicationProtectedItemData DeserializeDataReplicationProte { if (property.NameEquals("properties"u8)) { - properties = DataReplicationProtectedItemProperties.DeserializeDataReplicationProtectedItemProperties(property.Value); + properties = DataReplicationProtectedItemProperties.DeserializeDataReplicationProtectedItemProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/DataReplicationRecoveryPointData.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/DataReplicationRecoveryPointData.Serialization.cs index 393790d947267..9e8616bbd2fbd 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/DataReplicationRecoveryPointData.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/DataReplicationRecoveryPointData.Serialization.cs @@ -99,7 +99,7 @@ internal static DataReplicationRecoveryPointData DeserializeDataReplicationRecov { if (property.NameEquals("properties"u8)) { - properties = DataReplicationRecoveryPointProperties.DeserializeDataReplicationRecoveryPointProperties(property.Value); + properties = DataReplicationRecoveryPointProperties.DeserializeDataReplicationRecoveryPointProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/DataReplicationReplicationExtensionData.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/DataReplicationReplicationExtensionData.Serialization.cs index 8d5856e2cf03b..78101ee3112c7 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/DataReplicationReplicationExtensionData.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/DataReplicationReplicationExtensionData.Serialization.cs @@ -99,7 +99,7 @@ internal static DataReplicationReplicationExtensionData DeserializeDataReplicati { if (property.NameEquals("properties"u8)) { - properties = DataReplicationReplicationExtensionProperties.DeserializeDataReplicationReplicationExtensionProperties(property.Value); + properties = DataReplicationReplicationExtensionProperties.DeserializeDataReplicationReplicationExtensionProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/DataReplicationVaultData.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/DataReplicationVaultData.Serialization.cs index efc16a722d1b8..0e40f0d557970 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/DataReplicationVaultData.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/DataReplicationVaultData.Serialization.cs @@ -121,7 +121,7 @@ internal static DataReplicationVaultData DeserializeDataReplicationVaultData(Jso { continue; } - properties = DataReplicationVaultProperties.DeserializeDataReplicationVaultProperties(property.Value); + properties = DataReplicationVaultProperties.DeserializeDataReplicationVaultProperties(property.Value, options); continue; } if (property.NameEquals("tags"u8)) diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/DataReplicationWorkflowData.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/DataReplicationWorkflowData.Serialization.cs index 039a2d0b28617..85a1e912272bc 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/DataReplicationWorkflowData.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/DataReplicationWorkflowData.Serialization.cs @@ -99,7 +99,7 @@ internal static DataReplicationWorkflowData DeserializeDataReplicationWorkflowDa { if (property.NameEquals("properties"u8)) { - properties = DataReplicationWorkflowProperties.DeserializeDataReplicationWorkflowProperties(property.Value); + properties = DataReplicationWorkflowProperties.DeserializeDataReplicationWorkflowProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/AzStackHciClusterProperties.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/AzStackHciClusterProperties.Serialization.cs index 37b7f1c0cf058..a7762cf2dc2cc 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/AzStackHciClusterProperties.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/AzStackHciClusterProperties.Serialization.cs @@ -105,7 +105,7 @@ internal static AzStackHciClusterProperties DeserializeAzStackHciClusterProperti List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(StorageContainerProperties.DeserializeStorageContainerProperties(item)); + array.Add(StorageContainerProperties.DeserializeStorageContainerProperties(item, options)); } storageContainers = array; continue; diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/AzStackHciFabricModelCustomProperties.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/AzStackHciFabricModelCustomProperties.Serialization.cs index 474202e0c35a5..d56f2530b9447 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/AzStackHciFabricModelCustomProperties.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/AzStackHciFabricModelCustomProperties.Serialization.cs @@ -130,7 +130,7 @@ internal static AzStackHciFabricModelCustomProperties DeserializeAzStackHciFabri } if (property.NameEquals("cluster"u8)) { - cluster = AzStackHciClusterProperties.DeserializeAzStackHciClusterProperties(property.Value); + cluster = AzStackHciClusterProperties.DeserializeAzStackHciClusterProperties(property.Value, options); continue; } if (property.NameEquals("fabricResourceId"u8)) diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationDraListResult.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationDraListResult.Serialization.cs index 84cbdc66504f9..2a76bbf400824 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationDraListResult.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationDraListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static DataReplicationDraListResult DeserializeDataReplicationDraListRe List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DataReplicationDraData.DeserializeDataReplicationDraData(item)); + array.Add(DataReplicationDraData.DeserializeDataReplicationDraData(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationDraProperties.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationDraProperties.Serialization.cs index 96f1ede49d076..878b9216e840e 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationDraProperties.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationDraProperties.Serialization.cs @@ -141,12 +141,12 @@ internal static DataReplicationDraProperties DeserializeDataReplicationDraProper } if (property.NameEquals("authenticationIdentity"u8)) { - authenticationIdentity = DataReplicationIdentity.DeserializeDataReplicationIdentity(property.Value); + authenticationIdentity = DataReplicationIdentity.DeserializeDataReplicationIdentity(property.Value, options); continue; } if (property.NameEquals("resourceAccessIdentity"u8)) { - resourceAccessIdentity = DataReplicationIdentity.DeserializeDataReplicationIdentity(property.Value); + resourceAccessIdentity = DataReplicationIdentity.DeserializeDataReplicationIdentity(property.Value, options); continue; } if (property.NameEquals("isResponsive"u8)) @@ -190,14 +190,14 @@ internal static DataReplicationDraProperties DeserializeDataReplicationDraProper List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DataReplicationHealthErrorInfo.DeserializeDataReplicationHealthErrorInfo(item)); + array.Add(DataReplicationHealthErrorInfo.DeserializeDataReplicationHealthErrorInfo(item, options)); } healthErrors = array; continue; } if (property.NameEquals("customProperties"u8)) { - customProperties = DraModelCustomProperties.DeserializeDraModelCustomProperties(property.Value); + customProperties = DraModelCustomProperties.DeserializeDraModelCustomProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationEmailConfigurationListResult.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationEmailConfigurationListResult.Serialization.cs index 6c48089a0541c..8f497e5038172 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationEmailConfigurationListResult.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationEmailConfigurationListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static DataReplicationEmailConfigurationListResult DeserializeDataRepli List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DataReplicationEmailConfigurationData.DeserializeDataReplicationEmailConfigurationData(item)); + array.Add(DataReplicationEmailConfigurationData.DeserializeDataReplicationEmailConfigurationData(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationEventListResult.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationEventListResult.Serialization.cs index 3ccdb133c7840..62fdd6fbd8e78 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationEventListResult.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationEventListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static DataReplicationEventListResult DeserializeDataReplicationEventLi List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DataReplicationEventData.DeserializeDataReplicationEventData(item)); + array.Add(DataReplicationEventData.DeserializeDataReplicationEventData(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationEventProperties.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationEventProperties.Serialization.cs index 188a337f938c8..4e6ff54f7db5a 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationEventProperties.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationEventProperties.Serialization.cs @@ -187,14 +187,14 @@ internal static DataReplicationEventProperties DeserializeDataReplicationEventPr List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DataReplicationHealthErrorInfo.DeserializeDataReplicationHealthErrorInfo(item)); + array.Add(DataReplicationHealthErrorInfo.DeserializeDataReplicationHealthErrorInfo(item, options)); } healthErrors = array; continue; } if (property.NameEquals("customProperties"u8)) { - customProperties = EventModelCustomProperties.DeserializeEventModelCustomProperties(property.Value); + customProperties = EventModelCustomProperties.DeserializeEventModelCustomProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationFabricListResult.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationFabricListResult.Serialization.cs index 0c300505b55f0..1ff3ae2f7f832 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationFabricListResult.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationFabricListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static DataReplicationFabricListResult DeserializeDataReplicationFabric List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DataReplicationFabricData.DeserializeDataReplicationFabricData(item)); + array.Add(DataReplicationFabricData.DeserializeDataReplicationFabricData(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationFabricPatch.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationFabricPatch.Serialization.cs index c005bf03c94e3..c4beab6005822 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationFabricPatch.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationFabricPatch.Serialization.cs @@ -131,7 +131,7 @@ internal static DataReplicationFabricPatch DeserializeDataReplicationFabricPatch { continue; } - properties = DataReplicationFabricProperties.DeserializeDataReplicationFabricProperties(property.Value); + properties = DataReplicationFabricProperties.DeserializeDataReplicationFabricProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationFabricProperties.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationFabricProperties.Serialization.cs index 9b3ea1705f27f..0b31fd4e30932 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationFabricProperties.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationFabricProperties.Serialization.cs @@ -147,14 +147,14 @@ internal static DataReplicationFabricProperties DeserializeDataReplicationFabric List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DataReplicationHealthErrorInfo.DeserializeDataReplicationHealthErrorInfo(item)); + array.Add(DataReplicationHealthErrorInfo.DeserializeDataReplicationHealthErrorInfo(item, options)); } healthErrors = array; continue; } if (property.NameEquals("customProperties"u8)) { - customProperties = FabricModelCustomProperties.DeserializeFabricModelCustomProperties(property.Value); + customProperties = FabricModelCustomProperties.DeserializeFabricModelCustomProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationHealthErrorInfo.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationHealthErrorInfo.Serialization.cs index 15c3abfb1982c..00b1f35b7d930 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationHealthErrorInfo.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationHealthErrorInfo.Serialization.cs @@ -190,7 +190,7 @@ internal static DataReplicationHealthErrorInfo DeserializeDataReplicationHealthE List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DataReplicationInnerHealthErrorInfo.DeserializeDataReplicationInnerHealthErrorInfo(item)); + array.Add(DataReplicationInnerHealthErrorInfo.DeserializeDataReplicationInnerHealthErrorInfo(item, options)); } childErrors = array; continue; diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationPolicyListResult.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationPolicyListResult.Serialization.cs index b3f1515eb1083..3cfb81a7cc710 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationPolicyListResult.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationPolicyListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static DataReplicationPolicyListResult DeserializeDataReplicationPolicy List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DataReplicationPolicyData.DeserializeDataReplicationPolicyData(item)); + array.Add(DataReplicationPolicyData.DeserializeDataReplicationPolicyData(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationPolicyProperties.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationPolicyProperties.Serialization.cs index 916bf8cd91b26..8275184649382 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationPolicyProperties.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationPolicyProperties.Serialization.cs @@ -88,7 +88,7 @@ internal static DataReplicationPolicyProperties DeserializeDataReplicationPolicy } if (property.NameEquals("customProperties"u8)) { - customProperties = PolicyModelCustomProperties.DeserializePolicyModelCustomProperties(property.Value); + customProperties = PolicyModelCustomProperties.DeserializePolicyModelCustomProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationProtectedItemListResult.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationProtectedItemListResult.Serialization.cs index c51b1d11eee2f..a377dbbfc367b 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationProtectedItemListResult.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationProtectedItemListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static DataReplicationProtectedItemListResult DeserializeDataReplicatio List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DataReplicationProtectedItemData.DeserializeDataReplicationProtectedItemData(item)); + array.Add(DataReplicationProtectedItemData.DeserializeDataReplicationProtectedItemData(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationProtectedItemProperties.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationProtectedItemProperties.Serialization.cs index 90de78ad9c3c9..11585ccfcb1a4 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationProtectedItemProperties.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationProtectedItemProperties.Serialization.cs @@ -386,7 +386,7 @@ internal static DataReplicationProtectedItemProperties DeserializeDataReplicatio { continue; } - currentJob = ProtectedItemJobProperties.DeserializeProtectedItemJobProperties(property.Value); + currentJob = ProtectedItemJobProperties.DeserializeProtectedItemJobProperties(property.Value, options); continue; } if (property.NameEquals("allowedJobs"u8)) @@ -409,7 +409,7 @@ internal static DataReplicationProtectedItemProperties DeserializeDataReplicatio { continue; } - lastFailedEnableProtectionJob = ProtectedItemJobProperties.DeserializeProtectedItemJobProperties(property.Value); + lastFailedEnableProtectionJob = ProtectedItemJobProperties.DeserializeProtectedItemJobProperties(property.Value, options); continue; } if (property.NameEquals("lastFailedPlannedFailoverJob"u8)) @@ -418,7 +418,7 @@ internal static DataReplicationProtectedItemProperties DeserializeDataReplicatio { continue; } - lastFailedPlannedFailoverJob = ProtectedItemJobProperties.DeserializeProtectedItemJobProperties(property.Value); + lastFailedPlannedFailoverJob = ProtectedItemJobProperties.DeserializeProtectedItemJobProperties(property.Value, options); continue; } if (property.NameEquals("lastTestFailoverJob"u8)) @@ -427,7 +427,7 @@ internal static DataReplicationProtectedItemProperties DeserializeDataReplicatio { continue; } - lastTestFailoverJob = ProtectedItemJobProperties.DeserializeProtectedItemJobProperties(property.Value); + lastTestFailoverJob = ProtectedItemJobProperties.DeserializeProtectedItemJobProperties(property.Value, options); continue; } if (property.NameEquals("replicationHealth"u8)) @@ -448,14 +448,14 @@ internal static DataReplicationProtectedItemProperties DeserializeDataReplicatio List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DataReplicationHealthErrorInfo.DeserializeDataReplicationHealthErrorInfo(item)); + array.Add(DataReplicationHealthErrorInfo.DeserializeDataReplicationHealthErrorInfo(item, options)); } healthErrors = array; continue; } if (property.NameEquals("customProperties"u8)) { - customProperties = ProtectedItemModelCustomProperties.DeserializeProtectedItemModelCustomProperties(property.Value); + customProperties = ProtectedItemModelCustomProperties.DeserializeProtectedItemModelCustomProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationRecoveryPointListResult.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationRecoveryPointListResult.Serialization.cs index f30531ddd8d37..70f4fffa516d7 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationRecoveryPointListResult.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationRecoveryPointListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static DataReplicationRecoveryPointListResult DeserializeDataReplicatio List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DataReplicationRecoveryPointData.DeserializeDataReplicationRecoveryPointData(item)); + array.Add(DataReplicationRecoveryPointData.DeserializeDataReplicationRecoveryPointData(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationRecoveryPointProperties.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationRecoveryPointProperties.Serialization.cs index bbd62a0fb8977..795f462fd9b43 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationRecoveryPointProperties.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationRecoveryPointProperties.Serialization.cs @@ -89,7 +89,7 @@ internal static DataReplicationRecoveryPointProperties DeserializeDataReplicatio } if (property.NameEquals("customProperties"u8)) { - customProperties = RecoveryPointModelCustomProperties.DeserializeRecoveryPointModelCustomProperties(property.Value); + customProperties = RecoveryPointModelCustomProperties.DeserializeRecoveryPointModelCustomProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationReplicationExtensionListResult.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationReplicationExtensionListResult.Serialization.cs index a337f5342df40..3c583f737939f 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationReplicationExtensionListResult.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationReplicationExtensionListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static DataReplicationReplicationExtensionListResult DeserializeDataRep List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DataReplicationReplicationExtensionData.DeserializeDataReplicationReplicationExtensionData(item)); + array.Add(DataReplicationReplicationExtensionData.DeserializeDataReplicationReplicationExtensionData(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationReplicationExtensionProperties.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationReplicationExtensionProperties.Serialization.cs index 87f0e12c02669..b12be3f3a5c27 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationReplicationExtensionProperties.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationReplicationExtensionProperties.Serialization.cs @@ -88,7 +88,7 @@ internal static DataReplicationReplicationExtensionProperties DeserializeDataRep } if (property.NameEquals("customProperties"u8)) { - customProperties = ReplicationExtensionModelCustomProperties.DeserializeReplicationExtensionModelCustomProperties(property.Value); + customProperties = ReplicationExtensionModelCustomProperties.DeserializeReplicationExtensionModelCustomProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationTask.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationTask.Serialization.cs index 8fc1abc1eb078..73b7df21a3544 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationTask.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationTask.Serialization.cs @@ -148,7 +148,7 @@ internal static DataReplicationTask DeserializeDataReplicationTask(JsonElement e { continue; } - customProperties = TaskModelCustomProperties.DeserializeTaskModelCustomProperties(property.Value); + customProperties = TaskModelCustomProperties.DeserializeTaskModelCustomProperties(property.Value, options); continue; } if (property.NameEquals("childrenWorkflows"u8)) @@ -160,7 +160,7 @@ internal static DataReplicationTask DeserializeDataReplicationTask(JsonElement e List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DataReplicationWorkflowData.DeserializeDataReplicationWorkflowData(item)); + array.Add(DataReplicationWorkflowData.DeserializeDataReplicationWorkflowData(item, options)); } childrenWorkflows = array; continue; diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationVaultListResult.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationVaultListResult.Serialization.cs index 64cd2c3ad7b52..1c6a0ba5cab2e 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationVaultListResult.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationVaultListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static DataReplicationVaultListResult DeserializeDataReplicationVaultLi List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DataReplicationVaultData.DeserializeDataReplicationVaultData(item)); + array.Add(DataReplicationVaultData.DeserializeDataReplicationVaultData(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationVaultPatch.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationVaultPatch.Serialization.cs index 8e8a32d962e9e..75bbb4a4b544f 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationVaultPatch.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationVaultPatch.Serialization.cs @@ -131,7 +131,7 @@ internal static DataReplicationVaultPatch DeserializeDataReplicationVaultPatch(J { continue; } - properties = DataReplicationVaultProperties.DeserializeDataReplicationVaultProperties(property.Value); + properties = DataReplicationVaultProperties.DeserializeDataReplicationVaultProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationWorkflowListResult.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationWorkflowListResult.Serialization.cs index 5b8fd034e0eca..80793f32e85aa 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationWorkflowListResult.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationWorkflowListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static DataReplicationWorkflowListResult DeserializeDataReplicationWork List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DataReplicationWorkflowData.DeserializeDataReplicationWorkflowData(item)); + array.Add(DataReplicationWorkflowData.DeserializeDataReplicationWorkflowData(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationWorkflowProperties.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationWorkflowProperties.Serialization.cs index 6884107ea711c..a4445960db851 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationWorkflowProperties.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DataReplicationWorkflowProperties.Serialization.cs @@ -286,7 +286,7 @@ internal static DataReplicationWorkflowProperties DeserializeDataReplicationWork List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DataReplicationTask.DeserializeDataReplicationTask(item)); + array.Add(DataReplicationTask.DeserializeDataReplicationTask(item, options)); } tasks = array; continue; @@ -300,14 +300,14 @@ internal static DataReplicationWorkflowProperties DeserializeDataReplicationWork List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DataReplicationErrorInfo.DeserializeDataReplicationErrorInfo(item)); + array.Add(DataReplicationErrorInfo.DeserializeDataReplicationErrorInfo(item, options)); } errors = array; continue; } if (property.NameEquals("customProperties"u8)) { - customProperties = WorkflowModelCustomProperties.DeserializeWorkflowModelCustomProperties(property.Value); + customProperties = WorkflowModelCustomProperties.DeserializeWorkflowModelCustomProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DeploymentPreflightModel.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DeploymentPreflightModel.Serialization.cs index ec9dbbd1b926e..a7fa619e856af 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DeploymentPreflightModel.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DeploymentPreflightModel.Serialization.cs @@ -88,7 +88,7 @@ internal static DeploymentPreflightModel DeserializeDeploymentPreflightModel(Jso List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DeploymentPreflightResourceInfo.DeserializeDeploymentPreflightResourceInfo(item)); + array.Add(DeploymentPreflightResourceInfo.DeserializeDeploymentPreflightResourceInfo(item, options)); } resources = array; continue; diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DraModelCustomProperties.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DraModelCustomProperties.Serialization.cs index da2958e96f254..46d5c6442dd7e 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DraModelCustomProperties.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/DraModelCustomProperties.Serialization.cs @@ -70,11 +70,11 @@ internal static DraModelCustomProperties DeserializeDraModelCustomProperties(Jso { switch (discriminator.GetString()) { - case "DraModelCustomProperties": return GeneralDraModelCustomProperties.DeserializeGeneralDraModelCustomProperties(element); - case "VMware": return VMwareDraModelCustomProperties.DeserializeVMwareDraModelCustomProperties(element); + case "DraModelCustomProperties": return GeneralDraModelCustomProperties.DeserializeGeneralDraModelCustomProperties(element, options); + case "VMware": return VMwareDraModelCustomProperties.DeserializeVMwareDraModelCustomProperties(element, options); } } - return UnknownDraModelCustomProperties.DeserializeUnknownDraModelCustomProperties(element); + return UnknownDraModelCustomProperties.DeserializeUnknownDraModelCustomProperties(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/EventModelCustomProperties.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/EventModelCustomProperties.Serialization.cs index 6278130ce043c..aaec5d45672e1 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/EventModelCustomProperties.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/EventModelCustomProperties.Serialization.cs @@ -70,10 +70,10 @@ internal static EventModelCustomProperties DeserializeEventModelCustomProperties { switch (discriminator.GetString()) { - case "HyperVToAzStackHCI": return HyperVToAzStackHciEventModelCustomProperties.DeserializeHyperVToAzStackHciEventModelCustomProperties(element); + case "HyperVToAzStackHCI": return HyperVToAzStackHciEventModelCustomProperties.DeserializeHyperVToAzStackHciEventModelCustomProperties(element, options); } } - return UnknownEventModelCustomProperties.DeserializeUnknownEventModelCustomProperties(element); + return UnknownEventModelCustomProperties.DeserializeUnknownEventModelCustomProperties(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/FabricModelCustomProperties.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/FabricModelCustomProperties.Serialization.cs index 3ac94ea71ad12..6111dc6d64163 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/FabricModelCustomProperties.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/FabricModelCustomProperties.Serialization.cs @@ -70,13 +70,13 @@ internal static FabricModelCustomProperties DeserializeFabricModelCustomProperti { switch (discriminator.GetString()) { - case "AzStackHCI": return AzStackHciFabricModelCustomProperties.DeserializeAzStackHciFabricModelCustomProperties(element); - case "FabricModelCustomProperties": return GeneralFabricModelCustomProperties.DeserializeGeneralFabricModelCustomProperties(element); - case "HyperVMigrate": return HyperVMigrateFabricModelCustomProperties.DeserializeHyperVMigrateFabricModelCustomProperties(element); - case "VMwareMigrate": return VMwareMigrateFabricModelCustomProperties.DeserializeVMwareMigrateFabricModelCustomProperties(element); + case "AzStackHCI": return AzStackHciFabricModelCustomProperties.DeserializeAzStackHciFabricModelCustomProperties(element, options); + case "FabricModelCustomProperties": return GeneralFabricModelCustomProperties.DeserializeGeneralFabricModelCustomProperties(element, options); + case "HyperVMigrate": return HyperVMigrateFabricModelCustomProperties.DeserializeHyperVMigrateFabricModelCustomProperties(element, options); + case "VMwareMigrate": return VMwareMigrateFabricModelCustomProperties.DeserializeVMwareMigrateFabricModelCustomProperties(element, options); } } - return UnknownFabricModelCustomProperties.DeserializeUnknownFabricModelCustomProperties(element); + return UnknownFabricModelCustomProperties.DeserializeUnknownFabricModelCustomProperties(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/FailoverWorkflowModelCustomProperties.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/FailoverWorkflowModelCustomProperties.Serialization.cs index 870e86aa535b2..0abd660c91175 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/FailoverWorkflowModelCustomProperties.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/FailoverWorkflowModelCustomProperties.Serialization.cs @@ -103,7 +103,7 @@ internal static FailoverWorkflowModelCustomProperties DeserializeFailoverWorkflo List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(FailoverProtectedItemProperties.DeserializeFailoverProtectedItemProperties(item)); + array.Add(FailoverProtectedItemProperties.DeserializeFailoverProtectedItemProperties(item, options)); } protectedItemDetails = array; continue; diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/HyperVToAzStackHciProtectedItemModelCustomProperties.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/HyperVToAzStackHciProtectedItemModelCustomProperties.Serialization.cs index e010363b0fa59..0104fccd03db9 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/HyperVToAzStackHciProtectedItemModelCustomProperties.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/HyperVToAzStackHciProtectedItemModelCustomProperties.Serialization.cs @@ -323,7 +323,7 @@ internal static HyperVToAzStackHciProtectedItemModelCustomProperties Deserialize List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(HyperVToAzStackHciDiskInput.DeserializeHyperVToAzStackHciDiskInput(item)); + array.Add(HyperVToAzStackHciDiskInput.DeserializeHyperVToAzStackHciDiskInput(item, options)); } disksToInclude = array; continue; @@ -333,7 +333,7 @@ internal static HyperVToAzStackHciProtectedItemModelCustomProperties Deserialize List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(HyperVToAzStackHciNicInput.DeserializeHyperVToAzStackHciNicInput(item)); + array.Add(HyperVToAzStackHciNicInput.DeserializeHyperVToAzStackHciNicInput(item, options)); } nicsToInclude = array; continue; @@ -415,7 +415,7 @@ internal static HyperVToAzStackHciProtectedItemModelCustomProperties Deserialize { continue; } - dynamicMemoryConfig = ProtectedItemDynamicMemoryConfig.DeserializeProtectedItemDynamicMemoryConfig(property.Value); + dynamicMemoryConfig = ProtectedItemDynamicMemoryConfig.DeserializeProtectedItemDynamicMemoryConfig(property.Value, options); continue; } if (property.NameEquals("targetMemoryInMegaBytes"u8)) @@ -523,7 +523,7 @@ internal static HyperVToAzStackHciProtectedItemModelCustomProperties Deserialize List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(HyperVToAzStackHciProtectedDiskProperties.DeserializeHyperVToAzStackHciProtectedDiskProperties(item)); + array.Add(HyperVToAzStackHciProtectedDiskProperties.DeserializeHyperVToAzStackHciProtectedDiskProperties(item, options)); } protectedDisks = array; continue; @@ -537,7 +537,7 @@ internal static HyperVToAzStackHciProtectedItemModelCustomProperties Deserialize List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(HyperVToAzStackHciProtectedNicProperties.DeserializeHyperVToAzStackHciProtectedNicProperties(item)); + array.Add(HyperVToAzStackHciProtectedNicProperties.DeserializeHyperVToAzStackHciProtectedNicProperties(item, options)); } protectedNics = array; continue; diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/PlannedFailoverModel.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/PlannedFailoverModel.Serialization.cs index ed37066681260..5402d2c10d270 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/PlannedFailoverModel.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/PlannedFailoverModel.Serialization.cs @@ -73,7 +73,7 @@ internal static PlannedFailoverModel DeserializePlannedFailoverModel(JsonElement { if (property.NameEquals("properties"u8)) { - properties = PlannedFailoverModelProperties.DeserializePlannedFailoverModelProperties(property.Value); + properties = PlannedFailoverModelProperties.DeserializePlannedFailoverModelProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/PlannedFailoverModelCustomProperties.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/PlannedFailoverModelCustomProperties.Serialization.cs index 469751983ce9c..ff40bd48ef4fd 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/PlannedFailoverModelCustomProperties.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/PlannedFailoverModelCustomProperties.Serialization.cs @@ -70,12 +70,12 @@ internal static PlannedFailoverModelCustomProperties DeserializePlannedFailoverM { switch (discriminator.GetString()) { - case "HyperVToAzStackHCI": return HyperVToAzStackHciPlannedFailoverModelCustomProperties.DeserializeHyperVToAzStackHciPlannedFailoverModelCustomProperties(element); - case "PlannedFailoverModelCustomProperties": return GeneralPlannedFailoverModelCustomProperties.DeserializeGeneralPlannedFailoverModelCustomProperties(element); - case "VMwareToAzStackHCI": return VMwareToAzStackHciPlannedFailoverModelCustomProperties.DeserializeVMwareToAzStackHciPlannedFailoverModelCustomProperties(element); + case "HyperVToAzStackHCI": return HyperVToAzStackHciPlannedFailoverModelCustomProperties.DeserializeHyperVToAzStackHciPlannedFailoverModelCustomProperties(element, options); + case "PlannedFailoverModelCustomProperties": return GeneralPlannedFailoverModelCustomProperties.DeserializeGeneralPlannedFailoverModelCustomProperties(element, options); + case "VMwareToAzStackHCI": return VMwareToAzStackHciPlannedFailoverModelCustomProperties.DeserializeVMwareToAzStackHciPlannedFailoverModelCustomProperties(element, options); } } - return UnknownPlannedFailoverModelCustomProperties.DeserializeUnknownPlannedFailoverModelCustomProperties(element); + return UnknownPlannedFailoverModelCustomProperties.DeserializeUnknownPlannedFailoverModelCustomProperties(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/PlannedFailoverModelProperties.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/PlannedFailoverModelProperties.Serialization.cs index a393727a309b9..5d47367078101 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/PlannedFailoverModelProperties.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/PlannedFailoverModelProperties.Serialization.cs @@ -73,7 +73,7 @@ internal static PlannedFailoverModelProperties DeserializePlannedFailoverModelPr { if (property.NameEquals("customProperties"u8)) { - customProperties = PlannedFailoverModelCustomProperties.DeserializePlannedFailoverModelCustomProperties(property.Value); + customProperties = PlannedFailoverModelCustomProperties.DeserializePlannedFailoverModelCustomProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/PolicyModelCustomProperties.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/PolicyModelCustomProperties.Serialization.cs index c2175b4ad1331..56d894368b276 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/PolicyModelCustomProperties.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/PolicyModelCustomProperties.Serialization.cs @@ -70,12 +70,12 @@ internal static PolicyModelCustomProperties DeserializePolicyModelCustomProperti { switch (discriminator.GetString()) { - case "HyperVToAzStackHCI": return HyperVToAzStackHciPolicyModelCustomProperties.DeserializeHyperVToAzStackHciPolicyModelCustomProperties(element); - case "PolicyModelCustomProperties": return GeneralPolicyModelCustomProperties.DeserializeGeneralPolicyModelCustomProperties(element); - case "VMwareToAzStackHCI": return VMwareToAzStackHciPolicyModelCustomProperties.DeserializeVMwareToAzStackHciPolicyModelCustomProperties(element); + case "HyperVToAzStackHCI": return HyperVToAzStackHciPolicyModelCustomProperties.DeserializeHyperVToAzStackHciPolicyModelCustomProperties(element, options); + case "PolicyModelCustomProperties": return GeneralPolicyModelCustomProperties.DeserializeGeneralPolicyModelCustomProperties(element, options); + case "VMwareToAzStackHCI": return VMwareToAzStackHciPolicyModelCustomProperties.DeserializeVMwareToAzStackHciPolicyModelCustomProperties(element, options); } } - return UnknownPolicyModelCustomProperties.DeserializeUnknownPolicyModelCustomProperties(element); + return UnknownPolicyModelCustomProperties.DeserializeUnknownPolicyModelCustomProperties(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/ProtectedItemModelCustomProperties.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/ProtectedItemModelCustomProperties.Serialization.cs index 2a85c79eb928b..491f7b0e4bdd9 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/ProtectedItemModelCustomProperties.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/ProtectedItemModelCustomProperties.Serialization.cs @@ -70,12 +70,12 @@ internal static ProtectedItemModelCustomProperties DeserializeProtectedItemModel { switch (discriminator.GetString()) { - case "HyperVToAzStackHCI": return HyperVToAzStackHciProtectedItemModelCustomProperties.DeserializeHyperVToAzStackHciProtectedItemModelCustomProperties(element); - case "ProtectedItemModelCustomProperties": return GeneralProtectedItemModelCustomProperties.DeserializeGeneralProtectedItemModelCustomProperties(element); - case "VMwareToAzStackHCI": return VMwareToAzStackHciProtectedItemModelCustomProperties.DeserializeVMwareToAzStackHciProtectedItemModelCustomProperties(element); + case "HyperVToAzStackHCI": return HyperVToAzStackHciProtectedItemModelCustomProperties.DeserializeHyperVToAzStackHciProtectedItemModelCustomProperties(element, options); + case "ProtectedItemModelCustomProperties": return GeneralProtectedItemModelCustomProperties.DeserializeGeneralProtectedItemModelCustomProperties(element, options); + case "VMwareToAzStackHCI": return VMwareToAzStackHciProtectedItemModelCustomProperties.DeserializeVMwareToAzStackHciProtectedItemModelCustomProperties(element, options); } } - return UnknownProtectedItemModelCustomProperties.DeserializeUnknownProtectedItemModelCustomProperties(element); + return UnknownProtectedItemModelCustomProperties.DeserializeUnknownProtectedItemModelCustomProperties(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/RecoveryPointModelCustomProperties.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/RecoveryPointModelCustomProperties.Serialization.cs index 31a7884b594dd..f72c74644cc22 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/RecoveryPointModelCustomProperties.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/RecoveryPointModelCustomProperties.Serialization.cs @@ -70,10 +70,10 @@ internal static RecoveryPointModelCustomProperties DeserializeRecoveryPointModel { switch (discriminator.GetString()) { - case "HyperVToAzStackHCI": return HyperVToAzStackHciRecoveryPointModelCustomProperties.DeserializeHyperVToAzStackHciRecoveryPointModelCustomProperties(element); + case "HyperVToAzStackHCI": return HyperVToAzStackHciRecoveryPointModelCustomProperties.DeserializeHyperVToAzStackHciRecoveryPointModelCustomProperties(element, options); } } - return UnknownRecoveryPointModelCustomProperties.DeserializeUnknownRecoveryPointModelCustomProperties(element); + return UnknownRecoveryPointModelCustomProperties.DeserializeUnknownRecoveryPointModelCustomProperties(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/ReplicationExtensionModelCustomProperties.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/ReplicationExtensionModelCustomProperties.Serialization.cs index 355eb73fedcf1..d0091eed503e3 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/ReplicationExtensionModelCustomProperties.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/ReplicationExtensionModelCustomProperties.Serialization.cs @@ -70,12 +70,12 @@ internal static ReplicationExtensionModelCustomProperties DeserializeReplication { switch (discriminator.GetString()) { - case "HyperVToAzStackHCI": return HyperVToAzStackHciReplicationExtensionModelCustomProperties.DeserializeHyperVToAzStackHciReplicationExtensionModelCustomProperties(element); - case "ReplicationExtensionModelCustomProperties": return GeneralReplicationExtensionModelCustomProperties.DeserializeGeneralReplicationExtensionModelCustomProperties(element); - case "VMwareToAzStackHCI": return VMwareToAzStackHciReplicationExtensionModelCustomProperties.DeserializeVMwareToAzStackHciReplicationExtensionModelCustomProperties(element); + case "HyperVToAzStackHCI": return HyperVToAzStackHciReplicationExtensionModelCustomProperties.DeserializeHyperVToAzStackHciReplicationExtensionModelCustomProperties(element, options); + case "ReplicationExtensionModelCustomProperties": return GeneralReplicationExtensionModelCustomProperties.DeserializeGeneralReplicationExtensionModelCustomProperties(element, options); + case "VMwareToAzStackHCI": return VMwareToAzStackHciReplicationExtensionModelCustomProperties.DeserializeVMwareToAzStackHciReplicationExtensionModelCustomProperties(element, options); } } - return UnknownReplicationExtensionModelCustomProperties.DeserializeUnknownReplicationExtensionModelCustomProperties(element); + return UnknownReplicationExtensionModelCustomProperties.DeserializeUnknownReplicationExtensionModelCustomProperties(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/TestFailoverWorkflowModelCustomProperties.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/TestFailoverWorkflowModelCustomProperties.Serialization.cs index 70596320e90dd..b694dcbeb51cb 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/TestFailoverWorkflowModelCustomProperties.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/TestFailoverWorkflowModelCustomProperties.Serialization.cs @@ -103,7 +103,7 @@ internal static TestFailoverWorkflowModelCustomProperties DeserializeTestFailove List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(FailoverProtectedItemProperties.DeserializeFailoverProtectedItemProperties(item)); + array.Add(FailoverProtectedItemProperties.DeserializeFailoverProtectedItemProperties(item, options)); } protectedItemDetails = array; continue; diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/VMwareDraModelCustomProperties.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/VMwareDraModelCustomProperties.Serialization.cs index fc1d3dc000c71..0bafc190c46b7 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/VMwareDraModelCustomProperties.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/VMwareDraModelCustomProperties.Serialization.cs @@ -84,7 +84,7 @@ internal static VMwareDraModelCustomProperties DeserializeVMwareDraModelCustomPr } if (property.NameEquals("marsAuthenticationIdentity"u8)) { - marsAuthenticationIdentity = DataReplicationIdentity.DeserializeDataReplicationIdentity(property.Value); + marsAuthenticationIdentity = DataReplicationIdentity.DeserializeDataReplicationIdentity(property.Value, options); continue; } if (property.NameEquals("instanceType"u8)) diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/VMwareToAzStackHciProtectedItemModelCustomProperties.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/VMwareToAzStackHciProtectedItemModelCustomProperties.Serialization.cs index d57198e139dd2..cfd5902e5a25e 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/VMwareToAzStackHciProtectedItemModelCustomProperties.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/VMwareToAzStackHciProtectedItemModelCustomProperties.Serialization.cs @@ -380,7 +380,7 @@ internal static VMwareToAzStackHciProtectedItemModelCustomProperties Deserialize List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(VMwareToAzStackHciDiskInput.DeserializeVMwareToAzStackHciDiskInput(item)); + array.Add(VMwareToAzStackHciDiskInput.DeserializeVMwareToAzStackHciDiskInput(item, options)); } disksToInclude = array; continue; @@ -390,7 +390,7 @@ internal static VMwareToAzStackHciProtectedItemModelCustomProperties Deserialize List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(VMwareToAzStackHciNicInput.DeserializeVMwareToAzStackHciNicInput(item)); + array.Add(VMwareToAzStackHciNicInput.DeserializeVMwareToAzStackHciNicInput(item, options)); } nicsToInclude = array; continue; @@ -404,7 +404,7 @@ internal static VMwareToAzStackHciProtectedItemModelCustomProperties Deserialize List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(VMwareToAzStackHciProtectedDiskProperties.DeserializeVMwareToAzStackHciProtectedDiskProperties(item)); + array.Add(VMwareToAzStackHciProtectedDiskProperties.DeserializeVMwareToAzStackHciProtectedDiskProperties(item, options)); } protectedDisks = array; continue; @@ -418,7 +418,7 @@ internal static VMwareToAzStackHciProtectedItemModelCustomProperties Deserialize List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(VMwareToAzStackHciProtectedNicProperties.DeserializeVMwareToAzStackHciProtectedNicProperties(item)); + array.Add(VMwareToAzStackHciProtectedNicProperties.DeserializeVMwareToAzStackHciProtectedNicProperties(item, options)); } protectedNics = array; continue; @@ -472,7 +472,7 @@ internal static VMwareToAzStackHciProtectedItemModelCustomProperties Deserialize { continue; } - dynamicMemoryConfig = ProtectedItemDynamicMemoryConfig.DeserializeProtectedItemDynamicMemoryConfig(property.Value); + dynamicMemoryConfig = ProtectedItemDynamicMemoryConfig.DeserializeProtectedItemDynamicMemoryConfig(property.Value, options); continue; } if (property.NameEquals("targetMemoryInMegaBytes"u8)) diff --git a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/WorkflowModelCustomProperties.Serialization.cs b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/WorkflowModelCustomProperties.Serialization.cs index e728caca18ae7..c586a9fb60d0e 100644 --- a/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/WorkflowModelCustomProperties.Serialization.cs +++ b/sdk/recoveryservices-datareplication/Azure.ResourceManager.RecoveryServicesDataReplication/src/Generated/Models/WorkflowModelCustomProperties.Serialization.cs @@ -81,12 +81,12 @@ internal static WorkflowModelCustomProperties DeserializeWorkflowModelCustomProp { switch (discriminator.GetString()) { - case "FailoverWorkflowDetails": return FailoverWorkflowModelCustomProperties.DeserializeFailoverWorkflowModelCustomProperties(element); - case "TestFailoverCleanupWorkflowDetails": return TestFailoverCleanupWorkflowModelCustomProperties.DeserializeTestFailoverCleanupWorkflowModelCustomProperties(element); - case "TestFailoverWorkflowDetails": return TestFailoverWorkflowModelCustomProperties.DeserializeTestFailoverWorkflowModelCustomProperties(element); + case "FailoverWorkflowDetails": return FailoverWorkflowModelCustomProperties.DeserializeFailoverWorkflowModelCustomProperties(element, options); + case "TestFailoverCleanupWorkflowDetails": return TestFailoverCleanupWorkflowModelCustomProperties.DeserializeTestFailoverCleanupWorkflowModelCustomProperties(element, options); + case "TestFailoverWorkflowDetails": return TestFailoverWorkflowModelCustomProperties.DeserializeTestFailoverWorkflowModelCustomProperties(element, options); } } - return UnknownWorkflowModelCustomProperties.DeserializeUnknownWorkflowModelCustomProperties(element); + return UnknownWorkflowModelCustomProperties.DeserializeUnknownWorkflowModelCustomProperties(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/MigrationRecoveryPointData.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/MigrationRecoveryPointData.Serialization.cs index 4b58982126366..c208d83488d19 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/MigrationRecoveryPointData.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/MigrationRecoveryPointData.Serialization.cs @@ -112,7 +112,7 @@ internal static MigrationRecoveryPointData DeserializeMigrationRecoveryPointData { continue; } - properties = MigrationRecoveryPointProperties.DeserializeMigrationRecoveryPointProperties(property.Value); + properties = MigrationRecoveryPointProperties.DeserializeMigrationRecoveryPointProperties(property.Value, options); continue; } if (property.NameEquals("location"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AAddDisksContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AAddDisksContent.Serialization.cs index ad249473e89c7..d412e39319dbc 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AAddDisksContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AAddDisksContent.Serialization.cs @@ -102,7 +102,7 @@ internal static A2AAddDisksContent DeserializeA2AAddDisksContent(JsonElement ele List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(A2AVmDiskDetails.DeserializeA2AVmDiskDetails(item)); + array.Add(A2AVmDiskDetails.DeserializeA2AVmDiskDetails(item, options)); } vmDisks = array; continue; @@ -116,7 +116,7 @@ internal static A2AAddDisksContent DeserializeA2AAddDisksContent(JsonElement ele List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(A2AVmManagedDiskDetails.DeserializeA2AVmManagedDiskDetails(item)); + array.Add(A2AVmManagedDiskDetails.DeserializeA2AVmManagedDiskDetails(item, options)); } vmManagedDisks = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2ACreateProtectionIntentContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2ACreateProtectionIntentContent.Serialization.cs index 52949ffe0d3c1..e7211796b2b77 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2ACreateProtectionIntentContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2ACreateProtectionIntentContent.Serialization.cs @@ -226,7 +226,7 @@ internal static A2ACreateProtectionIntentContent DeserializeA2ACreateProtectionI { continue; } - protectionProfileCustomContent = ProtectionProfileCustomDetails.DeserializeProtectionProfileCustomDetails(property.Value); + protectionProfileCustomContent = ProtectionProfileCustomDetails.DeserializeProtectionProfileCustomDetails(property.Value, options); continue; } if (property.NameEquals("recoveryResourceGroupId"u8)) @@ -240,7 +240,7 @@ internal static A2ACreateProtectionIntentContent DeserializeA2ACreateProtectionI { continue; } - primaryStagingStorageAccountCustomContent = StorageAccountCustomDetails.DeserializeStorageAccountCustomDetails(property.Value); + primaryStagingStorageAccountCustomContent = StorageAccountCustomDetails.DeserializeStorageAccountCustomDetails(property.Value, options); continue; } if (property.NameEquals("recoveryAvailabilitySetCustomInput"u8)) @@ -249,7 +249,7 @@ internal static A2ACreateProtectionIntentContent DeserializeA2ACreateProtectionI { continue; } - recoveryAvailabilitySetCustomContent = RecoveryAvailabilitySetCustomDetails.DeserializeRecoveryAvailabilitySetCustomDetails(property.Value); + recoveryAvailabilitySetCustomContent = RecoveryAvailabilitySetCustomDetails.DeserializeRecoveryAvailabilitySetCustomDetails(property.Value, options); continue; } if (property.NameEquals("recoveryVirtualNetworkCustomInput"u8)) @@ -258,7 +258,7 @@ internal static A2ACreateProtectionIntentContent DeserializeA2ACreateProtectionI { continue; } - recoveryVirtualNetworkCustomContent = RecoveryVirtualNetworkCustomDetails.DeserializeRecoveryVirtualNetworkCustomDetails(property.Value); + recoveryVirtualNetworkCustomContent = RecoveryVirtualNetworkCustomDetails.DeserializeRecoveryVirtualNetworkCustomDetails(property.Value, options); continue; } if (property.NameEquals("recoveryProximityPlacementGroupCustomInput"u8)) @@ -267,7 +267,7 @@ internal static A2ACreateProtectionIntentContent DeserializeA2ACreateProtectionI { continue; } - recoveryProximityPlacementGroupCustomContent = RecoveryProximityPlacementGroupCustomDetails.DeserializeRecoveryProximityPlacementGroupCustomDetails(property.Value); + recoveryProximityPlacementGroupCustomContent = RecoveryProximityPlacementGroupCustomDetails.DeserializeRecoveryProximityPlacementGroupCustomDetails(property.Value, options); continue; } if (property.NameEquals("autoProtectionOfDataDisk"u8)) @@ -288,7 +288,7 @@ internal static A2ACreateProtectionIntentContent DeserializeA2ACreateProtectionI List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(A2AProtectionIntentDiskDetails.DeserializeA2AProtectionIntentDiskDetails(item)); + array.Add(A2AProtectionIntentDiskDetails.DeserializeA2AProtectionIntentDiskDetails(item, options)); } vmDisks = array; continue; @@ -302,7 +302,7 @@ internal static A2ACreateProtectionIntentContent DeserializeA2ACreateProtectionI List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(A2AProtectionIntentManagedDiskDetails.DeserializeA2AProtectionIntentManagedDiskDetails(item)); + array.Add(A2AProtectionIntentManagedDiskDetails.DeserializeA2AProtectionIntentManagedDiskDetails(item, options)); } vmManagedDisks = array; continue; @@ -323,7 +323,7 @@ internal static A2ACreateProtectionIntentContent DeserializeA2ACreateProtectionI { continue; } - recoveryBootDiagStorageAccount = StorageAccountCustomDetails.DeserializeStorageAccountCustomDetails(property.Value); + recoveryBootDiagStorageAccount = StorageAccountCustomDetails.DeserializeStorageAccountCustomDetails(property.Value, options); continue; } if (property.NameEquals("diskEncryptionInfo"u8)) @@ -332,7 +332,7 @@ internal static A2ACreateProtectionIntentContent DeserializeA2ACreateProtectionI { continue; } - diskEncryptionInfo = SiteRecoveryDiskEncryptionInfo.DeserializeSiteRecoveryDiskEncryptionInfo(property.Value); + diskEncryptionInfo = SiteRecoveryDiskEncryptionInfo.DeserializeSiteRecoveryDiskEncryptionInfo(property.Value, options); continue; } if (property.NameEquals("recoveryAvailabilityZone"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AEnableProtectionContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AEnableProtectionContent.Serialization.cs index ff5b123f27917..8b3390d93f3ca 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AEnableProtectionContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AEnableProtectionContent.Serialization.cs @@ -247,7 +247,7 @@ internal static A2AEnableProtectionContent DeserializeA2AEnableProtectionContent List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(A2AVmDiskDetails.DeserializeA2AVmDiskDetails(item)); + array.Add(A2AVmDiskDetails.DeserializeA2AVmDiskDetails(item, options)); } vmDisks = array; continue; @@ -261,7 +261,7 @@ internal static A2AEnableProtectionContent DeserializeA2AEnableProtectionContent List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(A2AVmManagedDiskDetails.DeserializeA2AVmManagedDiskDetails(item)); + array.Add(A2AVmManagedDiskDetails.DeserializeA2AVmManagedDiskDetails(item, options)); } vmManagedDisks = array; continue; @@ -291,7 +291,7 @@ internal static A2AEnableProtectionContent DeserializeA2AEnableProtectionContent { continue; } - diskEncryptionInfo = SiteRecoveryDiskEncryptionInfo.DeserializeSiteRecoveryDiskEncryptionInfo(property.Value); + diskEncryptionInfo = SiteRecoveryDiskEncryptionInfo.DeserializeSiteRecoveryDiskEncryptionInfo(property.Value, options); continue; } if (property.NameEquals("recoveryAvailabilityZone"u8)) @@ -305,7 +305,7 @@ internal static A2AEnableProtectionContent DeserializeA2AEnableProtectionContent { continue; } - recoveryExtendedLocation = SiteRecoveryExtendedLocation.DeserializeSiteRecoveryExtendedLocation(property.Value); + recoveryExtendedLocation = SiteRecoveryExtendedLocation.DeserializeSiteRecoveryExtendedLocation(property.Value, options); continue; } if (property.NameEquals("recoveryAzureNetworkId"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AExtendedLocationDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AExtendedLocationDetails.Serialization.cs index 6229adc6d90e6..323b726241d72 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AExtendedLocationDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AExtendedLocationDetails.Serialization.cs @@ -86,7 +86,7 @@ internal static A2AExtendedLocationDetails DeserializeA2AExtendedLocationDetails { continue; } - primaryExtendedLocation = SiteRecoveryExtendedLocation.DeserializeSiteRecoveryExtendedLocation(property.Value); + primaryExtendedLocation = SiteRecoveryExtendedLocation.DeserializeSiteRecoveryExtendedLocation(property.Value, options); continue; } if (property.NameEquals("recoveryExtendedLocation"u8)) @@ -95,7 +95,7 @@ internal static A2AExtendedLocationDetails DeserializeA2AExtendedLocationDetails { continue; } - recoveryExtendedLocation = SiteRecoveryExtendedLocation.DeserializeSiteRecoveryExtendedLocation(property.Value); + recoveryExtendedLocation = SiteRecoveryExtendedLocation.DeserializeSiteRecoveryExtendedLocation(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AFabricSpecificLocationDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AFabricSpecificLocationDetails.Serialization.cs index e8e93c6bc6351..c6d7d83c24288 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AFabricSpecificLocationDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AFabricSpecificLocationDetails.Serialization.cs @@ -156,7 +156,7 @@ internal static A2AFabricSpecificLocationDetails DeserializeA2AFabricSpecificLoc { continue; } - initialPrimaryExtendedLocation = SiteRecoveryExtendedLocation.DeserializeSiteRecoveryExtendedLocation(property.Value); + initialPrimaryExtendedLocation = SiteRecoveryExtendedLocation.DeserializeSiteRecoveryExtendedLocation(property.Value, options); continue; } if (property.NameEquals("initialRecoveryExtendedLocation"u8)) @@ -165,7 +165,7 @@ internal static A2AFabricSpecificLocationDetails DeserializeA2AFabricSpecificLoc { continue; } - initialRecoveryExtendedLocation = SiteRecoveryExtendedLocation.DeserializeSiteRecoveryExtendedLocation(property.Value); + initialRecoveryExtendedLocation = SiteRecoveryExtendedLocation.DeserializeSiteRecoveryExtendedLocation(property.Value, options); continue; } if (property.NameEquals("initialPrimaryFabricLocation"u8)) @@ -202,7 +202,7 @@ internal static A2AFabricSpecificLocationDetails DeserializeA2AFabricSpecificLoc { continue; } - primaryExtendedLocation = SiteRecoveryExtendedLocation.DeserializeSiteRecoveryExtendedLocation(property.Value); + primaryExtendedLocation = SiteRecoveryExtendedLocation.DeserializeSiteRecoveryExtendedLocation(property.Value, options); continue; } if (property.NameEquals("recoveryExtendedLocation"u8)) @@ -211,7 +211,7 @@ internal static A2AFabricSpecificLocationDetails DeserializeA2AFabricSpecificLoc { continue; } - recoveryExtendedLocation = SiteRecoveryExtendedLocation.DeserializeSiteRecoveryExtendedLocation(property.Value); + recoveryExtendedLocation = SiteRecoveryExtendedLocation.DeserializeSiteRecoveryExtendedLocation(property.Value, options); continue; } if (property.NameEquals("primaryFabricLocation"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AProtectionIntentDiskDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AProtectionIntentDiskDetails.Serialization.cs index f0d27c80e8dca..3b8dad998294f 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AProtectionIntentDiskDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AProtectionIntentDiskDetails.Serialization.cs @@ -94,7 +94,7 @@ internal static A2AProtectionIntentDiskDetails DeserializeA2AProtectionIntentDis { continue; } - recoveryAzureStorageAccountCustomContent = StorageAccountCustomDetails.DeserializeStorageAccountCustomDetails(property.Value); + recoveryAzureStorageAccountCustomContent = StorageAccountCustomDetails.DeserializeStorageAccountCustomDetails(property.Value, options); continue; } if (property.NameEquals("primaryStagingStorageAccountCustomInput"u8)) @@ -103,7 +103,7 @@ internal static A2AProtectionIntentDiskDetails DeserializeA2AProtectionIntentDis { continue; } - primaryStagingStorageAccountCustomContent = StorageAccountCustomDetails.DeserializeStorageAccountCustomDetails(property.Value); + primaryStagingStorageAccountCustomContent = StorageAccountCustomDetails.DeserializeStorageAccountCustomDetails(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AProtectionIntentManagedDiskDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AProtectionIntentManagedDiskDetails.Serialization.cs index 2d0284cba0f15..0341537d59c63 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AProtectionIntentManagedDiskDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AProtectionIntentManagedDiskDetails.Serialization.cs @@ -118,7 +118,7 @@ internal static A2AProtectionIntentManagedDiskDetails DeserializeA2AProtectionIn { continue; } - primaryStagingStorageAccountCustomContent = StorageAccountCustomDetails.DeserializeStorageAccountCustomDetails(property.Value); + primaryStagingStorageAccountCustomContent = StorageAccountCustomDetails.DeserializeStorageAccountCustomDetails(property.Value, options); continue; } if (property.NameEquals("recoveryResourceGroupCustomInput"u8)) @@ -127,7 +127,7 @@ internal static A2AProtectionIntentManagedDiskDetails DeserializeA2AProtectionIn { continue; } - recoveryResourceGroupCustomContent = RecoveryResourceGroupCustomDetails.DeserializeRecoveryResourceGroupCustomDetails(property.Value); + recoveryResourceGroupCustomContent = RecoveryResourceGroupCustomDetails.DeserializeRecoveryResourceGroupCustomDetails(property.Value, options); continue; } if (property.NameEquals("recoveryReplicaDiskAccountType"u8)) @@ -155,7 +155,7 @@ internal static A2AProtectionIntentManagedDiskDetails DeserializeA2AProtectionIn { continue; } - diskEncryptionInfo = SiteRecoveryDiskEncryptionInfo.DeserializeSiteRecoveryDiskEncryptionInfo(property.Value); + diskEncryptionInfo = SiteRecoveryDiskEncryptionInfo.DeserializeSiteRecoveryDiskEncryptionInfo(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AReplicationDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AReplicationDetails.Serialization.cs index 11adb5aa93639..a8d59c875799a 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AReplicationDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AReplicationDetails.Serialization.cs @@ -449,7 +449,7 @@ internal static A2AReplicationDetails DeserializeA2AReplicationDetails(JsonEleme { continue; } - initialPrimaryExtendedLocation = SiteRecoveryExtendedLocation.DeserializeSiteRecoveryExtendedLocation(property.Value); + initialPrimaryExtendedLocation = SiteRecoveryExtendedLocation.DeserializeSiteRecoveryExtendedLocation(property.Value, options); continue; } if (property.NameEquals("initialRecoveryExtendedLocation"u8)) @@ -458,7 +458,7 @@ internal static A2AReplicationDetails DeserializeA2AReplicationDetails(JsonEleme { continue; } - initialRecoveryExtendedLocation = SiteRecoveryExtendedLocation.DeserializeSiteRecoveryExtendedLocation(property.Value); + initialRecoveryExtendedLocation = SiteRecoveryExtendedLocation.DeserializeSiteRecoveryExtendedLocation(property.Value, options); continue; } if (property.NameEquals("initialRecoveryFabricLocation"u8)) @@ -503,7 +503,7 @@ internal static A2AReplicationDetails DeserializeA2AReplicationDetails(JsonEleme List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(A2AProtectedDiskDetails.DeserializeA2AProtectedDiskDetails(item)); + array.Add(A2AProtectedDiskDetails.DeserializeA2AProtectedDiskDetails(item, options)); } protectedDisks = array; continue; @@ -517,7 +517,7 @@ internal static A2AReplicationDetails DeserializeA2AReplicationDetails(JsonEleme List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(A2AUnprotectedDiskDetails.DeserializeA2AUnprotectedDiskDetails(item)); + array.Add(A2AUnprotectedDiskDetails.DeserializeA2AUnprotectedDiskDetails(item, options)); } unprotectedDisks = array; continue; @@ -531,7 +531,7 @@ internal static A2AReplicationDetails DeserializeA2AReplicationDetails(JsonEleme List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(A2AProtectedManagedDiskDetails.DeserializeA2AProtectedManagedDiskDetails(item)); + array.Add(A2AProtectedManagedDiskDetails.DeserializeA2AProtectedManagedDiskDetails(item, options)); } protectedManagedDisks = array; continue; @@ -624,7 +624,7 @@ internal static A2AReplicationDetails DeserializeA2AReplicationDetails(JsonEleme List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(VmNicDetails.DeserializeVmNicDetails(item)); + array.Add(VmNicDetails.DeserializeVmNicDetails(item, options)); } vmNics = array; continue; @@ -635,7 +635,7 @@ internal static A2AReplicationDetails DeserializeA2AReplicationDetails(JsonEleme { continue; } - vmSyncedConfigDetails = A2AVmSyncedConfigDetails.DeserializeA2AVmSyncedConfigDetails(property.Value); + vmSyncedConfigDetails = A2AVmSyncedConfigDetails.DeserializeA2AVmSyncedConfigDetails(property.Value, options); continue; } if (property.NameEquals("monitoringPercentageCompletion"u8)) @@ -769,7 +769,7 @@ internal static A2AReplicationDetails DeserializeA2AReplicationDetails(JsonEleme { continue; } - primaryExtendedLocation = SiteRecoveryExtendedLocation.DeserializeSiteRecoveryExtendedLocation(property.Value); + primaryExtendedLocation = SiteRecoveryExtendedLocation.DeserializeSiteRecoveryExtendedLocation(property.Value, options); continue; } if (property.NameEquals("recoveryExtendedLocation"u8)) @@ -778,7 +778,7 @@ internal static A2AReplicationDetails DeserializeA2AReplicationDetails(JsonEleme { continue; } - recoveryExtendedLocation = SiteRecoveryExtendedLocation.DeserializeSiteRecoveryExtendedLocation(property.Value); + recoveryExtendedLocation = SiteRecoveryExtendedLocation.DeserializeSiteRecoveryExtendedLocation(property.Value, options); continue; } if (property.NameEquals("vmEncryptionType"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AReplicationIntentDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AReplicationIntentDetails.Serialization.cs index 66fb567de2a0f..79bd7e46d3aad 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AReplicationIntentDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AReplicationIntentDetails.Serialization.cs @@ -251,7 +251,7 @@ internal static A2AReplicationIntentDetails DeserializeA2AReplicationIntentDetai List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(A2AProtectionIntentDiskDetails.DeserializeA2AProtectionIntentDiskDetails(item)); + array.Add(A2AProtectionIntentDiskDetails.DeserializeA2AProtectionIntentDiskDetails(item, options)); } vmDisks = array; continue; @@ -265,7 +265,7 @@ internal static A2AReplicationIntentDetails DeserializeA2AReplicationIntentDetai List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(A2AProtectionIntentManagedDiskDetails.DeserializeA2AProtectionIntentManagedDiskDetails(item)); + array.Add(A2AProtectionIntentManagedDiskDetails.DeserializeA2AProtectionIntentManagedDiskDetails(item, options)); } vmManagedDisks = array; continue; @@ -285,7 +285,7 @@ internal static A2AReplicationIntentDetails DeserializeA2AReplicationIntentDetai { continue; } - protectionProfile = ProtectionProfileCustomDetails.DeserializeProtectionProfileCustomDetails(property.Value); + protectionProfile = ProtectionProfileCustomDetails.DeserializeProtectionProfileCustomDetails(property.Value, options); continue; } if (property.NameEquals("primaryStagingStorageAccount"u8)) @@ -294,7 +294,7 @@ internal static A2AReplicationIntentDetails DeserializeA2AReplicationIntentDetai { continue; } - primaryStagingStorageAccount = StorageAccountCustomDetails.DeserializeStorageAccountCustomDetails(property.Value); + primaryStagingStorageAccount = StorageAccountCustomDetails.DeserializeStorageAccountCustomDetails(property.Value, options); continue; } if (property.NameEquals("recoveryAvailabilitySet"u8)) @@ -303,7 +303,7 @@ internal static A2AReplicationIntentDetails DeserializeA2AReplicationIntentDetai { continue; } - recoveryAvailabilitySet = RecoveryAvailabilitySetCustomDetails.DeserializeRecoveryAvailabilitySetCustomDetails(property.Value); + recoveryAvailabilitySet = RecoveryAvailabilitySetCustomDetails.DeserializeRecoveryAvailabilitySetCustomDetails(property.Value, options); continue; } if (property.NameEquals("recoveryVirtualNetwork"u8)) @@ -312,7 +312,7 @@ internal static A2AReplicationIntentDetails DeserializeA2AReplicationIntentDetai { continue; } - recoveryVirtualNetwork = RecoveryVirtualNetworkCustomDetails.DeserializeRecoveryVirtualNetworkCustomDetails(property.Value); + recoveryVirtualNetwork = RecoveryVirtualNetworkCustomDetails.DeserializeRecoveryVirtualNetworkCustomDetails(property.Value, options); continue; } if (property.NameEquals("recoveryProximityPlacementGroup"u8)) @@ -321,7 +321,7 @@ internal static A2AReplicationIntentDetails DeserializeA2AReplicationIntentDetai { continue; } - recoveryProximityPlacementGroup = RecoveryProximityPlacementGroupCustomDetails.DeserializeRecoveryProximityPlacementGroupCustomDetails(property.Value); + recoveryProximityPlacementGroup = RecoveryProximityPlacementGroupCustomDetails.DeserializeRecoveryProximityPlacementGroupCustomDetails(property.Value, options); continue; } if (property.NameEquals("autoProtectionOfDataDisk"u8)) @@ -349,7 +349,7 @@ internal static A2AReplicationIntentDetails DeserializeA2AReplicationIntentDetai { continue; } - recoveryBootDiagStorageAccount = StorageAccountCustomDetails.DeserializeStorageAccountCustomDetails(property.Value); + recoveryBootDiagStorageAccount = StorageAccountCustomDetails.DeserializeStorageAccountCustomDetails(property.Value, options); continue; } if (property.NameEquals("diskEncryptionInfo"u8)) @@ -358,7 +358,7 @@ internal static A2AReplicationIntentDetails DeserializeA2AReplicationIntentDetai { continue; } - diskEncryptionInfo = SiteRecoveryDiskEncryptionInfo.DeserializeSiteRecoveryDiskEncryptionInfo(property.Value); + diskEncryptionInfo = SiteRecoveryDiskEncryptionInfo.DeserializeSiteRecoveryDiskEncryptionInfo(property.Value, options); continue; } if (property.NameEquals("recoveryAvailabilityZone"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AReprotectContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AReprotectContent.Serialization.cs index 284248cc9c7ba..3995877fd6347 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AReprotectContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AReprotectContent.Serialization.cs @@ -130,7 +130,7 @@ internal static A2AReprotectContent DeserializeA2AReprotectContent(JsonElement e List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(A2AVmDiskDetails.DeserializeA2AVmDiskDetails(item)); + array.Add(A2AVmDiskDetails.DeserializeA2AVmDiskDetails(item, options)); } vmDisks = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2ASwitchProtectionContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2ASwitchProtectionContent.Serialization.cs index cb3f3c55a1a9e..7cd57d777c1b4 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2ASwitchProtectionContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2ASwitchProtectionContent.Serialization.cs @@ -177,7 +177,7 @@ internal static A2ASwitchProtectionContent DeserializeA2ASwitchProtectionContent List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(A2AVmDiskDetails.DeserializeA2AVmDiskDetails(item)); + array.Add(A2AVmDiskDetails.DeserializeA2AVmDiskDetails(item, options)); } vmDisks = array; continue; @@ -191,7 +191,7 @@ internal static A2ASwitchProtectionContent DeserializeA2ASwitchProtectionContent List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(A2AVmManagedDiskDetails.DeserializeA2AVmManagedDiskDetails(item)); + array.Add(A2AVmManagedDiskDetails.DeserializeA2AVmManagedDiskDetails(item, options)); } vmManagedDisks = array; continue; @@ -275,7 +275,7 @@ internal static A2ASwitchProtectionContent DeserializeA2ASwitchProtectionContent { continue; } - diskEncryptionInfo = SiteRecoveryDiskEncryptionInfo.DeserializeSiteRecoveryDiskEncryptionInfo(property.Value); + diskEncryptionInfo = SiteRecoveryDiskEncryptionInfo.DeserializeSiteRecoveryDiskEncryptionInfo(property.Value, options); continue; } if (property.NameEquals("instanceType"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AUpdateReplicationProtectedItemContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AUpdateReplicationProtectedItemContent.Serialization.cs index 903d0d4aa05dc..e5efec5219c38 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AUpdateReplicationProtectedItemContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AUpdateReplicationProtectedItemContent.Serialization.cs @@ -153,7 +153,7 @@ internal static A2AUpdateReplicationProtectedItemContent DeserializeA2AUpdateRep List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(A2AVmManagedDiskUpdateDetails.DeserializeA2AVmManagedDiskUpdateDetails(item)); + array.Add(A2AVmManagedDiskUpdateDetails.DeserializeA2AVmManagedDiskUpdateDetails(item, options)); } managedDiskUpdateDetails = array; continue; @@ -173,7 +173,7 @@ internal static A2AUpdateReplicationProtectedItemContent DeserializeA2AUpdateRep { continue; } - diskEncryptionInfo = SiteRecoveryDiskEncryptionInfo.DeserializeSiteRecoveryDiskEncryptionInfo(property.Value); + diskEncryptionInfo = SiteRecoveryDiskEncryptionInfo.DeserializeSiteRecoveryDiskEncryptionInfo(property.Value, options); continue; } if (property.NameEquals("tfoAzureVMName"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AVmManagedDiskDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AVmManagedDiskDetails.Serialization.cs index b40d32f1c2bc5..28aa467d6d548 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AVmManagedDiskDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AVmManagedDiskDetails.Serialization.cs @@ -141,7 +141,7 @@ internal static A2AVmManagedDiskDetails DeserializeA2AVmManagedDiskDetails(JsonE { continue; } - diskEncryptionInfo = SiteRecoveryDiskEncryptionInfo.DeserializeSiteRecoveryDiskEncryptionInfo(property.Value); + diskEncryptionInfo = SiteRecoveryDiskEncryptionInfo.DeserializeSiteRecoveryDiskEncryptionInfo(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AVmManagedDiskUpdateDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AVmManagedDiskUpdateDetails.Serialization.cs index d699ac61ffe18..1e87bb25f8726 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AVmManagedDiskUpdateDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AVmManagedDiskUpdateDetails.Serialization.cs @@ -125,7 +125,7 @@ internal static A2AVmManagedDiskUpdateDetails DeserializeA2AVmManagedDiskUpdateD { continue; } - diskEncryptionInfo = SiteRecoveryDiskEncryptionInfo.DeserializeSiteRecoveryDiskEncryptionInfo(property.Value); + diskEncryptionInfo = SiteRecoveryDiskEncryptionInfo.DeserializeSiteRecoveryDiskEncryptionInfo(property.Value, options); continue; } if (property.NameEquals("failoverDiskName"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AVmSyncedConfigDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AVmSyncedConfigDetails.Serialization.cs index 98c6d2ad3712f..322bb648abe58 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AVmSyncedConfigDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/A2AVmSyncedConfigDetails.Serialization.cs @@ -114,7 +114,7 @@ internal static A2AVmSyncedConfigDetails DeserializeA2AVmSyncedConfigDetails(Jso List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryVmEndpoint.DeserializeSiteRecoveryVmEndpoint(item)); + array.Add(SiteRecoveryVmEndpoint.DeserializeSiteRecoveryVmEndpoint(item, options)); } contentEndpoints = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ApplianceMonitoringDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ApplianceMonitoringDetails.Serialization.cs index dad88b788c76e..71d141de550b3 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ApplianceMonitoringDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ApplianceMonitoringDetails.Serialization.cs @@ -115,7 +115,7 @@ internal static ApplianceMonitoringDetails DeserializeApplianceMonitoringDetails { continue; } - cpuDetails = ApplianceResourceDetails.DeserializeApplianceResourceDetails(property.Value); + cpuDetails = ApplianceResourceDetails.DeserializeApplianceResourceDetails(property.Value, options); continue; } if (property.NameEquals("ramDetails"u8)) @@ -124,7 +124,7 @@ internal static ApplianceMonitoringDetails DeserializeApplianceMonitoringDetails { continue; } - ramDetails = ApplianceResourceDetails.DeserializeApplianceResourceDetails(property.Value); + ramDetails = ApplianceResourceDetails.DeserializeApplianceResourceDetails(property.Value, options); continue; } if (property.NameEquals("datastoreSnapshot"u8)) @@ -136,7 +136,7 @@ internal static ApplianceMonitoringDetails DeserializeApplianceMonitoringDetails List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DataStoreUtilizationDetails.DeserializeDataStoreUtilizationDetails(item)); + array.Add(DataStoreUtilizationDetails.DeserializeDataStoreUtilizationDetails(item, options)); } datastoreSnapshot = array; continue; @@ -147,7 +147,7 @@ internal static ApplianceMonitoringDetails DeserializeApplianceMonitoringDetails { continue; } - disksReplicationDetails = ApplianceResourceDetails.DeserializeApplianceResourceDetails(property.Value); + disksReplicationDetails = ApplianceResourceDetails.DeserializeApplianceResourceDetails(property.Value, options); continue; } if (property.NameEquals("esxiNfcBuffer"u8)) @@ -156,7 +156,7 @@ internal static ApplianceMonitoringDetails DeserializeApplianceMonitoringDetails { continue; } - esxiNfcBuffer = ApplianceResourceDetails.DeserializeApplianceResourceDetails(property.Value); + esxiNfcBuffer = ApplianceResourceDetails.DeserializeApplianceResourceDetails(property.Value, options); continue; } if (property.NameEquals("networkBandwidth"u8)) @@ -165,7 +165,7 @@ internal static ApplianceMonitoringDetails DeserializeApplianceMonitoringDetails { continue; } - networkBandwidth = ApplianceResourceDetails.DeserializeApplianceResourceDetails(property.Value); + networkBandwidth = ApplianceResourceDetails.DeserializeApplianceResourceDetails(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/AsrTask.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/AsrTask.Serialization.cs index 5b478bb3e26e7..867f97dd6313f 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/AsrTask.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/AsrTask.Serialization.cs @@ -218,7 +218,7 @@ internal static AsrTask DeserializeAsrTask(JsonElement element, ModelReaderWrite { continue; } - customDetails = SiteRecoveryTaskTypeDetails.DeserializeSiteRecoveryTaskTypeDetails(property.Value); + customDetails = SiteRecoveryTaskTypeDetails.DeserializeSiteRecoveryTaskTypeDetails(property.Value, options); continue; } if (property.NameEquals("groupTaskCustomDetails"u8)) @@ -227,7 +227,7 @@ internal static AsrTask DeserializeAsrTask(JsonElement element, ModelReaderWrite { continue; } - groupTaskCustomDetails = SiteRecoveryGroupTaskDetails.DeserializeSiteRecoveryGroupTaskDetails(property.Value); + groupTaskCustomDetails = SiteRecoveryGroupTaskDetails.DeserializeSiteRecoveryGroupTaskDetails(property.Value, options); continue; } if (property.NameEquals("errors"u8)) @@ -239,7 +239,7 @@ internal static AsrTask DeserializeAsrTask(JsonElement element, ModelReaderWrite List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryJobErrorDetails.DeserializeSiteRecoveryJobErrorDetails(item)); + array.Add(SiteRecoveryJobErrorDetails.DeserializeSiteRecoveryJobErrorDetails(item, options)); } errors = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ConsistencyCheckTaskDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ConsistencyCheckTaskDetails.Serialization.cs index 0074bbd33070e..3afa2759d6040 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ConsistencyCheckTaskDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ConsistencyCheckTaskDetails.Serialization.cs @@ -91,7 +91,7 @@ internal static ConsistencyCheckTaskDetails DeserializeConsistencyCheckTaskDetai List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(InconsistentVmDetails.DeserializeInconsistentVmDetails(item)); + array.Add(InconsistentVmDetails.DeserializeInconsistentVmDetails(item, options)); } vmDetails = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/DisableProtectionContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/DisableProtectionContent.Serialization.cs index 45348472f459f..d721189d2609f 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/DisableProtectionContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/DisableProtectionContent.Serialization.cs @@ -73,7 +73,7 @@ internal static DisableProtectionContent DeserializeDisableProtectionContent(Jso { if (property.NameEquals("properties"u8)) { - properties = DisableProtectionProperties.DeserializeDisableProtectionProperties(property.Value); + properties = DisableProtectionProperties.DeserializeDisableProtectionProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/DisableProtectionProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/DisableProtectionProperties.Serialization.cs index aabc714eb2eea..1366a57e7abbe 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/DisableProtectionProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/DisableProtectionProperties.Serialization.cs @@ -95,7 +95,7 @@ internal static DisableProtectionProperties DeserializeDisableProtectionProperti { continue; } - replicationProviderContent = DisableProtectionProviderSpecificContent.DeserializeDisableProtectionProviderSpecificContent(property.Value); + replicationProviderContent = DisableProtectionProviderSpecificContent.DeserializeDisableProtectionProviderSpecificContent(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/DisableProtectionProviderSpecificContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/DisableProtectionProviderSpecificContent.Serialization.cs index 822085948dfeb..022da1fba30c9 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/DisableProtectionProviderSpecificContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/DisableProtectionProviderSpecificContent.Serialization.cs @@ -70,10 +70,10 @@ internal static DisableProtectionProviderSpecificContent DeserializeDisableProte { switch (discriminator.GetString()) { - case "InMage": return InMageDisableProtectionProviderSpecificContent.DeserializeInMageDisableProtectionProviderSpecificContent(element); + case "InMage": return InMageDisableProtectionProviderSpecificContent.DeserializeInMageDisableProtectionProviderSpecificContent(element, options); } } - return UnknownDisableProtectionProviderSpecificContent.DeserializeUnknownDisableProtectionProviderSpecificContent(element); + return UnknownDisableProtectionProviderSpecificContent.DeserializeUnknownDisableProtectionProviderSpecificContent(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/DiscoverProtectableItemContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/DiscoverProtectableItemContent.Serialization.cs index 97d5be7d6779f..64f907749a6aa 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/DiscoverProtectableItemContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/DiscoverProtectableItemContent.Serialization.cs @@ -80,7 +80,7 @@ internal static DiscoverProtectableItemContent DeserializeDiscoverProtectableIte { continue; } - properties = DiscoverProtectableItemProperties.DeserializeDiscoverProtectableItemProperties(property.Value); + properties = DiscoverProtectableItemProperties.DeserializeDiscoverProtectableItemProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/EnableMigrationProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/EnableMigrationProperties.Serialization.cs index 897dbc2d77ca7..ba94ebe04f638 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/EnableMigrationProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/EnableMigrationProperties.Serialization.cs @@ -81,7 +81,7 @@ internal static EnableMigrationProperties DeserializeEnableMigrationProperties(J } if (property.NameEquals("providerSpecificDetails"u8)) { - providerSpecificDetails = EnableMigrationProviderSpecificContent.DeserializeEnableMigrationProviderSpecificContent(property.Value); + providerSpecificDetails = EnableMigrationProviderSpecificContent.DeserializeEnableMigrationProviderSpecificContent(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/EnableMigrationProviderSpecificContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/EnableMigrationProviderSpecificContent.Serialization.cs index b3c2f42710b5f..265137176d70d 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/EnableMigrationProviderSpecificContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/EnableMigrationProviderSpecificContent.Serialization.cs @@ -70,10 +70,10 @@ internal static EnableMigrationProviderSpecificContent DeserializeEnableMigratio { switch (discriminator.GetString()) { - case "VMwareCbt": return VMwareCbtEnableMigrationContent.DeserializeVMwareCbtEnableMigrationContent(element); + case "VMwareCbt": return VMwareCbtEnableMigrationContent.DeserializeVMwareCbtEnableMigrationContent(element, options); } } - return UnknownEnableMigrationProviderSpecificContent.DeserializeUnknownEnableMigrationProviderSpecificContent(element); + return UnknownEnableMigrationProviderSpecificContent.DeserializeUnknownEnableMigrationProviderSpecificContent(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/EnableProtectionProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/EnableProtectionProperties.Serialization.cs index 85ade150d0f6f..2a3c5475da79d 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/EnableProtectionProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/EnableProtectionProperties.Serialization.cs @@ -110,7 +110,7 @@ internal static EnableProtectionProperties DeserializeEnableProtectionProperties { continue; } - providerSpecificDetails = EnableProtectionProviderSpecificContent.DeserializeEnableProtectionProviderSpecificContent(property.Value); + providerSpecificDetails = EnableProtectionProviderSpecificContent.DeserializeEnableProtectionProviderSpecificContent(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/EnableProtectionProviderSpecificContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/EnableProtectionProviderSpecificContent.Serialization.cs index b4a76ca54dce7..2ea9f59e2536d 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/EnableProtectionProviderSpecificContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/EnableProtectionProviderSpecificContent.Serialization.cs @@ -70,15 +70,15 @@ internal static EnableProtectionProviderSpecificContent DeserializeEnableProtect { switch (discriminator.GetString()) { - case "A2A": return A2AEnableProtectionContent.DeserializeA2AEnableProtectionContent(element); - case "A2ACrossClusterMigration": return A2ACrossClusterMigrationEnableProtectionContent.DeserializeA2ACrossClusterMigrationEnableProtectionContent(element); - case "HyperVReplicaAzure": return HyperVReplicaAzureEnableProtectionContent.DeserializeHyperVReplicaAzureEnableProtectionContent(element); - case "InMage": return InMageEnableProtectionContent.DeserializeInMageEnableProtectionContent(element); - case "InMageAzureV2": return InMageAzureV2EnableProtectionContent.DeserializeInMageAzureV2EnableProtectionContent(element); - case "InMageRcm": return InMageRcmEnableProtectionContent.DeserializeInMageRcmEnableProtectionContent(element); + case "A2A": return A2AEnableProtectionContent.DeserializeA2AEnableProtectionContent(element, options); + case "A2ACrossClusterMigration": return A2ACrossClusterMigrationEnableProtectionContent.DeserializeA2ACrossClusterMigrationEnableProtectionContent(element, options); + case "HyperVReplicaAzure": return HyperVReplicaAzureEnableProtectionContent.DeserializeHyperVReplicaAzureEnableProtectionContent(element, options); + case "InMage": return InMageEnableProtectionContent.DeserializeInMageEnableProtectionContent(element, options); + case "InMageAzureV2": return InMageAzureV2EnableProtectionContent.DeserializeInMageAzureV2EnableProtectionContent(element, options); + case "InMageRcm": return InMageRcmEnableProtectionContent.DeserializeInMageRcmEnableProtectionContent(element, options); } } - return UnknownEnableProtectionProviderSpecificContent.DeserializeUnknownEnableProtectionProviderSpecificContent(element); + return UnknownEnableProtectionProviderSpecificContent.DeserializeUnknownEnableProtectionProviderSpecificContent(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/FabricCreationProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/FabricCreationProperties.Serialization.cs index 121147bf18afd..c997b2e47ba2a 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/FabricCreationProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/FabricCreationProperties.Serialization.cs @@ -80,7 +80,7 @@ internal static FabricCreationProperties DeserializeFabricCreationProperties(Jso { continue; } - customDetails = FabricSpecificCreationContent.DeserializeFabricSpecificCreationContent(property.Value); + customDetails = FabricSpecificCreationContent.DeserializeFabricSpecificCreationContent(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/FabricReplicationGroupTaskDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/FabricReplicationGroupTaskDetails.Serialization.cs index 1d32d31da9fa2..58ba2ca5579ff 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/FabricReplicationGroupTaskDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/FabricReplicationGroupTaskDetails.Serialization.cs @@ -105,7 +105,7 @@ internal static FabricReplicationGroupTaskDetails DeserializeFabricReplicationGr { continue; } - jobTask = SiteRecoveryJobEntity.DeserializeSiteRecoveryJobEntity(property.Value); + jobTask = SiteRecoveryJobEntity.DeserializeSiteRecoveryJobEntity(property.Value, options); continue; } if (property.NameEquals("instanceType"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/FabricSpecificCreateNetworkMappingContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/FabricSpecificCreateNetworkMappingContent.Serialization.cs index addf97bcff314..28eaa609266aa 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/FabricSpecificCreateNetworkMappingContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/FabricSpecificCreateNetworkMappingContent.Serialization.cs @@ -70,12 +70,12 @@ internal static FabricSpecificCreateNetworkMappingContent DeserializeFabricSpeci { switch (discriminator.GetString()) { - case "AzureToAzure": return A2ACreateNetworkMappingContent.DeserializeA2ACreateNetworkMappingContent(element); - case "VmmToAzure": return VmmToAzureCreateNetworkMappingContent.DeserializeVmmToAzureCreateNetworkMappingContent(element); - case "VmmToVmm": return VmmToVmmCreateNetworkMappingContent.DeserializeVmmToVmmCreateNetworkMappingContent(element); + case "AzureToAzure": return A2ACreateNetworkMappingContent.DeserializeA2ACreateNetworkMappingContent(element, options); + case "VmmToAzure": return VmmToAzureCreateNetworkMappingContent.DeserializeVmmToAzureCreateNetworkMappingContent(element, options); + case "VmmToVmm": return VmmToVmmCreateNetworkMappingContent.DeserializeVmmToVmmCreateNetworkMappingContent(element, options); } } - return UnknownFabricSpecificCreateNetworkMappingContent.DeserializeUnknownFabricSpecificCreateNetworkMappingContent(element); + return UnknownFabricSpecificCreateNetworkMappingContent.DeserializeUnknownFabricSpecificCreateNetworkMappingContent(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/FabricSpecificCreationContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/FabricSpecificCreationContent.Serialization.cs index b0ab47fae1a1c..8c42d263f04c1 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/FabricSpecificCreationContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/FabricSpecificCreationContent.Serialization.cs @@ -70,12 +70,12 @@ internal static FabricSpecificCreationContent DeserializeFabricSpecificCreationC { switch (discriminator.GetString()) { - case "Azure": return SiteRecoveryFabricProviderCreationContent.DeserializeSiteRecoveryFabricProviderCreationContent(element); - case "InMageRcm": return InMageRcmFabricCreationContent.DeserializeInMageRcmFabricCreationContent(element); - case "VMwareV2": return VMwareV2FabricCreationContent.DeserializeVMwareV2FabricCreationContent(element); + case "Azure": return SiteRecoveryFabricProviderCreationContent.DeserializeSiteRecoveryFabricProviderCreationContent(element, options); + case "InMageRcm": return InMageRcmFabricCreationContent.DeserializeInMageRcmFabricCreationContent(element, options); + case "VMwareV2": return VMwareV2FabricCreationContent.DeserializeVMwareV2FabricCreationContent(element, options); } } - return UnknownFabricSpecificCreationContent.DeserializeUnknownFabricSpecificCreationContent(element); + return UnknownFabricSpecificCreationContent.DeserializeUnknownFabricSpecificCreationContent(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/FabricSpecificDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/FabricSpecificDetails.Serialization.cs index 8beaaccb79859..f7f04841244c4 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/FabricSpecificDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/FabricSpecificDetails.Serialization.cs @@ -70,15 +70,15 @@ internal static FabricSpecificDetails DeserializeFabricSpecificDetails(JsonEleme { switch (discriminator.GetString()) { - case "Azure": return SiteRecoveryFabricProviderSpecificDetails.DeserializeSiteRecoveryFabricProviderSpecificDetails(element); - case "HyperVSite": return HyperVSiteDetails.DeserializeHyperVSiteDetails(element); - case "InMageRcm": return InMageRcmFabricSpecificDetails.DeserializeInMageRcmFabricSpecificDetails(element); - case "VMM": return VmmFabricDetails.DeserializeVmmFabricDetails(element); - case "VMware": return VMwareDetails.DeserializeVMwareDetails(element); - case "VMwareV2": return VMwareV2FabricSpecificDetails.DeserializeVMwareV2FabricSpecificDetails(element); + case "Azure": return SiteRecoveryFabricProviderSpecificDetails.DeserializeSiteRecoveryFabricProviderSpecificDetails(element, options); + case "HyperVSite": return HyperVSiteDetails.DeserializeHyperVSiteDetails(element, options); + case "InMageRcm": return InMageRcmFabricSpecificDetails.DeserializeInMageRcmFabricSpecificDetails(element, options); + case "VMM": return VmmFabricDetails.DeserializeVmmFabricDetails(element, options); + case "VMware": return VMwareDetails.DeserializeVMwareDetails(element, options); + case "VMwareV2": return VMwareV2FabricSpecificDetails.DeserializeVMwareV2FabricSpecificDetails(element, options); } } - return UnknownFabricSpecificDetails.DeserializeUnknownFabricSpecificDetails(element); + return UnknownFabricSpecificDetails.DeserializeUnknownFabricSpecificDetails(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/FabricSpecificUpdateNetworkMappingContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/FabricSpecificUpdateNetworkMappingContent.Serialization.cs index dc537ee772463..89f05ac03e9f0 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/FabricSpecificUpdateNetworkMappingContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/FabricSpecificUpdateNetworkMappingContent.Serialization.cs @@ -70,12 +70,12 @@ internal static FabricSpecificUpdateNetworkMappingContent DeserializeFabricSpeci { switch (discriminator.GetString()) { - case "AzureToAzure": return A2AUpdateNetworkMappingContent.DeserializeA2AUpdateNetworkMappingContent(element); - case "VmmToAzure": return VmmToAzureUpdateNetworkMappingContent.DeserializeVmmToAzureUpdateNetworkMappingContent(element); - case "VmmToVmm": return VmmToVmmUpdateNetworkMappingContent.DeserializeVmmToVmmUpdateNetworkMappingContent(element); + case "AzureToAzure": return A2AUpdateNetworkMappingContent.DeserializeA2AUpdateNetworkMappingContent(element, options); + case "VmmToAzure": return VmmToAzureUpdateNetworkMappingContent.DeserializeVmmToAzureUpdateNetworkMappingContent(element, options); + case "VmmToVmm": return VmmToVmmUpdateNetworkMappingContent.DeserializeVmmToVmmUpdateNetworkMappingContent(element, options); } } - return UnknownFabricSpecificUpdateNetworkMappingContent.DeserializeUnknownFabricSpecificUpdateNetworkMappingContent(element); + return UnknownFabricSpecificUpdateNetworkMappingContent.DeserializeUnknownFabricSpecificUpdateNetworkMappingContent(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/FailoverJobDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/FailoverJobDetails.Serialization.cs index 0c9219e39afe0..9cddfd5c0a350 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/FailoverJobDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/FailoverJobDetails.Serialization.cs @@ -103,7 +103,7 @@ internal static FailoverJobDetails DeserializeFailoverJobDetails(JsonElement ele List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(FailoverReplicationProtectedItemDetails.DeserializeFailoverReplicationProtectedItemDetails(item)); + array.Add(FailoverReplicationProtectedItemDetails.DeserializeFailoverReplicationProtectedItemDetails(item, options)); } protectedItemDetails = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/FailoverProcessServerContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/FailoverProcessServerContent.Serialization.cs index eff8a78bde168..921606cc6adc7 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/FailoverProcessServerContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/FailoverProcessServerContent.Serialization.cs @@ -80,7 +80,7 @@ internal static FailoverProcessServerContent DeserializeFailoverProcessServerCon { continue; } - properties = FailoverProcessServerProperties.DeserializeFailoverProcessServerProperties(property.Value); + properties = FailoverProcessServerProperties.DeserializeFailoverProcessServerProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaAzureEnableProtectionContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaAzureEnableProtectionContent.Serialization.cs index 35c21795b84e3..6296bf3547563 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaAzureEnableProtectionContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaAzureEnableProtectionContent.Serialization.cs @@ -445,7 +445,7 @@ internal static HyperVReplicaAzureEnableProtectionContent DeserializeHyperVRepli List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(HyperVReplicaAzureDiskDetails.DeserializeHyperVReplicaAzureDiskDetails(item)); + array.Add(HyperVReplicaAzureDiskDetails.DeserializeHyperVReplicaAzureDiskDetails(item, options)); } disksToIncludeForManagedDisks = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaAzureReplicationDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaAzureReplicationDetails.Serialization.cs index c6c4f7edd1994..a07d6b429b790 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaAzureReplicationDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaAzureReplicationDetails.Serialization.cs @@ -328,7 +328,7 @@ internal static HyperVReplicaAzureReplicationDetails DeserializeHyperVReplicaAzu List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryVmDiskDetails.DeserializeSiteRecoveryVmDiskDetails(item)); + array.Add(SiteRecoveryVmDiskDetails.DeserializeSiteRecoveryVmDiskDetails(item, options)); } azureVmDiskDetails = array; continue; @@ -405,7 +405,7 @@ internal static HyperVReplicaAzureReplicationDetails DeserializeHyperVReplicaAzu { continue; } - initialReplicationDetails = InitialReplicationDetails.DeserializeInitialReplicationDetails(property.Value); + initialReplicationDetails = InitialReplicationDetails.DeserializeInitialReplicationDetails(property.Value, options); continue; } if (property.NameEquals("vmNics"u8)) @@ -417,7 +417,7 @@ internal static HyperVReplicaAzureReplicationDetails DeserializeHyperVReplicaAzu List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(VmNicDetails.DeserializeVmNicDetails(item)); + array.Add(VmNicDetails.DeserializeVmNicDetails(item, options)); } vmNics = array; continue; @@ -447,7 +447,7 @@ internal static HyperVReplicaAzureReplicationDetails DeserializeHyperVReplicaAzu { continue; } - osDetails = SiteRecoveryOSDetails.DeserializeSiteRecoveryOSDetails(property.Value); + osDetails = SiteRecoveryOSDetails.DeserializeSiteRecoveryOSDetails(property.Value, options); continue; } if (property.NameEquals("sourceVmRamSizeInMB"u8)) @@ -594,7 +594,7 @@ internal static HyperVReplicaAzureReplicationDetails DeserializeHyperVReplicaAzu List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(HyperVReplicaAzureManagedDiskDetails.DeserializeHyperVReplicaAzureManagedDiskDetails(item)); + array.Add(HyperVReplicaAzureManagedDiskDetails.DeserializeHyperVReplicaAzureManagedDiskDetails(item, options)); } protectedManagedDisks = array; continue; @@ -608,7 +608,7 @@ internal static HyperVReplicaAzureReplicationDetails DeserializeHyperVReplicaAzu List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(OSUpgradeSupportedVersions.DeserializeOSUpgradeSupportedVersions(item)); + array.Add(OSUpgradeSupportedVersions.DeserializeOSUpgradeSupportedVersions(item, options)); } allAvailableOSUpgradeConfigurations = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaAzureUpdateReplicationProtectedItemContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaAzureUpdateReplicationProtectedItemContent.Serialization.cs index f1525fa2edd18..3e611225b1ed6 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaAzureUpdateReplicationProtectedItemContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaAzureUpdateReplicationProtectedItemContent.Serialization.cs @@ -277,7 +277,7 @@ internal static HyperVReplicaAzureUpdateReplicationProtectedItemContent Deserial List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(UpdateDiskContent.DeserializeUpdateDiskContent(item)); + array.Add(UpdateDiskContent.DeserializeUpdateDiskContent(item, options)); } vmDisks = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaBaseReplicationDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaBaseReplicationDetails.Serialization.cs index 33cbb8fbffb41..f63814102c02d 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaBaseReplicationDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaBaseReplicationDetails.Serialization.cs @@ -141,7 +141,7 @@ internal static HyperVReplicaBaseReplicationDetails DeserializeHyperVReplicaBase List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(VmNicDetails.DeserializeVmNicDetails(item)); + array.Add(VmNicDetails.DeserializeVmNicDetails(item, options)); } vmNics = array; continue; @@ -167,7 +167,7 @@ internal static HyperVReplicaBaseReplicationDetails DeserializeHyperVReplicaBase { continue; } - initialReplicationDetails = InitialReplicationDetails.DeserializeInitialReplicationDetails(property.Value); + initialReplicationDetails = InitialReplicationDetails.DeserializeInitialReplicationDetails(property.Value, options); continue; } if (property.NameEquals("vMDiskDetails"u8)) @@ -179,7 +179,7 @@ internal static HyperVReplicaBaseReplicationDetails DeserializeHyperVReplicaBase List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryDiskDetails.DeserializeSiteRecoveryDiskDetails(item)); + array.Add(SiteRecoveryDiskDetails.DeserializeSiteRecoveryDiskDetails(item, options)); } vmDiskDetails = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaBlueReplicationDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaBlueReplicationDetails.Serialization.cs index 3a9bfc6e2c6f7..9957209311874 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaBlueReplicationDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaBlueReplicationDetails.Serialization.cs @@ -141,7 +141,7 @@ internal static HyperVReplicaBlueReplicationDetails DeserializeHyperVReplicaBlue List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(VmNicDetails.DeserializeVmNicDetails(item)); + array.Add(VmNicDetails.DeserializeVmNicDetails(item, options)); } vmNics = array; continue; @@ -167,7 +167,7 @@ internal static HyperVReplicaBlueReplicationDetails DeserializeHyperVReplicaBlue { continue; } - initialReplicationDetails = InitialReplicationDetails.DeserializeInitialReplicationDetails(property.Value); + initialReplicationDetails = InitialReplicationDetails.DeserializeInitialReplicationDetails(property.Value, options); continue; } if (property.NameEquals("vMDiskDetails"u8)) @@ -179,7 +179,7 @@ internal static HyperVReplicaBlueReplicationDetails DeserializeHyperVReplicaBlue List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryDiskDetails.DeserializeSiteRecoveryDiskDetails(item)); + array.Add(SiteRecoveryDiskDetails.DeserializeSiteRecoveryDiskDetails(item, options)); } vmDiskDetails = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaPolicyContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaPolicyContent.Serialization.cs index 068f392647ea6..e8f86df73bf7c 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaPolicyContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaPolicyContent.Serialization.cs @@ -120,7 +120,7 @@ internal static HyperVReplicaPolicyContent DeserializeHyperVReplicaPolicyContent { switch (discriminator.GetString()) { - case "HyperVReplica2012R2": return HyperVReplicaBluePolicyContent.DeserializeHyperVReplicaBluePolicyContent(element); + case "HyperVReplica2012R2": return HyperVReplicaBluePolicyContent.DeserializeHyperVReplicaBluePolicyContent(element, options); } } Optional recoveryPoints = default; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaReplicationDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaReplicationDetails.Serialization.cs index 07ca680ec07c3..ddd821096b95b 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaReplicationDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVReplicaReplicationDetails.Serialization.cs @@ -141,7 +141,7 @@ internal static HyperVReplicaReplicationDetails DeserializeHyperVReplicaReplicat List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(VmNicDetails.DeserializeVmNicDetails(item)); + array.Add(VmNicDetails.DeserializeVmNicDetails(item, options)); } vmNics = array; continue; @@ -167,7 +167,7 @@ internal static HyperVReplicaReplicationDetails DeserializeHyperVReplicaReplicat { continue; } - initialReplicationDetails = InitialReplicationDetails.DeserializeInitialReplicationDetails(property.Value); + initialReplicationDetails = InitialReplicationDetails.DeserializeInitialReplicationDetails(property.Value, options); continue; } if (property.NameEquals("vMDiskDetails"u8)) @@ -179,7 +179,7 @@ internal static HyperVReplicaReplicationDetails DeserializeHyperVReplicaReplicat List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryDiskDetails.DeserializeSiteRecoveryDiskDetails(item)); + array.Add(SiteRecoveryDiskDetails.DeserializeSiteRecoveryDiskDetails(item, options)); } vmDiskDetails = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVSiteDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVSiteDetails.Serialization.cs index a64ed57c4e6e2..94209979e4dea 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVSiteDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVSiteDetails.Serialization.cs @@ -91,7 +91,7 @@ internal static HyperVSiteDetails DeserializeHyperVSiteDetails(JsonElement eleme List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(HyperVHostDetails.DeserializeHyperVHostDetails(item)); + array.Add(HyperVHostDetails.DeserializeHyperVHostDetails(item, options)); } hyperVHosts = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVVmDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVVmDetails.Serialization.cs index 5e273447c9aad..8c6cd607000d6 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVVmDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/HyperVVmDetails.Serialization.cs @@ -115,7 +115,7 @@ internal static HyperVVmDetails DeserializeHyperVVmDetails(JsonElement element, { switch (discriminator.GetString()) { - case "VmmVirtualMachine": return VmmVmDetails.DeserializeVmmVmDetails(element); + case "VmmVirtualMachine": return VmmVmDetails.DeserializeVmmVmDetails(element, options); } } Optional sourceItemId = default; @@ -147,7 +147,7 @@ internal static HyperVVmDetails DeserializeHyperVVmDetails(JsonElement element, { continue; } - osDetails = SiteRecoveryOSDetails.DeserializeSiteRecoveryOSDetails(property.Value); + osDetails = SiteRecoveryOSDetails.DeserializeSiteRecoveryOSDetails(property.Value, options); continue; } if (property.NameEquals("diskDetails"u8)) @@ -159,7 +159,7 @@ internal static HyperVVmDetails DeserializeHyperVVmDetails(JsonElement element, List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryDiskDetails.DeserializeSiteRecoveryDiskDetails(item)); + array.Add(SiteRecoveryDiskDetails.DeserializeSiteRecoveryDiskDetails(item, options)); } diskDetails = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageAzureV2EnableProtectionContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageAzureV2EnableProtectionContent.Serialization.cs index f988e1be6b230..2c7bcce81a6b7 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageAzureV2EnableProtectionContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageAzureV2EnableProtectionContent.Serialization.cs @@ -303,7 +303,7 @@ internal static InMageAzureV2EnableProtectionContent DeserializeInMageAzureV2Ena List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(InMageAzureV2DiskDetails.DeserializeInMageAzureV2DiskDetails(item)); + array.Add(InMageAzureV2DiskDetails.DeserializeInMageAzureV2DiskDetails(item, options)); } disksToInclude = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageAzureV2ReplicationDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageAzureV2ReplicationDetails.Serialization.cs index b96261a80f5e7..66a28a3888f93 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageAzureV2ReplicationDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageAzureV2ReplicationDetails.Serialization.cs @@ -707,7 +707,7 @@ internal static InMageAzureV2ReplicationDetails DeserializeInMageAzureV2Replicat List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(InMageAzureV2ProtectedDiskDetails.DeserializeInMageAzureV2ProtectedDiskDetails(item)); + array.Add(InMageAzureV2ProtectedDiskDetails.DeserializeInMageAzureV2ProtectedDiskDetails(item, options)); } protectedDisks = array; continue; @@ -764,7 +764,7 @@ internal static InMageAzureV2ReplicationDetails DeserializeInMageAzureV2Replicat List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryVmDiskDetails.DeserializeSiteRecoveryVmDiskDetails(item)); + array.Add(SiteRecoveryVmDiskDetails.DeserializeSiteRecoveryVmDiskDetails(item, options)); } azureVmDiskDetails = array; continue; @@ -802,7 +802,7 @@ internal static InMageAzureV2ReplicationDetails DeserializeInMageAzureV2Replicat List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(VmNicDetails.DeserializeVmNicDetails(item)); + array.Add(VmNicDetails.DeserializeVmNicDetails(item, options)); } vmNics = array; continue; @@ -915,7 +915,7 @@ internal static InMageAzureV2ReplicationDetails DeserializeInMageAzureV2Replicat List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryHealthError.DeserializeSiteRecoveryHealthError(item)); + array.Add(SiteRecoveryHealthError.DeserializeSiteRecoveryHealthError(item, options)); } validationErrors = array; continue; @@ -957,7 +957,7 @@ internal static InMageAzureV2ReplicationDetails DeserializeInMageAzureV2Replicat List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(InMageAzureV2ManagedDiskDetails.DeserializeInMageAzureV2ManagedDiskDetails(item)); + array.Add(InMageAzureV2ManagedDiskDetails.DeserializeInMageAzureV2ManagedDiskDetails(item, options)); } protectedManagedDisks = array; continue; @@ -1069,7 +1069,7 @@ internal static InMageAzureV2ReplicationDetails DeserializeInMageAzureV2Replicat List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(InMageAzureV2SwitchProviderBlockingErrorDetails.DeserializeInMageAzureV2SwitchProviderBlockingErrorDetails(item)); + array.Add(InMageAzureV2SwitchProviderBlockingErrorDetails.DeserializeInMageAzureV2SwitchProviderBlockingErrorDetails(item, options)); } switchProviderBlockingErrorDetails = array; continue; @@ -1080,7 +1080,7 @@ internal static InMageAzureV2ReplicationDetails DeserializeInMageAzureV2Replicat { continue; } - switchProviderDetails = InMageAzureV2SwitchProviderDetails.DeserializeInMageAzureV2SwitchProviderDetails(property.Value); + switchProviderDetails = InMageAzureV2SwitchProviderDetails.DeserializeInMageAzureV2SwitchProviderDetails(property.Value, options); continue; } if (property.NameEquals("supportedOSVersions"u8)) @@ -1106,7 +1106,7 @@ internal static InMageAzureV2ReplicationDetails DeserializeInMageAzureV2Replicat List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(OSUpgradeSupportedVersions.DeserializeOSUpgradeSupportedVersions(item)); + array.Add(OSUpgradeSupportedVersions.DeserializeOSUpgradeSupportedVersions(item, options)); } allAvailableOSUpgradeConfigurations = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageAzureV2UpdateReplicationProtectedItemContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageAzureV2UpdateReplicationProtectedItemContent.Serialization.cs index e17938f2256e9..2904e9b684e79 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageAzureV2UpdateReplicationProtectedItemContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageAzureV2UpdateReplicationProtectedItemContent.Serialization.cs @@ -251,7 +251,7 @@ internal static InMageAzureV2UpdateReplicationProtectedItemContent DeserializeIn List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(UpdateDiskContent.DeserializeUpdateDiskContent(item)); + array.Add(UpdateDiskContent.DeserializeUpdateDiskContent(item, options)); } vmDisks = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageDiskDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageDiskDetails.Serialization.cs index d65046fa55818..d91eabfebe8da 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageDiskDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageDiskDetails.Serialization.cs @@ -143,7 +143,7 @@ internal static InMageDiskDetails DeserializeInMageDiskDetails(JsonElement eleme List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryDiskVolumeDetails.DeserializeSiteRecoveryDiskVolumeDetails(item)); + array.Add(SiteRecoveryDiskVolumeDetails.DeserializeSiteRecoveryDiskVolumeDetails(item, options)); } volumeList = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageDiskExclusionContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageDiskExclusionContent.Serialization.cs index 968bf2ae28eb7..074fc37cf4e39 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageDiskExclusionContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageDiskExclusionContent.Serialization.cs @@ -99,7 +99,7 @@ internal static InMageDiskExclusionContent DeserializeInMageDiskExclusionContent List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(InMageVolumeExclusionOptions.DeserializeInMageVolumeExclusionOptions(item)); + array.Add(InMageVolumeExclusionOptions.DeserializeInMageVolumeExclusionOptions(item, options)); } volumeOptions = array; continue; @@ -113,7 +113,7 @@ internal static InMageDiskExclusionContent DeserializeInMageDiskExclusionContent List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(InMageDiskSignatureExclusionOptions.DeserializeInMageDiskSignatureExclusionOptions(item)); + array.Add(InMageDiskSignatureExclusionOptions.DeserializeInMageDiskSignatureExclusionOptions(item, options)); } diskSignatureOptions = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageEnableProtectionContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageEnableProtectionContent.Serialization.cs index 012026ebd6737..a8be12bd0f046 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageEnableProtectionContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageEnableProtectionContent.Serialization.cs @@ -167,7 +167,7 @@ internal static InMageEnableProtectionContent DeserializeInMageEnableProtectionC { continue; } - diskExclusionContent = InMageDiskExclusionContent.DeserializeInMageDiskExclusionContent(property.Value); + diskExclusionContent = InMageDiskExclusionContent.DeserializeInMageDiskExclusionContent(property.Value, options); continue; } if (property.NameEquals("disksToInclude"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageRcmApplianceDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageRcmApplianceDetails.Serialization.cs index 8001ff3af3a2d..df1750fd8df69 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageRcmApplianceDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageRcmApplianceDetails.Serialization.cs @@ -164,7 +164,7 @@ internal static InMageRcmApplianceDetails DeserializeInMageRcmApplianceDetails(J { continue; } - processServer = SiteRecoveryProcessServerDetails.DeserializeSiteRecoveryProcessServerDetails(property.Value); + processServer = SiteRecoveryProcessServerDetails.DeserializeSiteRecoveryProcessServerDetails(property.Value, options); continue; } if (property.NameEquals("rcmProxy"u8)) @@ -173,7 +173,7 @@ internal static InMageRcmApplianceDetails DeserializeInMageRcmApplianceDetails(J { continue; } - rcmProxy = RcmProxyDetails.DeserializeRcmProxyDetails(property.Value); + rcmProxy = RcmProxyDetails.DeserializeRcmProxyDetails(property.Value, options); continue; } if (property.NameEquals("pushInstaller"u8)) @@ -182,7 +182,7 @@ internal static InMageRcmApplianceDetails DeserializeInMageRcmApplianceDetails(J { continue; } - pushInstaller = PushInstallerDetails.DeserializePushInstallerDetails(property.Value); + pushInstaller = PushInstallerDetails.DeserializePushInstallerDetails(property.Value, options); continue; } if (property.NameEquals("replicationAgent"u8)) @@ -191,7 +191,7 @@ internal static InMageRcmApplianceDetails DeserializeInMageRcmApplianceDetails(J { continue; } - replicationAgent = ReplicationAgentDetails.DeserializeReplicationAgentDetails(property.Value); + replicationAgent = ReplicationAgentDetails.DeserializeReplicationAgentDetails(property.Value, options); continue; } if (property.NameEquals("reprotectAgent"u8)) @@ -200,7 +200,7 @@ internal static InMageRcmApplianceDetails DeserializeInMageRcmApplianceDetails(J { continue; } - reprotectAgent = ReprotectAgentDetails.DeserializeReprotectAgentDetails(property.Value); + reprotectAgent = ReprotectAgentDetails.DeserializeReprotectAgentDetails(property.Value, options); continue; } if (property.NameEquals("marsAgent"u8)) @@ -209,7 +209,7 @@ internal static InMageRcmApplianceDetails DeserializeInMageRcmApplianceDetails(J { continue; } - marsAgent = MarsAgentDetails.DeserializeMarsAgentDetails(property.Value); + marsAgent = MarsAgentDetails.DeserializeMarsAgentDetails(property.Value, options); continue; } if (property.NameEquals("dra"u8)) @@ -218,7 +218,7 @@ internal static InMageRcmApplianceDetails DeserializeInMageRcmApplianceDetails(J { continue; } - dra = SiteRecoveryDraDetails.DeserializeSiteRecoveryDraDetails(property.Value); + dra = SiteRecoveryDraDetails.DeserializeSiteRecoveryDraDetails(property.Value, options); continue; } if (property.NameEquals("switchProviderBlockingErrorDetails"u8)) @@ -230,7 +230,7 @@ internal static InMageRcmApplianceDetails DeserializeInMageRcmApplianceDetails(J List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(InMageRcmFabricSwitchProviderBlockingErrorDetails.DeserializeInMageRcmFabricSwitchProviderBlockingErrorDetails(item)); + array.Add(InMageRcmFabricSwitchProviderBlockingErrorDetails.DeserializeInMageRcmFabricSwitchProviderBlockingErrorDetails(item, options)); } switchProviderBlockingErrorDetails = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageRcmApplianceSpecificDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageRcmApplianceSpecificDetails.Serialization.cs index d5838fd130cb1..26a9412a1d634 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageRcmApplianceSpecificDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageRcmApplianceSpecificDetails.Serialization.cs @@ -91,7 +91,7 @@ internal static InMageRcmApplianceSpecificDetails DeserializeInMageRcmApplianceS List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(InMageRcmApplianceDetails.DeserializeInMageRcmApplianceDetails(item)); + array.Add(InMageRcmApplianceDetails.DeserializeInMageRcmApplianceDetails(item, options)); } appliances = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageRcmEnableProtectionContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageRcmEnableProtectionContent.Serialization.cs index 81d72fe568fd6..452d1e3550556 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageRcmEnableProtectionContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageRcmEnableProtectionContent.Serialization.cs @@ -189,7 +189,7 @@ internal static InMageRcmEnableProtectionContent DeserializeInMageRcmEnableProte List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(InMageRcmDiskContent.DeserializeInMageRcmDiskContent(item)); + array.Add(InMageRcmDiskContent.DeserializeInMageRcmDiskContent(item, options)); } disksToInclude = array; continue; @@ -200,7 +200,7 @@ internal static InMageRcmEnableProtectionContent DeserializeInMageRcmEnableProte { continue; } - disksDefault = InMageRcmDisksDefaultContent.DeserializeInMageRcmDisksDefaultContent(property.Value); + disksDefault = InMageRcmDisksDefaultContent.DeserializeInMageRcmDisksDefaultContent(property.Value, options); continue; } if (property.NameEquals("targetResourceGroupId"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageRcmFabricCreationContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageRcmFabricCreationContent.Serialization.cs index 0a0d64f9f49cf..e0be8b31ebb32 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageRcmFabricCreationContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageRcmFabricCreationContent.Serialization.cs @@ -92,7 +92,7 @@ internal static InMageRcmFabricCreationContent DeserializeInMageRcmFabricCreatio } if (property.NameEquals("sourceAgentIdentity"u8)) { - sourceAgentIdentity = IdentityProviderContent.DeserializeIdentityProviderContent(property.Value); + sourceAgentIdentity = IdentityProviderContent.DeserializeIdentityProviderContent(property.Value, options); continue; } if (property.NameEquals("instanceType"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageRcmFabricSpecificDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageRcmFabricSpecificDetails.Serialization.cs index 6a1adc0428a50..f661cbcd49f69 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageRcmFabricSpecificDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageRcmFabricSpecificDetails.Serialization.cs @@ -268,7 +268,7 @@ internal static InMageRcmFabricSpecificDetails DeserializeInMageRcmFabricSpecifi { continue; } - sourceAgentIdentityDetails = IdentityProviderDetails.DeserializeIdentityProviderDetails(property.Value); + sourceAgentIdentityDetails = IdentityProviderDetails.DeserializeIdentityProviderDetails(property.Value, options); continue; } if (property.NameEquals("processServers"u8)) @@ -280,7 +280,7 @@ internal static InMageRcmFabricSpecificDetails DeserializeInMageRcmFabricSpecifi List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryProcessServerDetails.DeserializeSiteRecoveryProcessServerDetails(item)); + array.Add(SiteRecoveryProcessServerDetails.DeserializeSiteRecoveryProcessServerDetails(item, options)); } processServers = array; continue; @@ -294,7 +294,7 @@ internal static InMageRcmFabricSpecificDetails DeserializeInMageRcmFabricSpecifi List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RcmProxyDetails.DeserializeRcmProxyDetails(item)); + array.Add(RcmProxyDetails.DeserializeRcmProxyDetails(item, options)); } rcmProxies = array; continue; @@ -308,7 +308,7 @@ internal static InMageRcmFabricSpecificDetails DeserializeInMageRcmFabricSpecifi List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(PushInstallerDetails.DeserializePushInstallerDetails(item)); + array.Add(PushInstallerDetails.DeserializePushInstallerDetails(item, options)); } pushInstallers = array; continue; @@ -322,7 +322,7 @@ internal static InMageRcmFabricSpecificDetails DeserializeInMageRcmFabricSpecifi List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ReplicationAgentDetails.DeserializeReplicationAgentDetails(item)); + array.Add(ReplicationAgentDetails.DeserializeReplicationAgentDetails(item, options)); } replicationAgents = array; continue; @@ -336,7 +336,7 @@ internal static InMageRcmFabricSpecificDetails DeserializeInMageRcmFabricSpecifi List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ReprotectAgentDetails.DeserializeReprotectAgentDetails(item)); + array.Add(ReprotectAgentDetails.DeserializeReprotectAgentDetails(item, options)); } reprotectAgents = array; continue; @@ -350,7 +350,7 @@ internal static InMageRcmFabricSpecificDetails DeserializeInMageRcmFabricSpecifi List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(MarsAgentDetails.DeserializeMarsAgentDetails(item)); + array.Add(MarsAgentDetails.DeserializeMarsAgentDetails(item, options)); } marsAgents = array; continue; @@ -364,7 +364,7 @@ internal static InMageRcmFabricSpecificDetails DeserializeInMageRcmFabricSpecifi List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryDraDetails.DeserializeSiteRecoveryDraDetails(item)); + array.Add(SiteRecoveryDraDetails.DeserializeSiteRecoveryDraDetails(item, options)); } dras = array; continue; @@ -378,7 +378,7 @@ internal static InMageRcmFabricSpecificDetails DeserializeInMageRcmFabricSpecifi List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryAgentDetails.DeserializeSiteRecoveryAgentDetails(item)); + array.Add(SiteRecoveryAgentDetails.DeserializeSiteRecoveryAgentDetails(item, options)); } agentDetails = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageRcmFailbackProtectedDiskDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageRcmFailbackProtectedDiskDetails.Serialization.cs index eb833ec22b21e..005eae04c3917 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageRcmFailbackProtectedDiskDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageRcmFailbackProtectedDiskDetails.Serialization.cs @@ -192,7 +192,7 @@ internal static InMageRcmFailbackProtectedDiskDetails DeserializeInMageRcmFailba { continue; } - irDetails = InMageRcmFailbackSyncDetails.DeserializeInMageRcmFailbackSyncDetails(property.Value); + irDetails = InMageRcmFailbackSyncDetails.DeserializeInMageRcmFailbackSyncDetails(property.Value, options); continue; } if (property.NameEquals("resyncDetails"u8)) @@ -201,7 +201,7 @@ internal static InMageRcmFailbackProtectedDiskDetails DeserializeInMageRcmFailba { continue; } - resyncDetails = InMageRcmFailbackSyncDetails.DeserializeInMageRcmFailbackSyncDetails(property.Value); + resyncDetails = InMageRcmFailbackSyncDetails.DeserializeInMageRcmFailbackSyncDetails(property.Value, options); continue; } if (property.NameEquals("lastSyncTime"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageRcmFailbackReplicationDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageRcmFailbackReplicationDetails.Serialization.cs index 269ed97b1454b..6053bfd8df4ce 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageRcmFailbackReplicationDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageRcmFailbackReplicationDetails.Serialization.cs @@ -408,7 +408,7 @@ internal static InMageRcmFailbackReplicationDetails DeserializeInMageRcmFailback List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(InMageRcmFailbackProtectedDiskDetails.DeserializeInMageRcmFailbackProtectedDiskDetails(item)); + array.Add(InMageRcmFailbackProtectedDiskDetails.DeserializeInMageRcmFailbackProtectedDiskDetails(item, options)); } protectedDisks = array; continue; @@ -419,7 +419,7 @@ internal static InMageRcmFailbackReplicationDetails DeserializeInMageRcmFailback { continue; } - mobilityAgentDetails = InMageRcmFailbackMobilityAgentDetails.DeserializeInMageRcmFailbackMobilityAgentDetails(property.Value); + mobilityAgentDetails = InMageRcmFailbackMobilityAgentDetails.DeserializeInMageRcmFailbackMobilityAgentDetails(property.Value, options); continue; } if (property.NameEquals("vmNics"u8)) @@ -431,7 +431,7 @@ internal static InMageRcmFailbackReplicationDetails DeserializeInMageRcmFailback List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(InMageRcmFailbackNicDetails.DeserializeInMageRcmFailbackNicDetails(item)); + array.Add(InMageRcmFailbackNicDetails.DeserializeInMageRcmFailbackNicDetails(item, options)); } vmNics = array; continue; @@ -460,7 +460,7 @@ internal static InMageRcmFailbackReplicationDetails DeserializeInMageRcmFailback { continue; } - discoveredVmDetails = InMageRcmFailbackDiscoveredProtectedVmDetails.DeserializeInMageRcmFailbackDiscoveredProtectedVmDetails(property.Value); + discoveredVmDetails = InMageRcmFailbackDiscoveredProtectedVmDetails.DeserializeInMageRcmFailbackDiscoveredProtectedVmDetails(property.Value, options); continue; } if (property.NameEquals("lastUsedPolicyId"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageRcmProtectedDiskDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageRcmProtectedDiskDetails.Serialization.cs index 911599e020a68..38e89b9508e8e 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageRcmProtectedDiskDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageRcmProtectedDiskDetails.Serialization.cs @@ -257,7 +257,7 @@ internal static InMageRcmProtectedDiskDetails DeserializeInMageRcmProtectedDiskD { continue; } - irDetails = InMageRcmSyncDetails.DeserializeInMageRcmSyncDetails(property.Value); + irDetails = InMageRcmSyncDetails.DeserializeInMageRcmSyncDetails(property.Value, options); continue; } if (property.NameEquals("resyncDetails"u8)) @@ -266,7 +266,7 @@ internal static InMageRcmProtectedDiskDetails DeserializeInMageRcmProtectedDiskD { continue; } - resyncDetails = InMageRcmSyncDetails.DeserializeInMageRcmSyncDetails(property.Value); + resyncDetails = InMageRcmSyncDetails.DeserializeInMageRcmSyncDetails(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageRcmReplicationDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageRcmReplicationDetails.Serialization.cs index 82e7dd7659997..bbb0df3ff26d1 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageRcmReplicationDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageRcmReplicationDetails.Serialization.cs @@ -737,7 +737,7 @@ internal static InMageRcmReplicationDetails DeserializeInMageRcmReplicationDetai List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(InMageRcmProtectedDiskDetails.DeserializeInMageRcmProtectedDiskDetails(item)); + array.Add(InMageRcmProtectedDiskDetails.DeserializeInMageRcmProtectedDiskDetails(item, options)); } protectedDisks = array; continue; @@ -762,7 +762,7 @@ internal static InMageRcmReplicationDetails DeserializeInMageRcmReplicationDetai { continue; } - mobilityAgentDetails = InMageRcmMobilityAgentDetails.DeserializeInMageRcmMobilityAgentDetails(property.Value); + mobilityAgentDetails = InMageRcmMobilityAgentDetails.DeserializeInMageRcmMobilityAgentDetails(property.Value, options); continue; } if (property.NameEquals("lastAgentUpgradeErrorDetails"u8)) @@ -774,7 +774,7 @@ internal static InMageRcmReplicationDetails DeserializeInMageRcmReplicationDetai List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(InMageRcmLastAgentUpgradeErrorDetails.DeserializeInMageRcmLastAgentUpgradeErrorDetails(item)); + array.Add(InMageRcmLastAgentUpgradeErrorDetails.DeserializeInMageRcmLastAgentUpgradeErrorDetails(item, options)); } lastAgentUpgradeErrorDetails = array; continue; @@ -788,7 +788,7 @@ internal static InMageRcmReplicationDetails DeserializeInMageRcmReplicationDetai List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(InMageRcmAgentUpgradeBlockingErrorDetails.DeserializeInMageRcmAgentUpgradeBlockingErrorDetails(item)); + array.Add(InMageRcmAgentUpgradeBlockingErrorDetails.DeserializeInMageRcmAgentUpgradeBlockingErrorDetails(item, options)); } agentUpgradeBlockingErrorDetails = array; continue; @@ -802,7 +802,7 @@ internal static InMageRcmReplicationDetails DeserializeInMageRcmReplicationDetai List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(InMageRcmNicDetails.DeserializeInMageRcmNicDetails(item)); + array.Add(InMageRcmNicDetails.DeserializeInMageRcmNicDetails(item, options)); } vmNics = array; continue; @@ -813,7 +813,7 @@ internal static InMageRcmReplicationDetails DeserializeInMageRcmReplicationDetai { continue; } - discoveredVmDetails = InMageRcmDiscoveredProtectedVmDetails.DeserializeInMageRcmDiscoveredProtectedVmDetails(property.Value); + discoveredVmDetails = InMageRcmDiscoveredProtectedVmDetails.DeserializeInMageRcmDiscoveredProtectedVmDetails(property.Value, options); continue; } if (property.NameEquals("instanceType"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageRcmUpdateReplicationProtectedItemContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageRcmUpdateReplicationProtectedItemContent.Serialization.cs index f501901701f10..eeada55cf36a7 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageRcmUpdateReplicationProtectedItemContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageRcmUpdateReplicationProtectedItemContent.Serialization.cs @@ -220,7 +220,7 @@ internal static InMageRcmUpdateReplicationProtectedItemContent DeserializeInMage List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(InMageRcmNicContent.DeserializeInMageRcmNicContent(item)); + array.Add(InMageRcmNicContent.DeserializeInMageRcmNicContent(item, options)); } vmNics = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageReplicationDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageReplicationDetails.Serialization.cs index 9e032de485bd7..cf7b6694419e7 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageReplicationDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageReplicationDetails.Serialization.cs @@ -367,7 +367,7 @@ internal static InMageReplicationDetails DeserializeInMageReplicationDetails(Jso { continue; } - osDetails = SiteRecoveryOSDiskDetails.DeserializeSiteRecoveryOSDiskDetails(property.Value); + osDetails = SiteRecoveryOSDiskDetails.DeserializeSiteRecoveryOSDiskDetails(property.Value, options); continue; } if (property.NameEquals("protectionStage"u8)) @@ -396,7 +396,7 @@ internal static InMageReplicationDetails DeserializeInMageReplicationDetails(Jso { continue; } - resyncDetails = InitialReplicationDetails.DeserializeInitialReplicationDetails(property.Value); + resyncDetails = InitialReplicationDetails.DeserializeInitialReplicationDetails(property.Value, options); continue; } if (property.NameEquals("retentionWindowStart"u8)) @@ -453,7 +453,7 @@ internal static InMageReplicationDetails DeserializeInMageReplicationDetails(Jso List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(InMageProtectedDiskDetails.DeserializeInMageProtectedDiskDetails(item)); + array.Add(InMageProtectedDiskDetails.DeserializeInMageProtectedDiskDetails(item, options)); } protectedDisks = array; continue; @@ -535,7 +535,7 @@ internal static InMageReplicationDetails DeserializeInMageReplicationDetails(Jso { continue; } - agentDetails = InMageAgentDetails.DeserializeInMageAgentDetails(property.Value); + agentDetails = InMageAgentDetails.DeserializeInMageAgentDetails(property.Value, options); continue; } if (property.NameEquals("vCenterInfrastructureId"u8)) @@ -557,7 +557,7 @@ internal static InMageReplicationDetails DeserializeInMageReplicationDetails(Jso List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(VmNicDetails.DeserializeVmNicDetails(item)); + array.Add(VmNicDetails.DeserializeVmNicDetails(item, options)); } vmNics = array; continue; @@ -599,7 +599,7 @@ internal static InMageReplicationDetails DeserializeInMageReplicationDetails(Jso List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryHealthError.DeserializeSiteRecoveryHealthError(item)); + array.Add(SiteRecoveryHealthError.DeserializeSiteRecoveryHealthError(item, options)); } validationErrors = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageReprotectContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageReprotectContent.Serialization.cs index 19955a06782b7..e400dfd823dc3 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageReprotectContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InMageReprotectContent.Serialization.cs @@ -143,7 +143,7 @@ internal static InMageReprotectContent DeserializeInMageReprotectContent(JsonEle { continue; } - diskExclusionContent = InMageDiskExclusionContent.DeserializeInMageDiskExclusionContent(property.Value); + diskExclusionContent = InMageDiskExclusionContent.DeserializeInMageDiskExclusionContent(property.Value, options); continue; } if (property.NameEquals("profileId"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InlineWorkflowTaskDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InlineWorkflowTaskDetails.Serialization.cs index 8e3dcd8d58f46..5e3e01d910729 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InlineWorkflowTaskDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/InlineWorkflowTaskDetails.Serialization.cs @@ -121,7 +121,7 @@ internal static InlineWorkflowTaskDetails DeserializeInlineWorkflowTaskDetails(J List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(AsrTask.DeserializeAsrTask(item)); + array.Add(AsrTask.DeserializeAsrTask(item, options)); } childTasks = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/MarsAgentDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/MarsAgentDetails.Serialization.cs index 011955b45566f..9a08b7fb961f0 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/MarsAgentDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/MarsAgentDetails.Serialization.cs @@ -188,7 +188,7 @@ internal static MarsAgentDetails DeserializeMarsAgentDetails(JsonElement element List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryHealthError.DeserializeSiteRecoveryHealthError(item)); + array.Add(SiteRecoveryHealthError.DeserializeSiteRecoveryHealthError(item, options)); } healthErrors = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/MasterTargetServer.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/MasterTargetServer.Serialization.cs index 8d2452c56a8b6..4509eb76ade27 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/MasterTargetServer.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/MasterTargetServer.Serialization.cs @@ -249,7 +249,7 @@ internal static MasterTargetServer DeserializeMasterTargetServer(JsonElement ele List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryRetentionVolume.DeserializeSiteRecoveryRetentionVolume(item)); + array.Add(SiteRecoveryRetentionVolume.DeserializeSiteRecoveryRetentionVolume(item, options)); } retentionVolumes = array; continue; @@ -263,7 +263,7 @@ internal static MasterTargetServer DeserializeMasterTargetServer(JsonElement ele List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryDataStore.DeserializeSiteRecoveryDataStore(item)); + array.Add(SiteRecoveryDataStore.DeserializeSiteRecoveryDataStore(item, options)); } dataStores = array; continue; @@ -277,7 +277,7 @@ internal static MasterTargetServer DeserializeMasterTargetServer(JsonElement ele List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryHealthError.DeserializeSiteRecoveryHealthError(item)); + array.Add(SiteRecoveryHealthError.DeserializeSiteRecoveryHealthError(item, options)); } validationErrors = array; continue; @@ -291,7 +291,7 @@ internal static MasterTargetServer DeserializeMasterTargetServer(JsonElement ele List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryHealthError.DeserializeSiteRecoveryHealthError(item)); + array.Add(SiteRecoveryHealthError.DeserializeSiteRecoveryHealthError(item, options)); } healthErrors = array; continue; @@ -339,7 +339,7 @@ internal static MasterTargetServer DeserializeMasterTargetServer(JsonElement ele { continue; } - agentVersionDetails = SiteRecoveryVersionDetails.DeserializeSiteRecoveryVersionDetails(property.Value); + agentVersionDetails = SiteRecoveryVersionDetails.DeserializeSiteRecoveryVersionDetails(property.Value, options); continue; } if (property.NameEquals("marsAgentVersionDetails"u8)) @@ -348,7 +348,7 @@ internal static MasterTargetServer DeserializeMasterTargetServer(JsonElement ele { continue; } - marsAgentVersionDetails = SiteRecoveryVersionDetails.DeserializeSiteRecoveryVersionDetails(property.Value); + marsAgentVersionDetails = SiteRecoveryVersionDetails.DeserializeSiteRecoveryVersionDetails(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/MigrateProviderSpecificContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/MigrateProviderSpecificContent.Serialization.cs index 1516aded2babd..e2cc324fb6afb 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/MigrateProviderSpecificContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/MigrateProviderSpecificContent.Serialization.cs @@ -70,10 +70,10 @@ internal static MigrateProviderSpecificContent DeserializeMigrateProviderSpecifi { switch (discriminator.GetString()) { - case "VMwareCbt": return VMwareCbtMigrateContent.DeserializeVMwareCbtMigrateContent(element); + case "VMwareCbt": return VMwareCbtMigrateContent.DeserializeVMwareCbtMigrateContent(element, options); } } - return UnknownMigrateProviderSpecificContent.DeserializeUnknownMigrateProviderSpecificContent(element); + return UnknownMigrateProviderSpecificContent.DeserializeUnknownMigrateProviderSpecificContent(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/MigrationItemResyncContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/MigrationItemResyncContent.Serialization.cs index 3b1c2227fcdac..1e4f7e3df8652 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/MigrationItemResyncContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/MigrationItemResyncContent.Serialization.cs @@ -73,7 +73,7 @@ internal static MigrationItemResyncContent DeserializeMigrationItemResyncContent { if (property.NameEquals("properties"u8)) { - properties = MigrationItemResyncProperties.DeserializeMigrationItemResyncProperties(property.Value); + properties = MigrationItemResyncProperties.DeserializeMigrationItemResyncProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/MigrationItemResyncProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/MigrationItemResyncProperties.Serialization.cs index 3f4a9fd58481e..58002e5e860d7 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/MigrationItemResyncProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/MigrationItemResyncProperties.Serialization.cs @@ -73,7 +73,7 @@ internal static MigrationItemResyncProperties DeserializeMigrationItemResyncProp { if (property.NameEquals("providerSpecificDetails"u8)) { - providerSpecificDetails = ResyncProviderSpecificContent.DeserializeResyncProviderSpecificContent(property.Value); + providerSpecificDetails = ResyncProviderSpecificContent.DeserializeResyncProviderSpecificContent(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/MigrationProviderSpecificSettings.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/MigrationProviderSpecificSettings.Serialization.cs index 8a9c7394b9818..14e05cd13b333 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/MigrationProviderSpecificSettings.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/MigrationProviderSpecificSettings.Serialization.cs @@ -70,10 +70,10 @@ internal static MigrationProviderSpecificSettings DeserializeMigrationProviderSp { switch (discriminator.GetString()) { - case "VMwareCbt": return VMwareCbtMigrationDetails.DeserializeVMwareCbtMigrationDetails(element); + case "VMwareCbt": return VMwareCbtMigrationDetails.DeserializeVMwareCbtMigrationDetails(element, options); } } - return UnknownMigrationProviderSpecificSettings.DeserializeUnknownMigrationProviderSpecificSettings(element); + return UnknownMigrationProviderSpecificSettings.DeserializeUnknownMigrationProviderSpecificSettings(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/MigrationRecoveryPointListResult.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/MigrationRecoveryPointListResult.Serialization.cs index ae822d3f5b348..61956b3b9bef7 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/MigrationRecoveryPointListResult.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/MigrationRecoveryPointListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static MigrationRecoveryPointListResult DeserializeMigrationRecoveryPoi List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(MigrationRecoveryPointData.DeserializeMigrationRecoveryPointData(item)); + array.Add(MigrationRecoveryPointData.DeserializeMigrationRecoveryPointData(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/NetworkMappingFabricSpecificSettings.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/NetworkMappingFabricSpecificSettings.Serialization.cs index 12c056d6806d2..11643cd438109 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/NetworkMappingFabricSpecificSettings.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/NetworkMappingFabricSpecificSettings.Serialization.cs @@ -70,12 +70,12 @@ internal static NetworkMappingFabricSpecificSettings DeserializeNetworkMappingFa { switch (discriminator.GetString()) { - case "AzureToAzure": return A2ANetworkMappingSettings.DeserializeA2ANetworkMappingSettings(element); - case "VmmToAzure": return VmmToAzureNetworkMappingSettings.DeserializeVmmToAzureNetworkMappingSettings(element); - case "VmmToVmm": return VmmToVmmNetworkMappingSettings.DeserializeVmmToVmmNetworkMappingSettings(element); + case "AzureToAzure": return A2ANetworkMappingSettings.DeserializeA2ANetworkMappingSettings(element, options); + case "VmmToAzure": return VmmToAzureNetworkMappingSettings.DeserializeVmmToAzureNetworkMappingSettings(element, options); + case "VmmToVmm": return VmmToVmmNetworkMappingSettings.DeserializeVmmToVmmNetworkMappingSettings(element, options); } } - return UnknownNetworkMappingFabricSpecificSettings.DeserializeUnknownNetworkMappingFabricSpecificSettings(element); + return UnknownNetworkMappingFabricSpecificSettings.DeserializeUnknownNetworkMappingFabricSpecificSettings(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/PauseReplicationContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/PauseReplicationContent.Serialization.cs index 99dc6a5e3c504..c02e97f8e2714 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/PauseReplicationContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/PauseReplicationContent.Serialization.cs @@ -73,7 +73,7 @@ internal static PauseReplicationContent DeserializePauseReplicationContent(JsonE { if (property.NameEquals("properties"u8)) { - properties = PauseReplicationProperties.DeserializePauseReplicationProperties(property.Value); + properties = PauseReplicationProperties.DeserializePauseReplicationProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/PlannedFailoverContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/PlannedFailoverContent.Serialization.cs index 5cfc653c0fb82..56a23e71812f7 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/PlannedFailoverContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/PlannedFailoverContent.Serialization.cs @@ -80,7 +80,7 @@ internal static PlannedFailoverContent DeserializePlannedFailoverContent(JsonEle { continue; } - properties = PlannedFailoverProperties.DeserializePlannedFailoverProperties(property.Value); + properties = PlannedFailoverProperties.DeserializePlannedFailoverProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/PlannedFailoverProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/PlannedFailoverProperties.Serialization.cs index 113f11eddd884..fb38b2518c8e1 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/PlannedFailoverProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/PlannedFailoverProperties.Serialization.cs @@ -91,7 +91,7 @@ internal static PlannedFailoverProperties DeserializePlannedFailoverProperties(J { continue; } - providerSpecificDetails = PlannedFailoverProviderSpecificFailoverContent.DeserializePlannedFailoverProviderSpecificFailoverContent(property.Value); + providerSpecificDetails = PlannedFailoverProviderSpecificFailoverContent.DeserializePlannedFailoverProviderSpecificFailoverContent(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/PlannedFailoverProviderSpecificFailoverContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/PlannedFailoverProviderSpecificFailoverContent.Serialization.cs index 7ed4f3ac92684..c0e7ce428973c 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/PlannedFailoverProviderSpecificFailoverContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/PlannedFailoverProviderSpecificFailoverContent.Serialization.cs @@ -70,12 +70,12 @@ internal static PlannedFailoverProviderSpecificFailoverContent DeserializePlanne { switch (discriminator.GetString()) { - case "HyperVReplicaAzure": return HyperVReplicaAzurePlannedFailoverProviderContent.DeserializeHyperVReplicaAzurePlannedFailoverProviderContent(element); - case "HyperVReplicaAzureFailback": return HyperVReplicaAzureFailbackProviderContent.DeserializeHyperVReplicaAzureFailbackProviderContent(element); - case "InMageRcmFailback": return InMageRcmFailbackPlannedFailoverProviderContent.DeserializeInMageRcmFailbackPlannedFailoverProviderContent(element); + case "HyperVReplicaAzure": return HyperVReplicaAzurePlannedFailoverProviderContent.DeserializeHyperVReplicaAzurePlannedFailoverProviderContent(element, options); + case "HyperVReplicaAzureFailback": return HyperVReplicaAzureFailbackProviderContent.DeserializeHyperVReplicaAzureFailbackProviderContent(element, options); + case "InMageRcmFailback": return InMageRcmFailbackPlannedFailoverProviderContent.DeserializeInMageRcmFailbackPlannedFailoverProviderContent(element, options); } } - return UnknownPlannedFailoverProviderSpecificFailoverContent.DeserializeUnknownPlannedFailoverProviderSpecificFailoverContent(element); + return UnknownPlannedFailoverProviderSpecificFailoverContent.DeserializeUnknownPlannedFailoverProviderSpecificFailoverContent(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/PolicyProviderSpecificContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/PolicyProviderSpecificContent.Serialization.cs index 8ae3774626d0a..813ea532293fc 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/PolicyProviderSpecificContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/PolicyProviderSpecificContent.Serialization.cs @@ -70,19 +70,19 @@ internal static PolicyProviderSpecificContent DeserializePolicyProviderSpecificC { switch (discriminator.GetString()) { - case "A2A": return A2APolicyCreationContent.DeserializeA2APolicyCreationContent(element); - case "A2ACrossClusterMigration": return A2ACrossClusterMigrationPolicyCreationContent.DeserializeA2ACrossClusterMigrationPolicyCreationContent(element); - case "HyperVReplica2012": return HyperVReplicaPolicyContent.DeserializeHyperVReplicaPolicyContent(element); - case "HyperVReplica2012R2": return HyperVReplicaBluePolicyContent.DeserializeHyperVReplicaBluePolicyContent(element); - case "HyperVReplicaAzure": return HyperVReplicaAzurePolicyContent.DeserializeHyperVReplicaAzurePolicyContent(element); - case "InMage": return InMagePolicyContent.DeserializeInMagePolicyContent(element); - case "InMageAzureV2": return InMageAzureV2PolicyContent.DeserializeInMageAzureV2PolicyContent(element); - case "InMageRcm": return InMageRcmPolicyCreationContent.DeserializeInMageRcmPolicyCreationContent(element); - case "InMageRcmFailback": return InMageRcmFailbackPolicyCreationContent.DeserializeInMageRcmFailbackPolicyCreationContent(element); - case "VMwareCbt": return VMwareCbtPolicyCreationContent.DeserializeVMwareCbtPolicyCreationContent(element); + case "A2A": return A2APolicyCreationContent.DeserializeA2APolicyCreationContent(element, options); + case "A2ACrossClusterMigration": return A2ACrossClusterMigrationPolicyCreationContent.DeserializeA2ACrossClusterMigrationPolicyCreationContent(element, options); + case "HyperVReplica2012": return HyperVReplicaPolicyContent.DeserializeHyperVReplicaPolicyContent(element, options); + case "HyperVReplica2012R2": return HyperVReplicaBluePolicyContent.DeserializeHyperVReplicaBluePolicyContent(element, options); + case "HyperVReplicaAzure": return HyperVReplicaAzurePolicyContent.DeserializeHyperVReplicaAzurePolicyContent(element, options); + case "InMage": return InMagePolicyContent.DeserializeInMagePolicyContent(element, options); + case "InMageAzureV2": return InMageAzureV2PolicyContent.DeserializeInMageAzureV2PolicyContent(element, options); + case "InMageRcm": return InMageRcmPolicyCreationContent.DeserializeInMageRcmPolicyCreationContent(element, options); + case "InMageRcmFailback": return InMageRcmFailbackPolicyCreationContent.DeserializeInMageRcmFailbackPolicyCreationContent(element, options); + case "VMwareCbt": return VMwareCbtPolicyCreationContent.DeserializeVMwareCbtPolicyCreationContent(element, options); } } - return UnknownPolicyProviderSpecificContent.DeserializeUnknownPolicyProviderSpecificContent(element); + return UnknownPolicyProviderSpecificContent.DeserializeUnknownPolicyProviderSpecificContent(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/PolicyProviderSpecificDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/PolicyProviderSpecificDetails.Serialization.cs index 6944d4b095c92..4244a119ad7d7 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/PolicyProviderSpecificDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/PolicyProviderSpecificDetails.Serialization.cs @@ -70,20 +70,20 @@ internal static PolicyProviderSpecificDetails DeserializePolicyProviderSpecificD { switch (discriminator.GetString()) { - case "A2A": return A2APolicyDetails.DeserializeA2APolicyDetails(element); - case "HyperVReplica2012": return HyperVReplicaPolicyDetails.DeserializeHyperVReplicaPolicyDetails(element); - case "HyperVReplica2012R2": return HyperVReplicaBluePolicyDetails.DeserializeHyperVReplicaBluePolicyDetails(element); - case "HyperVReplicaAzure": return HyperVReplicaAzurePolicyDetails.DeserializeHyperVReplicaAzurePolicyDetails(element); - case "HyperVReplicaBasePolicyDetails": return HyperVReplicaBasePolicyDetails.DeserializeHyperVReplicaBasePolicyDetails(element); - case "InMage": return InMagePolicyDetails.DeserializeInMagePolicyDetails(element); - case "InMageAzureV2": return InMageAzureV2PolicyDetails.DeserializeInMageAzureV2PolicyDetails(element); - case "InMageBasePolicyDetails": return InMageBasePolicyDetails.DeserializeInMageBasePolicyDetails(element); - case "InMageRcm": return InMageRcmPolicyDetails.DeserializeInMageRcmPolicyDetails(element); - case "InMageRcmFailback": return InMageRcmFailbackPolicyDetails.DeserializeInMageRcmFailbackPolicyDetails(element); - case "VMwareCbt": return VMwareCbtPolicyDetails.DeserializeVMwareCbtPolicyDetails(element); + case "A2A": return A2APolicyDetails.DeserializeA2APolicyDetails(element, options); + case "HyperVReplica2012": return HyperVReplicaPolicyDetails.DeserializeHyperVReplicaPolicyDetails(element, options); + case "HyperVReplica2012R2": return HyperVReplicaBluePolicyDetails.DeserializeHyperVReplicaBluePolicyDetails(element, options); + case "HyperVReplicaAzure": return HyperVReplicaAzurePolicyDetails.DeserializeHyperVReplicaAzurePolicyDetails(element, options); + case "HyperVReplicaBasePolicyDetails": return HyperVReplicaBasePolicyDetails.DeserializeHyperVReplicaBasePolicyDetails(element, options); + case "InMage": return InMagePolicyDetails.DeserializeInMagePolicyDetails(element, options); + case "InMageAzureV2": return InMageAzureV2PolicyDetails.DeserializeInMageAzureV2PolicyDetails(element, options); + case "InMageBasePolicyDetails": return InMageBasePolicyDetails.DeserializeInMageBasePolicyDetails(element, options); + case "InMageRcm": return InMageRcmPolicyDetails.DeserializeInMageRcmPolicyDetails(element, options); + case "InMageRcmFailback": return InMageRcmFailbackPolicyDetails.DeserializeInMageRcmFailbackPolicyDetails(element, options); + case "VMwareCbt": return VMwareCbtPolicyDetails.DeserializeVMwareCbtPolicyDetails(element, options); } } - return UnknownPolicyProviderSpecificDetails.DeserializeUnknownPolicyProviderSpecificDetails(element); + return UnknownPolicyProviderSpecificDetails.DeserializeUnknownPolicyProviderSpecificDetails(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ProtectionContainerMappingCreateOrUpdateContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ProtectionContainerMappingCreateOrUpdateContent.Serialization.cs index 3623c381c27a3..feb01e75427f1 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ProtectionContainerMappingCreateOrUpdateContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ProtectionContainerMappingCreateOrUpdateContent.Serialization.cs @@ -80,7 +80,7 @@ internal static ProtectionContainerMappingCreateOrUpdateContent DeserializeProte { continue; } - properties = SiteRecoveryCreateProtectionContainerMappingProperties.DeserializeSiteRecoveryCreateProtectionContainerMappingProperties(property.Value); + properties = SiteRecoveryCreateProtectionContainerMappingProperties.DeserializeSiteRecoveryCreateProtectionContainerMappingProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ProtectionContainerMappingListResult.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ProtectionContainerMappingListResult.Serialization.cs index fefefd5e83fc8..cfdc5f80a690a 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ProtectionContainerMappingListResult.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ProtectionContainerMappingListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ProtectionContainerMappingListResult DeserializeProtectionContai List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ProtectionContainerMappingData.DeserializeProtectionContainerMappingData(item)); + array.Add(ProtectionContainerMappingData.DeserializeProtectionContainerMappingData(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ProtectionContainerMappingPatch.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ProtectionContainerMappingPatch.Serialization.cs index a8f9d175ea964..f3fa1db17c8e4 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ProtectionContainerMappingPatch.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ProtectionContainerMappingPatch.Serialization.cs @@ -80,7 +80,7 @@ internal static ProtectionContainerMappingPatch DeserializeProtectionContainerMa { continue; } - properties = UpdateProtectionContainerMappingContentProperties.DeserializeUpdateProtectionContainerMappingContentProperties(property.Value); + properties = UpdateProtectionContainerMappingContentProperties.DeserializeUpdateProtectionContainerMappingContentProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ProtectionContainerMappingProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ProtectionContainerMappingProperties.Serialization.cs index 844d34734e98c..a32d2f5bcd23a 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ProtectionContainerMappingProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ProtectionContainerMappingProperties.Serialization.cs @@ -159,7 +159,7 @@ internal static ProtectionContainerMappingProperties DeserializeProtectionContai { continue; } - providerSpecificDetails = ProtectionContainerMappingProviderSpecificDetails.DeserializeProtectionContainerMappingProviderSpecificDetails(property.Value); + providerSpecificDetails = ProtectionContainerMappingProviderSpecificDetails.DeserializeProtectionContainerMappingProviderSpecificDetails(property.Value, options); continue; } if (property.NameEquals("health"u8)) @@ -176,7 +176,7 @@ internal static ProtectionContainerMappingProperties DeserializeProtectionContai List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryHealthError.DeserializeSiteRecoveryHealthError(item)); + array.Add(SiteRecoveryHealthError.DeserializeSiteRecoveryHealthError(item, options)); } healthErrorDetails = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ProtectionContainerMappingProviderSpecificDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ProtectionContainerMappingProviderSpecificDetails.Serialization.cs index 0302480c5adfa..7e8ba36cc148c 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ProtectionContainerMappingProviderSpecificDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ProtectionContainerMappingProviderSpecificDetails.Serialization.cs @@ -70,12 +70,12 @@ internal static ProtectionContainerMappingProviderSpecificDetails DeserializePro { switch (discriminator.GetString()) { - case "A2A": return A2AProtectionContainerMappingDetails.DeserializeA2AProtectionContainerMappingDetails(element); - case "InMageRcm": return InMageRcmProtectionContainerMappingDetails.DeserializeInMageRcmProtectionContainerMappingDetails(element); - case "VMwareCbt": return VMwareCbtProtectionContainerMappingDetails.DeserializeVMwareCbtProtectionContainerMappingDetails(element); + case "A2A": return A2AProtectionContainerMappingDetails.DeserializeA2AProtectionContainerMappingDetails(element, options); + case "InMageRcm": return InMageRcmProtectionContainerMappingDetails.DeserializeInMageRcmProtectionContainerMappingDetails(element, options); + case "VMwareCbt": return VMwareCbtProtectionContainerMappingDetails.DeserializeVMwareCbtProtectionContainerMappingDetails(element, options); } } - return UnknownProtectionContainerMappingProviderSpecificDetails.DeserializeUnknownProtectionContainerMappingProviderSpecificDetails(element); + return UnknownProtectionContainerMappingProviderSpecificDetails.DeserializeUnknownProtectionContainerMappingProviderSpecificDetails(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ProtectionProfileCustomDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ProtectionProfileCustomDetails.Serialization.cs index 432168604c95b..8f3a3c111ac43 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ProtectionProfileCustomDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ProtectionProfileCustomDetails.Serialization.cs @@ -70,11 +70,11 @@ internal static ProtectionProfileCustomDetails DeserializeProtectionProfileCusto { switch (discriminator.GetString()) { - case "Existing": return ExistingProtectionProfile.DeserializeExistingProtectionProfile(element); - case "New": return NewProtectionProfile.DeserializeNewProtectionProfile(element); + case "Existing": return ExistingProtectionProfile.DeserializeExistingProtectionProfile(element, options); + case "New": return NewProtectionProfile.DeserializeNewProtectionProfile(element, options); } } - return UnknownProtectionProfileCustomDetails.DeserializeUnknownProtectionProfileCustomDetails(element); + return UnknownProtectionProfileCustomDetails.DeserializeUnknownProtectionProfileCustomDetails(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ProviderSpecificRecoveryPointDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ProviderSpecificRecoveryPointDetails.Serialization.cs index 3cb6d6d96bcf1..9dce4d57bde66 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ProviderSpecificRecoveryPointDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ProviderSpecificRecoveryPointDetails.Serialization.cs @@ -70,12 +70,12 @@ internal static ProviderSpecificRecoveryPointDetails DeserializeProviderSpecific { switch (discriminator.GetString()) { - case "A2A": return A2ARecoveryPointDetails.DeserializeA2ARecoveryPointDetails(element); - case "InMageAzureV2": return InMageAzureV2RecoveryPointDetails.DeserializeInMageAzureV2RecoveryPointDetails(element); - case "InMageRcm": return InMageRcmRecoveryPointDetails.DeserializeInMageRcmRecoveryPointDetails(element); + case "A2A": return A2ARecoveryPointDetails.DeserializeA2ARecoveryPointDetails(element, options); + case "InMageAzureV2": return InMageAzureV2RecoveryPointDetails.DeserializeInMageAzureV2RecoveryPointDetails(element, options); + case "InMageRcm": return InMageRcmRecoveryPointDetails.DeserializeInMageRcmRecoveryPointDetails(element, options); } } - return UnknownProviderSpecificRecoveryPointDetails.DeserializeUnknownProviderSpecificRecoveryPointDetails(element); + return UnknownProviderSpecificRecoveryPointDetails.DeserializeUnknownProviderSpecificRecoveryPointDetails(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/PushInstallerDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/PushInstallerDetails.Serialization.cs index bc092a8350e1d..6f0c993a29781 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/PushInstallerDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/PushInstallerDetails.Serialization.cs @@ -188,7 +188,7 @@ internal static PushInstallerDetails DeserializePushInstallerDetails(JsonElement List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryHealthError.DeserializeSiteRecoveryHealthError(item)); + array.Add(SiteRecoveryHealthError.DeserializeSiteRecoveryHealthError(item, options)); } healthErrors = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RcmProxyDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RcmProxyDetails.Serialization.cs index 9f9fca8736788..56a860be53f51 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RcmProxyDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RcmProxyDetails.Serialization.cs @@ -199,7 +199,7 @@ internal static RcmProxyDetails DeserializeRcmProxyDetails(JsonElement element, List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryHealthError.DeserializeSiteRecoveryHealthError(item)); + array.Add(SiteRecoveryHealthError.DeserializeSiteRecoveryHealthError(item, options)); } healthErrors = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryAvailabilitySetCustomDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryAvailabilitySetCustomDetails.Serialization.cs index ecbe26894af6e..e4118e0e4815d 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryAvailabilitySetCustomDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryAvailabilitySetCustomDetails.Serialization.cs @@ -70,10 +70,10 @@ internal static RecoveryAvailabilitySetCustomDetails DeserializeRecoveryAvailabi { switch (discriminator.GetString()) { - case "Existing": return ExistingRecoveryAvailabilitySet.DeserializeExistingRecoveryAvailabilitySet(element); + case "Existing": return ExistingRecoveryAvailabilitySet.DeserializeExistingRecoveryAvailabilitySet(element, options); } } - return UnknownRecoveryAvailabilitySetCustomDetails.DeserializeUnknownRecoveryAvailabilitySetCustomDetails(element); + return UnknownRecoveryAvailabilitySetCustomDetails.DeserializeUnknownRecoveryAvailabilitySetCustomDetails(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanA2AContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanA2AContent.Serialization.cs index a9cfd8f9e62b4..58ad80c2d8539 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanA2AContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanA2AContent.Serialization.cs @@ -111,7 +111,7 @@ internal static RecoveryPlanA2AContent DeserializeRecoveryPlanA2AContent(JsonEle { continue; } - primaryExtendedLocation = SiteRecoveryExtendedLocation.DeserializeSiteRecoveryExtendedLocation(property.Value); + primaryExtendedLocation = SiteRecoveryExtendedLocation.DeserializeSiteRecoveryExtendedLocation(property.Value, options); continue; } if (property.NameEquals("recoveryExtendedLocation"u8)) @@ -120,7 +120,7 @@ internal static RecoveryPlanA2AContent DeserializeRecoveryPlanA2AContent(JsonEle { continue; } - recoveryExtendedLocation = SiteRecoveryExtendedLocation.DeserializeSiteRecoveryExtendedLocation(property.Value); + recoveryExtendedLocation = SiteRecoveryExtendedLocation.DeserializeSiteRecoveryExtendedLocation(property.Value, options); continue; } if (property.NameEquals("instanceType"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanA2ADetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanA2ADetails.Serialization.cs index 13fb3ee896762..157b78d98ae91 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanA2ADetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanA2ADetails.Serialization.cs @@ -111,7 +111,7 @@ internal static RecoveryPlanA2ADetails DeserializeRecoveryPlanA2ADetails(JsonEle { continue; } - primaryExtendedLocation = SiteRecoveryExtendedLocation.DeserializeSiteRecoveryExtendedLocation(property.Value); + primaryExtendedLocation = SiteRecoveryExtendedLocation.DeserializeSiteRecoveryExtendedLocation(property.Value, options); continue; } if (property.NameEquals("recoveryExtendedLocation"u8)) @@ -120,7 +120,7 @@ internal static RecoveryPlanA2ADetails DeserializeRecoveryPlanA2ADetails(JsonEle { continue; } - recoveryExtendedLocation = SiteRecoveryExtendedLocation.DeserializeSiteRecoveryExtendedLocation(property.Value); + recoveryExtendedLocation = SiteRecoveryExtendedLocation.DeserializeSiteRecoveryExtendedLocation(property.Value, options); continue; } if (property.NameEquals("instanceType"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanAction.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanAction.Serialization.cs index 557188f29ba50..0570c73791160 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanAction.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanAction.Serialization.cs @@ -117,7 +117,7 @@ internal static RecoveryPlanAction DeserializeRecoveryPlanAction(JsonElement ele } if (property.NameEquals("customDetails"u8)) { - customDetails = RecoveryPlanActionDetails.DeserializeRecoveryPlanActionDetails(property.Value); + customDetails = RecoveryPlanActionDetails.DeserializeRecoveryPlanActionDetails(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanActionDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanActionDetails.Serialization.cs index d3509cda81c16..5d449097b13cc 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanActionDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanActionDetails.Serialization.cs @@ -70,12 +70,12 @@ internal static RecoveryPlanActionDetails DeserializeRecoveryPlanActionDetails(J { switch (discriminator.GetString()) { - case "AutomationRunbookActionDetails": return RecoveryPlanAutomationRunbookActionDetails.DeserializeRecoveryPlanAutomationRunbookActionDetails(element); - case "ManualActionDetails": return RecoveryPlanManualActionDetails.DeserializeRecoveryPlanManualActionDetails(element); - case "ScriptActionDetails": return RecoveryPlanScriptActionDetails.DeserializeRecoveryPlanScriptActionDetails(element); + case "AutomationRunbookActionDetails": return RecoveryPlanAutomationRunbookActionDetails.DeserializeRecoveryPlanAutomationRunbookActionDetails(element, options); + case "ManualActionDetails": return RecoveryPlanManualActionDetails.DeserializeRecoveryPlanManualActionDetails(element, options); + case "ScriptActionDetails": return RecoveryPlanScriptActionDetails.DeserializeRecoveryPlanScriptActionDetails(element, options); } } - return UnknownRecoveryPlanActionDetails.DeserializeUnknownRecoveryPlanActionDetails(element); + return UnknownRecoveryPlanActionDetails.DeserializeUnknownRecoveryPlanActionDetails(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanGroupTaskDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanGroupTaskDetails.Serialization.cs index 00784f064697d..aedd469c11770 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanGroupTaskDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanGroupTaskDetails.Serialization.cs @@ -95,7 +95,7 @@ internal static RecoveryPlanGroupTaskDetails DeserializeRecoveryPlanGroupTaskDet { switch (discriminator.GetString()) { - case "RecoveryPlanShutdownGroupTaskDetails": return RecoveryPlanShutdownGroupTaskDetails.DeserializeRecoveryPlanShutdownGroupTaskDetails(element); + case "RecoveryPlanShutdownGroupTaskDetails": return RecoveryPlanShutdownGroupTaskDetails.DeserializeRecoveryPlanShutdownGroupTaskDetails(element, options); } } Optional name = default; @@ -136,7 +136,7 @@ internal static RecoveryPlanGroupTaskDetails DeserializeRecoveryPlanGroupTaskDet List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(AsrTask.DeserializeAsrTask(item)); + array.Add(AsrTask.DeserializeAsrTask(item, options)); } childTasks = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanPlannedFailoverContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanPlannedFailoverContent.Serialization.cs index 2c5d755cc3ded..a5b39267e11a6 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanPlannedFailoverContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanPlannedFailoverContent.Serialization.cs @@ -73,7 +73,7 @@ internal static RecoveryPlanPlannedFailoverContent DeserializeRecoveryPlanPlanne { if (property.NameEquals("properties"u8)) { - properties = RecoveryPlanPlannedFailoverProperties.DeserializeRecoveryPlanPlannedFailoverProperties(property.Value); + properties = RecoveryPlanPlannedFailoverProperties.DeserializeRecoveryPlanPlannedFailoverProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanPlannedFailoverProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanPlannedFailoverProperties.Serialization.cs index d92e6ee56b84d..db072caf4ebde 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanPlannedFailoverProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanPlannedFailoverProperties.Serialization.cs @@ -96,7 +96,7 @@ internal static RecoveryPlanPlannedFailoverProperties DeserializeRecoveryPlanPla List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RecoveryPlanProviderSpecificFailoverContent.DeserializeRecoveryPlanProviderSpecificFailoverContent(item)); + array.Add(RecoveryPlanProviderSpecificFailoverContent.DeserializeRecoveryPlanProviderSpecificFailoverContent(item, options)); } providerSpecificDetails = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanProviderSpecificContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanProviderSpecificContent.Serialization.cs index 41c885569c3ee..aa7daf644031d 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanProviderSpecificContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanProviderSpecificContent.Serialization.cs @@ -70,10 +70,10 @@ internal static RecoveryPlanProviderSpecificContent DeserializeRecoveryPlanProvi { switch (discriminator.GetString()) { - case "A2A": return RecoveryPlanA2AContent.DeserializeRecoveryPlanA2AContent(element); + case "A2A": return RecoveryPlanA2AContent.DeserializeRecoveryPlanA2AContent(element, options); } } - return UnknownRecoveryPlanProviderSpecificContent.DeserializeUnknownRecoveryPlanProviderSpecificContent(element); + return UnknownRecoveryPlanProviderSpecificContent.DeserializeUnknownRecoveryPlanProviderSpecificContent(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanProviderSpecificDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanProviderSpecificDetails.Serialization.cs index dd59aad2ee47d..250b86353d8c6 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanProviderSpecificDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanProviderSpecificDetails.Serialization.cs @@ -70,10 +70,10 @@ internal static RecoveryPlanProviderSpecificDetails DeserializeRecoveryPlanProvi { switch (discriminator.GetString()) { - case "A2A": return RecoveryPlanA2ADetails.DeserializeRecoveryPlanA2ADetails(element); + case "A2A": return RecoveryPlanA2ADetails.DeserializeRecoveryPlanA2ADetails(element, options); } } - return UnknownRecoveryPlanProviderSpecificDetails.DeserializeUnknownRecoveryPlanProviderSpecificDetails(element); + return UnknownRecoveryPlanProviderSpecificDetails.DeserializeUnknownRecoveryPlanProviderSpecificDetails(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanProviderSpecificFailoverContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanProviderSpecificFailoverContent.Serialization.cs index 4b4db3ae98bab..b0d6ca9152d2c 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanProviderSpecificFailoverContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanProviderSpecificFailoverContent.Serialization.cs @@ -70,16 +70,16 @@ internal static RecoveryPlanProviderSpecificFailoverContent DeserializeRecoveryP { switch (discriminator.GetString()) { - case "A2A": return RecoveryPlanA2AFailoverContent.DeserializeRecoveryPlanA2AFailoverContent(element); - case "HyperVReplicaAzure": return RecoveryPlanHyperVReplicaAzureFailoverContent.DeserializeRecoveryPlanHyperVReplicaAzureFailoverContent(element); - case "HyperVReplicaAzureFailback": return RecoveryPlanHyperVReplicaAzureFailbackContent.DeserializeRecoveryPlanHyperVReplicaAzureFailbackContent(element); - case "InMage": return RecoveryPlanInMageFailoverContent.DeserializeRecoveryPlanInMageFailoverContent(element); - case "InMageAzureV2": return RecoveryPlanInMageAzureV2FailoverContent.DeserializeRecoveryPlanInMageAzureV2FailoverContent(element); - case "InMageRcm": return RecoveryPlanInMageRcmFailoverContent.DeserializeRecoveryPlanInMageRcmFailoverContent(element); - case "InMageRcmFailback": return RecoveryPlanInMageRcmFailbackFailoverContent.DeserializeRecoveryPlanInMageRcmFailbackFailoverContent(element); + case "A2A": return RecoveryPlanA2AFailoverContent.DeserializeRecoveryPlanA2AFailoverContent(element, options); + case "HyperVReplicaAzure": return RecoveryPlanHyperVReplicaAzureFailoverContent.DeserializeRecoveryPlanHyperVReplicaAzureFailoverContent(element, options); + case "HyperVReplicaAzureFailback": return RecoveryPlanHyperVReplicaAzureFailbackContent.DeserializeRecoveryPlanHyperVReplicaAzureFailbackContent(element, options); + case "InMage": return RecoveryPlanInMageFailoverContent.DeserializeRecoveryPlanInMageFailoverContent(element, options); + case "InMageAzureV2": return RecoveryPlanInMageAzureV2FailoverContent.DeserializeRecoveryPlanInMageAzureV2FailoverContent(element, options); + case "InMageRcm": return RecoveryPlanInMageRcmFailoverContent.DeserializeRecoveryPlanInMageRcmFailoverContent(element, options); + case "InMageRcmFailback": return RecoveryPlanInMageRcmFailbackFailoverContent.DeserializeRecoveryPlanInMageRcmFailbackFailoverContent(element, options); } } - return UnknownRecoveryPlanProviderSpecificFailoverContent.DeserializeUnknownRecoveryPlanProviderSpecificFailoverContent(element); + return UnknownRecoveryPlanProviderSpecificFailoverContent.DeserializeUnknownRecoveryPlanProviderSpecificFailoverContent(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanShutdownGroupTaskDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanShutdownGroupTaskDetails.Serialization.cs index e5ad0ed9bd920..f712fb013aec6 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanShutdownGroupTaskDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanShutdownGroupTaskDetails.Serialization.cs @@ -129,7 +129,7 @@ internal static RecoveryPlanShutdownGroupTaskDetails DeserializeRecoveryPlanShut List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(AsrTask.DeserializeAsrTask(item)); + array.Add(AsrTask.DeserializeAsrTask(item, options)); } childTasks = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanTestFailoverCleanupContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanTestFailoverCleanupContent.Serialization.cs index 7251e006b890a..d7f562e8cbadc 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanTestFailoverCleanupContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanTestFailoverCleanupContent.Serialization.cs @@ -73,7 +73,7 @@ internal static RecoveryPlanTestFailoverCleanupContent DeserializeRecoveryPlanTe { if (property.NameEquals("properties"u8)) { - properties = RecoveryPlanTestFailoverCleanupProperties.DeserializeRecoveryPlanTestFailoverCleanupProperties(property.Value); + properties = RecoveryPlanTestFailoverCleanupProperties.DeserializeRecoveryPlanTestFailoverCleanupProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanTestFailoverContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanTestFailoverContent.Serialization.cs index 4bbec91b8890f..e1c5ca208f277 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanTestFailoverContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanTestFailoverContent.Serialization.cs @@ -73,7 +73,7 @@ internal static RecoveryPlanTestFailoverContent DeserializeRecoveryPlanTestFailo { if (property.NameEquals("properties"u8)) { - properties = RecoveryPlanTestFailoverProperties.DeserializeRecoveryPlanTestFailoverProperties(property.Value); + properties = RecoveryPlanTestFailoverProperties.DeserializeRecoveryPlanTestFailoverProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanTestFailoverProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanTestFailoverProperties.Serialization.cs index b50af183202e0..73b94a6c81eed 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanTestFailoverProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanTestFailoverProperties.Serialization.cs @@ -119,7 +119,7 @@ internal static RecoveryPlanTestFailoverProperties DeserializeRecoveryPlanTestFa List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RecoveryPlanProviderSpecificFailoverContent.DeserializeRecoveryPlanProviderSpecificFailoverContent(item)); + array.Add(RecoveryPlanProviderSpecificFailoverContent.DeserializeRecoveryPlanProviderSpecificFailoverContent(item, options)); } providerSpecificDetails = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanUnplannedFailoverContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanUnplannedFailoverContent.Serialization.cs index c95f4a0384feb..fdfeaf222b59e 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanUnplannedFailoverContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanUnplannedFailoverContent.Serialization.cs @@ -73,7 +73,7 @@ internal static RecoveryPlanUnplannedFailoverContent DeserializeRecoveryPlanUnpl { if (property.NameEquals("properties"u8)) { - properties = RecoveryPlanUnplannedFailoverProperties.DeserializeRecoveryPlanUnplannedFailoverProperties(property.Value); + properties = RecoveryPlanUnplannedFailoverProperties.DeserializeRecoveryPlanUnplannedFailoverProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanUnplannedFailoverProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanUnplannedFailoverProperties.Serialization.cs index 8e9396338ec55..1d07ffc944860 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanUnplannedFailoverProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryPlanUnplannedFailoverProperties.Serialization.cs @@ -104,7 +104,7 @@ internal static RecoveryPlanUnplannedFailoverProperties DeserializeRecoveryPlanU List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RecoveryPlanProviderSpecificFailoverContent.DeserializeRecoveryPlanProviderSpecificFailoverContent(item)); + array.Add(RecoveryPlanProviderSpecificFailoverContent.DeserializeRecoveryPlanProviderSpecificFailoverContent(item, options)); } providerSpecificDetails = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryProximityPlacementGroupCustomDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryProximityPlacementGroupCustomDetails.Serialization.cs index 875c9bb57506a..7f687070d37c3 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryProximityPlacementGroupCustomDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryProximityPlacementGroupCustomDetails.Serialization.cs @@ -70,10 +70,10 @@ internal static RecoveryProximityPlacementGroupCustomDetails DeserializeRecovery { switch (discriminator.GetString()) { - case "Existing": return ExistingRecoveryProximityPlacementGroup.DeserializeExistingRecoveryProximityPlacementGroup(element); + case "Existing": return ExistingRecoveryProximityPlacementGroup.DeserializeExistingRecoveryProximityPlacementGroup(element, options); } } - return UnknownRecoveryProximityPlacementGroupCustomDetails.DeserializeUnknownRecoveryProximityPlacementGroupCustomDetails(element); + return UnknownRecoveryProximityPlacementGroupCustomDetails.DeserializeUnknownRecoveryProximityPlacementGroupCustomDetails(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryResourceGroupCustomDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryResourceGroupCustomDetails.Serialization.cs index 281e34ea4048a..6f6d4171c4ede 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryResourceGroupCustomDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryResourceGroupCustomDetails.Serialization.cs @@ -70,10 +70,10 @@ internal static RecoveryResourceGroupCustomDetails DeserializeRecoveryResourceGr { switch (discriminator.GetString()) { - case "Existing": return ExistingRecoveryResourceGroup.DeserializeExistingRecoveryResourceGroup(element); + case "Existing": return ExistingRecoveryResourceGroup.DeserializeExistingRecoveryResourceGroup(element, options); } } - return UnknownRecoveryResourceGroupCustomDetails.DeserializeUnknownRecoveryResourceGroupCustomDetails(element); + return UnknownRecoveryResourceGroupCustomDetails.DeserializeUnknownRecoveryResourceGroupCustomDetails(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryVirtualNetworkCustomDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryVirtualNetworkCustomDetails.Serialization.cs index 5c4a8b42b0249..7923723f1c297 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryVirtualNetworkCustomDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RecoveryVirtualNetworkCustomDetails.Serialization.cs @@ -70,11 +70,11 @@ internal static RecoveryVirtualNetworkCustomDetails DeserializeRecoveryVirtualNe { switch (discriminator.GetString()) { - case "Existing": return ExistingRecoveryVirtualNetwork.DeserializeExistingRecoveryVirtualNetwork(element); - case "New": return NewRecoveryVirtualNetwork.DeserializeNewRecoveryVirtualNetwork(element); + case "Existing": return ExistingRecoveryVirtualNetwork.DeserializeExistingRecoveryVirtualNetwork(element, options); + case "New": return NewRecoveryVirtualNetwork.DeserializeNewRecoveryVirtualNetwork(element, options); } } - return UnknownRecoveryVirtualNetworkCustomDetails.DeserializeUnknownRecoveryVirtualNetworkCustomDetails(element); + return UnknownRecoveryVirtualNetworkCustomDetails.DeserializeUnknownRecoveryVirtualNetworkCustomDetails(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RemoveDisksContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RemoveDisksContent.Serialization.cs index fd1c4e0f914d5..1b6a769d9b5dd 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RemoveDisksContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RemoveDisksContent.Serialization.cs @@ -80,7 +80,7 @@ internal static RemoveDisksContent DeserializeRemoveDisksContent(JsonElement ele { continue; } - properties = RemoveDisksContentProperties.DeserializeRemoveDisksContentProperties(property.Value); + properties = RemoveDisksContentProperties.DeserializeRemoveDisksContentProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RemoveDisksContentProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RemoveDisksContentProperties.Serialization.cs index ca7e7c2ac2caf..80cee73b52bd4 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RemoveDisksContentProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RemoveDisksContentProperties.Serialization.cs @@ -80,7 +80,7 @@ internal static RemoveDisksContentProperties DeserializeRemoveDisksContentProper { continue; } - providerSpecificDetails = RemoveDisksProviderSpecificContent.DeserializeRemoveDisksProviderSpecificContent(property.Value); + providerSpecificDetails = RemoveDisksProviderSpecificContent.DeserializeRemoveDisksProviderSpecificContent(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RemoveDisksProviderSpecificContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RemoveDisksProviderSpecificContent.Serialization.cs index 929c69ebf30c8..529636be55c0b 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RemoveDisksProviderSpecificContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RemoveDisksProviderSpecificContent.Serialization.cs @@ -70,10 +70,10 @@ internal static RemoveDisksProviderSpecificContent DeserializeRemoveDisksProvide { switch (discriminator.GetString()) { - case "A2A": return A2ARemoveDisksContent.DeserializeA2ARemoveDisksContent(element); + case "A2A": return A2ARemoveDisksContent.DeserializeA2ARemoveDisksContent(element, options); } } - return UnknownRemoveDisksProviderSpecificContent.DeserializeUnknownRemoveDisksProviderSpecificContent(element); + return UnknownRemoveDisksProviderSpecificContent.DeserializeUnknownRemoveDisksProviderSpecificContent(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RemoveProtectionContainerMappingContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RemoveProtectionContainerMappingContent.Serialization.cs index 5235a023eafb2..6e4ef4c3b52c1 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RemoveProtectionContainerMappingContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RemoveProtectionContainerMappingContent.Serialization.cs @@ -80,7 +80,7 @@ internal static RemoveProtectionContainerMappingContent DeserializeRemoveProtect { continue; } - properties = RemoveProtectionContainerMappingProperties.DeserializeRemoveProtectionContainerMappingProperties(property.Value); + properties = RemoveProtectionContainerMappingProperties.DeserializeRemoveProtectionContainerMappingProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RemoveProtectionContainerMappingProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RemoveProtectionContainerMappingProperties.Serialization.cs index f2215f1681bea..b8422264ba041 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RemoveProtectionContainerMappingProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RemoveProtectionContainerMappingProperties.Serialization.cs @@ -80,7 +80,7 @@ internal static RemoveProtectionContainerMappingProperties DeserializeRemoveProt { continue; } - providerSpecificContent = ReplicationProviderContainerUnmappingContent.DeserializeReplicationProviderContainerUnmappingContent(property.Value); + providerSpecificContent = ReplicationProviderContainerUnmappingContent.DeserializeReplicationProviderContainerUnmappingContent(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RenewCertificateContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RenewCertificateContent.Serialization.cs index d0e1bfffd2615..9015cb98d205d 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RenewCertificateContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/RenewCertificateContent.Serialization.cs @@ -80,7 +80,7 @@ internal static RenewCertificateContent DeserializeRenewCertificateContent(JsonE { continue; } - properties = RenewCertificateContentProperties.DeserializeRenewCertificateContentProperties(property.Value); + properties = RenewCertificateContentProperties.DeserializeRenewCertificateContentProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationAgentDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationAgentDetails.Serialization.cs index ec504d336ec35..e4796d7b56036 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationAgentDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationAgentDetails.Serialization.cs @@ -188,7 +188,7 @@ internal static ReplicationAgentDetails DeserializeReplicationAgentDetails(JsonE List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryHealthError.DeserializeSiteRecoveryHealthError(item)); + array.Add(SiteRecoveryHealthError.DeserializeSiteRecoveryHealthError(item, options)); } healthErrors = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationEligibilityResultListResult.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationEligibilityResultListResult.Serialization.cs index ed128e53d9687..5a4c130ba2aed 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationEligibilityResultListResult.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationEligibilityResultListResult.Serialization.cs @@ -89,7 +89,7 @@ internal static ReplicationEligibilityResultListResult DeserializeReplicationEli List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ReplicationEligibilityResultData.DeserializeReplicationEligibilityResultData(item)); + array.Add(ReplicationEligibilityResultData.DeserializeReplicationEligibilityResultData(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationEligibilityResultProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationEligibilityResultProperties.Serialization.cs index 26570e95011e2..de7bab662452d 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationEligibilityResultProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationEligibilityResultProperties.Serialization.cs @@ -99,7 +99,7 @@ internal static ReplicationEligibilityResultProperties DeserializeReplicationEli List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ReplicationEligibilityResultErrorInfo.DeserializeReplicationEligibilityResultErrorInfo(item)); + array.Add(ReplicationEligibilityResultErrorInfo.DeserializeReplicationEligibilityResultErrorInfo(item, options)); } errors = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProtectedItemCreateOrUpdateContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProtectedItemCreateOrUpdateContent.Serialization.cs index 74da879e589aa..5f4429ba2e609 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProtectedItemCreateOrUpdateContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProtectedItemCreateOrUpdateContent.Serialization.cs @@ -80,7 +80,7 @@ internal static ReplicationProtectedItemCreateOrUpdateContent DeserializeReplica { continue; } - properties = EnableProtectionProperties.DeserializeEnableProtectionProperties(property.Value); + properties = EnableProtectionProperties.DeserializeEnableProtectionProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProtectedItemListResult.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProtectedItemListResult.Serialization.cs index ffe45f2cbbf6c..1721e9fd32c57 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProtectedItemListResult.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProtectedItemListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ReplicationProtectedItemListResult DeserializeReplicationProtect List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ReplicationProtectedItemData.DeserializeReplicationProtectedItemData(item)); + array.Add(ReplicationProtectedItemData.DeserializeReplicationProtectedItemData(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProtectedItemPatch.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProtectedItemPatch.Serialization.cs index 1d4b2f6528b17..2da903f3adde3 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProtectedItemPatch.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProtectedItemPatch.Serialization.cs @@ -80,7 +80,7 @@ internal static ReplicationProtectedItemPatch DeserializeReplicationProtectedIte { continue; } - properties = UpdateReplicationProtectedItemProperties.DeserializeUpdateReplicationProtectedItemProperties(property.Value); + properties = UpdateReplicationProtectedItemProperties.DeserializeUpdateReplicationProtectedItemProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProtectedItemProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProtectedItemProperties.Serialization.cs index f4d1fb11bcf55..100f8fa91df02 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProtectedItemProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProtectedItemProperties.Serialization.cs @@ -384,7 +384,7 @@ internal static ReplicationProtectedItemProperties DeserializeReplicationProtect List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryHealthError.DeserializeSiteRecoveryHealthError(item)); + array.Add(SiteRecoveryHealthError.DeserializeSiteRecoveryHealthError(item, options)); } healthErrors = array; continue; @@ -427,7 +427,7 @@ internal static ReplicationProtectedItemProperties DeserializeReplicationProtect { continue; } - currentScenario = CurrentScenarioDetails.DeserializeCurrentScenarioDetails(property.Value); + currentScenario = CurrentScenarioDetails.DeserializeCurrentScenarioDetails(property.Value, options); continue; } if (property.NameEquals("failoverRecoveryPointId"u8)) @@ -445,7 +445,7 @@ internal static ReplicationProtectedItemProperties DeserializeReplicationProtect { continue; } - providerSpecificDetails = ReplicationProviderSpecificSettings.DeserializeReplicationProviderSpecificSettings(property.Value); + providerSpecificDetails = ReplicationProviderSpecificSettings.DeserializeReplicationProviderSpecificSettings(property.Value, options); continue; } if (property.NameEquals("recoveryContainerId"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProtectionIntentCreateOrUpdateContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProtectionIntentCreateOrUpdateContent.Serialization.cs index baa974fd21e04..06f593803c359 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProtectionIntentCreateOrUpdateContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProtectionIntentCreateOrUpdateContent.Serialization.cs @@ -80,7 +80,7 @@ internal static ReplicationProtectionIntentCreateOrUpdateContent DeserializeRepl { continue; } - properties = SiteRecoveryCreateProtectionIntentProperties.DeserializeSiteRecoveryCreateProtectionIntentProperties(property.Value); + properties = SiteRecoveryCreateProtectionIntentProperties.DeserializeSiteRecoveryCreateProtectionIntentProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProtectionIntentListResult.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProtectionIntentListResult.Serialization.cs index fddeeb87e8c70..ff1d43c742ba5 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProtectionIntentListResult.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProtectionIntentListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ReplicationProtectionIntentListResult DeserializeReplicationProt List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ReplicationProtectionIntentData.DeserializeReplicationProtectionIntentData(item)); + array.Add(ReplicationProtectionIntentData.DeserializeReplicationProtectionIntentData(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProtectionIntentProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProtectionIntentProperties.Serialization.cs index 16e2784d4cf42..c14367a780b2f 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProtectionIntentProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProtectionIntentProperties.Serialization.cs @@ -143,7 +143,7 @@ internal static ReplicationProtectionIntentProperties DeserializeReplicationProt { continue; } - providerSpecificDetails = ReplicationProtectionIntentProviderSpecificSettings.DeserializeReplicationProtectionIntentProviderSpecificSettings(property.Value); + providerSpecificDetails = ReplicationProtectionIntentProviderSpecificSettings.DeserializeReplicationProtectionIntentProviderSpecificSettings(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProtectionIntentProviderSpecificSettings.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProtectionIntentProviderSpecificSettings.Serialization.cs index 4f9e1f590417a..9c0bd4fc73e30 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProtectionIntentProviderSpecificSettings.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProtectionIntentProviderSpecificSettings.Serialization.cs @@ -70,10 +70,10 @@ internal static ReplicationProtectionIntentProviderSpecificSettings DeserializeR { switch (discriminator.GetString()) { - case "A2A": return A2AReplicationIntentDetails.DeserializeA2AReplicationIntentDetails(element); + case "A2A": return A2AReplicationIntentDetails.DeserializeA2AReplicationIntentDetails(element, options); } } - return UnknownReplicationProtectionIntentProviderSpecificSettings.DeserializeUnknownReplicationProtectionIntentProviderSpecificSettings(element); + return UnknownReplicationProtectionIntentProviderSpecificSettings.DeserializeUnknownReplicationProtectionIntentProviderSpecificSettings(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProviderSpecificContainerCreationContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProviderSpecificContainerCreationContent.Serialization.cs index 7e4a519973d76..6fb977d209d32 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProviderSpecificContainerCreationContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProviderSpecificContainerCreationContent.Serialization.cs @@ -70,12 +70,12 @@ internal static ReplicationProviderSpecificContainerCreationContent DeserializeR { switch (discriminator.GetString()) { - case "A2A": return A2AContainerCreationContent.DeserializeA2AContainerCreationContent(element); - case "A2ACrossClusterMigration": return A2ACrossClusterMigrationContainerCreationContent.DeserializeA2ACrossClusterMigrationContainerCreationContent(element); - case "VMwareCbt": return VMwareCbtContainerCreationContent.DeserializeVMwareCbtContainerCreationContent(element); + case "A2A": return A2AContainerCreationContent.DeserializeA2AContainerCreationContent(element, options); + case "A2ACrossClusterMigration": return A2ACrossClusterMigrationContainerCreationContent.DeserializeA2ACrossClusterMigrationContainerCreationContent(element, options); + case "VMwareCbt": return VMwareCbtContainerCreationContent.DeserializeVMwareCbtContainerCreationContent(element, options); } } - return UnknownReplicationProviderSpecificContainerCreationContent.DeserializeUnknownReplicationProviderSpecificContainerCreationContent(element); + return UnknownReplicationProviderSpecificContainerCreationContent.DeserializeUnknownReplicationProviderSpecificContainerCreationContent(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProviderSpecificContainerMappingContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProviderSpecificContainerMappingContent.Serialization.cs index 1706ef267306a..f222dd801d54c 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProviderSpecificContainerMappingContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProviderSpecificContainerMappingContent.Serialization.cs @@ -70,11 +70,11 @@ internal static ReplicationProviderSpecificContainerMappingContent DeserializeRe { switch (discriminator.GetString()) { - case "A2A": return A2AContainerMappingContent.DeserializeA2AContainerMappingContent(element); - case "VMwareCbt": return VMwareCbtContainerMappingContent.DeserializeVMwareCbtContainerMappingContent(element); + case "A2A": return A2AContainerMappingContent.DeserializeA2AContainerMappingContent(element, options); + case "VMwareCbt": return VMwareCbtContainerMappingContent.DeserializeVMwareCbtContainerMappingContent(element, options); } } - return UnknownReplicationProviderSpecificContainerMappingContent.DeserializeUnknownReplicationProviderSpecificContainerMappingContent(element); + return UnknownReplicationProviderSpecificContainerMappingContent.DeserializeUnknownReplicationProviderSpecificContainerMappingContent(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProviderSpecificSettings.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProviderSpecificSettings.Serialization.cs index 84946cf4d6f66..7d5a9a724fdf1 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProviderSpecificSettings.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProviderSpecificSettings.Serialization.cs @@ -70,19 +70,19 @@ internal static ReplicationProviderSpecificSettings DeserializeReplicationProvid { switch (discriminator.GetString()) { - case "A2A": return A2AReplicationDetails.DeserializeA2AReplicationDetails(element); - case "A2ACrossClusterMigration": return A2ACrossClusterMigrationReplicationDetails.DeserializeA2ACrossClusterMigrationReplicationDetails(element); - case "HyperVReplica2012": return HyperVReplicaReplicationDetails.DeserializeHyperVReplicaReplicationDetails(element); - case "HyperVReplica2012R2": return HyperVReplicaBlueReplicationDetails.DeserializeHyperVReplicaBlueReplicationDetails(element); - case "HyperVReplicaAzure": return HyperVReplicaAzureReplicationDetails.DeserializeHyperVReplicaAzureReplicationDetails(element); - case "HyperVReplicaBaseReplicationDetails": return HyperVReplicaBaseReplicationDetails.DeserializeHyperVReplicaBaseReplicationDetails(element); - case "InMage": return InMageReplicationDetails.DeserializeInMageReplicationDetails(element); - case "InMageAzureV2": return InMageAzureV2ReplicationDetails.DeserializeInMageAzureV2ReplicationDetails(element); - case "InMageRcm": return InMageRcmReplicationDetails.DeserializeInMageRcmReplicationDetails(element); - case "InMageRcmFailback": return InMageRcmFailbackReplicationDetails.DeserializeInMageRcmFailbackReplicationDetails(element); + case "A2A": return A2AReplicationDetails.DeserializeA2AReplicationDetails(element, options); + case "A2ACrossClusterMigration": return A2ACrossClusterMigrationReplicationDetails.DeserializeA2ACrossClusterMigrationReplicationDetails(element, options); + case "HyperVReplica2012": return HyperVReplicaReplicationDetails.DeserializeHyperVReplicaReplicationDetails(element, options); + case "HyperVReplica2012R2": return HyperVReplicaBlueReplicationDetails.DeserializeHyperVReplicaBlueReplicationDetails(element, options); + case "HyperVReplicaAzure": return HyperVReplicaAzureReplicationDetails.DeserializeHyperVReplicaAzureReplicationDetails(element, options); + case "HyperVReplicaBaseReplicationDetails": return HyperVReplicaBaseReplicationDetails.DeserializeHyperVReplicaBaseReplicationDetails(element, options); + case "InMage": return InMageReplicationDetails.DeserializeInMageReplicationDetails(element, options); + case "InMageAzureV2": return InMageAzureV2ReplicationDetails.DeserializeInMageAzureV2ReplicationDetails(element, options); + case "InMageRcm": return InMageRcmReplicationDetails.DeserializeInMageRcmReplicationDetails(element, options); + case "InMageRcmFailback": return InMageRcmFailbackReplicationDetails.DeserializeInMageRcmFailbackReplicationDetails(element, options); } } - return UnknownReplicationProviderSpecificSettings.DeserializeUnknownReplicationProviderSpecificSettings(element); + return UnknownReplicationProviderSpecificSettings.DeserializeUnknownReplicationProviderSpecificSettings(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProviderSpecificUpdateContainerMappingContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProviderSpecificUpdateContainerMappingContent.Serialization.cs index ac9d0452669f7..0cf6408dc7181 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProviderSpecificUpdateContainerMappingContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationProviderSpecificUpdateContainerMappingContent.Serialization.cs @@ -70,11 +70,11 @@ internal static ReplicationProviderSpecificUpdateContainerMappingContent Deseria { switch (discriminator.GetString()) { - case "A2A": return A2AUpdateContainerMappingContent.DeserializeA2AUpdateContainerMappingContent(element); - case "InMageRcm": return InMageRcmUpdateContainerMappingContent.DeserializeInMageRcmUpdateContainerMappingContent(element); + case "A2A": return A2AUpdateContainerMappingContent.DeserializeA2AUpdateContainerMappingContent(element, options); + case "InMageRcm": return InMageRcmUpdateContainerMappingContent.DeserializeInMageRcmUpdateContainerMappingContent(element, options); } } - return UnknownReplicationProviderSpecificUpdateContainerMappingContent.DeserializeUnknownReplicationProviderSpecificUpdateContainerMappingContent(element); + return UnknownReplicationProviderSpecificUpdateContainerMappingContent.DeserializeUnknownReplicationProviderSpecificUpdateContainerMappingContent(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationResumeJobContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationResumeJobContent.Serialization.cs index f6ca844833d20..f2ec97b0e712d 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationResumeJobContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReplicationResumeJobContent.Serialization.cs @@ -80,7 +80,7 @@ internal static ReplicationResumeJobContent DeserializeReplicationResumeJobConte { continue; } - properties = ReplicationResumeJobProperties.DeserializeReplicationResumeJobProperties(property.Value); + properties = ReplicationResumeJobProperties.DeserializeReplicationResumeJobProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReprotectAgentDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReprotectAgentDetails.Serialization.cs index f8d6512e00736..e8de0667c74ab 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReprotectAgentDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReprotectAgentDetails.Serialization.cs @@ -217,7 +217,7 @@ internal static ReprotectAgentDetails DeserializeReprotectAgentDetails(JsonEleme List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryHealthError.DeserializeSiteRecoveryHealthError(item)); + array.Add(SiteRecoveryHealthError.DeserializeSiteRecoveryHealthError(item, options)); } healthErrors = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ResolveHealthContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ResolveHealthContent.Serialization.cs index 7fefced93a95a..6185cc247a101 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ResolveHealthContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ResolveHealthContent.Serialization.cs @@ -80,7 +80,7 @@ internal static ResolveHealthContent DeserializeResolveHealthContent(JsonElement { continue; } - properties = ResolveHealthContentProperties.DeserializeResolveHealthContentProperties(property.Value); + properties = ResolveHealthContentProperties.DeserializeResolveHealthContentProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ResolveHealthContentProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ResolveHealthContentProperties.Serialization.cs index 4c4717b2fc1da..1d0e9f6d30e41 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ResolveHealthContentProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ResolveHealthContentProperties.Serialization.cs @@ -88,7 +88,7 @@ internal static ResolveHealthContentProperties DeserializeResolveHealthContentPr List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ResolveHealthError.DeserializeResolveHealthError(item)); + array.Add(ResolveHealthError.DeserializeResolveHealthError(item, options)); } healthErrors = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ResourceHealthSummary.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ResourceHealthSummary.Serialization.cs index 09f31a1293d97..42a9aaff93746 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ResourceHealthSummary.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ResourceHealthSummary.Serialization.cs @@ -115,7 +115,7 @@ internal static ResourceHealthSummary DeserializeResourceHealthSummary(JsonEleme List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(HealthErrorSummary.DeserializeHealthErrorSummary(item)); + array.Add(HealthErrorSummary.DeserializeHealthErrorSummary(item, options)); } issues = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ResumeReplicationContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ResumeReplicationContent.Serialization.cs index afe6b09c74ecf..9130d6e032e4a 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ResumeReplicationContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ResumeReplicationContent.Serialization.cs @@ -73,7 +73,7 @@ internal static ResumeReplicationContent DeserializeResumeReplicationContent(Jso { if (property.NameEquals("properties"u8)) { - properties = ResumeReplicationProperties.DeserializeResumeReplicationProperties(property.Value); + properties = ResumeReplicationProperties.DeserializeResumeReplicationProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ResumeReplicationProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ResumeReplicationProperties.Serialization.cs index 4cfd33a1792f1..3be6b05f4939b 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ResumeReplicationProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ResumeReplicationProperties.Serialization.cs @@ -73,7 +73,7 @@ internal static ResumeReplicationProperties DeserializeResumeReplicationProperti { if (property.NameEquals("providerSpecificDetails"u8)) { - providerSpecificDetails = ResumeReplicationProviderSpecificContent.DeserializeResumeReplicationProviderSpecificContent(property.Value); + providerSpecificDetails = ResumeReplicationProviderSpecificContent.DeserializeResumeReplicationProviderSpecificContent(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ResumeReplicationProviderSpecificContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ResumeReplicationProviderSpecificContent.Serialization.cs index 9e1782b085dbc..56df20b4dcd85 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ResumeReplicationProviderSpecificContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ResumeReplicationProviderSpecificContent.Serialization.cs @@ -70,10 +70,10 @@ internal static ResumeReplicationProviderSpecificContent DeserializeResumeReplic { switch (discriminator.GetString()) { - case "VMwareCbt": return VMwareCbtResumeReplicationContent.DeserializeVMwareCbtResumeReplicationContent(element); + case "VMwareCbt": return VMwareCbtResumeReplicationContent.DeserializeVMwareCbtResumeReplicationContent(element, options); } } - return UnknownResumeReplicationProviderSpecificContent.DeserializeUnknownResumeReplicationProviderSpecificContent(element); + return UnknownResumeReplicationProviderSpecificContent.DeserializeUnknownResumeReplicationProviderSpecificContent(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ResyncProviderSpecificContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ResyncProviderSpecificContent.Serialization.cs index 6e6169d8ea506..ce840372b2220 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ResyncProviderSpecificContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ResyncProviderSpecificContent.Serialization.cs @@ -70,10 +70,10 @@ internal static ResyncProviderSpecificContent DeserializeResyncProviderSpecificC { switch (discriminator.GetString()) { - case "VMwareCbt": return VMwareCbtResyncContent.DeserializeVMwareCbtResyncContent(element); + case "VMwareCbt": return VMwareCbtResyncContent.DeserializeVMwareCbtResyncContent(element, options); } } - return UnknownResyncProviderSpecificContent.DeserializeUnknownResyncProviderSpecificContent(element); + return UnknownResyncProviderSpecificContent.DeserializeUnknownResyncProviderSpecificContent(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReverseReplicationContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReverseReplicationContent.Serialization.cs index 2fb77ab1a8c37..b1cc1a804cfd9 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReverseReplicationContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReverseReplicationContent.Serialization.cs @@ -80,7 +80,7 @@ internal static ReverseReplicationContent DeserializeReverseReplicationContent(J { continue; } - properties = ReverseReplicationProperties.DeserializeReverseReplicationProperties(property.Value); + properties = ReverseReplicationProperties.DeserializeReverseReplicationProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReverseReplicationProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReverseReplicationProperties.Serialization.cs index e19bfbc3c2df4..d661908520967 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReverseReplicationProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReverseReplicationProperties.Serialization.cs @@ -91,7 +91,7 @@ internal static ReverseReplicationProperties DeserializeReverseReplicationProper { continue; } - providerSpecificDetails = ReverseReplicationProviderSpecificContent.DeserializeReverseReplicationProviderSpecificContent(property.Value); + providerSpecificDetails = ReverseReplicationProviderSpecificContent.DeserializeReverseReplicationProviderSpecificContent(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReverseReplicationProviderSpecificContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReverseReplicationProviderSpecificContent.Serialization.cs index b49027400c2e2..e2a8ed992a504 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReverseReplicationProviderSpecificContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/ReverseReplicationProviderSpecificContent.Serialization.cs @@ -70,15 +70,15 @@ internal static ReverseReplicationProviderSpecificContent DeserializeReverseRepl { switch (discriminator.GetString()) { - case "A2A": return A2AReprotectContent.DeserializeA2AReprotectContent(element); - case "HyperVReplicaAzure": return HyperVReplicaAzureReprotectContent.DeserializeHyperVReplicaAzureReprotectContent(element); - case "InMage": return InMageReprotectContent.DeserializeInMageReprotectContent(element); - case "InMageAzureV2": return InMageAzureV2ReprotectContent.DeserializeInMageAzureV2ReprotectContent(element); - case "InMageRcm": return InMageRcmReprotectContent.DeserializeInMageRcmReprotectContent(element); - case "InMageRcmFailback": return InMageRcmFailbackReprotectContent.DeserializeInMageRcmFailbackReprotectContent(element); + case "A2A": return A2AReprotectContent.DeserializeA2AReprotectContent(element, options); + case "HyperVReplicaAzure": return HyperVReplicaAzureReprotectContent.DeserializeHyperVReplicaAzureReprotectContent(element, options); + case "InMage": return InMageReprotectContent.DeserializeInMageReprotectContent(element, options); + case "InMageAzureV2": return InMageAzureV2ReprotectContent.DeserializeInMageAzureV2ReprotectContent(element, options); + case "InMageRcm": return InMageRcmReprotectContent.DeserializeInMageRcmReprotectContent(element, options); + case "InMageRcmFailback": return InMageRcmFailbackReprotectContent.DeserializeInMageRcmFailbackReprotectContent(element, options); } } - return UnknownReverseReplicationProviderSpecificContent.DeserializeUnknownReverseReplicationProviderSpecificContent(element); + return UnknownReverseReplicationProviderSpecificContent.DeserializeUnknownReverseReplicationProviderSpecificContent(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryAddDisksContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryAddDisksContent.Serialization.cs index 027f95c5cad59..c28b9209d432a 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryAddDisksContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryAddDisksContent.Serialization.cs @@ -80,7 +80,7 @@ internal static SiteRecoveryAddDisksContent DeserializeSiteRecoveryAddDisksConte { continue; } - properties = SiteRecoveryAddDisksProperties.DeserializeSiteRecoveryAddDisksProperties(property.Value); + properties = SiteRecoveryAddDisksProperties.DeserializeSiteRecoveryAddDisksProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryAddDisksProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryAddDisksProperties.Serialization.cs index 0f6d96a6b5e01..e20574758855a 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryAddDisksProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryAddDisksProperties.Serialization.cs @@ -73,7 +73,7 @@ internal static SiteRecoveryAddDisksProperties DeserializeSiteRecoveryAddDisksPr { if (property.NameEquals("providerSpecificDetails"u8)) { - providerSpecificDetails = SiteRecoveryAddDisksProviderSpecificContent.DeserializeSiteRecoveryAddDisksProviderSpecificContent(property.Value); + providerSpecificDetails = SiteRecoveryAddDisksProviderSpecificContent.DeserializeSiteRecoveryAddDisksProviderSpecificContent(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryAddDisksProviderSpecificContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryAddDisksProviderSpecificContent.Serialization.cs index 8e3748a4560ea..4376bb078bf5a 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryAddDisksProviderSpecificContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryAddDisksProviderSpecificContent.Serialization.cs @@ -70,10 +70,10 @@ internal static SiteRecoveryAddDisksProviderSpecificContent DeserializeSiteRecov { switch (discriminator.GetString()) { - case "A2A": return A2AAddDisksContent.DeserializeA2AAddDisksContent(element); + case "A2A": return A2AAddDisksContent.DeserializeA2AAddDisksContent(element, options); } } - return UnknownAddDisksProviderSpecificContent.DeserializeUnknownAddDisksProviderSpecificContent(element); + return UnknownAddDisksProviderSpecificContent.DeserializeUnknownAddDisksProviderSpecificContent(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryAddRecoveryServicesProviderProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryAddRecoveryServicesProviderProperties.Serialization.cs index 331d69287f753..7987237ed9552 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryAddRecoveryServicesProviderProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryAddRecoveryServicesProviderProperties.Serialization.cs @@ -112,12 +112,12 @@ internal static SiteRecoveryAddRecoveryServicesProviderProperties DeserializeSit } if (property.NameEquals("authenticationIdentityInput"u8)) { - authenticationIdentityContent = IdentityProviderContent.DeserializeIdentityProviderContent(property.Value); + authenticationIdentityContent = IdentityProviderContent.DeserializeIdentityProviderContent(property.Value, options); continue; } if (property.NameEquals("resourceAccessIdentityInput"u8)) { - resourceAccessIdentityContent = IdentityProviderContent.DeserializeIdentityProviderContent(property.Value); + resourceAccessIdentityContent = IdentityProviderContent.DeserializeIdentityProviderContent(property.Value, options); continue; } if (property.NameEquals("dataPlaneAuthenticationIdentityInput"u8)) @@ -126,7 +126,7 @@ internal static SiteRecoveryAddRecoveryServicesProviderProperties DeserializeSit { continue; } - dataPlaneAuthenticationIdentityContent = IdentityProviderContent.DeserializeIdentityProviderContent(property.Value); + dataPlaneAuthenticationIdentityContent = IdentityProviderContent.DeserializeIdentityProviderContent(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryAgentDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryAgentDetails.Serialization.cs index 19ae7893ad517..27f22b2b86fd9 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryAgentDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryAgentDetails.Serialization.cs @@ -132,7 +132,7 @@ internal static SiteRecoveryAgentDetails DeserializeSiteRecoveryAgentDetails(Jso List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryAgentDiskDetails.DeserializeSiteRecoveryAgentDiskDetails(item)); + array.Add(SiteRecoveryAgentDiskDetails.DeserializeSiteRecoveryAgentDiskDetails(item, options)); } disks = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryAlertCreateOrUpdateContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryAlertCreateOrUpdateContent.Serialization.cs index 9813ed178ab30..180984d6c2295 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryAlertCreateOrUpdateContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryAlertCreateOrUpdateContent.Serialization.cs @@ -80,7 +80,7 @@ internal static SiteRecoveryAlertCreateOrUpdateContent DeserializeSiteRecoveryAl { continue; } - properties = SiteRecoveryConfigureAlertProperties.DeserializeSiteRecoveryConfigureAlertProperties(property.Value); + properties = SiteRecoveryConfigureAlertProperties.DeserializeSiteRecoveryConfigureAlertProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryAlertListResult.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryAlertListResult.Serialization.cs index e88871e95d1e1..441ee0a3364a9 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryAlertListResult.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryAlertListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static SiteRecoveryAlertListResult DeserializeSiteRecoveryAlertListResu List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryAlertData.DeserializeSiteRecoveryAlertData(item)); + array.Add(SiteRecoveryAlertData.DeserializeSiteRecoveryAlertData(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryApplianceListResult.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryApplianceListResult.Serialization.cs index 3d997c65e6661..31258dae8c2d0 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryApplianceListResult.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryApplianceListResult.Serialization.cs @@ -94,7 +94,7 @@ internal static SiteRecoveryApplianceListResult DeserializeSiteRecoveryAppliance List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryReplicationAppliance.DeserializeSiteRecoveryReplicationAppliance(item)); + array.Add(SiteRecoveryReplicationAppliance.DeserializeSiteRecoveryReplicationAppliance(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryApplianceSpecificDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryApplianceSpecificDetails.Serialization.cs index 483de638bb4aa..21f271017bbaa 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryApplianceSpecificDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryApplianceSpecificDetails.Serialization.cs @@ -70,10 +70,10 @@ internal static SiteRecoveryApplianceSpecificDetails DeserializeSiteRecoveryAppl { switch (discriminator.GetString()) { - case "InMageRcm": return InMageRcmApplianceSpecificDetails.DeserializeInMageRcmApplianceSpecificDetails(element); + case "InMageRcm": return InMageRcmApplianceSpecificDetails.DeserializeInMageRcmApplianceSpecificDetails(element, options); } } - return UnknownApplianceSpecificDetails.DeserializeUnknownApplianceSpecificDetails(element); + return UnknownApplianceSpecificDetails.DeserializeUnknownApplianceSpecificDetails(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryApplyRecoveryPointContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryApplyRecoveryPointContent.Serialization.cs index aa6d10a2bf7aa..bc91b311449cf 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryApplyRecoveryPointContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryApplyRecoveryPointContent.Serialization.cs @@ -73,7 +73,7 @@ internal static SiteRecoveryApplyRecoveryPointContent DeserializeSiteRecoveryApp { if (property.NameEquals("properties"u8)) { - properties = SiteRecoveryApplyRecoveryPointProperties.DeserializeSiteRecoveryApplyRecoveryPointProperties(property.Value); + properties = SiteRecoveryApplyRecoveryPointProperties.DeserializeSiteRecoveryApplyRecoveryPointProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryApplyRecoveryPointProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryApplyRecoveryPointProperties.Serialization.cs index 25afc96f45c2e..d6fa50e0dc125 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryApplyRecoveryPointProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryApplyRecoveryPointProperties.Serialization.cs @@ -88,7 +88,7 @@ internal static SiteRecoveryApplyRecoveryPointProperties DeserializeSiteRecovery } if (property.NameEquals("providerSpecificDetails"u8)) { - providerSpecificDetails = SiteRecoveryApplyRecoveryPointProviderSpecificContent.DeserializeSiteRecoveryApplyRecoveryPointProviderSpecificContent(property.Value); + providerSpecificDetails = SiteRecoveryApplyRecoveryPointProviderSpecificContent.DeserializeSiteRecoveryApplyRecoveryPointProviderSpecificContent(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryApplyRecoveryPointProviderSpecificContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryApplyRecoveryPointProviderSpecificContent.Serialization.cs index 75ae63453e89c..10dc7838d2f3b 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryApplyRecoveryPointProviderSpecificContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryApplyRecoveryPointProviderSpecificContent.Serialization.cs @@ -70,14 +70,14 @@ internal static SiteRecoveryApplyRecoveryPointProviderSpecificContent Deserializ { switch (discriminator.GetString()) { - case "A2A": return A2AApplyRecoveryPointContent.DeserializeA2AApplyRecoveryPointContent(element); - case "A2ACrossClusterMigration": return A2ACrossClusterMigrationApplyRecoveryPointContent.DeserializeA2ACrossClusterMigrationApplyRecoveryPointContent(element); - case "HyperVReplicaAzure": return HyperVReplicaAzureApplyRecoveryPointContent.DeserializeHyperVReplicaAzureApplyRecoveryPointContent(element); - case "InMageAzureV2": return InMageAzureV2ApplyRecoveryPointContent.DeserializeInMageAzureV2ApplyRecoveryPointContent(element); - case "InMageRcm": return InMageRcmApplyRecoveryPointContent.DeserializeInMageRcmApplyRecoveryPointContent(element); + case "A2A": return A2AApplyRecoveryPointContent.DeserializeA2AApplyRecoveryPointContent(element, options); + case "A2ACrossClusterMigration": return A2ACrossClusterMigrationApplyRecoveryPointContent.DeserializeA2ACrossClusterMigrationApplyRecoveryPointContent(element, options); + case "HyperVReplicaAzure": return HyperVReplicaAzureApplyRecoveryPointContent.DeserializeHyperVReplicaAzureApplyRecoveryPointContent(element, options); + case "InMageAzureV2": return InMageAzureV2ApplyRecoveryPointContent.DeserializeInMageAzureV2ApplyRecoveryPointContent(element, options); + case "InMageRcm": return InMageRcmApplyRecoveryPointContent.DeserializeInMageRcmApplyRecoveryPointContent(element, options); } } - return UnknownApplyRecoveryPointProviderSpecificContent.DeserializeUnknownApplyRecoveryPointProviderSpecificContent(element); + return UnknownApplyRecoveryPointProviderSpecificContent.DeserializeUnknownApplyRecoveryPointProviderSpecificContent(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryCreatePolicyProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryCreatePolicyProperties.Serialization.cs index 1d88258592be5..c9eb9a54279c4 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryCreatePolicyProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryCreatePolicyProperties.Serialization.cs @@ -80,7 +80,7 @@ internal static SiteRecoveryCreatePolicyProperties DeserializeSiteRecoveryCreate { continue; } - providerSpecificContent = PolicyProviderSpecificContent.DeserializePolicyProviderSpecificContent(property.Value); + providerSpecificContent = PolicyProviderSpecificContent.DeserializePolicyProviderSpecificContent(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryCreateProtectionContainerMappingProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryCreateProtectionContainerMappingProperties.Serialization.cs index 7469cbbae4109..05b983b78c8e8 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryCreateProtectionContainerMappingProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryCreateProtectionContainerMappingProperties.Serialization.cs @@ -110,7 +110,7 @@ internal static SiteRecoveryCreateProtectionContainerMappingProperties Deseriali { continue; } - providerSpecificContent = ReplicationProviderSpecificContainerMappingContent.DeserializeReplicationProviderSpecificContainerMappingContent(property.Value); + providerSpecificContent = ReplicationProviderSpecificContainerMappingContent.DeserializeReplicationProviderSpecificContainerMappingContent(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryCreateProtectionContainerProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryCreateProtectionContainerProperties.Serialization.cs index 7aa7ab64301c4..642d0bd129738 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryCreateProtectionContainerProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryCreateProtectionContainerProperties.Serialization.cs @@ -88,7 +88,7 @@ internal static SiteRecoveryCreateProtectionContainerProperties DeserializeSiteR List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ReplicationProviderSpecificContainerCreationContent.DeserializeReplicationProviderSpecificContainerCreationContent(item)); + array.Add(ReplicationProviderSpecificContainerCreationContent.DeserializeReplicationProviderSpecificContainerCreationContent(item, options)); } providerSpecificContent = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryCreateProtectionIntentProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryCreateProtectionIntentProperties.Serialization.cs index d89f1910a0fd4..b233529f220a6 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryCreateProtectionIntentProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryCreateProtectionIntentProperties.Serialization.cs @@ -80,7 +80,7 @@ internal static SiteRecoveryCreateProtectionIntentProperties DeserializeSiteReco { continue; } - providerSpecificDetails = SiteRecoveryCreateProtectionIntentProviderDetail.DeserializeSiteRecoveryCreateProtectionIntentProviderDetail(property.Value); + providerSpecificDetails = SiteRecoveryCreateProtectionIntentProviderDetail.DeserializeSiteRecoveryCreateProtectionIntentProviderDetail(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryCreateProtectionIntentProviderDetail.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryCreateProtectionIntentProviderDetail.Serialization.cs index 6bb0de37294ef..e623c038afe21 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryCreateProtectionIntentProviderDetail.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryCreateProtectionIntentProviderDetail.Serialization.cs @@ -70,10 +70,10 @@ internal static SiteRecoveryCreateProtectionIntentProviderDetail DeserializeSite { switch (discriminator.GetString()) { - case "A2A": return A2ACreateProtectionIntentContent.DeserializeA2ACreateProtectionIntentContent(element); + case "A2A": return A2ACreateProtectionIntentContent.DeserializeA2ACreateProtectionIntentContent(element, options); } } - return UnknownCreateProtectionIntentProviderSpecificDetails.DeserializeUnknownCreateProtectionIntentProviderSpecificDetails(element); + return UnknownCreateProtectionIntentProviderSpecificDetails.DeserializeUnknownCreateProtectionIntentProviderSpecificDetails(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryCreateRecoveryPlanProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryCreateRecoveryPlanProperties.Serialization.cs index db0fb1e205d4e..b6df41dc9c624 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryCreateRecoveryPlanProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryCreateRecoveryPlanProperties.Serialization.cs @@ -123,7 +123,7 @@ internal static SiteRecoveryCreateRecoveryPlanProperties DeserializeSiteRecovery List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryPlanGroup.DeserializeSiteRecoveryPlanGroup(item)); + array.Add(SiteRecoveryPlanGroup.DeserializeSiteRecoveryPlanGroup(item, options)); } groups = array; continue; @@ -137,7 +137,7 @@ internal static SiteRecoveryCreateRecoveryPlanProperties DeserializeSiteRecovery List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RecoveryPlanProviderSpecificContent.DeserializeRecoveryPlanProviderSpecificContent(item)); + array.Add(RecoveryPlanProviderSpecificContent.DeserializeRecoveryPlanProviderSpecificContent(item, options)); } providerSpecificContent = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryCreateReplicationNetworkMappingProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryCreateReplicationNetworkMappingProperties.Serialization.cs index eb857dacaec2d..a773356618e54 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryCreateReplicationNetworkMappingProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryCreateReplicationNetworkMappingProperties.Serialization.cs @@ -99,7 +99,7 @@ internal static SiteRecoveryCreateReplicationNetworkMappingProperties Deserializ { continue; } - fabricSpecificDetails = FabricSpecificCreateNetworkMappingContent.DeserializeFabricSpecificCreateNetworkMappingContent(property.Value); + fabricSpecificDetails = FabricSpecificCreateNetworkMappingContent.DeserializeFabricSpecificCreateNetworkMappingContent(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryDiskEncryptionInfo.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryDiskEncryptionInfo.Serialization.cs index b6606f2fce752..a397330230eb1 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryDiskEncryptionInfo.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryDiskEncryptionInfo.Serialization.cs @@ -86,7 +86,7 @@ internal static SiteRecoveryDiskEncryptionInfo DeserializeSiteRecoveryDiskEncryp { continue; } - diskEncryptionKeyInfo = SiteRecoveryDiskEncryptionKeyInfo.DeserializeSiteRecoveryDiskEncryptionKeyInfo(property.Value); + diskEncryptionKeyInfo = SiteRecoveryDiskEncryptionKeyInfo.DeserializeSiteRecoveryDiskEncryptionKeyInfo(property.Value, options); continue; } if (property.NameEquals("keyEncryptionKeyInfo"u8)) @@ -95,7 +95,7 @@ internal static SiteRecoveryDiskEncryptionInfo DeserializeSiteRecoveryDiskEncryp { continue; } - keyEncryptionKeyInfo = SiteRecoveryKeyEncryptionKeyInfo.DeserializeSiteRecoveryKeyEncryptionKeyInfo(property.Value); + keyEncryptionKeyInfo = SiteRecoveryKeyEncryptionKeyInfo.DeserializeSiteRecoveryKeyEncryptionKeyInfo(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryDraDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryDraDetails.Serialization.cs index 879d6908fc35f..5ef45a92a70b2 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryDraDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryDraDetails.Serialization.cs @@ -174,7 +174,7 @@ internal static SiteRecoveryDraDetails DeserializeSiteRecoveryDraDetails(JsonEle List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryHealthError.DeserializeSiteRecoveryHealthError(item)); + array.Add(SiteRecoveryHealthError.DeserializeSiteRecoveryHealthError(item, options)); } healthErrors = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryEventProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryEventProperties.Serialization.cs index a9375caa0a5fd..ccfa6d23ce08e 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryEventProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryEventProperties.Serialization.cs @@ -193,7 +193,7 @@ internal static SiteRecoveryEventProperties DeserializeSiteRecoveryEventProperti { continue; } - providerSpecificDetails = SiteRecoveryEventProviderSpecificDetails.DeserializeSiteRecoveryEventProviderSpecificDetails(property.Value); + providerSpecificDetails = SiteRecoveryEventProviderSpecificDetails.DeserializeSiteRecoveryEventProviderSpecificDetails(property.Value, options); continue; } if (property.NameEquals("eventSpecificDetails"u8)) @@ -202,7 +202,7 @@ internal static SiteRecoveryEventProperties DeserializeSiteRecoveryEventProperti { continue; } - eventSpecificDetails = SiteRecoveryEventSpecificDetails.DeserializeSiteRecoveryEventSpecificDetails(property.Value); + eventSpecificDetails = SiteRecoveryEventSpecificDetails.DeserializeSiteRecoveryEventSpecificDetails(property.Value, options); continue; } if (property.NameEquals("healthErrors"u8)) @@ -214,7 +214,7 @@ internal static SiteRecoveryEventProperties DeserializeSiteRecoveryEventProperti List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryHealthError.DeserializeSiteRecoveryHealthError(item)); + array.Add(SiteRecoveryHealthError.DeserializeSiteRecoveryHealthError(item, options)); } healthErrors = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryEventProviderSpecificDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryEventProviderSpecificDetails.Serialization.cs index 6b5f948d0d7fd..2b1c233ef8208 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryEventProviderSpecificDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryEventProviderSpecificDetails.Serialization.cs @@ -70,18 +70,18 @@ internal static SiteRecoveryEventProviderSpecificDetails DeserializeSiteRecovery { switch (discriminator.GetString()) { - case "A2A": return A2AEventDetails.DeserializeA2AEventDetails(element); - case "HyperVReplica2012": return HyperVReplica2012EventDetails.DeserializeHyperVReplica2012EventDetails(element); - case "HyperVReplica2012R2": return HyperVReplica2012R2EventDetails.DeserializeHyperVReplica2012R2EventDetails(element); - case "HyperVReplicaAzure": return HyperVReplicaAzureEventDetails.DeserializeHyperVReplicaAzureEventDetails(element); - case "HyperVReplicaBaseEventDetails": return HyperVReplicaBaseEventDetails.DeserializeHyperVReplicaBaseEventDetails(element); - case "InMageAzureV2": return InMageAzureV2EventDetails.DeserializeInMageAzureV2EventDetails(element); - case "InMageRcm": return InMageRcmEventDetails.DeserializeInMageRcmEventDetails(element); - case "InMageRcmFailback": return InMageRcmFailbackEventDetails.DeserializeInMageRcmFailbackEventDetails(element); - case "VMwareCbt": return VMwareCbtEventDetails.DeserializeVMwareCbtEventDetails(element); + case "A2A": return A2AEventDetails.DeserializeA2AEventDetails(element, options); + case "HyperVReplica2012": return HyperVReplica2012EventDetails.DeserializeHyperVReplica2012EventDetails(element, options); + case "HyperVReplica2012R2": return HyperVReplica2012R2EventDetails.DeserializeHyperVReplica2012R2EventDetails(element, options); + case "HyperVReplicaAzure": return HyperVReplicaAzureEventDetails.DeserializeHyperVReplicaAzureEventDetails(element, options); + case "HyperVReplicaBaseEventDetails": return HyperVReplicaBaseEventDetails.DeserializeHyperVReplicaBaseEventDetails(element, options); + case "InMageAzureV2": return InMageAzureV2EventDetails.DeserializeInMageAzureV2EventDetails(element, options); + case "InMageRcm": return InMageRcmEventDetails.DeserializeInMageRcmEventDetails(element, options); + case "InMageRcmFailback": return InMageRcmFailbackEventDetails.DeserializeInMageRcmFailbackEventDetails(element, options); + case "VMwareCbt": return VMwareCbtEventDetails.DeserializeVMwareCbtEventDetails(element, options); } } - return UnknownEventProviderSpecificDetails.DeserializeUnknownEventProviderSpecificDetails(element); + return UnknownEventProviderSpecificDetails.DeserializeUnknownEventProviderSpecificDetails(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryEventSpecificDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryEventSpecificDetails.Serialization.cs index 98a6a773e8a1b..f17bd6460c071 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryEventSpecificDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryEventSpecificDetails.Serialization.cs @@ -70,10 +70,10 @@ internal static SiteRecoveryEventSpecificDetails DeserializeSiteRecoveryEventSpe { switch (discriminator.GetString()) { - case "JobStatus": return SiteRecoveryJobStatusEventDetails.DeserializeSiteRecoveryJobStatusEventDetails(element); + case "JobStatus": return SiteRecoveryJobStatusEventDetails.DeserializeSiteRecoveryJobStatusEventDetails(element, options); } } - return UnknownEventSpecificDetails.DeserializeUnknownEventSpecificDetails(element); + return UnknownEventSpecificDetails.DeserializeUnknownEventSpecificDetails(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryFabricCreateOrUpdateContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryFabricCreateOrUpdateContent.Serialization.cs index 8a32218e2a444..3fcae0748b31a 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryFabricCreateOrUpdateContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryFabricCreateOrUpdateContent.Serialization.cs @@ -80,7 +80,7 @@ internal static SiteRecoveryFabricCreateOrUpdateContent DeserializeSiteRecoveryF { continue; } - properties = FabricCreationProperties.DeserializeFabricCreationProperties(property.Value); + properties = FabricCreationProperties.DeserializeFabricCreationProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryFabricListResult.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryFabricListResult.Serialization.cs index 2aebe77207dfe..182d0ea1ea001 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryFabricListResult.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryFabricListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static SiteRecoveryFabricListResult DeserializeSiteRecoveryFabricListRe List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryFabricData.DeserializeSiteRecoveryFabricData(item)); + array.Add(SiteRecoveryFabricData.DeserializeSiteRecoveryFabricData(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryFabricProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryFabricProperties.Serialization.cs index 66d362a374f74..47515b474cde2 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryFabricProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryFabricProperties.Serialization.cs @@ -132,7 +132,7 @@ internal static SiteRecoveryFabricProperties DeserializeSiteRecoveryFabricProper { continue; } - encryptionDetails = SiteRecoveryEncryptionDetails.DeserializeSiteRecoveryEncryptionDetails(property.Value); + encryptionDetails = SiteRecoveryEncryptionDetails.DeserializeSiteRecoveryEncryptionDetails(property.Value, options); continue; } if (property.NameEquals("rolloverEncryptionDetails"u8)) @@ -141,7 +141,7 @@ internal static SiteRecoveryFabricProperties DeserializeSiteRecoveryFabricProper { continue; } - rolloverEncryptionDetails = SiteRecoveryEncryptionDetails.DeserializeSiteRecoveryEncryptionDetails(property.Value); + rolloverEncryptionDetails = SiteRecoveryEncryptionDetails.DeserializeSiteRecoveryEncryptionDetails(property.Value, options); continue; } if (property.NameEquals("internalIdentifier"u8)) @@ -160,7 +160,7 @@ internal static SiteRecoveryFabricProperties DeserializeSiteRecoveryFabricProper { continue; } - customDetails = FabricSpecificDetails.DeserializeFabricSpecificDetails(property.Value); + customDetails = FabricSpecificDetails.DeserializeFabricSpecificDetails(property.Value, options); continue; } if (property.NameEquals("healthErrorDetails"u8)) @@ -172,7 +172,7 @@ internal static SiteRecoveryFabricProperties DeserializeSiteRecoveryFabricProper List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryHealthError.DeserializeSiteRecoveryHealthError(item)); + array.Add(SiteRecoveryHealthError.DeserializeSiteRecoveryHealthError(item, options)); } healthErrorDetails = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryFabricProviderSpecificDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryFabricProviderSpecificDetails.Serialization.cs index c60c375d22d40..362a54a10ca81 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryFabricProviderSpecificDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryFabricProviderSpecificDetails.Serialization.cs @@ -165,7 +165,7 @@ internal static SiteRecoveryFabricProviderSpecificDetails DeserializeSiteRecover List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(A2AZoneDetails.DeserializeA2AZoneDetails(item)); + array.Add(A2AZoneDetails.DeserializeA2AZoneDetails(item, options)); } zones = array; continue; @@ -179,7 +179,7 @@ internal static SiteRecoveryFabricProviderSpecificDetails DeserializeSiteRecover List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(A2AExtendedLocationDetails.DeserializeA2AExtendedLocationDetails(item)); + array.Add(A2AExtendedLocationDetails.DeserializeA2AExtendedLocationDetails(item, options)); } extendedLocations = array; continue; @@ -193,7 +193,7 @@ internal static SiteRecoveryFabricProviderSpecificDetails DeserializeSiteRecover List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(A2AFabricSpecificLocationDetails.DeserializeA2AFabricSpecificLocationDetails(item)); + array.Add(A2AFabricSpecificLocationDetails.DeserializeA2AFabricSpecificLocationDetails(item, options)); } locationDetails = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryGroupTaskDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryGroupTaskDetails.Serialization.cs index cbb75c7f1d1bb..34584d06af124 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryGroupTaskDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryGroupTaskDetails.Serialization.cs @@ -80,12 +80,12 @@ internal static SiteRecoveryGroupTaskDetails DeserializeSiteRecoveryGroupTaskDet { switch (discriminator.GetString()) { - case "InlineWorkflowTaskDetails": return InlineWorkflowTaskDetails.DeserializeInlineWorkflowTaskDetails(element); - case "RecoveryPlanGroupTaskDetails": return RecoveryPlanGroupTaskDetails.DeserializeRecoveryPlanGroupTaskDetails(element); - case "RecoveryPlanShutdownGroupTaskDetails": return RecoveryPlanShutdownGroupTaskDetails.DeserializeRecoveryPlanShutdownGroupTaskDetails(element); + case "InlineWorkflowTaskDetails": return InlineWorkflowTaskDetails.DeserializeInlineWorkflowTaskDetails(element, options); + case "RecoveryPlanGroupTaskDetails": return RecoveryPlanGroupTaskDetails.DeserializeRecoveryPlanGroupTaskDetails(element, options); + case "RecoveryPlanShutdownGroupTaskDetails": return RecoveryPlanShutdownGroupTaskDetails.DeserializeRecoveryPlanShutdownGroupTaskDetails(element, options); } } - return UnknownGroupTaskDetails.DeserializeUnknownGroupTaskDetails(element); + return UnknownGroupTaskDetails.DeserializeUnknownGroupTaskDetails(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryHealthError.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryHealthError.Serialization.cs index 041df37f50e33..050d891a207b0 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryHealthError.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryHealthError.Serialization.cs @@ -172,7 +172,7 @@ internal static SiteRecoveryHealthError DeserializeSiteRecoveryHealthError(JsonE List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryInnerHealthError.DeserializeSiteRecoveryInnerHealthError(item)); + array.Add(SiteRecoveryInnerHealthError.DeserializeSiteRecoveryInnerHealthError(item, options)); } innerHealthErrors = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryJobDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryJobDetails.Serialization.cs index 9b8e5094c2557..b4c762714b2cc 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryJobDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryJobDetails.Serialization.cs @@ -81,14 +81,14 @@ internal static SiteRecoveryJobDetails DeserializeSiteRecoveryJobDetails(JsonEle { switch (discriminator.GetString()) { - case "AsrJobDetails": return AsrJobDetails.DeserializeAsrJobDetails(element); - case "ExportJobDetails": return ExportJobDetails.DeserializeExportJobDetails(element); - case "FailoverJobDetails": return FailoverJobDetails.DeserializeFailoverJobDetails(element); - case "SwitchProtectionJobDetails": return SwitchProtectionJobDetails.DeserializeSwitchProtectionJobDetails(element); - case "TestFailoverJobDetails": return TestFailoverJobDetails.DeserializeTestFailoverJobDetails(element); + case "AsrJobDetails": return AsrJobDetails.DeserializeAsrJobDetails(element, options); + case "ExportJobDetails": return ExportJobDetails.DeserializeExportJobDetails(element, options); + case "FailoverJobDetails": return FailoverJobDetails.DeserializeFailoverJobDetails(element, options); + case "SwitchProtectionJobDetails": return SwitchProtectionJobDetails.DeserializeSwitchProtectionJobDetails(element, options); + case "TestFailoverJobDetails": return TestFailoverJobDetails.DeserializeTestFailoverJobDetails(element, options); } } - return UnknownJobDetails.DeserializeUnknownJobDetails(element); + return UnknownJobDetails.DeserializeUnknownJobDetails(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryJobErrorDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryJobErrorDetails.Serialization.cs index 3af5fcf720870..51e0c49b754d1 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryJobErrorDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryJobErrorDetails.Serialization.cs @@ -104,7 +104,7 @@ internal static SiteRecoveryJobErrorDetails DeserializeSiteRecoveryJobErrorDetai { continue; } - serviceErrorDetails = SiteRecoveryServiceError.DeserializeSiteRecoveryServiceError(property.Value); + serviceErrorDetails = SiteRecoveryServiceError.DeserializeSiteRecoveryServiceError(property.Value, options); continue; } if (property.NameEquals("providerErrorDetails"u8)) @@ -113,7 +113,7 @@ internal static SiteRecoveryJobErrorDetails DeserializeSiteRecoveryJobErrorDetai { continue; } - providerErrorDetails = SiteRecoveryJobProviderError.DeserializeSiteRecoveryJobProviderError(property.Value); + providerErrorDetails = SiteRecoveryJobProviderError.DeserializeSiteRecoveryJobProviderError(property.Value, options); continue; } if (property.NameEquals("errorLevel"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryJobListResult.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryJobListResult.Serialization.cs index 867d3b09d6d74..b6e003078f374 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryJobListResult.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryJobListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static SiteRecoveryJobListResult DeserializeSiteRecoveryJobListResult(J List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryJobData.DeserializeSiteRecoveryJobData(item)); + array.Add(SiteRecoveryJobData.DeserializeSiteRecoveryJobData(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryJobProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryJobProperties.Serialization.cs index 377c7dc03035a..3cbe9578a658d 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryJobProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryJobProperties.Serialization.cs @@ -201,7 +201,7 @@ internal static SiteRecoveryJobProperties DeserializeSiteRecoveryJobProperties(J List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(AsrTask.DeserializeAsrTask(item)); + array.Add(AsrTask.DeserializeAsrTask(item, options)); } tasks = array; continue; @@ -215,7 +215,7 @@ internal static SiteRecoveryJobProperties DeserializeSiteRecoveryJobProperties(J List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryJobErrorDetails.DeserializeSiteRecoveryJobErrorDetails(item)); + array.Add(SiteRecoveryJobErrorDetails.DeserializeSiteRecoveryJobErrorDetails(item, options)); } errors = array; continue; @@ -273,7 +273,7 @@ internal static SiteRecoveryJobProperties DeserializeSiteRecoveryJobProperties(J { continue; } - customDetails = SiteRecoveryJobDetails.DeserializeSiteRecoveryJobDetails(property.Value); + customDetails = SiteRecoveryJobDetails.DeserializeSiteRecoveryJobDetails(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryJobTaskDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryJobTaskDetails.Serialization.cs index c555d2fcbeb39..2612953046dba 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryJobTaskDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryJobTaskDetails.Serialization.cs @@ -75,8 +75,8 @@ internal static SiteRecoveryJobTaskDetails DeserializeSiteRecoveryJobTaskDetails { switch (discriminator.GetString()) { - case "FabricReplicationGroupTaskDetails": return FabricReplicationGroupTaskDetails.DeserializeFabricReplicationGroupTaskDetails(element); - case "VirtualMachineTaskDetails": return SiteRecoveryVmTaskDetails.DeserializeSiteRecoveryVmTaskDetails(element); + case "FabricReplicationGroupTaskDetails": return FabricReplicationGroupTaskDetails.DeserializeFabricReplicationGroupTaskDetails(element, options); + case "VirtualMachineTaskDetails": return SiteRecoveryVmTaskDetails.DeserializeSiteRecoveryVmTaskDetails(element, options); } } Optional jobTask = default; @@ -91,7 +91,7 @@ internal static SiteRecoveryJobTaskDetails DeserializeSiteRecoveryJobTaskDetails { continue; } - jobTask = SiteRecoveryJobEntity.DeserializeSiteRecoveryJobEntity(property.Value); + jobTask = SiteRecoveryJobEntity.DeserializeSiteRecoveryJobEntity(property.Value, options); continue; } if (property.NameEquals("instanceType"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryListResult.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryListResult.Serialization.cs index b46c33be98dd1..0f1f1c80ed37e 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryListResult.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static SiteRecoveryListResult DeserializeSiteRecoveryListResult(JsonEle List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryEventData.DeserializeSiteRecoveryEventData(item)); + array.Add(SiteRecoveryEventData.DeserializeSiteRecoveryEventData(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryLogicalNetworkListResult.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryLogicalNetworkListResult.Serialization.cs index fa6982d127bcf..78f4886a31b8f 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryLogicalNetworkListResult.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryLogicalNetworkListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static SiteRecoveryLogicalNetworkListResult DeserializeSiteRecoveryLogi List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryLogicalNetworkData.DeserializeSiteRecoveryLogicalNetworkData(item)); + array.Add(SiteRecoveryLogicalNetworkData.DeserializeSiteRecoveryLogicalNetworkData(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryMigrateContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryMigrateContent.Serialization.cs index 789c21b709d22..6e4b913d17bce 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryMigrateContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryMigrateContent.Serialization.cs @@ -73,7 +73,7 @@ internal static SiteRecoveryMigrateContent DeserializeSiteRecoveryMigrateContent { if (property.NameEquals("properties"u8)) { - properties = SiteRecoveryMigrateProperties.DeserializeSiteRecoveryMigrateProperties(property.Value); + properties = SiteRecoveryMigrateProperties.DeserializeSiteRecoveryMigrateProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryMigrateProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryMigrateProperties.Serialization.cs index 31146032c2706..4b532eac1869e 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryMigrateProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryMigrateProperties.Serialization.cs @@ -73,7 +73,7 @@ internal static SiteRecoveryMigrateProperties DeserializeSiteRecoveryMigrateProp { if (property.NameEquals("providerSpecificDetails"u8)) { - providerSpecificDetails = MigrateProviderSpecificContent.DeserializeMigrateProviderSpecificContent(property.Value); + providerSpecificDetails = MigrateProviderSpecificContent.DeserializeMigrateProviderSpecificContent(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryMigrationItemCreateOrUpdateContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryMigrationItemCreateOrUpdateContent.Serialization.cs index 0329960f82f49..d5f2e5d8da225 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryMigrationItemCreateOrUpdateContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryMigrationItemCreateOrUpdateContent.Serialization.cs @@ -73,7 +73,7 @@ internal static SiteRecoveryMigrationItemCreateOrUpdateContent DeserializeSiteRe { if (property.NameEquals("properties"u8)) { - properties = EnableMigrationProperties.DeserializeEnableMigrationProperties(property.Value); + properties = EnableMigrationProperties.DeserializeEnableMigrationProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryMigrationItemListResult.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryMigrationItemListResult.Serialization.cs index 350cc96fc36c5..e3b7564c02196 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryMigrationItemListResult.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryMigrationItemListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static SiteRecoveryMigrationItemListResult DeserializeSiteRecoveryMigra List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryMigrationItemData.DeserializeSiteRecoveryMigrationItemData(item)); + array.Add(SiteRecoveryMigrationItemData.DeserializeSiteRecoveryMigrationItemData(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryMigrationItemPatch.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryMigrationItemPatch.Serialization.cs index 387bf11824427..7446ccbd3da45 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryMigrationItemPatch.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryMigrationItemPatch.Serialization.cs @@ -80,7 +80,7 @@ internal static SiteRecoveryMigrationItemPatch DeserializeSiteRecoveryMigrationI { continue; } - properties = UpdateMigrationItemProperties.DeserializeUpdateMigrationItemProperties(property.Value); + properties = UpdateMigrationItemProperties.DeserializeUpdateMigrationItemProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryMigrationItemProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryMigrationItemProperties.Serialization.cs index 34d106e49a8da..0ea204855cdb4 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryMigrationItemProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryMigrationItemProperties.Serialization.cs @@ -306,7 +306,7 @@ internal static SiteRecoveryMigrationItemProperties DeserializeSiteRecoveryMigra List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryHealthError.DeserializeSiteRecoveryHealthError(item)); + array.Add(SiteRecoveryHealthError.DeserializeSiteRecoveryHealthError(item, options)); } healthErrors = array; continue; @@ -331,7 +331,7 @@ internal static SiteRecoveryMigrationItemProperties DeserializeSiteRecoveryMigra { continue; } - currentJob = CurrentJobDetails.DeserializeCurrentJobDetails(property.Value); + currentJob = CurrentJobDetails.DeserializeCurrentJobDetails(property.Value, options); continue; } if (property.NameEquals("criticalJobHistory"u8)) @@ -343,7 +343,7 @@ internal static SiteRecoveryMigrationItemProperties DeserializeSiteRecoveryMigra List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(CriticalJobHistoryDetails.DeserializeCriticalJobHistoryDetails(item)); + array.Add(CriticalJobHistoryDetails.DeserializeCriticalJobHistoryDetails(item, options)); } criticalJobHistory = array; continue; @@ -359,7 +359,7 @@ internal static SiteRecoveryMigrationItemProperties DeserializeSiteRecoveryMigra { continue; } - providerSpecificDetails = MigrationProviderSpecificSettings.DeserializeMigrationProviderSpecificSettings(property.Value); + providerSpecificDetails = MigrationProviderSpecificSettings.DeserializeMigrationProviderSpecificSettings(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryNetworkListResult.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryNetworkListResult.Serialization.cs index d0cf103618110..8ab40e372a766 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryNetworkListResult.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryNetworkListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static SiteRecoveryNetworkListResult DeserializeSiteRecoveryNetworkList List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryNetworkData.DeserializeSiteRecoveryNetworkData(item)); + array.Add(SiteRecoveryNetworkData.DeserializeSiteRecoveryNetworkData(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryNetworkMappingCreateOrUpdateContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryNetworkMappingCreateOrUpdateContent.Serialization.cs index c232ecbb7b4fe..3bb060b7be60c 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryNetworkMappingCreateOrUpdateContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryNetworkMappingCreateOrUpdateContent.Serialization.cs @@ -73,7 +73,7 @@ internal static SiteRecoveryNetworkMappingCreateOrUpdateContent DeserializeSiteR { if (property.NameEquals("properties"u8)) { - properties = SiteRecoveryCreateReplicationNetworkMappingProperties.DeserializeSiteRecoveryCreateReplicationNetworkMappingProperties(property.Value); + properties = SiteRecoveryCreateReplicationNetworkMappingProperties.DeserializeSiteRecoveryCreateReplicationNetworkMappingProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryNetworkMappingListResult.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryNetworkMappingListResult.Serialization.cs index f64c785e4c1c4..c56741adca633 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryNetworkMappingListResult.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryNetworkMappingListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static SiteRecoveryNetworkMappingListResult DeserializeSiteRecoveryNetw List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryNetworkMappingData.DeserializeSiteRecoveryNetworkMappingData(item)); + array.Add(SiteRecoveryNetworkMappingData.DeserializeSiteRecoveryNetworkMappingData(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryNetworkMappingPatch.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryNetworkMappingPatch.Serialization.cs index b41e7f18afea4..064cf67226b2a 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryNetworkMappingPatch.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryNetworkMappingPatch.Serialization.cs @@ -80,7 +80,7 @@ internal static SiteRecoveryNetworkMappingPatch DeserializeSiteRecoveryNetworkMa { continue; } - properties = UpdateNetworkMappingProperties.DeserializeUpdateNetworkMappingProperties(property.Value); + properties = UpdateNetworkMappingProperties.DeserializeUpdateNetworkMappingProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryNetworkMappingProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryNetworkMappingProperties.Serialization.cs index e6b6a224b03c7..0111192df4634 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryNetworkMappingProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryNetworkMappingProperties.Serialization.cs @@ -180,7 +180,7 @@ internal static SiteRecoveryNetworkMappingProperties DeserializeSiteRecoveryNetw { continue; } - fabricSpecificSettings = NetworkMappingFabricSpecificSettings.DeserializeNetworkMappingFabricSpecificSettings(property.Value); + fabricSpecificSettings = NetworkMappingFabricSpecificSettings.DeserializeNetworkMappingFabricSpecificSettings(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryNetworkProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryNetworkProperties.Serialization.cs index dbe008ec9cdbf..ebaa0c8b5e02f 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryNetworkProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryNetworkProperties.Serialization.cs @@ -111,7 +111,7 @@ internal static SiteRecoveryNetworkProperties DeserializeSiteRecoveryNetworkProp List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoverySubnet.DeserializeSiteRecoverySubnet(item)); + array.Add(SiteRecoverySubnet.DeserializeSiteRecoverySubnet(item, options)); } subnets = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryPlanGroup.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryPlanGroup.Serialization.cs index 475bd5594f1e1..4d0f4adc6df14 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryPlanGroup.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryPlanGroup.Serialization.cs @@ -118,7 +118,7 @@ internal static SiteRecoveryPlanGroup DeserializeSiteRecoveryPlanGroup(JsonEleme List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RecoveryPlanProtectedItem.DeserializeRecoveryPlanProtectedItem(item)); + array.Add(RecoveryPlanProtectedItem.DeserializeRecoveryPlanProtectedItem(item, options)); } replicationProtectedItems = array; continue; @@ -132,7 +132,7 @@ internal static SiteRecoveryPlanGroup DeserializeSiteRecoveryPlanGroup(JsonEleme List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RecoveryPlanAction.DeserializeRecoveryPlanAction(item)); + array.Add(RecoveryPlanAction.DeserializeRecoveryPlanAction(item, options)); } startGroupActions = array; continue; @@ -146,7 +146,7 @@ internal static SiteRecoveryPlanGroup DeserializeSiteRecoveryPlanGroup(JsonEleme List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RecoveryPlanAction.DeserializeRecoveryPlanAction(item)); + array.Add(RecoveryPlanAction.DeserializeRecoveryPlanAction(item, options)); } endGroupActions = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryPointListResult.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryPointListResult.Serialization.cs index 699ac74b46668..166258db74162 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryPointListResult.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryPointListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static SiteRecoveryPointListResult DeserializeSiteRecoveryPointListResu List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryPointData.DeserializeSiteRecoveryPointData(item)); + array.Add(SiteRecoveryPointData.DeserializeSiteRecoveryPointData(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryPointProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryPointProperties.Serialization.cs index 4613661a50b3a..c85da6c584c7d 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryPointProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryPointProperties.Serialization.cs @@ -106,7 +106,7 @@ internal static SiteRecoveryPointProperties DeserializeSiteRecoveryPointProperti { continue; } - providerSpecificDetails = ProviderSpecificRecoveryPointDetails.DeserializeProviderSpecificRecoveryPointDetails(property.Value); + providerSpecificDetails = ProviderSpecificRecoveryPointDetails.DeserializeProviderSpecificRecoveryPointDetails(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryPolicyCreateOrUpdateContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryPolicyCreateOrUpdateContent.Serialization.cs index bd6f609ad0e03..a24abc363791e 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryPolicyCreateOrUpdateContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryPolicyCreateOrUpdateContent.Serialization.cs @@ -80,7 +80,7 @@ internal static SiteRecoveryPolicyCreateOrUpdateContent DeserializeSiteRecoveryP { continue; } - properties = SiteRecoveryCreatePolicyProperties.DeserializeSiteRecoveryCreatePolicyProperties(property.Value); + properties = SiteRecoveryCreatePolicyProperties.DeserializeSiteRecoveryCreatePolicyProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryPolicyListResult.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryPolicyListResult.Serialization.cs index 81a35dcbbf9df..261abef3cf490 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryPolicyListResult.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryPolicyListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static SiteRecoveryPolicyListResult DeserializeSiteRecoveryPolicyListRe List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryPolicyData.DeserializeSiteRecoveryPolicyData(item)); + array.Add(SiteRecoveryPolicyData.DeserializeSiteRecoveryPolicyData(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryPolicyPatch.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryPolicyPatch.Serialization.cs index 24767a8bf9214..6f2879d0a3601 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryPolicyPatch.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryPolicyPatch.Serialization.cs @@ -80,7 +80,7 @@ internal static SiteRecoveryPolicyPatch DeserializeSiteRecoveryPolicyPatch(JsonE { continue; } - properties = UpdatePolicyContentProperties.DeserializeUpdatePolicyContentProperties(property.Value); + properties = UpdatePolicyContentProperties.DeserializeUpdatePolicyContentProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryPolicyProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryPolicyProperties.Serialization.cs index 0f053ccd6f226..996817379015f 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryPolicyProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryPolicyProperties.Serialization.cs @@ -91,7 +91,7 @@ internal static SiteRecoveryPolicyProperties DeserializeSiteRecoveryPolicyProper { continue; } - providerSpecificDetails = PolicyProviderSpecificDetails.DeserializePolicyProviderSpecificDetails(property.Value); + providerSpecificDetails = PolicyProviderSpecificDetails.DeserializePolicyProviderSpecificDetails(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryProcessServer.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryProcessServer.Serialization.cs index 9afcca6fc7b6b..27b30b4bbc2af 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryProcessServer.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryProcessServer.Serialization.cs @@ -347,7 +347,7 @@ internal static SiteRecoveryProcessServer DeserializeSiteRecoveryProcessServer(J List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(MobilityServiceUpdate.DeserializeMobilityServiceUpdate(item)); + array.Add(MobilityServiceUpdate.DeserializeMobilityServiceUpdate(item, options)); } mobilityServiceUpdates = array; continue; @@ -470,7 +470,7 @@ internal static SiteRecoveryProcessServer DeserializeSiteRecoveryProcessServer(J List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryHealthError.DeserializeSiteRecoveryHealthError(item)); + array.Add(SiteRecoveryHealthError.DeserializeSiteRecoveryHealthError(item, options)); } healthErrors = array; continue; @@ -490,7 +490,7 @@ internal static SiteRecoveryProcessServer DeserializeSiteRecoveryProcessServer(J { continue; } - agentVersionDetails = SiteRecoveryVersionDetails.DeserializeSiteRecoveryVersionDetails(property.Value); + agentVersionDetails = SiteRecoveryVersionDetails.DeserializeSiteRecoveryVersionDetails(property.Value, options); continue; } if (property.NameEquals("health"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryProcessServerDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryProcessServerDetails.Serialization.cs index 05aad825c44db..d4bc638e3ae09 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryProcessServerDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryProcessServerDetails.Serialization.cs @@ -493,7 +493,7 @@ internal static SiteRecoveryProcessServerDetails DeserializeSiteRecoveryProcessS List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryHealthError.DeserializeSiteRecoveryHealthError(item)); + array.Add(SiteRecoveryHealthError.DeserializeSiteRecoveryHealthError(item, options)); } healthErrors = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryProtectableItemListResult.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryProtectableItemListResult.Serialization.cs index a470a201ee4e7..ac95a391b3438 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryProtectableItemListResult.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryProtectableItemListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static SiteRecoveryProtectableItemListResult DeserializeSiteRecoveryPro List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryProtectableItemData.DeserializeSiteRecoveryProtectableItemData(item)); + array.Add(SiteRecoveryProtectableItemData.DeserializeSiteRecoveryProtectableItemData(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryProtectableItemProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryProtectableItemProperties.Serialization.cs index 48eef358dc00d..efec06b119e69 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryProtectableItemProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryProtectableItemProperties.Serialization.cs @@ -182,7 +182,7 @@ internal static SiteRecoveryProtectableItemProperties DeserializeSiteRecoveryPro { continue; } - customDetails = SiteRecoveryReplicationProviderSettings.DeserializeSiteRecoveryReplicationProviderSettings(property.Value); + customDetails = SiteRecoveryReplicationProviderSettings.DeserializeSiteRecoveryReplicationProviderSettings(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryProtectionContainerCreateOrUpdateContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryProtectionContainerCreateOrUpdateContent.Serialization.cs index 4cbfd49c694fe..ee25cfc5b11f7 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryProtectionContainerCreateOrUpdateContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryProtectionContainerCreateOrUpdateContent.Serialization.cs @@ -80,7 +80,7 @@ internal static SiteRecoveryProtectionContainerCreateOrUpdateContent Deserialize { continue; } - properties = SiteRecoveryCreateProtectionContainerProperties.DeserializeSiteRecoveryCreateProtectionContainerProperties(property.Value); + properties = SiteRecoveryCreateProtectionContainerProperties.DeserializeSiteRecoveryCreateProtectionContainerProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryProtectionContainerListResult.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryProtectionContainerListResult.Serialization.cs index 1c57c664b6ea6..ec62a683d33d5 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryProtectionContainerListResult.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryProtectionContainerListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static SiteRecoveryProtectionContainerListResult DeserializeSiteRecover List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryProtectionContainerData.DeserializeSiteRecoveryProtectionContainerData(item)); + array.Add(SiteRecoveryProtectionContainerData.DeserializeSiteRecoveryProtectionContainerData(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryProtectionContainerProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryProtectionContainerProperties.Serialization.cs index b4216e0e64411..45b05321b36bd 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryProtectionContainerProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryProtectionContainerProperties.Serialization.cs @@ -150,7 +150,7 @@ internal static SiteRecoveryProtectionContainerProperties DeserializeSiteRecover { continue; } - fabricSpecificDetails = ProtectionContainerFabricSpecificDetails.DeserializeProtectionContainerFabricSpecificDetails(property.Value); + fabricSpecificDetails = ProtectionContainerFabricSpecificDetails.DeserializeProtectionContainerFabricSpecificDetails(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryRecoveryPlanCreateOrUpdateContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryRecoveryPlanCreateOrUpdateContent.Serialization.cs index 7bbe0828f1198..0e7ed03db8377 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryRecoveryPlanCreateOrUpdateContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryRecoveryPlanCreateOrUpdateContent.Serialization.cs @@ -73,7 +73,7 @@ internal static SiteRecoveryRecoveryPlanCreateOrUpdateContent DeserializeSiteRec { if (property.NameEquals("properties"u8)) { - properties = SiteRecoveryCreateRecoveryPlanProperties.DeserializeSiteRecoveryCreateRecoveryPlanProperties(property.Value); + properties = SiteRecoveryCreateRecoveryPlanProperties.DeserializeSiteRecoveryCreateRecoveryPlanProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryRecoveryPlanListResult.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryRecoveryPlanListResult.Serialization.cs index 1d862e6d12c80..6f876a21c8efd 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryRecoveryPlanListResult.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryRecoveryPlanListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static SiteRecoveryRecoveryPlanListResult DeserializeSiteRecoveryRecove List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryRecoveryPlanData.DeserializeSiteRecoveryRecoveryPlanData(item)); + array.Add(SiteRecoveryRecoveryPlanData.DeserializeSiteRecoveryRecoveryPlanData(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryRecoveryPlanPatch.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryRecoveryPlanPatch.Serialization.cs index f04922d4542de..2b7407a28dd3e 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryRecoveryPlanPatch.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryRecoveryPlanPatch.Serialization.cs @@ -80,7 +80,7 @@ internal static SiteRecoveryRecoveryPlanPatch DeserializeSiteRecoveryRecoveryPla { continue; } - properties = UpdateRecoveryPlanContentProperties.DeserializeUpdateRecoveryPlanContentProperties(property.Value); + properties = UpdateRecoveryPlanContentProperties.DeserializeUpdateRecoveryPlanContentProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryRecoveryPlanProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryRecoveryPlanProperties.Serialization.cs index 441e7e79d75de..afe3686766603 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryRecoveryPlanProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryRecoveryPlanProperties.Serialization.cs @@ -283,7 +283,7 @@ internal static SiteRecoveryRecoveryPlanProperties DeserializeSiteRecoveryRecove { continue; } - currentScenario = CurrentScenarioDetails.DeserializeCurrentScenarioDetails(property.Value); + currentScenario = CurrentScenarioDetails.DeserializeCurrentScenarioDetails(property.Value, options); continue; } if (property.NameEquals("currentScenarioStatus"u8)) @@ -305,7 +305,7 @@ internal static SiteRecoveryRecoveryPlanProperties DeserializeSiteRecoveryRecove List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryPlanGroup.DeserializeSiteRecoveryPlanGroup(item)); + array.Add(SiteRecoveryPlanGroup.DeserializeSiteRecoveryPlanGroup(item, options)); } groups = array; continue; @@ -319,7 +319,7 @@ internal static SiteRecoveryRecoveryPlanProperties DeserializeSiteRecoveryRecove List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RecoveryPlanProviderSpecificDetails.DeserializeRecoveryPlanProviderSpecificDetails(item)); + array.Add(RecoveryPlanProviderSpecificDetails.DeserializeRecoveryPlanProviderSpecificDetails(item, options)); } providerSpecificDetails = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryReplicationAppliance.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryReplicationAppliance.Serialization.cs index e0204468759fc..ab70d145e0ff6 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryReplicationAppliance.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryReplicationAppliance.Serialization.cs @@ -80,7 +80,7 @@ internal static SiteRecoveryReplicationAppliance DeserializeSiteRecoveryReplicat { continue; } - properties = SiteRecoveryReplicationApplianceProperties.DeserializeSiteRecoveryReplicationApplianceProperties(property.Value); + properties = SiteRecoveryReplicationApplianceProperties.DeserializeSiteRecoveryReplicationApplianceProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryReplicationApplianceProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryReplicationApplianceProperties.Serialization.cs index 3829dad025ed2..8939cb2c0e9e8 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryReplicationApplianceProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryReplicationApplianceProperties.Serialization.cs @@ -80,7 +80,7 @@ internal static SiteRecoveryReplicationApplianceProperties DeserializeSiteRecove { continue; } - providerSpecificDetails = SiteRecoveryApplianceSpecificDetails.DeserializeSiteRecoveryApplianceSpecificDetails(property.Value); + providerSpecificDetails = SiteRecoveryApplianceSpecificDetails.DeserializeSiteRecoveryApplianceSpecificDetails(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryReplicationProviderSettings.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryReplicationProviderSettings.Serialization.cs index d8f76a5b05179..6fd4e3ce51f02 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryReplicationProviderSettings.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryReplicationProviderSettings.Serialization.cs @@ -70,13 +70,13 @@ internal static SiteRecoveryReplicationProviderSettings DeserializeSiteRecoveryR { switch (discriminator.GetString()) { - case "HyperVVirtualMachine": return HyperVVmDetails.DeserializeHyperVVmDetails(element); - case "ReplicationGroupDetails": return ReplicationGroupDetails.DeserializeReplicationGroupDetails(element); - case "VMwareVirtualMachine": return VMwareVmDetails.DeserializeVMwareVmDetails(element); - case "VmmVirtualMachine": return VmmVmDetails.DeserializeVmmVmDetails(element); + case "HyperVVirtualMachine": return HyperVVmDetails.DeserializeHyperVVmDetails(element, options); + case "ReplicationGroupDetails": return ReplicationGroupDetails.DeserializeReplicationGroupDetails(element, options); + case "VMwareVirtualMachine": return VMwareVmDetails.DeserializeVMwareVmDetails(element, options); + case "VmmVirtualMachine": return VmmVmDetails.DeserializeVmmVmDetails(element, options); } } - return UnknownConfigurationSettings.DeserializeUnknownConfigurationSettings(element); + return UnknownConfigurationSettings.DeserializeUnknownConfigurationSettings(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryServicesProviderCreateOrUpdateContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryServicesProviderCreateOrUpdateContent.Serialization.cs index 99d482627b90a..f3caf036a4ee9 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryServicesProviderCreateOrUpdateContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryServicesProviderCreateOrUpdateContent.Serialization.cs @@ -73,7 +73,7 @@ internal static SiteRecoveryServicesProviderCreateOrUpdateContent DeserializeSit { if (property.NameEquals("properties"u8)) { - properties = SiteRecoveryAddRecoveryServicesProviderProperties.DeserializeSiteRecoveryAddRecoveryServicesProviderProperties(property.Value); + properties = SiteRecoveryAddRecoveryServicesProviderProperties.DeserializeSiteRecoveryAddRecoveryServicesProviderProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryServicesProviderListResult.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryServicesProviderListResult.Serialization.cs index 6a6a38cf678ce..e86c5dc1cdb83 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryServicesProviderListResult.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryServicesProviderListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static SiteRecoveryServicesProviderListResult DeserializeSiteRecoverySe List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryServicesProviderData.DeserializeSiteRecoveryServicesProviderData(item)); + array.Add(SiteRecoveryServicesProviderData.DeserializeSiteRecoveryServicesProviderData(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryServicesProviderProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryServicesProviderProperties.Serialization.cs index 3394ec8f9343a..c867c03874394 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryServicesProviderProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryServicesProviderProperties.Serialization.cs @@ -283,7 +283,7 @@ internal static SiteRecoveryServicesProviderProperties DeserializeSiteRecoverySe List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryHealthError.DeserializeSiteRecoveryHealthError(item)); + array.Add(SiteRecoveryHealthError.DeserializeSiteRecoveryHealthError(item, options)); } healthErrorDetails = array; continue; @@ -314,7 +314,7 @@ internal static SiteRecoveryServicesProviderProperties DeserializeSiteRecoverySe { continue; } - authenticationIdentityDetails = IdentityProviderDetails.DeserializeIdentityProviderDetails(property.Value); + authenticationIdentityDetails = IdentityProviderDetails.DeserializeIdentityProviderDetails(property.Value, options); continue; } if (property.NameEquals("resourceAccessIdentityDetails"u8)) @@ -323,7 +323,7 @@ internal static SiteRecoveryServicesProviderProperties DeserializeSiteRecoverySe { continue; } - resourceAccessIdentityDetails = IdentityProviderDetails.DeserializeIdentityProviderDetails(property.Value); + resourceAccessIdentityDetails = IdentityProviderDetails.DeserializeIdentityProviderDetails(property.Value, options); continue; } if (property.NameEquals("dataPlaneAuthenticationIdentityDetails"u8)) @@ -332,7 +332,7 @@ internal static SiteRecoveryServicesProviderProperties DeserializeSiteRecoverySe { continue; } - dataPlaneAuthenticationIdentityDetails = IdentityProviderDetails.DeserializeIdentityProviderDetails(property.Value); + dataPlaneAuthenticationIdentityDetails = IdentityProviderDetails.DeserializeIdentityProviderDetails(property.Value, options); continue; } if (property.NameEquals("providerVersionDetails"u8)) @@ -341,7 +341,7 @@ internal static SiteRecoveryServicesProviderProperties DeserializeSiteRecoverySe { continue; } - providerVersionDetails = SiteRecoveryVersionDetails.DeserializeSiteRecoveryVersionDetails(property.Value); + providerVersionDetails = SiteRecoveryVersionDetails.DeserializeSiteRecoveryVersionDetails(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoverySupportedOSDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoverySupportedOSDetails.Serialization.cs index f2ba626308f67..a54da49c53753 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoverySupportedOSDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoverySupportedOSDetails.Serialization.cs @@ -110,7 +110,7 @@ internal static SiteRecoverySupportedOSDetails DeserializeSiteRecoverySupportedO List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryOSVersionWrapper.DeserializeSiteRecoveryOSVersionWrapper(item)); + array.Add(SiteRecoveryOSVersionWrapper.DeserializeSiteRecoveryOSVersionWrapper(item, options)); } osVersions = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoverySupportedOSProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoverySupportedOSProperties.Serialization.cs index 28fe0e7af826d..bbeaa3870889d 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoverySupportedOSProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoverySupportedOSProperties.Serialization.cs @@ -88,7 +88,7 @@ internal static SiteRecoverySupportedOSProperties DeserializeSiteRecoverySupport List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoverySupportedOSProperty.DeserializeSiteRecoverySupportedOSProperty(item)); + array.Add(SiteRecoverySupportedOSProperty.DeserializeSiteRecoverySupportedOSProperty(item, options)); } supportedOSList = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoverySupportedOSProperty.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoverySupportedOSProperty.Serialization.cs index 40d955db24b44..f256dcb646854 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoverySupportedOSProperty.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoverySupportedOSProperty.Serialization.cs @@ -99,7 +99,7 @@ internal static SiteRecoverySupportedOSProperty DeserializeSiteRecoverySupported List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoverySupportedOSDetails.DeserializeSiteRecoverySupportedOSDetails(item)); + array.Add(SiteRecoverySupportedOSDetails.DeserializeSiteRecoverySupportedOSDetails(item, options)); } supportedOS = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoverySupportedOperatingSystems.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoverySupportedOperatingSystems.Serialization.cs index 6d9d9db5de20e..63723019636b8 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoverySupportedOperatingSystems.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoverySupportedOperatingSystems.Serialization.cs @@ -111,7 +111,7 @@ internal static SiteRecoverySupportedOperatingSystems DeserializeSiteRecoverySup { continue; } - properties = SiteRecoverySupportedOSProperties.DeserializeSiteRecoverySupportedOSProperties(property.Value); + properties = SiteRecoverySupportedOSProperties.DeserializeSiteRecoverySupportedOSProperties(property.Value, options); continue; } if (property.NameEquals("location"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryTaskTypeDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryTaskTypeDetails.Serialization.cs index a6097eece6cc3..1b326d6765807 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryTaskTypeDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryTaskTypeDetails.Serialization.cs @@ -70,17 +70,17 @@ internal static SiteRecoveryTaskTypeDetails DeserializeSiteRecoveryTaskTypeDetai { switch (discriminator.GetString()) { - case "AutomationRunbookTaskDetails": return AutomationRunbookTaskDetails.DeserializeAutomationRunbookTaskDetails(element); - case "ConsistencyCheckTaskDetails": return ConsistencyCheckTaskDetails.DeserializeConsistencyCheckTaskDetails(element); - case "FabricReplicationGroupTaskDetails": return FabricReplicationGroupTaskDetails.DeserializeFabricReplicationGroupTaskDetails(element); - case "JobTaskDetails": return SiteRecoveryJobTaskDetails.DeserializeSiteRecoveryJobTaskDetails(element); - case "ManualActionTaskDetails": return ManualActionTaskDetails.DeserializeManualActionTaskDetails(element); - case "ScriptActionTaskDetails": return ScriptActionTaskDetails.DeserializeScriptActionTaskDetails(element); - case "VirtualMachineTaskDetails": return SiteRecoveryVmTaskDetails.DeserializeSiteRecoveryVmTaskDetails(element); - case "VmNicUpdatesTaskDetails": return VmNicUpdatesTaskDetails.DeserializeVmNicUpdatesTaskDetails(element); + case "AutomationRunbookTaskDetails": return AutomationRunbookTaskDetails.DeserializeAutomationRunbookTaskDetails(element, options); + case "ConsistencyCheckTaskDetails": return ConsistencyCheckTaskDetails.DeserializeConsistencyCheckTaskDetails(element, options); + case "FabricReplicationGroupTaskDetails": return FabricReplicationGroupTaskDetails.DeserializeFabricReplicationGroupTaskDetails(element, options); + case "JobTaskDetails": return SiteRecoveryJobTaskDetails.DeserializeSiteRecoveryJobTaskDetails(element, options); + case "ManualActionTaskDetails": return ManualActionTaskDetails.DeserializeManualActionTaskDetails(element, options); + case "ScriptActionTaskDetails": return ScriptActionTaskDetails.DeserializeScriptActionTaskDetails(element, options); + case "VirtualMachineTaskDetails": return SiteRecoveryVmTaskDetails.DeserializeSiteRecoveryVmTaskDetails(element, options); + case "VmNicUpdatesTaskDetails": return VmNicUpdatesTaskDetails.DeserializeVmNicUpdatesTaskDetails(element, options); } } - return UnknownTaskTypeDetails.DeserializeUnknownTaskTypeDetails(element); + return UnknownTaskTypeDetails.DeserializeUnknownTaskTypeDetails(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryVCenterCreateOrUpdateContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryVCenterCreateOrUpdateContent.Serialization.cs index 926466a0bc2c6..18c20d95f26e6 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryVCenterCreateOrUpdateContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryVCenterCreateOrUpdateContent.Serialization.cs @@ -80,7 +80,7 @@ internal static SiteRecoveryVCenterCreateOrUpdateContent DeserializeSiteRecovery { continue; } - properties = SiteRecoveryAddVCenterProperties.DeserializeSiteRecoveryAddVCenterProperties(property.Value); + properties = SiteRecoveryAddVCenterProperties.DeserializeSiteRecoveryAddVCenterProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryVCenterListResult.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryVCenterListResult.Serialization.cs index ea0fabb39a1c3..a520a920e1cba 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryVCenterListResult.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryVCenterListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static SiteRecoveryVCenterListResult DeserializeSiteRecoveryVCenterList List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryVCenterData.DeserializeSiteRecoveryVCenterData(item)); + array.Add(SiteRecoveryVCenterData.DeserializeSiteRecoveryVCenterData(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryVCenterPatch.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryVCenterPatch.Serialization.cs index e65dc2310c6f3..66160a48397e5 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryVCenterPatch.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryVCenterPatch.Serialization.cs @@ -80,7 +80,7 @@ internal static SiteRecoveryVCenterPatch DeserializeSiteRecoveryVCenterPatch(Jso { continue; } - properties = SiteRecoveryUpdateVCenterProperties.DeserializeSiteRecoveryUpdateVCenterProperties(property.Value); + properties = SiteRecoveryUpdateVCenterProperties.DeserializeSiteRecoveryUpdateVCenterProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryVCenterProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryVCenterProperties.Serialization.cs index 3d4f84f6ac370..73abc9629f038 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryVCenterProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryVCenterProperties.Serialization.cs @@ -211,7 +211,7 @@ internal static SiteRecoveryVCenterProperties DeserializeSiteRecoveryVCenterProp List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryHealthError.DeserializeSiteRecoveryHealthError(item)); + array.Add(SiteRecoveryHealthError.DeserializeSiteRecoveryHealthError(item, options)); } healthErrors = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryVaultSettingCreateOrUpdateContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryVaultSettingCreateOrUpdateContent.Serialization.cs index 4f067fc761eef..70f166f9fbda4 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryVaultSettingCreateOrUpdateContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryVaultSettingCreateOrUpdateContent.Serialization.cs @@ -73,7 +73,7 @@ internal static SiteRecoveryVaultSettingCreateOrUpdateContent DeserializeSiteRec { if (property.NameEquals("properties"u8)) { - properties = VaultSettingCreationProperties.DeserializeVaultSettingCreationProperties(property.Value); + properties = VaultSettingCreationProperties.DeserializeVaultSettingCreationProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryVaultSettingListResult.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryVaultSettingListResult.Serialization.cs index 957a2d5f9f42b..2c42a24f043fb 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryVaultSettingListResult.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryVaultSettingListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static SiteRecoveryVaultSettingListResult DeserializeSiteRecoveryVaultS List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryVaultSettingData.DeserializeSiteRecoveryVaultSettingData(item)); + array.Add(SiteRecoveryVaultSettingData.DeserializeSiteRecoveryVaultSettingData(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryVmTaskDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryVmTaskDetails.Serialization.cs index 6a427a17cb38c..83f26f7e9be31 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryVmTaskDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SiteRecoveryVmTaskDetails.Serialization.cs @@ -105,7 +105,7 @@ internal static SiteRecoveryVmTaskDetails DeserializeSiteRecoveryVmTaskDetails(J { continue; } - jobTask = SiteRecoveryJobEntity.DeserializeSiteRecoveryJobEntity(property.Value); + jobTask = SiteRecoveryJobEntity.DeserializeSiteRecoveryJobEntity(property.Value, options); continue; } if (property.NameEquals("instanceType"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/StorageAccountCustomDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/StorageAccountCustomDetails.Serialization.cs index b836e9439b5c6..2dd3fbff8f180 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/StorageAccountCustomDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/StorageAccountCustomDetails.Serialization.cs @@ -70,10 +70,10 @@ internal static StorageAccountCustomDetails DeserializeStorageAccountCustomDetai { switch (discriminator.GetString()) { - case "Existing": return ExistingStorageAccount.DeserializeExistingStorageAccount(element); + case "Existing": return ExistingStorageAccount.DeserializeExistingStorageAccount(element, options); } } - return UnknownStorageAccountCustomDetails.DeserializeUnknownStorageAccountCustomDetails(element); + return UnknownStorageAccountCustomDetails.DeserializeUnknownStorageAccountCustomDetails(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/StorageClassificationListResult.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/StorageClassificationListResult.Serialization.cs index c53851ac61f00..4e61ab4afe217 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/StorageClassificationListResult.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/StorageClassificationListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static StorageClassificationListResult DeserializeStorageClassification List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(StorageClassificationData.DeserializeStorageClassificationData(item)); + array.Add(StorageClassificationData.DeserializeStorageClassificationData(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/StorageClassificationMappingCreateOrUpdateContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/StorageClassificationMappingCreateOrUpdateContent.Serialization.cs index e2d5ab37d9c3a..6855b021c6e59 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/StorageClassificationMappingCreateOrUpdateContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/StorageClassificationMappingCreateOrUpdateContent.Serialization.cs @@ -80,7 +80,7 @@ internal static StorageClassificationMappingCreateOrUpdateContent DeserializeSto { continue; } - properties = StorageMappingProperties.DeserializeStorageMappingProperties(property.Value); + properties = StorageMappingProperties.DeserializeStorageMappingProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/StorageClassificationMappingListResult.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/StorageClassificationMappingListResult.Serialization.cs index af953fa048707..fb5431ba65413 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/StorageClassificationMappingListResult.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/StorageClassificationMappingListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static StorageClassificationMappingListResult DeserializeStorageClassif List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(StorageClassificationMappingData.DeserializeStorageClassificationMappingData(item)); + array.Add(StorageClassificationMappingData.DeserializeStorageClassificationMappingData(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SwitchProtectionContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SwitchProtectionContent.Serialization.cs index bc9dd912252e4..33147ea6ae86e 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SwitchProtectionContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SwitchProtectionContent.Serialization.cs @@ -80,7 +80,7 @@ internal static SwitchProtectionContent DeserializeSwitchProtectionContent(JsonE { continue; } - properties = SwitchProtectionProperties.DeserializeSwitchProtectionProperties(property.Value); + properties = SwitchProtectionProperties.DeserializeSwitchProtectionProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SwitchProtectionProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SwitchProtectionProperties.Serialization.cs index d714957160b2e..e51b550b8b27e 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SwitchProtectionProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SwitchProtectionProperties.Serialization.cs @@ -91,7 +91,7 @@ internal static SwitchProtectionProperties DeserializeSwitchProtectionProperties { continue; } - providerSpecificDetails = SwitchProtectionProviderSpecificContent.DeserializeSwitchProtectionProviderSpecificContent(property.Value); + providerSpecificDetails = SwitchProtectionProviderSpecificContent.DeserializeSwitchProtectionProviderSpecificContent(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SwitchProtectionProviderSpecificContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SwitchProtectionProviderSpecificContent.Serialization.cs index 5f9a0a108a452..b09b76ff400e4 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SwitchProtectionProviderSpecificContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SwitchProtectionProviderSpecificContent.Serialization.cs @@ -70,10 +70,10 @@ internal static SwitchProtectionProviderSpecificContent DeserializeSwitchProtect { switch (discriminator.GetString()) { - case "A2A": return A2ASwitchProtectionContent.DeserializeA2ASwitchProtectionContent(element); + case "A2A": return A2ASwitchProtectionContent.DeserializeA2ASwitchProtectionContent(element, options); } } - return UnknownSwitchProtectionProviderSpecificContent.DeserializeUnknownSwitchProtectionProviderSpecificContent(element); + return UnknownSwitchProtectionProviderSpecificContent.DeserializeUnknownSwitchProtectionProviderSpecificContent(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SwitchProviderContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SwitchProviderContent.Serialization.cs index 42dfb8ea54d4c..8c98ed382cee3 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SwitchProviderContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SwitchProviderContent.Serialization.cs @@ -80,7 +80,7 @@ internal static SwitchProviderContent DeserializeSwitchProviderContent(JsonEleme { continue; } - properties = SwitchProviderProperties.DeserializeSwitchProviderProperties(property.Value); + properties = SwitchProviderProperties.DeserializeSwitchProviderProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SwitchProviderProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SwitchProviderProperties.Serialization.cs index be157b74e84e3..42053fc5ba72c 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SwitchProviderProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SwitchProviderProperties.Serialization.cs @@ -91,7 +91,7 @@ internal static SwitchProviderProperties DeserializeSwitchProviderProperties(Jso { continue; } - providerSpecificDetails = SwitchProviderSpecificContent.DeserializeSwitchProviderSpecificContent(property.Value); + providerSpecificDetails = SwitchProviderSpecificContent.DeserializeSwitchProviderSpecificContent(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SwitchProviderSpecificContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SwitchProviderSpecificContent.Serialization.cs index 33af5f48564b3..1c14e9a5940c6 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SwitchProviderSpecificContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/SwitchProviderSpecificContent.Serialization.cs @@ -70,10 +70,10 @@ internal static SwitchProviderSpecificContent DeserializeSwitchProviderSpecificC { switch (discriminator.GetString()) { - case "InMageAzureV2": return InMageAzureV2SwitchProviderContent.DeserializeInMageAzureV2SwitchProviderContent(element); + case "InMageAzureV2": return InMageAzureV2SwitchProviderContent.DeserializeInMageAzureV2SwitchProviderContent(element, options); } } - return UnknownSwitchProviderSpecificContent.DeserializeUnknownSwitchProviderSpecificContent(element); + return UnknownSwitchProviderSpecificContent.DeserializeUnknownSwitchProviderSpecificContent(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TargetComputeSize.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TargetComputeSize.Serialization.cs index 9a3f13337398d..23b316d183bf9 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TargetComputeSize.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TargetComputeSize.Serialization.cs @@ -105,7 +105,7 @@ internal static TargetComputeSize DeserializeTargetComputeSize(JsonElement eleme { continue; } - properties = TargetComputeSizeProperties.DeserializeTargetComputeSizeProperties(property.Value); + properties = TargetComputeSizeProperties.DeserializeTargetComputeSizeProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TargetComputeSizeListResult.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TargetComputeSizeListResult.Serialization.cs index 489068f5297a3..b00195902b8ae 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TargetComputeSizeListResult.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TargetComputeSizeListResult.Serialization.cs @@ -94,7 +94,7 @@ internal static TargetComputeSizeListResult DeserializeTargetComputeSizeListResu List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(TargetComputeSize.DeserializeTargetComputeSize(item)); + array.Add(TargetComputeSize.DeserializeTargetComputeSize(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TargetComputeSizeProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TargetComputeSizeProperties.Serialization.cs index 17f1fa9aecd0c..5adb3946e82db 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TargetComputeSizeProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TargetComputeSizeProperties.Serialization.cs @@ -202,7 +202,7 @@ internal static TargetComputeSizeProperties DeserializeTargetComputeSizeProperti List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryComputeSizeErrorDetails.DeserializeSiteRecoveryComputeSizeErrorDetails(item)); + array.Add(SiteRecoveryComputeSizeErrorDetails.DeserializeSiteRecoveryComputeSizeErrorDetails(item, options)); } errors = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TestFailoverCleanupContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TestFailoverCleanupContent.Serialization.cs index fc82d21a31d79..16bf37ad85f83 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TestFailoverCleanupContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TestFailoverCleanupContent.Serialization.cs @@ -73,7 +73,7 @@ internal static TestFailoverCleanupContent DeserializeTestFailoverCleanupContent { if (property.NameEquals("properties"u8)) { - properties = TestFailoverCleanupProperties.DeserializeTestFailoverCleanupProperties(property.Value); + properties = TestFailoverCleanupProperties.DeserializeTestFailoverCleanupProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TestFailoverContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TestFailoverContent.Serialization.cs index fc90a87251811..0a09813e5104e 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TestFailoverContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TestFailoverContent.Serialization.cs @@ -73,7 +73,7 @@ internal static TestFailoverContent DeserializeTestFailoverContent(JsonElement e { if (property.NameEquals("properties"u8)) { - properties = TestFailoverProperties.DeserializeTestFailoverProperties(property.Value); + properties = TestFailoverProperties.DeserializeTestFailoverProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TestFailoverJobDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TestFailoverJobDetails.Serialization.cs index 91781d8c7ff6e..acec83e933b49 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TestFailoverJobDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TestFailoverJobDetails.Serialization.cs @@ -158,7 +158,7 @@ internal static TestFailoverJobDetails DeserializeTestFailoverJobDetails(JsonEle List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(FailoverReplicationProtectedItemDetails.DeserializeFailoverReplicationProtectedItemDetails(item)); + array.Add(FailoverReplicationProtectedItemDetails.DeserializeFailoverReplicationProtectedItemDetails(item, options)); } protectedItemDetails = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TestFailoverProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TestFailoverProperties.Serialization.cs index 2aef8732613e1..2821f5b5889e2 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TestFailoverProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TestFailoverProperties.Serialization.cs @@ -117,7 +117,7 @@ internal static TestFailoverProperties DeserializeTestFailoverProperties(JsonEle { continue; } - providerSpecificDetails = TestFailoverProviderSpecificContent.DeserializeTestFailoverProviderSpecificContent(property.Value); + providerSpecificDetails = TestFailoverProviderSpecificContent.DeserializeTestFailoverProviderSpecificContent(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TestFailoverProviderSpecificContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TestFailoverProviderSpecificContent.Serialization.cs index a066b95d5b3fa..6435438c41529 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TestFailoverProviderSpecificContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TestFailoverProviderSpecificContent.Serialization.cs @@ -70,14 +70,14 @@ internal static TestFailoverProviderSpecificContent DeserializeTestFailoverProvi { switch (discriminator.GetString()) { - case "A2A": return A2ATestFailoverContent.DeserializeA2ATestFailoverContent(element); - case "HyperVReplicaAzure": return HyperVReplicaAzureTestFailoverContent.DeserializeHyperVReplicaAzureTestFailoverContent(element); - case "InMage": return InMageTestFailoverContent.DeserializeInMageTestFailoverContent(element); - case "InMageAzureV2": return InMageAzureV2TestFailoverContent.DeserializeInMageAzureV2TestFailoverContent(element); - case "InMageRcm": return InMageRcmTestFailoverContent.DeserializeInMageRcmTestFailoverContent(element); + case "A2A": return A2ATestFailoverContent.DeserializeA2ATestFailoverContent(element, options); + case "HyperVReplicaAzure": return HyperVReplicaAzureTestFailoverContent.DeserializeHyperVReplicaAzureTestFailoverContent(element, options); + case "InMage": return InMageTestFailoverContent.DeserializeInMageTestFailoverContent(element, options); + case "InMageAzureV2": return InMageAzureV2TestFailoverContent.DeserializeInMageAzureV2TestFailoverContent(element, options); + case "InMageRcm": return InMageRcmTestFailoverContent.DeserializeInMageRcmTestFailoverContent(element, options); } } - return UnknownTestFailoverProviderSpecificContent.DeserializeUnknownTestFailoverProviderSpecificContent(element); + return UnknownTestFailoverProviderSpecificContent.DeserializeUnknownTestFailoverProviderSpecificContent(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TestMigrateCleanupContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TestMigrateCleanupContent.Serialization.cs index a462bc697bd39..ec2baa3746f74 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TestMigrateCleanupContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TestMigrateCleanupContent.Serialization.cs @@ -73,7 +73,7 @@ internal static TestMigrateCleanupContent DeserializeTestMigrateCleanupContent(J { if (property.NameEquals("properties"u8)) { - properties = TestMigrateCleanupProperties.DeserializeTestMigrateCleanupProperties(property.Value); + properties = TestMigrateCleanupProperties.DeserializeTestMigrateCleanupProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TestMigrateContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TestMigrateContent.Serialization.cs index 375b6d87fa5bf..4528135c6876c 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TestMigrateContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TestMigrateContent.Serialization.cs @@ -73,7 +73,7 @@ internal static TestMigrateContent DeserializeTestMigrateContent(JsonElement ele { if (property.NameEquals("properties"u8)) { - properties = TestMigrateProperties.DeserializeTestMigrateProperties(property.Value); + properties = TestMigrateProperties.DeserializeTestMigrateProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TestMigrateProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TestMigrateProperties.Serialization.cs index f6adbc767c9fe..2a8c8d53e3201 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TestMigrateProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TestMigrateProperties.Serialization.cs @@ -73,7 +73,7 @@ internal static TestMigrateProperties DeserializeTestMigrateProperties(JsonEleme { if (property.NameEquals("providerSpecificDetails"u8)) { - providerSpecificDetails = TestMigrateProviderSpecificContent.DeserializeTestMigrateProviderSpecificContent(property.Value); + providerSpecificDetails = TestMigrateProviderSpecificContent.DeserializeTestMigrateProviderSpecificContent(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TestMigrateProviderSpecificContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TestMigrateProviderSpecificContent.Serialization.cs index 8829a3e0dc56b..5bd188eefa0f8 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TestMigrateProviderSpecificContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/TestMigrateProviderSpecificContent.Serialization.cs @@ -70,10 +70,10 @@ internal static TestMigrateProviderSpecificContent DeserializeTestMigrateProvide { switch (discriminator.GetString()) { - case "VMwareCbt": return VMwareCbtTestMigrateContent.DeserializeVMwareCbtTestMigrateContent(element); + case "VMwareCbt": return VMwareCbtTestMigrateContent.DeserializeVMwareCbtTestMigrateContent(element, options); } } - return UnknownTestMigrateProviderSpecificContent.DeserializeUnknownTestMigrateProviderSpecificContent(element); + return UnknownTestMigrateProviderSpecificContent.DeserializeUnknownTestMigrateProviderSpecificContent(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UnknownGroupTaskDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UnknownGroupTaskDetails.Serialization.cs index c18ed8a74e1ae..e3d6eb2499504 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UnknownGroupTaskDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UnknownGroupTaskDetails.Serialization.cs @@ -96,7 +96,7 @@ internal static UnknownGroupTaskDetails DeserializeUnknownGroupTaskDetails(JsonE List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(AsrTask.DeserializeAsrTask(item)); + array.Add(AsrTask.DeserializeAsrTask(item, options)); } childTasks = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UnplannedFailoverContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UnplannedFailoverContent.Serialization.cs index 6d03955b3f0cf..342009eb4c1cd 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UnplannedFailoverContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UnplannedFailoverContent.Serialization.cs @@ -73,7 +73,7 @@ internal static UnplannedFailoverContent DeserializeUnplannedFailoverContent(Jso { if (property.NameEquals("properties"u8)) { - properties = UnplannedFailoverProperties.DeserializeUnplannedFailoverProperties(property.Value); + properties = UnplannedFailoverProperties.DeserializeUnplannedFailoverProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UnplannedFailoverProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UnplannedFailoverProperties.Serialization.cs index 3b0c81e91b77c..00b8e92bef41d 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UnplannedFailoverProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UnplannedFailoverProperties.Serialization.cs @@ -102,7 +102,7 @@ internal static UnplannedFailoverProperties DeserializeUnplannedFailoverProperti { continue; } - providerSpecificDetails = UnplannedFailoverProviderSpecificContent.DeserializeUnplannedFailoverProviderSpecificContent(property.Value); + providerSpecificDetails = UnplannedFailoverProviderSpecificContent.DeserializeUnplannedFailoverProviderSpecificContent(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UnplannedFailoverProviderSpecificContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UnplannedFailoverProviderSpecificContent.Serialization.cs index a3226d510391b..2e27b4822eee5 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UnplannedFailoverProviderSpecificContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UnplannedFailoverProviderSpecificContent.Serialization.cs @@ -70,14 +70,14 @@ internal static UnplannedFailoverProviderSpecificContent DeserializeUnplannedFai { switch (discriminator.GetString()) { - case "A2A": return A2AUnplannedFailoverContent.DeserializeA2AUnplannedFailoverContent(element); - case "HyperVReplicaAzure": return HyperVReplicaAzureUnplannedFailoverContent.DeserializeHyperVReplicaAzureUnplannedFailoverContent(element); - case "InMage": return InMageUnplannedFailoverContent.DeserializeInMageUnplannedFailoverContent(element); - case "InMageAzureV2": return InMageAzureV2UnplannedFailoverContent.DeserializeInMageAzureV2UnplannedFailoverContent(element); - case "InMageRcm": return InMageRcmUnplannedFailoverContent.DeserializeInMageRcmUnplannedFailoverContent(element); + case "A2A": return A2AUnplannedFailoverContent.DeserializeA2AUnplannedFailoverContent(element, options); + case "HyperVReplicaAzure": return HyperVReplicaAzureUnplannedFailoverContent.DeserializeHyperVReplicaAzureUnplannedFailoverContent(element, options); + case "InMage": return InMageUnplannedFailoverContent.DeserializeInMageUnplannedFailoverContent(element, options); + case "InMageAzureV2": return InMageAzureV2UnplannedFailoverContent.DeserializeInMageAzureV2UnplannedFailoverContent(element, options); + case "InMageRcm": return InMageRcmUnplannedFailoverContent.DeserializeInMageRcmUnplannedFailoverContent(element, options); } } - return UnknownUnplannedFailoverProviderSpecificContent.DeserializeUnknownUnplannedFailoverProviderSpecificContent(element); + return UnknownUnplannedFailoverProviderSpecificContent.DeserializeUnknownUnplannedFailoverProviderSpecificContent(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateApplianceForReplicationProtectedItemContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateApplianceForReplicationProtectedItemContent.Serialization.cs index 9432e0de56eb9..edb5c39945ce7 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateApplianceForReplicationProtectedItemContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateApplianceForReplicationProtectedItemContent.Serialization.cs @@ -73,7 +73,7 @@ internal static UpdateApplianceForReplicationProtectedItemContent DeserializeUpd { if (property.NameEquals("properties"u8)) { - properties = UpdateApplianceForReplicationProtectedItemProperties.DeserializeUpdateApplianceForReplicationProtectedItemProperties(property.Value); + properties = UpdateApplianceForReplicationProtectedItemProperties.DeserializeUpdateApplianceForReplicationProtectedItemProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateApplianceForReplicationProtectedItemProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateApplianceForReplicationProtectedItemProperties.Serialization.cs index 02338cf8742fc..539b81e058c59 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateApplianceForReplicationProtectedItemProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateApplianceForReplicationProtectedItemProperties.Serialization.cs @@ -81,7 +81,7 @@ internal static UpdateApplianceForReplicationProtectedItemProperties Deserialize } if (property.NameEquals("providerSpecificDetails"u8)) { - providerSpecificDetails = UpdateApplianceForReplicationProtectedItemProviderSpecificContent.DeserializeUpdateApplianceForReplicationProtectedItemProviderSpecificContent(property.Value); + providerSpecificDetails = UpdateApplianceForReplicationProtectedItemProviderSpecificContent.DeserializeUpdateApplianceForReplicationProtectedItemProviderSpecificContent(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateApplianceForReplicationProtectedItemProviderSpecificContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateApplianceForReplicationProtectedItemProviderSpecificContent.Serialization.cs index 185c8484fac55..8def77543e4fd 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateApplianceForReplicationProtectedItemProviderSpecificContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateApplianceForReplicationProtectedItemProviderSpecificContent.Serialization.cs @@ -70,10 +70,10 @@ internal static UpdateApplianceForReplicationProtectedItemProviderSpecificConten { switch (discriminator.GetString()) { - case "InMageRcm": return InMageRcmUpdateApplianceForReplicationProtectedItemContent.DeserializeInMageRcmUpdateApplianceForReplicationProtectedItemContent(element); + case "InMageRcm": return InMageRcmUpdateApplianceForReplicationProtectedItemContent.DeserializeInMageRcmUpdateApplianceForReplicationProtectedItemContent(element, options); } } - return UnknownUpdateApplianceForReplicationProtectedItemProviderSpecificContent.DeserializeUnknownUpdateApplianceForReplicationProtectedItemProviderSpecificContent(element); + return UnknownUpdateApplianceForReplicationProtectedItemProviderSpecificContent.DeserializeUnknownUpdateApplianceForReplicationProtectedItemProviderSpecificContent(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateMigrationItemProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateMigrationItemProperties.Serialization.cs index fe5e1b1f86e6a..da99c0b1acf51 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateMigrationItemProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateMigrationItemProperties.Serialization.cs @@ -73,7 +73,7 @@ internal static UpdateMigrationItemProperties DeserializeUpdateMigrationItemProp { if (property.NameEquals("providerSpecificDetails"u8)) { - providerSpecificDetails = UpdateMigrationItemProviderSpecificContent.DeserializeUpdateMigrationItemProviderSpecificContent(property.Value); + providerSpecificDetails = UpdateMigrationItemProviderSpecificContent.DeserializeUpdateMigrationItemProviderSpecificContent(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateMigrationItemProviderSpecificContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateMigrationItemProviderSpecificContent.Serialization.cs index 395084899ea78..71ee4defef5f0 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateMigrationItemProviderSpecificContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateMigrationItemProviderSpecificContent.Serialization.cs @@ -70,10 +70,10 @@ internal static UpdateMigrationItemProviderSpecificContent DeserializeUpdateMigr { switch (discriminator.GetString()) { - case "VMwareCbt": return VMwareCbtUpdateMigrationItemContent.DeserializeVMwareCbtUpdateMigrationItemContent(element); + case "VMwareCbt": return VMwareCbtUpdateMigrationItemContent.DeserializeVMwareCbtUpdateMigrationItemContent(element, options); } } - return UnknownUpdateMigrationItemProviderSpecificContent.DeserializeUnknownUpdateMigrationItemProviderSpecificContent(element); + return UnknownUpdateMigrationItemProviderSpecificContent.DeserializeUnknownUpdateMigrationItemProviderSpecificContent(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateMobilityServiceContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateMobilityServiceContent.Serialization.cs index 48593e235bdad..bbd88543cdd88 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateMobilityServiceContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateMobilityServiceContent.Serialization.cs @@ -80,7 +80,7 @@ internal static UpdateMobilityServiceContent DeserializeUpdateMobilityServiceCon { continue; } - properties = UpdateMobilityServiceRequestProperties.DeserializeUpdateMobilityServiceRequestProperties(property.Value); + properties = UpdateMobilityServiceRequestProperties.DeserializeUpdateMobilityServiceRequestProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateNetworkMappingProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateNetworkMappingProperties.Serialization.cs index 0ceea1a46d652..5dc700b519b9d 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateNetworkMappingProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateNetworkMappingProperties.Serialization.cs @@ -106,7 +106,7 @@ internal static UpdateNetworkMappingProperties DeserializeUpdateNetworkMappingPr { continue; } - fabricSpecificDetails = FabricSpecificUpdateNetworkMappingContent.DeserializeFabricSpecificUpdateNetworkMappingContent(property.Value); + fabricSpecificDetails = FabricSpecificUpdateNetworkMappingContent.DeserializeFabricSpecificUpdateNetworkMappingContent(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdatePolicyContentProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdatePolicyContentProperties.Serialization.cs index 8cd81f83875b6..3852db28120a2 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdatePolicyContentProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdatePolicyContentProperties.Serialization.cs @@ -80,7 +80,7 @@ internal static UpdatePolicyContentProperties DeserializeUpdatePolicyContentProp { continue; } - replicationProviderSettings = PolicyProviderSpecificContent.DeserializePolicyProviderSpecificContent(property.Value); + replicationProviderSettings = PolicyProviderSpecificContent.DeserializePolicyProviderSpecificContent(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateProtectionContainerMappingContentProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateProtectionContainerMappingContentProperties.Serialization.cs index 40242abc70e81..a15df587a2059 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateProtectionContainerMappingContentProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateProtectionContainerMappingContentProperties.Serialization.cs @@ -80,7 +80,7 @@ internal static UpdateProtectionContainerMappingContentProperties DeserializeUpd { continue; } - providerSpecificContent = ReplicationProviderSpecificUpdateContainerMappingContent.DeserializeReplicationProviderSpecificUpdateContainerMappingContent(property.Value); + providerSpecificContent = ReplicationProviderSpecificUpdateContainerMappingContent.DeserializeReplicationProviderSpecificUpdateContainerMappingContent(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateRecoveryPlanContentProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateRecoveryPlanContentProperties.Serialization.cs index 4475733198715..e040729fc54c0 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateRecoveryPlanContentProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateRecoveryPlanContentProperties.Serialization.cs @@ -88,7 +88,7 @@ internal static UpdateRecoveryPlanContentProperties DeserializeUpdateRecoveryPla List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryPlanGroup.DeserializeSiteRecoveryPlanGroup(item)); + array.Add(SiteRecoveryPlanGroup.DeserializeSiteRecoveryPlanGroup(item, options)); } groups = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateReplicationProtectedItemProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateReplicationProtectedItemProperties.Serialization.cs index b5b31bfa81bc6..9774a0b7c0af3 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateReplicationProtectedItemProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateReplicationProtectedItemProperties.Serialization.cs @@ -180,7 +180,7 @@ internal static UpdateReplicationProtectedItemProperties DeserializeUpdateReplic List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(VmNicContentDetails.DeserializeVmNicContentDetails(item)); + array.Add(VmNicContentDetails.DeserializeVmNicContentDetails(item, options)); } vmNics = array; continue; @@ -209,7 +209,7 @@ internal static UpdateReplicationProtectedItemProperties DeserializeUpdateReplic { continue; } - providerSpecificDetails = UpdateReplicationProtectedItemProviderContent.DeserializeUpdateReplicationProtectedItemProviderContent(property.Value); + providerSpecificDetails = UpdateReplicationProtectedItemProviderContent.DeserializeUpdateReplicationProtectedItemProviderContent(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateReplicationProtectedItemProviderContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateReplicationProtectedItemProviderContent.Serialization.cs index 6e75c8de1dfaa..cd512cf252020 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateReplicationProtectedItemProviderContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/UpdateReplicationProtectedItemProviderContent.Serialization.cs @@ -70,13 +70,13 @@ internal static UpdateReplicationProtectedItemProviderContent DeserializeUpdateR { switch (discriminator.GetString()) { - case "A2A": return A2AUpdateReplicationProtectedItemContent.DeserializeA2AUpdateReplicationProtectedItemContent(element); - case "HyperVReplicaAzure": return HyperVReplicaAzureUpdateReplicationProtectedItemContent.DeserializeHyperVReplicaAzureUpdateReplicationProtectedItemContent(element); - case "InMageAzureV2": return InMageAzureV2UpdateReplicationProtectedItemContent.DeserializeInMageAzureV2UpdateReplicationProtectedItemContent(element); - case "InMageRcm": return InMageRcmUpdateReplicationProtectedItemContent.DeserializeInMageRcmUpdateReplicationProtectedItemContent(element); + case "A2A": return A2AUpdateReplicationProtectedItemContent.DeserializeA2AUpdateReplicationProtectedItemContent(element, options); + case "HyperVReplicaAzure": return HyperVReplicaAzureUpdateReplicationProtectedItemContent.DeserializeHyperVReplicaAzureUpdateReplicationProtectedItemContent(element, options); + case "InMageAzureV2": return InMageAzureV2UpdateReplicationProtectedItemContent.DeserializeInMageAzureV2UpdateReplicationProtectedItemContent(element, options); + case "InMageRcm": return InMageRcmUpdateReplicationProtectedItemContent.DeserializeInMageRcmUpdateReplicationProtectedItemContent(element, options); } } - return UnknownUpdateReplicationProtectedItemProviderContent.DeserializeUnknownUpdateReplicationProtectedItemProviderContent(element); + return UnknownUpdateReplicationProtectedItemProviderContent.DeserializeUnknownUpdateReplicationProtectedItemProviderContent(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtEnableMigrationContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtEnableMigrationContent.Serialization.cs index faeb7e4791274..0351ca2182eb5 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtEnableMigrationContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtEnableMigrationContent.Serialization.cs @@ -242,7 +242,7 @@ internal static VMwareCbtEnableMigrationContent DeserializeVMwareCbtEnableMigrat List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(VMwareCbtDiskContent.DeserializeVMwareCbtDiskContent(item)); + array.Add(VMwareCbtDiskContent.DeserializeVMwareCbtDiskContent(item, options)); } disksToInclude = array; continue; @@ -357,7 +357,7 @@ internal static VMwareCbtEnableMigrationContent DeserializeVMwareCbtEnableMigrat { continue; } - targetVmSecurityProfile = VMwareCbtSecurityProfileProperties.DeserializeVMwareCbtSecurityProfileProperties(property.Value); + targetVmSecurityProfile = VMwareCbtSecurityProfileProperties.DeserializeVMwareCbtSecurityProfileProperties(property.Value, options); continue; } if (property.NameEquals("targetBootDiagnosticsStorageAccountId"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtMigrationDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtMigrationDetails.Serialization.cs index 33886112f41f1..7484a2d648863 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtMigrationDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtMigrationDetails.Serialization.cs @@ -526,7 +526,7 @@ internal static VMwareCbtMigrationDetails DeserializeVMwareCbtMigrationDetails(J { continue; } - targetVmSecurityProfile = VMwareCbtSecurityProfileProperties.DeserializeVMwareCbtSecurityProfileProperties(property.Value); + targetVmSecurityProfile = VMwareCbtSecurityProfileProperties.DeserializeVMwareCbtSecurityProfileProperties(property.Value, options); continue; } if (property.NameEquals("targetBootDiagnosticsStorageAccountId"u8)) @@ -561,7 +561,7 @@ internal static VMwareCbtMigrationDetails DeserializeVMwareCbtMigrationDetails(J List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(VMwareCbtProtectedDiskDetails.DeserializeVMwareCbtProtectedDiskDetails(item)); + array.Add(VMwareCbtProtectedDiskDetails.DeserializeVMwareCbtProtectedDiskDetails(item, options)); } protectedDisks = array; continue; @@ -593,7 +593,7 @@ internal static VMwareCbtMigrationDetails DeserializeVMwareCbtMigrationDetails(J List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(VMwareCbtNicDetails.DeserializeVMwareCbtNicDetails(item)); + array.Add(VMwareCbtNicDetails.DeserializeVMwareCbtNicDetails(item, options)); } vmNics = array; continue; @@ -792,7 +792,7 @@ internal static VMwareCbtMigrationDetails DeserializeVMwareCbtMigrationDetails(J { continue; } - applianceMonitoringDetails = ApplianceMonitoringDetails.DeserializeApplianceMonitoringDetails(property.Value); + applianceMonitoringDetails = ApplianceMonitoringDetails.DeserializeApplianceMonitoringDetails(property.Value, options); continue; } if (property.NameEquals("gatewayOperationDetails"u8)) @@ -801,7 +801,7 @@ internal static VMwareCbtMigrationDetails DeserializeVMwareCbtMigrationDetails(J { continue; } - gatewayOperationDetails = GatewayOperationDetails.DeserializeGatewayOperationDetails(property.Value); + gatewayOperationDetails = GatewayOperationDetails.DeserializeGatewayOperationDetails(property.Value, options); continue; } if (property.NameEquals("operationName"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtProtectedDiskDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtProtectedDiskDetails.Serialization.cs index c2c462b2d8401..399012502752d 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtProtectedDiskDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtProtectedDiskDetails.Serialization.cs @@ -258,7 +258,7 @@ internal static VMwareCbtProtectedDiskDetails DeserializeVMwareCbtProtectedDiskD { continue; } - gatewayOperationDetails = GatewayOperationDetails.DeserializeGatewayOperationDetails(property.Value); + gatewayOperationDetails = GatewayOperationDetails.DeserializeGatewayOperationDetails(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtTestMigrateContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtTestMigrateContent.Serialization.cs index e292ad7869554..bdf1c1ed0110c 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtTestMigrateContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtTestMigrateContent.Serialization.cs @@ -113,7 +113,7 @@ internal static VMwareCbtTestMigrateContent DeserializeVMwareCbtTestMigrateConte List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(VMwareCbtNicContent.DeserializeVMwareCbtNicContent(item)); + array.Add(VMwareCbtNicContent.DeserializeVMwareCbtNicContent(item, options)); } vmNics = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtUpdateMigrationItemContent.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtUpdateMigrationItemContent.Serialization.cs index 4b54a5dbf3322..38bb05dcd3929 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtUpdateMigrationItemContent.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareCbtUpdateMigrationItemContent.Serialization.cs @@ -279,7 +279,7 @@ internal static VMwareCbtUpdateMigrationItemContent DeserializeVMwareCbtUpdateMi List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(VMwareCbtNicContent.DeserializeVMwareCbtNicContent(item)); + array.Add(VMwareCbtNicContent.DeserializeVMwareCbtNicContent(item, options)); } vmNics = array; continue; @@ -293,7 +293,7 @@ internal static VMwareCbtUpdateMigrationItemContent DeserializeVMwareCbtUpdateMi List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(VMwareCbtUpdateDiskContent.DeserializeVMwareCbtUpdateDiskContent(item)); + array.Add(VMwareCbtUpdateDiskContent.DeserializeVMwareCbtUpdateDiskContent(item, options)); } vmDisks = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareDetails.Serialization.cs index 3e78971580579..4e8e914689c13 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareDetails.Serialization.cs @@ -299,7 +299,7 @@ internal static VMwareDetails DeserializeVMwareDetails(JsonElement element, Mode List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryProcessServer.DeserializeSiteRecoveryProcessServer(item)); + array.Add(SiteRecoveryProcessServer.DeserializeSiteRecoveryProcessServer(item, options)); } processServers = array; continue; @@ -313,7 +313,7 @@ internal static VMwareDetails DeserializeVMwareDetails(JsonElement element, Mode List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(MasterTargetServer.DeserializeMasterTargetServer(item)); + array.Add(MasterTargetServer.DeserializeMasterTargetServer(item, options)); } masterTargetServers = array; continue; @@ -327,7 +327,7 @@ internal static VMwareDetails DeserializeVMwareDetails(JsonElement element, Mode List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryRunAsAccount.DeserializeSiteRecoveryRunAsAccount(item)); + array.Add(SiteRecoveryRunAsAccount.DeserializeSiteRecoveryRunAsAccount(item, options)); } runAsAccounts = array; continue; @@ -514,7 +514,7 @@ internal static VMwareDetails DeserializeVMwareDetails(JsonElement element, Mode { continue; } - agentVersionDetails = SiteRecoveryVersionDetails.DeserializeSiteRecoveryVersionDetails(property.Value); + agentVersionDetails = SiteRecoveryVersionDetails.DeserializeSiteRecoveryVersionDetails(property.Value, options); continue; } if (property.NameEquals("switchProviderBlockingErrorDetails"u8)) @@ -526,7 +526,7 @@ internal static VMwareDetails DeserializeVMwareDetails(JsonElement element, Mode List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(InMageFabricSwitchProviderBlockingErrorDetails.DeserializeInMageFabricSwitchProviderBlockingErrorDetails(item)); + array.Add(InMageFabricSwitchProviderBlockingErrorDetails.DeserializeInMageFabricSwitchProviderBlockingErrorDetails(item, options)); } switchProviderBlockingErrorDetails = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareV2FabricSpecificDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareV2FabricSpecificDetails.Serialization.cs index cd2393b587cdc..a0b6f1eb49fd7 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareV2FabricSpecificDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareV2FabricSpecificDetails.Serialization.cs @@ -173,7 +173,7 @@ internal static VMwareV2FabricSpecificDetails DeserializeVMwareV2FabricSpecificD List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryProcessServerDetails.DeserializeSiteRecoveryProcessServerDetails(item)); + array.Add(SiteRecoveryProcessServerDetails.DeserializeSiteRecoveryProcessServerDetails(item, options)); } processServers = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareVmDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareVmDetails.Serialization.cs index 1c5ac7cb9512e..9b84412455284 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareVmDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VMwareVmDetails.Serialization.cs @@ -195,7 +195,7 @@ internal static VMwareVmDetails DeserializeVMwareVmDetails(JsonElement element, List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(InMageDiskDetails.DeserializeInMageDiskDetails(item)); + array.Add(InMageDiskDetails.DeserializeInMageDiskDetails(item, options)); } diskDetails = array; continue; @@ -209,7 +209,7 @@ internal static VMwareVmDetails DeserializeVMwareVmDetails(JsonElement element, List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryHealthError.DeserializeSiteRecoveryHealthError(item)); + array.Add(SiteRecoveryHealthError.DeserializeSiteRecoveryHealthError(item, options)); } validationErrors = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VaultHealthDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VaultHealthDetails.Serialization.cs index a80ff55f7414d..b2a64f83ceea0 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VaultHealthDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VaultHealthDetails.Serialization.cs @@ -111,7 +111,7 @@ internal static VaultHealthDetails DeserializeVaultHealthDetails(JsonElement ele { continue; } - properties = VaultHealthProperties.DeserializeVaultHealthProperties(property.Value); + properties = VaultHealthProperties.DeserializeVaultHealthProperties(property.Value, options); continue; } if (property.NameEquals("location"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VaultHealthProperties.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VaultHealthProperties.Serialization.cs index ca57028fe99fc..779d695058b7b 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VaultHealthProperties.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VaultHealthProperties.Serialization.cs @@ -106,7 +106,7 @@ internal static VaultHealthProperties DeserializeVaultHealthProperties(JsonEleme List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryHealthError.DeserializeSiteRecoveryHealthError(item)); + array.Add(SiteRecoveryHealthError.DeserializeSiteRecoveryHealthError(item, options)); } vaultErrors = array; continue; @@ -117,7 +117,7 @@ internal static VaultHealthProperties DeserializeVaultHealthProperties(JsonEleme { continue; } - protectedItemsHealth = ResourceHealthSummary.DeserializeResourceHealthSummary(property.Value); + protectedItemsHealth = ResourceHealthSummary.DeserializeResourceHealthSummary(property.Value, options); continue; } if (property.NameEquals("fabricsHealth"u8)) @@ -126,7 +126,7 @@ internal static VaultHealthProperties DeserializeVaultHealthProperties(JsonEleme { continue; } - fabricsHealth = ResourceHealthSummary.DeserializeResourceHealthSummary(property.Value); + fabricsHealth = ResourceHealthSummary.DeserializeResourceHealthSummary(property.Value, options); continue; } if (property.NameEquals("containersHealth"u8)) @@ -135,7 +135,7 @@ internal static VaultHealthProperties DeserializeVaultHealthProperties(JsonEleme { continue; } - containersHealth = ResourceHealthSummary.DeserializeResourceHealthSummary(property.Value); + containersHealth = ResourceHealthSummary.DeserializeResourceHealthSummary(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VmNicContentDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VmNicContentDetails.Serialization.cs index eb54f35fceae4..fba531e418f6a 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VmNicContentDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VmNicContentDetails.Serialization.cs @@ -171,7 +171,7 @@ internal static VmNicContentDetails DeserializeVmNicContentDetails(JsonElement e List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(HyperVFailoverIPConfigDetails.DeserializeHyperVFailoverIPConfigDetails(item)); + array.Add(HyperVFailoverIPConfigDetails.DeserializeHyperVFailoverIPConfigDetails(item, options)); } ipConfigs = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VmNicDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VmNicDetails.Serialization.cs index 9bd368b9a24ab..0051be7350514 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VmNicDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VmNicDetails.Serialization.cs @@ -229,7 +229,7 @@ internal static VmNicDetails DeserializeVmNicDetails(JsonElement element, ModelR List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(HyperVIPConfigDetails.DeserializeHyperVIPConfigDetails(item)); + array.Add(HyperVIPConfigDetails.DeserializeHyperVIPConfigDetails(item, options)); } ipConfigs = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VmmVmDetails.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VmmVmDetails.Serialization.cs index daf274b2b0a21..591cc46e076c1 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VmmVmDetails.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/Models/VmmVmDetails.Serialization.cs @@ -140,7 +140,7 @@ internal static VmmVmDetails DeserializeVmmVmDetails(JsonElement element, ModelR { continue; } - osDetails = SiteRecoveryOSDetails.DeserializeSiteRecoveryOSDetails(property.Value); + osDetails = SiteRecoveryOSDetails.DeserializeSiteRecoveryOSDetails(property.Value, options); continue; } if (property.NameEquals("diskDetails"u8)) @@ -152,7 +152,7 @@ internal static VmmVmDetails DeserializeVmmVmDetails(JsonElement element, ModelR List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SiteRecoveryDiskDetails.DeserializeSiteRecoveryDiskDetails(item)); + array.Add(SiteRecoveryDiskDetails.DeserializeSiteRecoveryDiskDetails(item, options)); } diskDetails = array; continue; diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/ProtectionContainerMappingData.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/ProtectionContainerMappingData.Serialization.cs index 742df91c1fc66..c878ac02db0ce 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/ProtectionContainerMappingData.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/ProtectionContainerMappingData.Serialization.cs @@ -112,7 +112,7 @@ internal static ProtectionContainerMappingData DeserializeProtectionContainerMap { continue; } - properties = ProtectionContainerMappingProperties.DeserializeProtectionContainerMappingProperties(property.Value); + properties = ProtectionContainerMappingProperties.DeserializeProtectionContainerMappingProperties(property.Value, options); continue; } if (property.NameEquals("location"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/ReplicationEligibilityResultData.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/ReplicationEligibilityResultData.Serialization.cs index 22db6084e57cc..6a4d2ebc70ca2 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/ReplicationEligibilityResultData.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/ReplicationEligibilityResultData.Serialization.cs @@ -106,7 +106,7 @@ internal static ReplicationEligibilityResultData DeserializeReplicationEligibili { continue; } - properties = ReplicationEligibilityResultProperties.DeserializeReplicationEligibilityResultProperties(property.Value); + properties = ReplicationEligibilityResultProperties.DeserializeReplicationEligibilityResultProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/ReplicationProtectedItemData.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/ReplicationProtectedItemData.Serialization.cs index bdcc758034612..9be18ccdf6474 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/ReplicationProtectedItemData.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/ReplicationProtectedItemData.Serialization.cs @@ -112,7 +112,7 @@ internal static ReplicationProtectedItemData DeserializeReplicationProtectedItem { continue; } - properties = ReplicationProtectedItemProperties.DeserializeReplicationProtectedItemProperties(property.Value); + properties = ReplicationProtectedItemProperties.DeserializeReplicationProtectedItemProperties(property.Value, options); continue; } if (property.NameEquals("location"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/ReplicationProtectionIntentData.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/ReplicationProtectionIntentData.Serialization.cs index a1e8534eedb64..0ea5fe086d278 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/ReplicationProtectionIntentData.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/ReplicationProtectionIntentData.Serialization.cs @@ -112,7 +112,7 @@ internal static ReplicationProtectionIntentData DeserializeReplicationProtection { continue; } - properties = ReplicationProtectionIntentProperties.DeserializeReplicationProtectionIntentProperties(property.Value); + properties = ReplicationProtectionIntentProperties.DeserializeReplicationProtectionIntentProperties(property.Value, options); continue; } if (property.NameEquals("location"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryAlertData.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryAlertData.Serialization.cs index eeb8b2a25bf53..a843736a73201 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryAlertData.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryAlertData.Serialization.cs @@ -112,7 +112,7 @@ internal static SiteRecoveryAlertData DeserializeSiteRecoveryAlertData(JsonEleme { continue; } - properties = SiteRecoveryAlertProperties.DeserializeSiteRecoveryAlertProperties(property.Value); + properties = SiteRecoveryAlertProperties.DeserializeSiteRecoveryAlertProperties(property.Value, options); continue; } if (property.NameEquals("location"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryEventData.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryEventData.Serialization.cs index 943760ba0ed18..84b61d4916470 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryEventData.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryEventData.Serialization.cs @@ -112,7 +112,7 @@ internal static SiteRecoveryEventData DeserializeSiteRecoveryEventData(JsonEleme { continue; } - properties = SiteRecoveryEventProperties.DeserializeSiteRecoveryEventProperties(property.Value); + properties = SiteRecoveryEventProperties.DeserializeSiteRecoveryEventProperties(property.Value, options); continue; } if (property.NameEquals("location"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryFabricData.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryFabricData.Serialization.cs index 442431793ae6d..c2fda37378135 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryFabricData.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryFabricData.Serialization.cs @@ -112,7 +112,7 @@ internal static SiteRecoveryFabricData DeserializeSiteRecoveryFabricData(JsonEle { continue; } - properties = SiteRecoveryFabricProperties.DeserializeSiteRecoveryFabricProperties(property.Value); + properties = SiteRecoveryFabricProperties.DeserializeSiteRecoveryFabricProperties(property.Value, options); continue; } if (property.NameEquals("location"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryJobData.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryJobData.Serialization.cs index d8015607b0c62..c08124e25784b 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryJobData.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryJobData.Serialization.cs @@ -112,7 +112,7 @@ internal static SiteRecoveryJobData DeserializeSiteRecoveryJobData(JsonElement e { continue; } - properties = SiteRecoveryJobProperties.DeserializeSiteRecoveryJobProperties(property.Value); + properties = SiteRecoveryJobProperties.DeserializeSiteRecoveryJobProperties(property.Value, options); continue; } if (property.NameEquals("location"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryLogicalNetworkData.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryLogicalNetworkData.Serialization.cs index 62215d0b1f54e..8ddf51cb35d7d 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryLogicalNetworkData.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryLogicalNetworkData.Serialization.cs @@ -112,7 +112,7 @@ internal static SiteRecoveryLogicalNetworkData DeserializeSiteRecoveryLogicalNet { continue; } - properties = SiteRecoveryLogicalNetworkProperties.DeserializeSiteRecoveryLogicalNetworkProperties(property.Value); + properties = SiteRecoveryLogicalNetworkProperties.DeserializeSiteRecoveryLogicalNetworkProperties(property.Value, options); continue; } if (property.NameEquals("location"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryMigrationItemData.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryMigrationItemData.Serialization.cs index c954a3b1664e9..fb581d35e6c4f 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryMigrationItemData.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryMigrationItemData.Serialization.cs @@ -112,7 +112,7 @@ internal static SiteRecoveryMigrationItemData DeserializeSiteRecoveryMigrationIt { continue; } - properties = SiteRecoveryMigrationItemProperties.DeserializeSiteRecoveryMigrationItemProperties(property.Value); + properties = SiteRecoveryMigrationItemProperties.DeserializeSiteRecoveryMigrationItemProperties(property.Value, options); continue; } if (property.NameEquals("location"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryNetworkData.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryNetworkData.Serialization.cs index d2181f5804bb5..37f98ccee7ea5 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryNetworkData.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryNetworkData.Serialization.cs @@ -112,7 +112,7 @@ internal static SiteRecoveryNetworkData DeserializeSiteRecoveryNetworkData(JsonE { continue; } - properties = SiteRecoveryNetworkProperties.DeserializeSiteRecoveryNetworkProperties(property.Value); + properties = SiteRecoveryNetworkProperties.DeserializeSiteRecoveryNetworkProperties(property.Value, options); continue; } if (property.NameEquals("location"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryNetworkMappingData.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryNetworkMappingData.Serialization.cs index 807fcf972f069..01e11eb466582 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryNetworkMappingData.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryNetworkMappingData.Serialization.cs @@ -112,7 +112,7 @@ internal static SiteRecoveryNetworkMappingData DeserializeSiteRecoveryNetworkMap { continue; } - properties = SiteRecoveryNetworkMappingProperties.DeserializeSiteRecoveryNetworkMappingProperties(property.Value); + properties = SiteRecoveryNetworkMappingProperties.DeserializeSiteRecoveryNetworkMappingProperties(property.Value, options); continue; } if (property.NameEquals("location"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryPointData.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryPointData.Serialization.cs index 777cb2204cf96..b5a3d0ce3d16a 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryPointData.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryPointData.Serialization.cs @@ -112,7 +112,7 @@ internal static SiteRecoveryPointData DeserializeSiteRecoveryPointData(JsonEleme { continue; } - properties = SiteRecoveryPointProperties.DeserializeSiteRecoveryPointProperties(property.Value); + properties = SiteRecoveryPointProperties.DeserializeSiteRecoveryPointProperties(property.Value, options); continue; } if (property.NameEquals("location"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryPolicyData.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryPolicyData.Serialization.cs index d55ba3555b943..795f531ff9f53 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryPolicyData.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryPolicyData.Serialization.cs @@ -112,7 +112,7 @@ internal static SiteRecoveryPolicyData DeserializeSiteRecoveryPolicyData(JsonEle { continue; } - properties = SiteRecoveryPolicyProperties.DeserializeSiteRecoveryPolicyProperties(property.Value); + properties = SiteRecoveryPolicyProperties.DeserializeSiteRecoveryPolicyProperties(property.Value, options); continue; } if (property.NameEquals("location"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryProtectableItemData.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryProtectableItemData.Serialization.cs index 84d852dab2000..48f95ee7507f5 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryProtectableItemData.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryProtectableItemData.Serialization.cs @@ -112,7 +112,7 @@ internal static SiteRecoveryProtectableItemData DeserializeSiteRecoveryProtectab { continue; } - properties = SiteRecoveryProtectableItemProperties.DeserializeSiteRecoveryProtectableItemProperties(property.Value); + properties = SiteRecoveryProtectableItemProperties.DeserializeSiteRecoveryProtectableItemProperties(property.Value, options); continue; } if (property.NameEquals("location"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryProtectionContainerData.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryProtectionContainerData.Serialization.cs index 9cdccaa2a716c..87df9ac320258 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryProtectionContainerData.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryProtectionContainerData.Serialization.cs @@ -112,7 +112,7 @@ internal static SiteRecoveryProtectionContainerData DeserializeSiteRecoveryProte { continue; } - properties = SiteRecoveryProtectionContainerProperties.DeserializeSiteRecoveryProtectionContainerProperties(property.Value); + properties = SiteRecoveryProtectionContainerProperties.DeserializeSiteRecoveryProtectionContainerProperties(property.Value, options); continue; } if (property.NameEquals("location"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryRecoveryPlanData.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryRecoveryPlanData.Serialization.cs index a9f2059a3a3da..8ee41feb1c49d 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryRecoveryPlanData.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryRecoveryPlanData.Serialization.cs @@ -112,7 +112,7 @@ internal static SiteRecoveryRecoveryPlanData DeserializeSiteRecoveryRecoveryPlan { continue; } - properties = SiteRecoveryRecoveryPlanProperties.DeserializeSiteRecoveryRecoveryPlanProperties(property.Value); + properties = SiteRecoveryRecoveryPlanProperties.DeserializeSiteRecoveryRecoveryPlanProperties(property.Value, options); continue; } if (property.NameEquals("location"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryServicesProviderData.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryServicesProviderData.Serialization.cs index 4b3caa39eb164..2e2c4faf300dc 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryServicesProviderData.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryServicesProviderData.Serialization.cs @@ -112,7 +112,7 @@ internal static SiteRecoveryServicesProviderData DeserializeSiteRecoveryServices { continue; } - properties = SiteRecoveryServicesProviderProperties.DeserializeSiteRecoveryServicesProviderProperties(property.Value); + properties = SiteRecoveryServicesProviderProperties.DeserializeSiteRecoveryServicesProviderProperties(property.Value, options); continue; } if (property.NameEquals("location"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryVCenterData.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryVCenterData.Serialization.cs index c7fd5d3f3492b..1ccbd9020fa4b 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryVCenterData.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryVCenterData.Serialization.cs @@ -112,7 +112,7 @@ internal static SiteRecoveryVCenterData DeserializeSiteRecoveryVCenterData(JsonE { continue; } - properties = SiteRecoveryVCenterProperties.DeserializeSiteRecoveryVCenterProperties(property.Value); + properties = SiteRecoveryVCenterProperties.DeserializeSiteRecoveryVCenterProperties(property.Value, options); continue; } if (property.NameEquals("location"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryVaultSettingData.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryVaultSettingData.Serialization.cs index 6b883cde235b5..967293f768b6d 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryVaultSettingData.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/SiteRecoveryVaultSettingData.Serialization.cs @@ -112,7 +112,7 @@ internal static SiteRecoveryVaultSettingData DeserializeSiteRecoveryVaultSetting { continue; } - properties = SiteRecoveryVaultSettingProperties.DeserializeSiteRecoveryVaultSettingProperties(property.Value); + properties = SiteRecoveryVaultSettingProperties.DeserializeSiteRecoveryVaultSettingProperties(property.Value, options); continue; } if (property.NameEquals("location"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/StorageClassificationData.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/StorageClassificationData.Serialization.cs index 2e590628e6cfa..ae0c6d7202031 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/StorageClassificationData.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/StorageClassificationData.Serialization.cs @@ -112,7 +112,7 @@ internal static StorageClassificationData DeserializeStorageClassificationData(J { continue; } - properties = StorageClassificationProperties.DeserializeStorageClassificationProperties(property.Value); + properties = StorageClassificationProperties.DeserializeStorageClassificationProperties(property.Value, options); continue; } if (property.NameEquals("location"u8)) diff --git a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/StorageClassificationMappingData.Serialization.cs b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/StorageClassificationMappingData.Serialization.cs index 66e6c9c92a8b1..5dcf5b40ba02e 100644 --- a/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/StorageClassificationMappingData.Serialization.cs +++ b/sdk/recoveryservices-siterecovery/Azure.ResourceManager.RecoveryServicesSiteRecovery/src/Generated/StorageClassificationMappingData.Serialization.cs @@ -112,7 +112,7 @@ internal static StorageClassificationMappingData DeserializeStorageClassificatio { continue; } - properties = StorageClassificationMappingProperties.DeserializeStorageClassificationMappingProperties(property.Value); + properties = StorageClassificationMappingProperties.DeserializeStorageClassificationMappingProperties(property.Value, options); continue; } if (property.NameEquals("location"u8)) diff --git a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/CapabilitiesProperties.Serialization.cs b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/CapabilitiesProperties.Serialization.cs index d3a1bee3341e5..63fabaf3b06df 100644 --- a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/CapabilitiesProperties.Serialization.cs +++ b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/CapabilitiesProperties.Serialization.cs @@ -88,7 +88,7 @@ internal static CapabilitiesProperties DeserializeCapabilitiesProperties(JsonEle List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DnsZone.DeserializeDnsZone(item)); + array.Add(DnsZone.DeserializeDnsZone(item, options)); } dnsZones = array; continue; diff --git a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/CapabilitiesResult.Serialization.cs b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/CapabilitiesResult.Serialization.cs index 92750903b1b8c..baf3a06181a51 100644 --- a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/CapabilitiesResult.Serialization.cs +++ b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/CapabilitiesResult.Serialization.cs @@ -83,7 +83,7 @@ internal static CapabilitiesResult DeserializeCapabilitiesResult(JsonElement ele { continue; } - properties = CapabilitiesResultProperties.DeserializeCapabilitiesResultProperties(property.Value); + properties = CapabilitiesResultProperties.DeserializeCapabilitiesResultProperties(property.Value, options); continue; } if (property.NameEquals("type"u8)) diff --git a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/CapabilitiesResultProperties.Serialization.cs b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/CapabilitiesResultProperties.Serialization.cs index 99a7ca1743eff..2da4f2f40e76c 100644 --- a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/CapabilitiesResultProperties.Serialization.cs +++ b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/CapabilitiesResultProperties.Serialization.cs @@ -88,7 +88,7 @@ internal static CapabilitiesResultProperties DeserializeCapabilitiesResultProper List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DnsZoneResult.DeserializeDnsZoneResult(item)); + array.Add(DnsZoneResult.DeserializeDnsZoneResult(item, options)); } dnsZones = array; continue; diff --git a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/PrivateLinkResources.Serialization.cs b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/PrivateLinkResources.Serialization.cs index 62e9709547905..985319d9db6fa 100644 --- a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/PrivateLinkResources.Serialization.cs +++ b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/PrivateLinkResources.Serialization.cs @@ -95,7 +95,7 @@ internal static PrivateLinkResources DeserializePrivateLinkResources(JsonElement List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RecoveryServicesPrivateLinkResourceData.DeserializeRecoveryServicesPrivateLinkResourceData(item)); + array.Add(RecoveryServicesPrivateLinkResourceData.DeserializeRecoveryServicesPrivateLinkResourceData(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/RecoveryServicesCertificateContent.Serialization.cs b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/RecoveryServicesCertificateContent.Serialization.cs index e0dbb60751e83..02107b1f261ec 100644 --- a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/RecoveryServicesCertificateContent.Serialization.cs +++ b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/RecoveryServicesCertificateContent.Serialization.cs @@ -80,7 +80,7 @@ internal static RecoveryServicesCertificateContent DeserializeRecoveryServicesCe { continue; } - properties = RawCertificateData.DeserializeRawCertificateData(property.Value); + properties = RawCertificateData.DeserializeRawCertificateData(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/RecoveryServicesPrivateEndpointConnection.Serialization.cs b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/RecoveryServicesPrivateEndpointConnection.Serialization.cs index 1d4d87fd1724b..223c65e6bcd4c 100644 --- a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/RecoveryServicesPrivateEndpointConnection.Serialization.cs +++ b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/RecoveryServicesPrivateEndpointConnection.Serialization.cs @@ -122,7 +122,7 @@ internal static RecoveryServicesPrivateEndpointConnection DeserializeRecoverySer { continue; } - privateLinkServiceConnectionState = RecoveryServicesPrivateLinkServiceConnectionState.DeserializeRecoveryServicesPrivateLinkServiceConnectionState(property.Value); + privateLinkServiceConnectionState = RecoveryServicesPrivateLinkServiceConnectionState.DeserializeRecoveryServicesPrivateLinkServiceConnectionState(property.Value, options); continue; } if (property.NameEquals("groupIds"u8)) diff --git a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/RecoveryServicesPrivateEndpointConnectionVaultProperties.Serialization.cs b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/RecoveryServicesPrivateEndpointConnectionVaultProperties.Serialization.cs index 93fa88db53c89..08e14f21ea710 100644 --- a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/RecoveryServicesPrivateEndpointConnectionVaultProperties.Serialization.cs +++ b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/RecoveryServicesPrivateEndpointConnectionVaultProperties.Serialization.cs @@ -111,7 +111,7 @@ internal static RecoveryServicesPrivateEndpointConnectionVaultProperties Deseria { continue; } - properties = RecoveryServicesPrivateEndpointConnection.DeserializeRecoveryServicesPrivateEndpointConnection(property.Value); + properties = RecoveryServicesPrivateEndpointConnection.DeserializeRecoveryServicesPrivateEndpointConnection(property.Value, options); continue; } if (property.NameEquals("location"u8)) diff --git a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/RecoveryServicesSecuritySettings.Serialization.cs b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/RecoveryServicesSecuritySettings.Serialization.cs index 14718f831b86d..0d19b586cea35 100644 --- a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/RecoveryServicesSecuritySettings.Serialization.cs +++ b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/RecoveryServicesSecuritySettings.Serialization.cs @@ -92,7 +92,7 @@ internal static RecoveryServicesSecuritySettings DeserializeRecoveryServicesSecu { continue; } - immutabilitySettings = ImmutabilitySettings.DeserializeImmutabilitySettings(property.Value); + immutabilitySettings = ImmutabilitySettings.DeserializeImmutabilitySettings(property.Value, options); continue; } if (property.NameEquals("softDeleteSettings"u8)) @@ -101,7 +101,7 @@ internal static RecoveryServicesSecuritySettings DeserializeRecoveryServicesSecu { continue; } - softDeleteSettings = RecoveryServicesSoftDeleteSettings.DeserializeRecoveryServicesSoftDeleteSettings(property.Value); + softDeleteSettings = RecoveryServicesSoftDeleteSettings.DeserializeRecoveryServicesSoftDeleteSettings(property.Value, options); continue; } if (property.NameEquals("multiUserAuthorization"u8)) diff --git a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/RecoveryServicesVaultListResult.Serialization.cs b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/RecoveryServicesVaultListResult.Serialization.cs index 61dc908054a63..0f0428c4fd053 100644 --- a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/RecoveryServicesVaultListResult.Serialization.cs +++ b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/RecoveryServicesVaultListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static RecoveryServicesVaultListResult DeserializeRecoveryServicesVault List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RecoveryServicesVaultData.DeserializeRecoveryServicesVaultData(item)); + array.Add(RecoveryServicesVaultData.DeserializeRecoveryServicesVaultData(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/RecoveryServicesVaultPatch.Serialization.cs b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/RecoveryServicesVaultPatch.Serialization.cs index cb3ce6d18765e..4a181a3eea9a9 100644 --- a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/RecoveryServicesVaultPatch.Serialization.cs +++ b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/RecoveryServicesVaultPatch.Serialization.cs @@ -139,7 +139,7 @@ internal static RecoveryServicesVaultPatch DeserializeRecoveryServicesVaultPatch { continue; } - properties = RecoveryServicesVaultProperties.DeserializeRecoveryServicesVaultProperties(property.Value); + properties = RecoveryServicesVaultProperties.DeserializeRecoveryServicesVaultProperties(property.Value, options); continue; } if (property.NameEquals("sku"u8)) @@ -148,7 +148,7 @@ internal static RecoveryServicesVaultPatch DeserializeRecoveryServicesVaultPatch { continue; } - sku = RecoveryServicesSku.DeserializeRecoveryServicesSku(property.Value); + sku = RecoveryServicesSku.DeserializeRecoveryServicesSku(property.Value, options); continue; } if (property.NameEquals("identity"u8)) diff --git a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/RecoveryServicesVaultProperties.Serialization.cs b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/RecoveryServicesVaultProperties.Serialization.cs index a427e206dcf25..cacb97c54e064 100644 --- a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/RecoveryServicesVaultProperties.Serialization.cs +++ b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/RecoveryServicesVaultProperties.Serialization.cs @@ -174,7 +174,7 @@ internal static RecoveryServicesVaultProperties DeserializeRecoveryServicesVault { continue; } - upgradeDetails = VaultUpgradeDetails.DeserializeVaultUpgradeDetails(property.Value); + upgradeDetails = VaultUpgradeDetails.DeserializeVaultUpgradeDetails(property.Value, options); continue; } if (property.NameEquals("privateEndpointConnections"u8)) @@ -186,7 +186,7 @@ internal static RecoveryServicesVaultProperties DeserializeRecoveryServicesVault List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RecoveryServicesPrivateEndpointConnectionVaultProperties.DeserializeRecoveryServicesPrivateEndpointConnectionVaultProperties(item)); + array.Add(RecoveryServicesPrivateEndpointConnectionVaultProperties.DeserializeRecoveryServicesPrivateEndpointConnectionVaultProperties(item, options)); } privateEndpointConnections = array; continue; @@ -215,7 +215,7 @@ internal static RecoveryServicesVaultProperties DeserializeRecoveryServicesVault { continue; } - encryption = VaultPropertiesEncryption.DeserializeVaultPropertiesEncryption(property.Value); + encryption = VaultPropertiesEncryption.DeserializeVaultPropertiesEncryption(property.Value, options); continue; } if (property.NameEquals("moveDetails"u8)) @@ -224,7 +224,7 @@ internal static RecoveryServicesVaultProperties DeserializeRecoveryServicesVault { continue; } - moveDetails = VaultPropertiesMoveDetails.DeserializeVaultPropertiesMoveDetails(property.Value); + moveDetails = VaultPropertiesMoveDetails.DeserializeVaultPropertiesMoveDetails(property.Value, options); continue; } if (property.NameEquals("moveState"u8)) @@ -260,7 +260,7 @@ internal static RecoveryServicesVaultProperties DeserializeRecoveryServicesVault { continue; } - monitoringSettings = VaultMonitoringSettings.DeserializeVaultMonitoringSettings(property.Value); + monitoringSettings = VaultMonitoringSettings.DeserializeVaultMonitoringSettings(property.Value, options); continue; } if (property.NameEquals("restoreSettings"u8)) @@ -269,7 +269,7 @@ internal static RecoveryServicesVaultProperties DeserializeRecoveryServicesVault { continue; } - restoreSettings = RestoreSettings.DeserializeRestoreSettings(property.Value); + restoreSettings = RestoreSettings.DeserializeRestoreSettings(property.Value, options); continue; } if (property.NameEquals("redundancySettings"u8)) @@ -278,7 +278,7 @@ internal static RecoveryServicesVaultProperties DeserializeRecoveryServicesVault { continue; } - redundancySettings = VaultPropertiesRedundancySettings.DeserializeVaultPropertiesRedundancySettings(property.Value); + redundancySettings = VaultPropertiesRedundancySettings.DeserializeVaultPropertiesRedundancySettings(property.Value, options); continue; } if (property.NameEquals("securitySettings"u8)) @@ -287,7 +287,7 @@ internal static RecoveryServicesVaultProperties DeserializeRecoveryServicesVault { continue; } - securitySettings = RecoveryServicesSecuritySettings.DeserializeRecoveryServicesSecuritySettings(property.Value); + securitySettings = RecoveryServicesSecuritySettings.DeserializeRecoveryServicesSecuritySettings(property.Value, options); continue; } if (property.NameEquals("secureScore"u8)) diff --git a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/ReplicationUsage.Serialization.cs b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/ReplicationUsage.Serialization.cs index 7c0862375da3e..a99e065ccc21e 100644 --- a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/ReplicationUsage.Serialization.cs +++ b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/ReplicationUsage.Serialization.cs @@ -110,7 +110,7 @@ internal static ReplicationUsage DeserializeReplicationUsage(JsonElement element { continue; } - monitoringSummary = VaultMonitoringSummary.DeserializeVaultMonitoringSummary(property.Value); + monitoringSummary = VaultMonitoringSummary.DeserializeVaultMonitoringSummary(property.Value, options); continue; } if (property.NameEquals("jobsSummary"u8)) @@ -119,7 +119,7 @@ internal static ReplicationUsage DeserializeReplicationUsage(JsonElement element { continue; } - jobsSummary = ReplicationJobSummary.DeserializeReplicationJobSummary(property.Value); + jobsSummary = ReplicationJobSummary.DeserializeReplicationJobSummary(property.Value, options); continue; } if (property.NameEquals("protectedItemCount"u8)) diff --git a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/ReplicationUsageListResult.Serialization.cs b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/ReplicationUsageListResult.Serialization.cs index 24f8542a5e116..c60c788a119d0 100644 --- a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/ReplicationUsageListResult.Serialization.cs +++ b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/ReplicationUsageListResult.Serialization.cs @@ -88,7 +88,7 @@ internal static ReplicationUsageListResult DeserializeReplicationUsageListResult List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ReplicationUsage.DeserializeReplicationUsage(item)); + array.Add(ReplicationUsage.DeserializeReplicationUsage(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/ResourceCapabilities.Serialization.cs b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/ResourceCapabilities.Serialization.cs index 87eb23f92d199..a9f919d480d83 100644 --- a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/ResourceCapabilities.Serialization.cs +++ b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/ResourceCapabilities.Serialization.cs @@ -83,7 +83,7 @@ internal static ResourceCapabilities DeserializeResourceCapabilities(JsonElement { continue; } - properties = CapabilitiesProperties.DeserializeCapabilitiesProperties(property.Value); + properties = CapabilitiesProperties.DeserializeCapabilitiesProperties(property.Value, options); continue; } if (property.NameEquals("type"u8)) diff --git a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/ResourceCertificateDetails.Serialization.cs b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/ResourceCertificateDetails.Serialization.cs index f5b88df23a095..39611625eb703 100644 --- a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/ResourceCertificateDetails.Serialization.cs +++ b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/ResourceCertificateDetails.Serialization.cs @@ -117,11 +117,11 @@ internal static ResourceCertificateDetails DeserializeResourceCertificateDetails { switch (discriminator.GetString()) { - case "AccessControlService": return ResourceCertificateAndAcsDetails.DeserializeResourceCertificateAndAcsDetails(element); - case "AzureActiveDirectory": return ResourceCertificateAndAadDetails.DeserializeResourceCertificateAndAadDetails(element); + case "AccessControlService": return ResourceCertificateAndAcsDetails.DeserializeResourceCertificateAndAcsDetails(element, options); + case "AzureActiveDirectory": return ResourceCertificateAndAadDetails.DeserializeResourceCertificateAndAadDetails(element, options); } } - return UnknownResourceCertificateDetails.DeserializeUnknownResourceCertificateDetails(element); + return UnknownResourceCertificateDetails.DeserializeUnknownResourceCertificateDetails(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/RestoreSettings.Serialization.cs b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/RestoreSettings.Serialization.cs index 4baf8d357eb9b..4ca3cd21b4365 100644 --- a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/RestoreSettings.Serialization.cs +++ b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/RestoreSettings.Serialization.cs @@ -80,7 +80,7 @@ internal static RestoreSettings DeserializeRestoreSettings(JsonElement element, { continue; } - crossSubscriptionRestoreSettings = CrossSubscriptionRestoreSettings.DeserializeCrossSubscriptionRestoreSettings(property.Value); + crossSubscriptionRestoreSettings = CrossSubscriptionRestoreSettings.DeserializeCrossSubscriptionRestoreSettings(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/VaultCertificateResult.Serialization.cs b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/VaultCertificateResult.Serialization.cs index 2165caa16fb1d..709ca577b0364 100644 --- a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/VaultCertificateResult.Serialization.cs +++ b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/VaultCertificateResult.Serialization.cs @@ -105,7 +105,7 @@ internal static VaultCertificateResult DeserializeVaultCertificateResult(JsonEle { continue; } - properties = ResourceCertificateDetails.DeserializeResourceCertificateDetails(property.Value); + properties = ResourceCertificateDetails.DeserializeResourceCertificateDetails(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/VaultMonitoringSettings.Serialization.cs b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/VaultMonitoringSettings.Serialization.cs index 6848c5fb2ad60..7d4820baec7b2 100644 --- a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/VaultMonitoringSettings.Serialization.cs +++ b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/VaultMonitoringSettings.Serialization.cs @@ -86,7 +86,7 @@ internal static VaultMonitoringSettings DeserializeVaultMonitoringSettings(JsonE { continue; } - azureMonitorAlertSettings = AzureMonitorAlertSettings.DeserializeAzureMonitorAlertSettings(property.Value); + azureMonitorAlertSettings = AzureMonitorAlertSettings.DeserializeAzureMonitorAlertSettings(property.Value, options); continue; } if (property.NameEquals("classicAlertSettings"u8)) @@ -95,7 +95,7 @@ internal static VaultMonitoringSettings DeserializeVaultMonitoringSettings(JsonE { continue; } - classicAlertSettings = ClassicAlertSettings.DeserializeClassicAlertSettings(property.Value); + classicAlertSettings = ClassicAlertSettings.DeserializeClassicAlertSettings(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/VaultPropertiesEncryption.Serialization.cs b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/VaultPropertiesEncryption.Serialization.cs index c02f262de0e64..52769d5884df7 100644 --- a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/VaultPropertiesEncryption.Serialization.cs +++ b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/VaultPropertiesEncryption.Serialization.cs @@ -92,7 +92,7 @@ internal static VaultPropertiesEncryption DeserializeVaultPropertiesEncryption(J { continue; } - keyVaultProperties = CmkKeyVaultProperties.DeserializeCmkKeyVaultProperties(property.Value); + keyVaultProperties = CmkKeyVaultProperties.DeserializeCmkKeyVaultProperties(property.Value, options); continue; } if (property.NameEquals("kekIdentity"u8)) @@ -101,7 +101,7 @@ internal static VaultPropertiesEncryption DeserializeVaultPropertiesEncryption(J { continue; } - kekIdentity = CmkKekIdentity.DeserializeCmkKekIdentity(property.Value); + kekIdentity = CmkKekIdentity.DeserializeCmkKekIdentity(property.Value, options); continue; } if (property.NameEquals("infrastructureEncryption"u8)) diff --git a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/VaultUsage.Serialization.cs b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/VaultUsage.Serialization.cs index 4b0ec18fcfae0..2a6deeaaf984d 100644 --- a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/VaultUsage.Serialization.cs +++ b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/VaultUsage.Serialization.cs @@ -151,7 +151,7 @@ internal static VaultUsage DeserializeVaultUsage(JsonElement element, ModelReade { continue; } - name = VaultUsageNameInfo.DeserializeVaultUsageNameInfo(property.Value); + name = VaultUsageNameInfo.DeserializeVaultUsageNameInfo(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/VaultUsageListResult.Serialization.cs b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/VaultUsageListResult.Serialization.cs index bcc479bfc9f27..73e9c73c77590 100644 --- a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/VaultUsageListResult.Serialization.cs +++ b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/Models/VaultUsageListResult.Serialization.cs @@ -88,7 +88,7 @@ internal static VaultUsageListResult DeserializeVaultUsageListResult(JsonElement List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(VaultUsage.DeserializeVaultUsage(item)); + array.Add(VaultUsage.DeserializeVaultUsage(item, options)); } value = array; continue; diff --git a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/RecoveryServicesVaultData.Serialization.cs b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/RecoveryServicesVaultData.Serialization.cs index a0e7ac21aa80d..5da36f0c624ec 100644 --- a/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/RecoveryServicesVaultData.Serialization.cs +++ b/sdk/recoveryservices/Azure.ResourceManager.RecoveryServices/src/Generated/RecoveryServicesVaultData.Serialization.cs @@ -149,7 +149,7 @@ internal static RecoveryServicesVaultData DeserializeRecoveryServicesVaultData(J { continue; } - properties = RecoveryServicesVaultProperties.DeserializeRecoveryServicesVaultProperties(property.Value); + properties = RecoveryServicesVaultProperties.DeserializeRecoveryServicesVaultProperties(property.Value, options); continue; } if (property.NameEquals("sku"u8)) @@ -158,7 +158,7 @@ internal static RecoveryServicesVaultData DeserializeRecoveryServicesVaultData(J { continue; } - sku = RecoveryServicesSku.DeserializeRecoveryServicesSku(property.Value); + sku = RecoveryServicesSku.DeserializeRecoveryServicesSku(property.Value, options); continue; } if (property.NameEquals("etag"u8)) diff --git a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisCacheAccessPolicyAssignmentList.Serialization.cs b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisCacheAccessPolicyAssignmentList.Serialization.cs index 8093a806cd451..d644b2f65a52d 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisCacheAccessPolicyAssignmentList.Serialization.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisCacheAccessPolicyAssignmentList.Serialization.cs @@ -95,7 +95,7 @@ internal static RedisCacheAccessPolicyAssignmentList DeserializeRedisCacheAccess List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RedisCacheAccessPolicyAssignmentData.DeserializeRedisCacheAccessPolicyAssignmentData(item)); + array.Add(RedisCacheAccessPolicyAssignmentData.DeserializeRedisCacheAccessPolicyAssignmentData(item, options)); } value = array; continue; diff --git a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisCacheAccessPolicyList.Serialization.cs b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisCacheAccessPolicyList.Serialization.cs index cb9531e19500e..5916c984c0b73 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisCacheAccessPolicyList.Serialization.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisCacheAccessPolicyList.Serialization.cs @@ -95,7 +95,7 @@ internal static RedisCacheAccessPolicyList DeserializeRedisCacheAccessPolicyList List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RedisCacheAccessPolicyData.DeserializeRedisCacheAccessPolicyData(item)); + array.Add(RedisCacheAccessPolicyData.DeserializeRedisCacheAccessPolicyData(item, options)); } value = array; continue; diff --git a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisCreateOrUpdateContent.Serialization.cs b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisCreateOrUpdateContent.Serialization.cs index ae70ea13c0e27..d146df4e4a02b 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisCreateOrUpdateContent.Serialization.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisCreateOrUpdateContent.Serialization.cs @@ -243,7 +243,7 @@ internal static RedisCreateOrUpdateContent DeserializeRedisCreateOrUpdateContent { continue; } - redisConfiguration = RedisCommonConfiguration.DeserializeRedisCommonConfiguration(property0.Value); + redisConfiguration = RedisCommonConfiguration.DeserializeRedisCommonConfiguration(property0.Value, options); continue; } if (property0.NameEquals("redisVersion"u8)) @@ -330,7 +330,7 @@ internal static RedisCreateOrUpdateContent DeserializeRedisCreateOrUpdateContent } if (property0.NameEquals("sku"u8)) { - sku = RedisSku.DeserializeRedisSku(property0.Value); + sku = RedisSku.DeserializeRedisSku(property0.Value, options); continue; } if (property0.NameEquals("subnetId"u8)) diff --git a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisFirewallRuleListResult.Serialization.cs b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisFirewallRuleListResult.Serialization.cs index 1f93fdf74016c..2fda7625368e3 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisFirewallRuleListResult.Serialization.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisFirewallRuleListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static RedisFirewallRuleListResult DeserializeRedisFirewallRuleListResu List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RedisFirewallRuleData.DeserializeRedisFirewallRuleData(item)); + array.Add(RedisFirewallRuleData.DeserializeRedisFirewallRuleData(item, options)); } value = array; continue; diff --git a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisLinkedServerWithPropertiesList.Serialization.cs b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisLinkedServerWithPropertiesList.Serialization.cs index bf92a30471b15..c4c2b877740ff 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisLinkedServerWithPropertiesList.Serialization.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisLinkedServerWithPropertiesList.Serialization.cs @@ -95,7 +95,7 @@ internal static RedisLinkedServerWithPropertiesList DeserializeRedisLinkedServer List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RedisLinkedServerWithPropertyData.DeserializeRedisLinkedServerWithPropertyData(item)); + array.Add(RedisLinkedServerWithPropertyData.DeserializeRedisLinkedServerWithPropertyData(item, options)); } value = array; continue; diff --git a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisListResult.Serialization.cs b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisListResult.Serialization.cs index 9c726b711d9f8..0fc29394d288a 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisListResult.Serialization.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static RedisListResult DeserializeRedisListResult(JsonElement element, List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RedisData.DeserializeRedisData(item)); + array.Add(RedisData.DeserializeRedisData(item, options)); } value = array; continue; diff --git a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisPatch.Serialization.cs b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisPatch.Serialization.cs index 0d378b16fb11a..4bf344b695fcf 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisPatch.Serialization.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisPatch.Serialization.cs @@ -200,7 +200,7 @@ internal static RedisPatch DeserializeRedisPatch(JsonElement element, ModelReade { continue; } - redisConfiguration = RedisCommonConfiguration.DeserializeRedisCommonConfiguration(property0.Value); + redisConfiguration = RedisCommonConfiguration.DeserializeRedisCommonConfiguration(property0.Value, options); continue; } if (property0.NameEquals("redisVersion"u8)) @@ -291,7 +291,7 @@ internal static RedisPatch DeserializeRedisPatch(JsonElement element, ModelReade { continue; } - sku = RedisSku.DeserializeRedisSku(property0.Value); + sku = RedisSku.DeserializeRedisSku(property0.Value, options); continue; } } diff --git a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisPatchScheduleListResult.Serialization.cs b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisPatchScheduleListResult.Serialization.cs index 7988b0c31fb3f..390ce9fbbc76c 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisPatchScheduleListResult.Serialization.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisPatchScheduleListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static RedisPatchScheduleListResult DeserializeRedisPatchScheduleListRe List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RedisPatchScheduleData.DeserializeRedisPatchScheduleData(item)); + array.Add(RedisPatchScheduleData.DeserializeRedisPatchScheduleData(item, options)); } value = array; continue; diff --git a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisPrivateEndpointConnectionListResult.Serialization.cs b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisPrivateEndpointConnectionListResult.Serialization.cs index 1dbfcde5dd081..2e9f57a9ec3fc 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisPrivateEndpointConnectionListResult.Serialization.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisPrivateEndpointConnectionListResult.Serialization.cs @@ -89,7 +89,7 @@ internal static RedisPrivateEndpointConnectionListResult DeserializeRedisPrivate List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RedisPrivateEndpointConnectionData.DeserializeRedisPrivateEndpointConnectionData(item)); + array.Add(RedisPrivateEndpointConnectionData.DeserializeRedisPrivateEndpointConnectionData(item, options)); } value = array; continue; diff --git a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisPrivateLinkResourceListResult.Serialization.cs b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisPrivateLinkResourceListResult.Serialization.cs index 4e5048bd14cbd..e04b5ecc20280 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisPrivateLinkResourceListResult.Serialization.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisPrivateLinkResourceListResult.Serialization.cs @@ -88,7 +88,7 @@ internal static RedisPrivateLinkResourceListResult DeserializeRedisPrivateLinkRe List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RedisPrivateLinkResource.DeserializeRedisPrivateLinkResource(item)); + array.Add(RedisPrivateLinkResource.DeserializeRedisPrivateLinkResource(item, options)); } value = array; continue; diff --git a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisUpgradeNotificationListResponse.Serialization.cs b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisUpgradeNotificationListResponse.Serialization.cs index 7879b7da40150..a2b83c81376c3 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisUpgradeNotificationListResponse.Serialization.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/Models/RedisUpgradeNotificationListResponse.Serialization.cs @@ -94,7 +94,7 @@ internal static RedisUpgradeNotificationListResponse DeserializeRedisUpgradeNoti List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RedisUpgradeNotification.DeserializeRedisUpgradeNotification(item)); + array.Add(RedisUpgradeNotification.DeserializeRedisUpgradeNotification(item, options)); } value = array; continue; diff --git a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RedisData.Serialization.cs b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RedisData.Serialization.cs index 8a0d3c183a59a..46f229a7c3a82 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RedisData.Serialization.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RedisData.Serialization.cs @@ -363,7 +363,7 @@ internal static RedisData DeserializeRedisData(JsonElement element, ModelReaderW { continue; } - redisConfiguration = RedisCommonConfiguration.DeserializeRedisCommonConfiguration(property0.Value); + redisConfiguration = RedisCommonConfiguration.DeserializeRedisCommonConfiguration(property0.Value, options); continue; } if (property0.NameEquals("redisVersion"u8)) @@ -450,7 +450,7 @@ internal static RedisData DeserializeRedisData(JsonElement element, ModelReaderW } if (property0.NameEquals("sku"u8)) { - sku = RedisSku.DeserializeRedisSku(property0.Value); + sku = RedisSku.DeserializeRedisSku(property0.Value, options); continue; } if (property0.NameEquals("subnetId"u8)) @@ -510,7 +510,7 @@ internal static RedisData DeserializeRedisData(JsonElement element, ModelReaderW accessKeys = null; continue; } - accessKeys = RedisAccessKeys.DeserializeRedisAccessKeys(property0.Value); + accessKeys = RedisAccessKeys.DeserializeRedisAccessKeys(property0.Value, options); continue; } if (property0.NameEquals("linkedServers"u8)) @@ -536,7 +536,7 @@ internal static RedisData DeserializeRedisData(JsonElement element, ModelReaderW List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(RedisInstanceDetails.DeserializeRedisInstanceDetails(item)); + array.Add(RedisInstanceDetails.DeserializeRedisInstanceDetails(item, options)); } instances = array; continue; @@ -550,7 +550,7 @@ internal static RedisData DeserializeRedisData(JsonElement element, ModelReaderW List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(RedisPrivateEndpointConnectionData.DeserializeRedisPrivateEndpointConnectionData(item)); + array.Add(RedisPrivateEndpointConnectionData.DeserializeRedisPrivateEndpointConnectionData(item, options)); } privateEndpointConnections = array; continue; diff --git a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RedisPatchScheduleData.Serialization.cs b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RedisPatchScheduleData.Serialization.cs index 9864db65f26a6..2879f68b095d0 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RedisPatchScheduleData.Serialization.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RedisPatchScheduleData.Serialization.cs @@ -158,7 +158,7 @@ internal static RedisPatchScheduleData DeserializeRedisPatchScheduleData(JsonEle List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(RedisPatchScheduleSetting.DeserializeRedisPatchScheduleSetting(item)); + array.Add(RedisPatchScheduleSetting.DeserializeRedisPatchScheduleSetting(item, options)); } scheduleEntries = array; continue; diff --git a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RedisPrivateEndpointConnectionData.Serialization.cs b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RedisPrivateEndpointConnectionData.Serialization.cs index 8e9a68f10c083..b0a74ee4068d4 100644 --- a/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RedisPrivateEndpointConnectionData.Serialization.cs +++ b/sdk/redis/Azure.ResourceManager.Redis/src/Generated/RedisPrivateEndpointConnectionData.Serialization.cs @@ -164,7 +164,7 @@ internal static RedisPrivateEndpointConnectionData DeserializeRedisPrivateEndpoi { continue; } - privateLinkServiceConnectionState = RedisPrivateLinkServiceConnectionState.DeserializeRedisPrivateLinkServiceConnectionState(property0.Value); + privateLinkServiceConnectionState = RedisPrivateLinkServiceConnectionState.DeserializeRedisPrivateLinkServiceConnectionState(property0.Value, options); continue; } if (property0.NameEquals("provisioningState"u8)) diff --git a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/Models/ClusterPropertiesEncryption.Serialization.cs b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/Models/ClusterPropertiesEncryption.Serialization.cs index 87487755ad848..d7a6a8e4e7c01 100644 --- a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/Models/ClusterPropertiesEncryption.Serialization.cs +++ b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/Models/ClusterPropertiesEncryption.Serialization.cs @@ -80,7 +80,7 @@ internal static ClusterPropertiesEncryption DeserializeClusterPropertiesEncrypti { continue; } - customerManagedKeyEncryption = RedisEnterpriseCustomerManagedKeyEncryption.DeserializeRedisEnterpriseCustomerManagedKeyEncryption(property.Value); + customerManagedKeyEncryption = RedisEnterpriseCustomerManagedKeyEncryption.DeserializeRedisEnterpriseCustomerManagedKeyEncryption(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/Models/RedisEnterpriseClusterList.Serialization.cs b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/Models/RedisEnterpriseClusterList.Serialization.cs index fad53bd43fe42..270e46dbcc604 100644 --- a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/Models/RedisEnterpriseClusterList.Serialization.cs +++ b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/Models/RedisEnterpriseClusterList.Serialization.cs @@ -95,7 +95,7 @@ internal static RedisEnterpriseClusterList DeserializeRedisEnterpriseClusterList List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RedisEnterpriseClusterData.DeserializeRedisEnterpriseClusterData(item)); + array.Add(RedisEnterpriseClusterData.DeserializeRedisEnterpriseClusterData(item, options)); } value = array; continue; diff --git a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/Models/RedisEnterpriseClusterPatch.Serialization.cs b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/Models/RedisEnterpriseClusterPatch.Serialization.cs index aab142272c0f4..d6b0ad93f43d6 100644 --- a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/Models/RedisEnterpriseClusterPatch.Serialization.cs +++ b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/Models/RedisEnterpriseClusterPatch.Serialization.cs @@ -150,7 +150,7 @@ internal static RedisEnterpriseClusterPatch DeserializeRedisEnterpriseClusterPat { continue; } - sku = RedisEnterpriseSku.DeserializeRedisEnterpriseSku(property.Value); + sku = RedisEnterpriseSku.DeserializeRedisEnterpriseSku(property.Value, options); continue; } if (property.NameEquals("identity"u8)) @@ -200,7 +200,7 @@ internal static RedisEnterpriseClusterPatch DeserializeRedisEnterpriseClusterPat { continue; } - encryption = ClusterPropertiesEncryption.DeserializeClusterPropertiesEncryption(property0.Value); + encryption = ClusterPropertiesEncryption.DeserializeClusterPropertiesEncryption(property0.Value, options); continue; } if (property0.NameEquals("hostName"u8)) @@ -240,7 +240,7 @@ internal static RedisEnterpriseClusterPatch DeserializeRedisEnterpriseClusterPat List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(RedisEnterprisePrivateEndpointConnectionData.DeserializeRedisEnterprisePrivateEndpointConnectionData(item)); + array.Add(RedisEnterprisePrivateEndpointConnectionData.DeserializeRedisEnterprisePrivateEndpointConnectionData(item, options)); } privateEndpointConnections = array; continue; diff --git a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/Models/RedisEnterpriseCustomerManagedKeyEncryption.Serialization.cs b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/Models/RedisEnterpriseCustomerManagedKeyEncryption.Serialization.cs index 0e02f57df8134..2206ee2d9804a 100644 --- a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/Models/RedisEnterpriseCustomerManagedKeyEncryption.Serialization.cs +++ b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/Models/RedisEnterpriseCustomerManagedKeyEncryption.Serialization.cs @@ -86,7 +86,7 @@ internal static RedisEnterpriseCustomerManagedKeyEncryption DeserializeRedisEnte { continue; } - keyEncryptionKeyIdentity = RedisEnterpriseCustomerManagedKeyEncryptionKeyIdentity.DeserializeRedisEnterpriseCustomerManagedKeyEncryptionKeyIdentity(property.Value); + keyEncryptionKeyIdentity = RedisEnterpriseCustomerManagedKeyEncryptionKeyIdentity.DeserializeRedisEnterpriseCustomerManagedKeyEncryptionKeyIdentity(property.Value, options); continue; } if (property.NameEquals("keyEncryptionKeyUrl"u8)) diff --git a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/Models/RedisEnterpriseDatabaseGeoReplication.Serialization.cs b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/Models/RedisEnterpriseDatabaseGeoReplication.Serialization.cs index e8afcf236d5df..143a0830248f5 100644 --- a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/Models/RedisEnterpriseDatabaseGeoReplication.Serialization.cs +++ b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/Models/RedisEnterpriseDatabaseGeoReplication.Serialization.cs @@ -99,7 +99,7 @@ internal static RedisEnterpriseDatabaseGeoReplication DeserializeRedisEnterprise List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RedisEnterpriseLinkedDatabase.DeserializeRedisEnterpriseLinkedDatabase(item)); + array.Add(RedisEnterpriseLinkedDatabase.DeserializeRedisEnterpriseLinkedDatabase(item, options)); } linkedDatabases = array; continue; diff --git a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/Models/RedisEnterpriseDatabaseList.Serialization.cs b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/Models/RedisEnterpriseDatabaseList.Serialization.cs index ca6bd999d0781..4cc6840899e34 100644 --- a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/Models/RedisEnterpriseDatabaseList.Serialization.cs +++ b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/Models/RedisEnterpriseDatabaseList.Serialization.cs @@ -95,7 +95,7 @@ internal static RedisEnterpriseDatabaseList DeserializeRedisEnterpriseDatabaseLi List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RedisEnterpriseDatabaseData.DeserializeRedisEnterpriseDatabaseData(item)); + array.Add(RedisEnterpriseDatabaseData.DeserializeRedisEnterpriseDatabaseData(item, options)); } value = array; continue; diff --git a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/Models/RedisEnterpriseDatabasePatch.Serialization.cs b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/Models/RedisEnterpriseDatabasePatch.Serialization.cs index e0b8616d5ac63..63412a4f19b19 100644 --- a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/Models/RedisEnterpriseDatabasePatch.Serialization.cs +++ b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/Models/RedisEnterpriseDatabasePatch.Serialization.cs @@ -199,7 +199,7 @@ internal static RedisEnterpriseDatabasePatch DeserializeRedisEnterpriseDatabaseP { continue; } - persistence = RedisPersistenceSettings.DeserializeRedisPersistenceSettings(property0.Value); + persistence = RedisPersistenceSettings.DeserializeRedisPersistenceSettings(property0.Value, options); continue; } if (property0.NameEquals("modules"u8)) @@ -211,7 +211,7 @@ internal static RedisEnterpriseDatabasePatch DeserializeRedisEnterpriseDatabaseP List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(RedisEnterpriseModule.DeserializeRedisEnterpriseModule(item)); + array.Add(RedisEnterpriseModule.DeserializeRedisEnterpriseModule(item, options)); } modules = array; continue; @@ -222,7 +222,7 @@ internal static RedisEnterpriseDatabasePatch DeserializeRedisEnterpriseDatabaseP { continue; } - geoReplication = RedisEnterpriseDatabaseGeoReplication.DeserializeRedisEnterpriseDatabaseGeoReplication(property0.Value); + geoReplication = RedisEnterpriseDatabaseGeoReplication.DeserializeRedisEnterpriseDatabaseGeoReplication(property0.Value, options); continue; } } diff --git a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/Models/RedisEnterpriseOperationStatus.Serialization.cs b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/Models/RedisEnterpriseOperationStatus.Serialization.cs index c33168bd55a1f..5b85d45655f14 100644 --- a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/Models/RedisEnterpriseOperationStatus.Serialization.cs +++ b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/Models/RedisEnterpriseOperationStatus.Serialization.cs @@ -147,7 +147,7 @@ internal static RedisEnterpriseOperationStatus DeserializeRedisEnterpriseOperati { continue; } - error = ErrorResponse.DeserializeErrorResponse(property.Value); + error = ErrorResponse.DeserializeErrorResponse(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/Models/RedisEnterprisePrivateEndpointConnectionListResult.Serialization.cs b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/Models/RedisEnterprisePrivateEndpointConnectionListResult.Serialization.cs index cf8da79e85305..ae22cf72ed953 100644 --- a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/Models/RedisEnterprisePrivateEndpointConnectionListResult.Serialization.cs +++ b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/Models/RedisEnterprisePrivateEndpointConnectionListResult.Serialization.cs @@ -89,7 +89,7 @@ internal static RedisEnterprisePrivateEndpointConnectionListResult DeserializeRe List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RedisEnterprisePrivateEndpointConnectionData.DeserializeRedisEnterprisePrivateEndpointConnectionData(item)); + array.Add(RedisEnterprisePrivateEndpointConnectionData.DeserializeRedisEnterprisePrivateEndpointConnectionData(item, options)); } value = array; continue; diff --git a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/Models/RedisEnterprisePrivateLinkResourceListResult.Serialization.cs b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/Models/RedisEnterprisePrivateLinkResourceListResult.Serialization.cs index b0247907b8db3..4b052b2aebda5 100644 --- a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/Models/RedisEnterprisePrivateLinkResourceListResult.Serialization.cs +++ b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/Models/RedisEnterprisePrivateLinkResourceListResult.Serialization.cs @@ -88,7 +88,7 @@ internal static RedisEnterprisePrivateLinkResourceListResult DeserializeRedisEnt List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RedisEnterprisePrivateLinkResource.DeserializeRedisEnterprisePrivateLinkResource(item)); + array.Add(RedisEnterprisePrivateLinkResource.DeserializeRedisEnterprisePrivateLinkResource(item, options)); } value = array; continue; diff --git a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/RedisEnterpriseClusterData.Serialization.cs b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/RedisEnterpriseClusterData.Serialization.cs index ff38c547a5630..3902340e09516 100644 --- a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/RedisEnterpriseClusterData.Serialization.cs +++ b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/RedisEnterpriseClusterData.Serialization.cs @@ -181,7 +181,7 @@ internal static RedisEnterpriseClusterData DeserializeRedisEnterpriseClusterData { if (property.NameEquals("sku"u8)) { - sku = RedisEnterpriseSku.DeserializeRedisEnterpriseSku(property.Value); + sku = RedisEnterpriseSku.DeserializeRedisEnterpriseSku(property.Value, options); continue; } if (property.NameEquals("zones"u8)) @@ -274,7 +274,7 @@ internal static RedisEnterpriseClusterData DeserializeRedisEnterpriseClusterData { continue; } - encryption = ClusterPropertiesEncryption.DeserializeClusterPropertiesEncryption(property0.Value); + encryption = ClusterPropertiesEncryption.DeserializeClusterPropertiesEncryption(property0.Value, options); continue; } if (property0.NameEquals("hostName"u8)) @@ -314,7 +314,7 @@ internal static RedisEnterpriseClusterData DeserializeRedisEnterpriseClusterData List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(RedisEnterprisePrivateEndpointConnectionData.DeserializeRedisEnterprisePrivateEndpointConnectionData(item)); + array.Add(RedisEnterprisePrivateEndpointConnectionData.DeserializeRedisEnterprisePrivateEndpointConnectionData(item, options)); } privateEndpointConnections = array; continue; diff --git a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/RedisEnterpriseDatabaseData.Serialization.cs b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/RedisEnterpriseDatabaseData.Serialization.cs index 8a8ae9f91a016..f75b915814f88 100644 --- a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/RedisEnterpriseDatabaseData.Serialization.cs +++ b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/RedisEnterpriseDatabaseData.Serialization.cs @@ -249,7 +249,7 @@ internal static RedisEnterpriseDatabaseData DeserializeRedisEnterpriseDatabaseDa { continue; } - persistence = RedisPersistenceSettings.DeserializeRedisPersistenceSettings(property0.Value); + persistence = RedisPersistenceSettings.DeserializeRedisPersistenceSettings(property0.Value, options); continue; } if (property0.NameEquals("modules"u8)) @@ -261,7 +261,7 @@ internal static RedisEnterpriseDatabaseData DeserializeRedisEnterpriseDatabaseDa List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(RedisEnterpriseModule.DeserializeRedisEnterpriseModule(item)); + array.Add(RedisEnterpriseModule.DeserializeRedisEnterpriseModule(item, options)); } modules = array; continue; @@ -272,7 +272,7 @@ internal static RedisEnterpriseDatabaseData DeserializeRedisEnterpriseDatabaseDa { continue; } - geoReplication = RedisEnterpriseDatabaseGeoReplication.DeserializeRedisEnterpriseDatabaseGeoReplication(property0.Value); + geoReplication = RedisEnterpriseDatabaseGeoReplication.DeserializeRedisEnterpriseDatabaseGeoReplication(property0.Value, options); continue; } } diff --git a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/RedisEnterprisePrivateEndpointConnectionData.Serialization.cs b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/RedisEnterprisePrivateEndpointConnectionData.Serialization.cs index 8d66d9aa2db70..ed2df3d1e5ad3 100644 --- a/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/RedisEnterprisePrivateEndpointConnectionData.Serialization.cs +++ b/sdk/redisenterprise/Azure.ResourceManager.RedisEnterprise/src/Generated/RedisEnterprisePrivateEndpointConnectionData.Serialization.cs @@ -164,7 +164,7 @@ internal static RedisEnterprisePrivateEndpointConnectionData DeserializeRedisEnt { continue; } - privateLinkServiceConnectionState = RedisEnterprisePrivateLinkServiceConnectionState.DeserializeRedisEnterprisePrivateLinkServiceConnectionState(property0.Value); + privateLinkServiceConnectionState = RedisEnterprisePrivateLinkServiceConnectionState.DeserializeRedisEnterprisePrivateLinkServiceConnectionState(property0.Value, options); continue; } if (property0.NameEquals("provisioningState"u8)) diff --git a/sdk/relay/Azure.ResourceManager.Relay/src/Generated/Models/AuthorizationRuleListResult.Serialization.cs b/sdk/relay/Azure.ResourceManager.Relay/src/Generated/Models/AuthorizationRuleListResult.Serialization.cs index a389c97345ae5..8cfb44a685bc5 100644 --- a/sdk/relay/Azure.ResourceManager.Relay/src/Generated/Models/AuthorizationRuleListResult.Serialization.cs +++ b/sdk/relay/Azure.ResourceManager.Relay/src/Generated/Models/AuthorizationRuleListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static AuthorizationRuleListResult DeserializeAuthorizationRuleListResu List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RelayAuthorizationRuleData.DeserializeRelayAuthorizationRuleData(item)); + array.Add(RelayAuthorizationRuleData.DeserializeRelayAuthorizationRuleData(item, options)); } value = array; continue; diff --git a/sdk/relay/Azure.ResourceManager.Relay/src/Generated/Models/HybridConnectionListResult.Serialization.cs b/sdk/relay/Azure.ResourceManager.Relay/src/Generated/Models/HybridConnectionListResult.Serialization.cs index f5235599a3fe2..6535f34b44a1c 100644 --- a/sdk/relay/Azure.ResourceManager.Relay/src/Generated/Models/HybridConnectionListResult.Serialization.cs +++ b/sdk/relay/Azure.ResourceManager.Relay/src/Generated/Models/HybridConnectionListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static HybridConnectionListResult DeserializeHybridConnectionListResult List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RelayHybridConnectionData.DeserializeRelayHybridConnectionData(item)); + array.Add(RelayHybridConnectionData.DeserializeRelayHybridConnectionData(item, options)); } value = array; continue; diff --git a/sdk/relay/Azure.ResourceManager.Relay/src/Generated/Models/PrivateLinkResourcesListResult.Serialization.cs b/sdk/relay/Azure.ResourceManager.Relay/src/Generated/Models/PrivateLinkResourcesListResult.Serialization.cs index b0b053fc040d1..118940e59d630 100644 --- a/sdk/relay/Azure.ResourceManager.Relay/src/Generated/Models/PrivateLinkResourcesListResult.Serialization.cs +++ b/sdk/relay/Azure.ResourceManager.Relay/src/Generated/Models/PrivateLinkResourcesListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static PrivateLinkResourcesListResult DeserializePrivateLinkResourcesLi List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RelayPrivateLinkResourceData.DeserializeRelayPrivateLinkResourceData(item)); + array.Add(RelayPrivateLinkResourceData.DeserializeRelayPrivateLinkResourceData(item, options)); } value = array; continue; diff --git a/sdk/relay/Azure.ResourceManager.Relay/src/Generated/Models/RelayNamespaceListResult.Serialization.cs b/sdk/relay/Azure.ResourceManager.Relay/src/Generated/Models/RelayNamespaceListResult.Serialization.cs index 010f0dbbd8c3d..9ca4c16448052 100644 --- a/sdk/relay/Azure.ResourceManager.Relay/src/Generated/Models/RelayNamespaceListResult.Serialization.cs +++ b/sdk/relay/Azure.ResourceManager.Relay/src/Generated/Models/RelayNamespaceListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static RelayNamespaceListResult DeserializeRelayNamespaceListResult(Jso List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RelayNamespaceData.DeserializeRelayNamespaceData(item)); + array.Add(RelayNamespaceData.DeserializeRelayNamespaceData(item, options)); } value = array; continue; diff --git a/sdk/relay/Azure.ResourceManager.Relay/src/Generated/Models/RelayNamespacePatch.Serialization.cs b/sdk/relay/Azure.ResourceManager.Relay/src/Generated/Models/RelayNamespacePatch.Serialization.cs index fd754133a7fd0..1172d3e34c7e1 100644 --- a/sdk/relay/Azure.ResourceManager.Relay/src/Generated/Models/RelayNamespacePatch.Serialization.cs +++ b/sdk/relay/Azure.ResourceManager.Relay/src/Generated/Models/RelayNamespacePatch.Serialization.cs @@ -174,7 +174,7 @@ internal static RelayNamespacePatch DeserializeRelayNamespacePatch(JsonElement e { continue; } - sku = RelaySku.DeserializeRelaySku(property.Value); + sku = RelaySku.DeserializeRelaySku(property.Value, options); continue; } if (property.NameEquals("tags"u8)) @@ -271,7 +271,7 @@ internal static RelayNamespacePatch DeserializeRelayNamespacePatch(JsonElement e List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(RelayPrivateEndpointConnectionData.DeserializeRelayPrivateEndpointConnectionData(item)); + array.Add(RelayPrivateEndpointConnectionData.DeserializeRelayPrivateEndpointConnectionData(item, options)); } privateEndpointConnections = array; continue; diff --git a/sdk/relay/Azure.ResourceManager.Relay/src/Generated/Models/RelayPrivateEndpointConnectionListResult.Serialization.cs b/sdk/relay/Azure.ResourceManager.Relay/src/Generated/Models/RelayPrivateEndpointConnectionListResult.Serialization.cs index a39061d7d2664..4bc4349f13d11 100644 --- a/sdk/relay/Azure.ResourceManager.Relay/src/Generated/Models/RelayPrivateEndpointConnectionListResult.Serialization.cs +++ b/sdk/relay/Azure.ResourceManager.Relay/src/Generated/Models/RelayPrivateEndpointConnectionListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static RelayPrivateEndpointConnectionListResult DeserializeRelayPrivate List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RelayPrivateEndpointConnectionData.DeserializeRelayPrivateEndpointConnectionData(item)); + array.Add(RelayPrivateEndpointConnectionData.DeserializeRelayPrivateEndpointConnectionData(item, options)); } value = array; continue; diff --git a/sdk/relay/Azure.ResourceManager.Relay/src/Generated/Models/WcfRelaysListResult.Serialization.cs b/sdk/relay/Azure.ResourceManager.Relay/src/Generated/Models/WcfRelaysListResult.Serialization.cs index 23e08d7e51f42..03d37b3d2c284 100644 --- a/sdk/relay/Azure.ResourceManager.Relay/src/Generated/Models/WcfRelaysListResult.Serialization.cs +++ b/sdk/relay/Azure.ResourceManager.Relay/src/Generated/Models/WcfRelaysListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static WcfRelaysListResult DeserializeWcfRelaysListResult(JsonElement e List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(WcfRelayData.DeserializeWcfRelayData(item)); + array.Add(WcfRelayData.DeserializeWcfRelayData(item, options)); } value = array; continue; diff --git a/sdk/relay/Azure.ResourceManager.Relay/src/Generated/RelayNamespaceData.Serialization.cs b/sdk/relay/Azure.ResourceManager.Relay/src/Generated/RelayNamespaceData.Serialization.cs index 96126505b0f2c..8fa6dac31b4a3 100644 --- a/sdk/relay/Azure.ResourceManager.Relay/src/Generated/RelayNamespaceData.Serialization.cs +++ b/sdk/relay/Azure.ResourceManager.Relay/src/Generated/RelayNamespaceData.Serialization.cs @@ -177,7 +177,7 @@ internal static RelayNamespaceData DeserializeRelayNamespaceData(JsonElement ele { continue; } - sku = RelaySku.DeserializeRelaySku(property.Value); + sku = RelaySku.DeserializeRelaySku(property.Value, options); continue; } if (property.NameEquals("tags"u8)) @@ -279,7 +279,7 @@ internal static RelayNamespaceData DeserializeRelayNamespaceData(JsonElement ele List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(RelayPrivateEndpointConnectionData.DeserializeRelayPrivateEndpointConnectionData(item)); + array.Add(RelayPrivateEndpointConnectionData.DeserializeRelayPrivateEndpointConnectionData(item, options)); } privateEndpointConnections = array; continue; diff --git a/sdk/relay/Azure.ResourceManager.Relay/src/Generated/RelayNetworkRuleSetData.Serialization.cs b/sdk/relay/Azure.ResourceManager.Relay/src/Generated/RelayNetworkRuleSetData.Serialization.cs index 5c8b93cb685ea..254ec260666dd 100644 --- a/sdk/relay/Azure.ResourceManager.Relay/src/Generated/RelayNetworkRuleSetData.Serialization.cs +++ b/sdk/relay/Azure.ResourceManager.Relay/src/Generated/RelayNetworkRuleSetData.Serialization.cs @@ -180,7 +180,7 @@ internal static RelayNetworkRuleSetData DeserializeRelayNetworkRuleSetData(JsonE List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(RelayNetworkRuleSetIPRule.DeserializeRelayNetworkRuleSetIPRule(item)); + array.Add(RelayNetworkRuleSetIPRule.DeserializeRelayNetworkRuleSetIPRule(item, options)); } ipRules = array; continue; diff --git a/sdk/relay/Azure.ResourceManager.Relay/src/Generated/RelayPrivateEndpointConnectionData.Serialization.cs b/sdk/relay/Azure.ResourceManager.Relay/src/Generated/RelayPrivateEndpointConnectionData.Serialization.cs index ac412b1c936cd..d515b8f75be83 100644 --- a/sdk/relay/Azure.ResourceManager.Relay/src/Generated/RelayPrivateEndpointConnectionData.Serialization.cs +++ b/sdk/relay/Azure.ResourceManager.Relay/src/Generated/RelayPrivateEndpointConnectionData.Serialization.cs @@ -179,7 +179,7 @@ internal static RelayPrivateEndpointConnectionData DeserializeRelayPrivateEndpoi { continue; } - privateLinkServiceConnectionState = RelayPrivateLinkServiceConnectionState.DeserializeRelayPrivateLinkServiceConnectionState(property0.Value); + privateLinkServiceConnectionState = RelayPrivateLinkServiceConnectionState.DeserializeRelayPrivateLinkServiceConnectionState(property0.Value, options); continue; } if (property0.NameEquals("provisioningState"u8)) diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/AppliedReservationData.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/AppliedReservationData.Serialization.cs index e93bd6d790da6..6e76b526e9103 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/AppliedReservationData.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/AppliedReservationData.Serialization.cs @@ -141,7 +141,7 @@ internal static AppliedReservationData DeserializeAppliedReservationData(JsonEle { continue; } - reservationOrderIds = AppliedReservationList.DeserializeAppliedReservationList(property0.Value); + reservationOrderIds = AppliedReservationList.DeserializeAppliedReservationList(property0.Value, options); continue; } } diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/AvailableScopesContent.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/AvailableScopesContent.Serialization.cs index 0554476d80a0a..38f018ff58f54 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/AvailableScopesContent.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/AvailableScopesContent.Serialization.cs @@ -80,7 +80,7 @@ internal static AvailableScopesContent DeserializeAvailableScopesContent(JsonEle { continue; } - properties = AvailableScopeRequestProperties.DeserializeAvailableScopeRequestProperties(property.Value); + properties = AvailableScopeRequestProperties.DeserializeAvailableScopeRequestProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/AvailableScopesProperties.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/AvailableScopesProperties.Serialization.cs index 799d9ffb9d1af..fd31211e7a7e6 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/AvailableScopesProperties.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/AvailableScopesProperties.Serialization.cs @@ -80,7 +80,7 @@ internal static AvailableScopesProperties DeserializeAvailableScopesProperties(J { continue; } - properties = SubscriptionScopeProperties.DeserializeSubscriptionScopeProperties(property.Value); + properties = SubscriptionScopeProperties.DeserializeSubscriptionScopeProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/BillingInformation.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/BillingInformation.Serialization.cs index 575674bc7bf91..ca9724d3f06a9 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/BillingInformation.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/BillingInformation.Serialization.cs @@ -92,7 +92,7 @@ internal static BillingInformation DeserializeBillingInformation(JsonElement ele { continue; } - billingCurrencyTotalPaidAmount = PurchasePrice.DeserializePurchasePrice(property.Value); + billingCurrencyTotalPaidAmount = PurchasePrice.DeserializePurchasePrice(property.Value, options); continue; } if (property.NameEquals("billingCurrencyProratedAmount"u8)) @@ -101,7 +101,7 @@ internal static BillingInformation DeserializeBillingInformation(JsonElement ele { continue; } - billingCurrencyProratedAmount = PurchasePrice.DeserializePurchasePrice(property.Value); + billingCurrencyProratedAmount = PurchasePrice.DeserializePurchasePrice(property.Value, options); continue; } if (property.NameEquals("billingCurrencyRemainingCommitmentAmount"u8)) @@ -110,7 +110,7 @@ internal static BillingInformation DeserializeBillingInformation(JsonElement ele { continue; } - billingCurrencyRemainingCommitmentAmount = PurchasePrice.DeserializePurchasePrice(property.Value); + billingCurrencyRemainingCommitmentAmount = PurchasePrice.DeserializePurchasePrice(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/CalculateExchangeContent.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/CalculateExchangeContent.Serialization.cs index 2372b10189103..10dad2aadb86e 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/CalculateExchangeContent.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/CalculateExchangeContent.Serialization.cs @@ -80,7 +80,7 @@ internal static CalculateExchangeContent DeserializeCalculateExchangeContent(Jso { continue; } - properties = CalculateExchangeContentProperties.DeserializeCalculateExchangeContentProperties(property.Value); + properties = CalculateExchangeContentProperties.DeserializeCalculateExchangeContentProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/CalculateExchangeContentProperties.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/CalculateExchangeContentProperties.Serialization.cs index cb198f0a6589a..1a93252510dfd 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/CalculateExchangeContentProperties.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/CalculateExchangeContentProperties.Serialization.cs @@ -110,7 +110,7 @@ internal static CalculateExchangeContentProperties DeserializeCalculateExchangeC List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ReservationPurchaseContent.DeserializeReservationPurchaseContent(item)); + array.Add(ReservationPurchaseContent.DeserializeReservationPurchaseContent(item, options)); } reservationsToPurchase = array; continue; @@ -124,7 +124,7 @@ internal static CalculateExchangeContentProperties DeserializeCalculateExchangeC List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SavingsPlanPurchase.DeserializeSavingsPlanPurchase(item)); + array.Add(SavingsPlanPurchase.DeserializeSavingsPlanPurchase(item, options)); } savingsPlansToPurchase = array; continue; @@ -138,7 +138,7 @@ internal static CalculateExchangeContentProperties DeserializeCalculateExchangeC List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ReservationToReturn.DeserializeReservationToReturn(item)); + array.Add(ReservationToReturn.DeserializeReservationToReturn(item, options)); } reservationsToExchange = array; continue; diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/CalculateExchangeResult.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/CalculateExchangeResult.Serialization.cs index 0f8e0c5fc12ed..a03747e89fd90 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/CalculateExchangeResult.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/CalculateExchangeResult.Serialization.cs @@ -127,7 +127,7 @@ internal static CalculateExchangeResult DeserializeCalculateExchangeResult(JsonE { continue; } - properties = CalculateExchangeResultProperties.DeserializeCalculateExchangeResultProperties(property.Value); + properties = CalculateExchangeResultProperties.DeserializeCalculateExchangeResultProperties(property.Value, options); continue; } if (property.NameEquals("error"u8)) @@ -136,7 +136,7 @@ internal static CalculateExchangeResult DeserializeCalculateExchangeResult(JsonE { continue; } - error = OperationResultError.DeserializeOperationResultError(property.Value); + error = OperationResultError.DeserializeOperationResultError(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/CalculateExchangeResultProperties.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/CalculateExchangeResultProperties.Serialization.cs index b333feb1d8e59..d7e0aaf227929 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/CalculateExchangeResultProperties.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/CalculateExchangeResultProperties.Serialization.cs @@ -146,7 +146,7 @@ internal static CalculateExchangeResultProperties DeserializeCalculateExchangeRe { continue; } - netPayable = PurchasePrice.DeserializePurchasePrice(property.Value); + netPayable = PurchasePrice.DeserializePurchasePrice(property.Value, options); continue; } if (property.NameEquals("refundsTotal"u8)) @@ -155,7 +155,7 @@ internal static CalculateExchangeResultProperties DeserializeCalculateExchangeRe { continue; } - refundsTotal = PurchasePrice.DeserializePurchasePrice(property.Value); + refundsTotal = PurchasePrice.DeserializePurchasePrice(property.Value, options); continue; } if (property.NameEquals("purchasesTotal"u8)) @@ -164,7 +164,7 @@ internal static CalculateExchangeResultProperties DeserializeCalculateExchangeRe { continue; } - purchasesTotal = PurchasePrice.DeserializePurchasePrice(property.Value); + purchasesTotal = PurchasePrice.DeserializePurchasePrice(property.Value, options); continue; } if (property.NameEquals("reservationsToPurchase"u8)) @@ -176,7 +176,7 @@ internal static CalculateExchangeResultProperties DeserializeCalculateExchangeRe List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ReservationToPurchaseCalculateExchange.DeserializeReservationToPurchaseCalculateExchange(item)); + array.Add(ReservationToPurchaseCalculateExchange.DeserializeReservationToPurchaseCalculateExchange(item, options)); } reservationsToPurchase = array; continue; @@ -190,7 +190,7 @@ internal static CalculateExchangeResultProperties DeserializeCalculateExchangeRe List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SavingsPlanToPurchaseCalculateExchange.DeserializeSavingsPlanToPurchaseCalculateExchange(item)); + array.Add(SavingsPlanToPurchaseCalculateExchange.DeserializeSavingsPlanToPurchaseCalculateExchange(item, options)); } savingsPlansToPurchase = array; continue; @@ -204,7 +204,7 @@ internal static CalculateExchangeResultProperties DeserializeCalculateExchangeRe List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ReservationToExchange.DeserializeReservationToExchange(item)); + array.Add(ReservationToExchange.DeserializeReservationToExchange(item, options)); } reservationsToExchange = array; continue; @@ -215,7 +215,7 @@ internal static CalculateExchangeResultProperties DeserializeCalculateExchangeRe { continue; } - policyResult = ExchangePolicyErrors.DeserializeExchangePolicyErrors(property.Value); + policyResult = ExchangePolicyErrors.DeserializeExchangePolicyErrors(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/CalculatePriceResult.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/CalculatePriceResult.Serialization.cs index 531aebf798099..ba3385fd5a7a1 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/CalculatePriceResult.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/CalculatePriceResult.Serialization.cs @@ -80,7 +80,7 @@ internal static CalculatePriceResult DeserializeCalculatePriceResult(JsonElement { continue; } - properties = CalculatePriceResultProperties.DeserializeCalculatePriceResultProperties(property.Value); + properties = CalculatePriceResultProperties.DeserializeCalculatePriceResultProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/CalculatePriceResultProperties.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/CalculatePriceResultProperties.Serialization.cs index d3c91895bf024..0038c0792a9c4 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/CalculatePriceResultProperties.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/CalculatePriceResultProperties.Serialization.cs @@ -145,7 +145,7 @@ internal static CalculatePriceResultProperties DeserializeCalculatePriceResultPr { continue; } - billingCurrencyTotal = CalculatePriceResultPropertiesBillingCurrencyTotal.DeserializeCalculatePriceResultPropertiesBillingCurrencyTotal(property.Value); + billingCurrencyTotal = CalculatePriceResultPropertiesBillingCurrencyTotal.DeserializeCalculatePriceResultPropertiesBillingCurrencyTotal(property.Value, options); continue; } if (property.NameEquals("netTotal"u8)) @@ -218,7 +218,7 @@ internal static CalculatePriceResultProperties DeserializeCalculatePriceResultPr { continue; } - pricingCurrencyTotal = CalculatePriceResultPropertiesPricingCurrencyTotal.DeserializeCalculatePriceResultPropertiesPricingCurrencyTotal(property.Value); + pricingCurrencyTotal = CalculatePriceResultPropertiesPricingCurrencyTotal.DeserializeCalculatePriceResultPropertiesPricingCurrencyTotal(property.Value, options); continue; } if (property.NameEquals("paymentSchedule"u8)) @@ -230,7 +230,7 @@ internal static CalculatePriceResultProperties DeserializeCalculatePriceResultPr List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(PaymentDetail.DeserializePaymentDetail(item)); + array.Add(PaymentDetail.DeserializePaymentDetail(item, options)); } paymentSchedule = array; continue; diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/CatalogsResult.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/CatalogsResult.Serialization.cs index 1c024350d3dd6..1a935de798c5d 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/CatalogsResult.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/CatalogsResult.Serialization.cs @@ -100,7 +100,7 @@ internal static CatalogsResult DeserializeCatalogsResult(JsonElement element, Mo List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ReservationCatalog.DeserializeReservationCatalog(item)); + array.Add(ReservationCatalog.DeserializeReservationCatalog(item, options)); } value = array; continue; diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ChangeDirectoryDetail.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ChangeDirectoryDetail.Serialization.cs index 61621d5586260..4f625f34d6399 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ChangeDirectoryDetail.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ChangeDirectoryDetail.Serialization.cs @@ -91,7 +91,7 @@ internal static ChangeDirectoryDetail DeserializeChangeDirectoryDetail(JsonEleme { continue; } - reservationOrder = ChangeDirectoryResult.DeserializeChangeDirectoryResult(property.Value); + reservationOrder = ChangeDirectoryResult.DeserializeChangeDirectoryResult(property.Value, options); continue; } if (property.NameEquals("reservations"u8)) @@ -103,7 +103,7 @@ internal static ChangeDirectoryDetail DeserializeChangeDirectoryDetail(JsonEleme List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ChangeDirectoryResult.DeserializeChangeDirectoryResult(item)); + array.Add(ChangeDirectoryResult.DeserializeChangeDirectoryResult(item, options)); } reservations = array; continue; diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ExchangeContent.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ExchangeContent.Serialization.cs index ae43744404c3e..94b9d965095d5 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ExchangeContent.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ExchangeContent.Serialization.cs @@ -80,7 +80,7 @@ internal static ExchangeContent DeserializeExchangeContent(JsonElement element, { continue; } - properties = ExchangeRequestProperties.DeserializeExchangeRequestProperties(property.Value); + properties = ExchangeRequestProperties.DeserializeExchangeRequestProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ExchangePolicyErrors.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ExchangePolicyErrors.Serialization.cs index 4fb91f6f5827d..ad99517790496 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ExchangePolicyErrors.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ExchangePolicyErrors.Serialization.cs @@ -96,7 +96,7 @@ internal static ExchangePolicyErrors DeserializeExchangePolicyErrors(JsonElement List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ExchangePolicyError.DeserializeExchangePolicyError(item)); + array.Add(ExchangePolicyError.DeserializeExchangePolicyError(item, options)); } policyErrors = array; continue; diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ExchangeResult.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ExchangeResult.Serialization.cs index 9cfc0a0312ded..0eb2dd278f58e 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ExchangeResult.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ExchangeResult.Serialization.cs @@ -127,7 +127,7 @@ internal static ExchangeResult DeserializeExchangeResult(JsonElement element, Mo { continue; } - properties = ExchangeResultProperties.DeserializeExchangeResultProperties(property.Value); + properties = ExchangeResultProperties.DeserializeExchangeResultProperties(property.Value, options); continue; } if (property.NameEquals("error"u8)) @@ -136,7 +136,7 @@ internal static ExchangeResult DeserializeExchangeResult(JsonElement element, Mo { continue; } - error = OperationResultError.DeserializeOperationResultError(property.Value); + error = OperationResultError.DeserializeOperationResultError(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ExchangeResultProperties.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ExchangeResultProperties.Serialization.cs index 4f41ada4309ea..5b96deb38239c 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ExchangeResultProperties.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ExchangeResultProperties.Serialization.cs @@ -146,7 +146,7 @@ internal static ExchangeResultProperties DeserializeExchangeResultProperties(Jso { continue; } - netPayable = PurchasePrice.DeserializePurchasePrice(property.Value); + netPayable = PurchasePrice.DeserializePurchasePrice(property.Value, options); continue; } if (property.NameEquals("refundsTotal"u8)) @@ -155,7 +155,7 @@ internal static ExchangeResultProperties DeserializeExchangeResultProperties(Jso { continue; } - refundsTotal = PurchasePrice.DeserializePurchasePrice(property.Value); + refundsTotal = PurchasePrice.DeserializePurchasePrice(property.Value, options); continue; } if (property.NameEquals("purchasesTotal"u8)) @@ -164,7 +164,7 @@ internal static ExchangeResultProperties DeserializeExchangeResultProperties(Jso { continue; } - purchasesTotal = PurchasePrice.DeserializePurchasePrice(property.Value); + purchasesTotal = PurchasePrice.DeserializePurchasePrice(property.Value, options); continue; } if (property.NameEquals("reservationsToPurchase"u8)) @@ -176,7 +176,7 @@ internal static ExchangeResultProperties DeserializeExchangeResultProperties(Jso List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ReservationToPurchaseExchange.DeserializeReservationToPurchaseExchange(item)); + array.Add(ReservationToPurchaseExchange.DeserializeReservationToPurchaseExchange(item, options)); } reservationsToPurchase = array; continue; @@ -190,7 +190,7 @@ internal static ExchangeResultProperties DeserializeExchangeResultProperties(Jso List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SavingsPlanToPurchaseExchange.DeserializeSavingsPlanToPurchaseExchange(item)); + array.Add(SavingsPlanToPurchaseExchange.DeserializeSavingsPlanToPurchaseExchange(item, options)); } savingsPlansToPurchase = array; continue; @@ -204,7 +204,7 @@ internal static ExchangeResultProperties DeserializeExchangeResultProperties(Jso List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ReservationToReturnForExchange.DeserializeReservationToReturnForExchange(item)); + array.Add(ReservationToReturnForExchange.DeserializeReservationToReturnForExchange(item, options)); } reservationsToExchange = array; continue; @@ -215,7 +215,7 @@ internal static ExchangeResultProperties DeserializeExchangeResultProperties(Jso { continue; } - policyResult = ExchangePolicyErrors.DeserializeExchangePolicyErrors(property.Value); + policyResult = ExchangePolicyErrors.DeserializeExchangePolicyErrors(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/PatchPropertiesRenewProperties.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/PatchPropertiesRenewProperties.Serialization.cs index eb001779b7b13..876213cfd1840 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/PatchPropertiesRenewProperties.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/PatchPropertiesRenewProperties.Serialization.cs @@ -80,7 +80,7 @@ internal static PatchPropertiesRenewProperties DeserializePatchPropertiesRenewPr { continue; } - purchaseProperties = ReservationPurchaseContent.DeserializeReservationPurchaseContent(property.Value); + purchaseProperties = ReservationPurchaseContent.DeserializeReservationPurchaseContent(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/PaymentDetail.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/PaymentDetail.Serialization.cs index 2965bf96fdb9b..55f8f136c3567 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/PaymentDetail.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/PaymentDetail.Serialization.cs @@ -134,7 +134,7 @@ internal static PaymentDetail DeserializePaymentDetail(JsonElement element, Mode { continue; } - pricingCurrencyTotal = PurchasePrice.DeserializePurchasePrice(property.Value); + pricingCurrencyTotal = PurchasePrice.DeserializePurchasePrice(property.Value, options); continue; } if (property.NameEquals("billingCurrencyTotal"u8)) @@ -143,7 +143,7 @@ internal static PaymentDetail DeserializePaymentDetail(JsonElement element, Mode { continue; } - billingCurrencyTotal = PurchasePrice.DeserializePurchasePrice(property.Value); + billingCurrencyTotal = PurchasePrice.DeserializePurchasePrice(property.Value, options); continue; } if (property.NameEquals("billingAccount"u8)) @@ -166,7 +166,7 @@ internal static PaymentDetail DeserializePaymentDetail(JsonElement element, Mode { continue; } - extendedStatusInfo = ExtendedStatusInfo.DeserializeExtendedStatusInfo(property.Value); + extendedStatusInfo = ExtendedStatusInfo.DeserializeExtendedStatusInfo(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/QuotaLimits.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/QuotaLimits.Serialization.cs index 214b8a5fe8c5c..992e9748a04e0 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/QuotaLimits.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/QuotaLimits.Serialization.cs @@ -95,7 +95,7 @@ internal static QuotaLimits DeserializeQuotaLimits(JsonElement element, ModelRea List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ReservationQuotaData.DeserializeReservationQuotaData(item)); + array.Add(ReservationQuotaData.DeserializeReservationQuotaData(item, options)); } value = array; continue; diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/QuotaProperties.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/QuotaProperties.Serialization.cs index 8f1cd2b5c50e8..bbf23ec91450c 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/QuotaProperties.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/QuotaProperties.Serialization.cs @@ -146,7 +146,7 @@ internal static QuotaProperties DeserializeQuotaProperties(JsonElement element, { continue; } - name = ReservationResourceName.DeserializeReservationResourceName(property.Value); + name = ReservationResourceName.DeserializeReservationResourceName(property.Value, options); continue; } if (property.NameEquals("resourceType"u8)) diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/QuotaRequestDetailsList.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/QuotaRequestDetailsList.Serialization.cs index 16681f955868c..f7c16c98a16b6 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/QuotaRequestDetailsList.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/QuotaRequestDetailsList.Serialization.cs @@ -95,7 +95,7 @@ internal static QuotaRequestDetailsList DeserializeQuotaRequestDetailsList(JsonE List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(QuotaRequestDetailData.DeserializeQuotaRequestDetailData(item)); + array.Add(QuotaRequestDetailData.DeserializeQuotaRequestDetailData(item, options)); } value = array; continue; diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/RefundPolicyResult.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/RefundPolicyResult.Serialization.cs index 2bc8bcf63d164..ed76d22127df4 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/RefundPolicyResult.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/RefundPolicyResult.Serialization.cs @@ -80,7 +80,7 @@ internal static RefundPolicyResult DeserializeRefundPolicyResult(JsonElement ele { continue; } - properties = ReservationRefundPolicyResultProperty.DeserializeReservationRefundPolicyResultProperty(property.Value); + properties = ReservationRefundPolicyResultProperty.DeserializeReservationRefundPolicyResultProperty(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/RenewProperties.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/RenewProperties.Serialization.cs index a0f646d242ec8..ec179f4a227ff 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/RenewProperties.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/RenewProperties.Serialization.cs @@ -92,7 +92,7 @@ internal static RenewProperties DeserializeRenewProperties(JsonElement element, { continue; } - purchaseProperties = ReservationPurchaseContent.DeserializeReservationPurchaseContent(property.Value); + purchaseProperties = ReservationPurchaseContent.DeserializeReservationPurchaseContent(property.Value, options); continue; } if (property.NameEquals("pricingCurrencyTotal"u8)) @@ -101,7 +101,7 @@ internal static RenewProperties DeserializeRenewProperties(JsonElement element, { continue; } - pricingCurrencyTotal = RenewPropertiesPricingCurrencyTotal.DeserializeRenewPropertiesPricingCurrencyTotal(property.Value); + pricingCurrencyTotal = RenewPropertiesPricingCurrencyTotal.DeserializeRenewPropertiesPricingCurrencyTotal(property.Value, options); continue; } if (property.NameEquals("billingCurrencyTotal"u8)) @@ -110,7 +110,7 @@ internal static RenewProperties DeserializeRenewProperties(JsonElement element, { continue; } - billingCurrencyTotal = RenewPropertiesBillingCurrencyTotal.DeserializeRenewPropertiesBillingCurrencyTotal(property.Value); + billingCurrencyTotal = RenewPropertiesBillingCurrencyTotal.DeserializeRenewPropertiesBillingCurrencyTotal(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationCalculateRefundContent.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationCalculateRefundContent.Serialization.cs index 03e366752e31a..a9bcaea397e8b 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationCalculateRefundContent.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationCalculateRefundContent.Serialization.cs @@ -91,7 +91,7 @@ internal static ReservationCalculateRefundContent DeserializeReservationCalculat { continue; } - properties = ReservationCalculateRefundRequestProperties.DeserializeReservationCalculateRefundRequestProperties(property.Value); + properties = ReservationCalculateRefundRequestProperties.DeserializeReservationCalculateRefundRequestProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationCalculateRefundRequestProperties.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationCalculateRefundRequestProperties.Serialization.cs index 44bfb36d78db9..b3954b2d1a75e 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationCalculateRefundRequestProperties.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationCalculateRefundRequestProperties.Serialization.cs @@ -91,7 +91,7 @@ internal static ReservationCalculateRefundRequestProperties DeserializeReservati { continue; } - reservationToReturn = ReservationToReturn.DeserializeReservationToReturn(property.Value); + reservationToReturn = ReservationToReturn.DeserializeReservationToReturn(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationCalculateRefundResult.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationCalculateRefundResult.Serialization.cs index e7fda75f649f6..4bee3fb725079 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationCalculateRefundResult.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationCalculateRefundResult.Serialization.cs @@ -91,7 +91,7 @@ internal static ReservationCalculateRefundResult DeserializeReservationCalculate { continue; } - properties = ReservationRefundResponseProperties.DeserializeReservationRefundResponseProperties(property.Value); + properties = ReservationRefundResponseProperties.DeserializeReservationRefundResponseProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationCatalog.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationCatalog.Serialization.cs index 3f14c01afdb4e..d6ff82843b3d7 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationCatalog.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationCatalog.Serialization.cs @@ -248,7 +248,7 @@ internal static ReservationCatalog DeserializeReservationCatalog(JsonElement ele List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SkuProperty.DeserializeSkuProperty(item)); + array.Add(SkuProperty.DeserializeSkuProperty(item, options)); } skuProperties = array; continue; @@ -259,7 +259,7 @@ internal static ReservationCatalog DeserializeReservationCatalog(JsonElement ele { continue; } - msrp = ReservationCatalogMsrp.DeserializeReservationCatalogMsrp(property.Value); + msrp = ReservationCatalogMsrp.DeserializeReservationCatalogMsrp(property.Value, options); continue; } if (property.NameEquals("restrictions"u8)) @@ -271,7 +271,7 @@ internal static ReservationCatalog DeserializeReservationCatalog(JsonElement ele List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SkuRestriction.DeserializeSkuRestriction(item)); + array.Add(SkuRestriction.DeserializeSkuRestriction(item, options)); } restrictions = array; continue; @@ -295,7 +295,7 @@ internal static ReservationCatalog DeserializeReservationCatalog(JsonElement ele List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SkuCapability.DeserializeSkuCapability(item)); + array.Add(SkuCapability.DeserializeSkuCapability(item, options)); } capabilities = array; continue; diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationCatalogMsrp.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationCatalogMsrp.Serialization.cs index decb1376f8c7a..bf2842e8a2b00 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationCatalogMsrp.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationCatalogMsrp.Serialization.cs @@ -92,7 +92,7 @@ internal static ReservationCatalogMsrp DeserializeReservationCatalogMsrp(JsonEle { continue; } - p1Y = PurchasePrice.DeserializePurchasePrice(property.Value); + p1Y = PurchasePrice.DeserializePurchasePrice(property.Value, options); continue; } if (property.NameEquals("p3Y"u8)) @@ -101,7 +101,7 @@ internal static ReservationCatalogMsrp DeserializeReservationCatalogMsrp(JsonEle { continue; } - p3Y = PurchasePrice.DeserializePurchasePrice(property.Value); + p3Y = PurchasePrice.DeserializePurchasePrice(property.Value, options); continue; } if (property.NameEquals("p5Y"u8)) @@ -110,7 +110,7 @@ internal static ReservationCatalogMsrp DeserializeReservationCatalogMsrp(JsonEle { continue; } - p5Y = PurchasePrice.DeserializePurchasePrice(property.Value); + p5Y = PurchasePrice.DeserializePurchasePrice(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationDetailPatch.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationDetailPatch.Serialization.cs index e5c45662ceabb..346bc48a16898 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationDetailPatch.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationDetailPatch.Serialization.cs @@ -162,7 +162,7 @@ internal static ReservationDetailPatch DeserializeReservationDetailPatch(JsonEle { continue; } - appliedScopeProperties = AppliedScopeProperties.DeserializeAppliedScopeProperties(property0.Value); + appliedScopeProperties = AppliedScopeProperties.DeserializeAppliedScopeProperties(property0.Value, options); continue; } if (property0.NameEquals("instanceFlexibility"u8)) @@ -194,7 +194,7 @@ internal static ReservationDetailPatch DeserializeReservationDetailPatch(JsonEle { continue; } - renewProperties = PatchPropertiesRenewProperties.DeserializePatchPropertiesRenewProperties(property0.Value); + renewProperties = PatchPropertiesRenewProperties.DeserializePatchPropertiesRenewProperties(property0.Value, options); continue; } if (property0.NameEquals("reviewDateTime"u8)) diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationList.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationList.Serialization.cs index 7d2d2b218ccc7..4274963423910 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationList.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationList.Serialization.cs @@ -95,7 +95,7 @@ internal static ReservationList DeserializeReservationList(JsonElement element, List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ReservationDetailData.DeserializeReservationDetailData(item)); + array.Add(ReservationDetailData.DeserializeReservationDetailData(item, options)); } value = array; continue; diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationOrderBillingPlanInformation.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationOrderBillingPlanInformation.Serialization.cs index 68bbbb7b26b74..1b54cb2804f4e 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationOrderBillingPlanInformation.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationOrderBillingPlanInformation.Serialization.cs @@ -103,7 +103,7 @@ internal static ReservationOrderBillingPlanInformation DeserializeReservationOrd { continue; } - pricingCurrencyTotal = PurchasePrice.DeserializePurchasePrice(property.Value); + pricingCurrencyTotal = PurchasePrice.DeserializePurchasePrice(property.Value, options); continue; } if (property.NameEquals("startDate"u8)) @@ -133,7 +133,7 @@ internal static ReservationOrderBillingPlanInformation DeserializeReservationOrd List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(PaymentDetail.DeserializePaymentDetail(item)); + array.Add(PaymentDetail.DeserializePaymentDetail(item, options)); } transactions = array; continue; diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationOrderList.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationOrderList.Serialization.cs index fac494ac26e1e..ef843c78efd6a 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationOrderList.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationOrderList.Serialization.cs @@ -95,7 +95,7 @@ internal static ReservationOrderList DeserializeReservationOrderList(JsonElement List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ReservationOrderData.DeserializeReservationOrderData(item)); + array.Add(ReservationOrderData.DeserializeReservationOrderData(item, options)); } value = array; continue; diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationProperties.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationProperties.Serialization.cs index b026557edf7e7..b14448df1ff6c 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationProperties.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationProperties.Serialization.cs @@ -426,7 +426,7 @@ internal static ReservationProperties DeserializeReservationProperties(JsonEleme { continue; } - extendedStatusInfo = ExtendedStatusInfo.DeserializeExtendedStatusInfo(property.Value); + extendedStatusInfo = ExtendedStatusInfo.DeserializeExtendedStatusInfo(property.Value, options); continue; } if (property.NameEquals("billingPlan"u8)) @@ -472,7 +472,7 @@ internal static ReservationProperties DeserializeReservationProperties(JsonEleme { continue; } - splitProperties = ReservationSplitProperties.DeserializeReservationSplitProperties(property.Value); + splitProperties = ReservationSplitProperties.DeserializeReservationSplitProperties(property.Value, options); continue; } if (property.NameEquals("mergeProperties"u8)) @@ -481,7 +481,7 @@ internal static ReservationProperties DeserializeReservationProperties(JsonEleme { continue; } - mergeProperties = ReservationMergeProperties.DeserializeReservationMergeProperties(property.Value); + mergeProperties = ReservationMergeProperties.DeserializeReservationMergeProperties(property.Value, options); continue; } if (property.NameEquals("swapProperties"u8)) @@ -490,7 +490,7 @@ internal static ReservationProperties DeserializeReservationProperties(JsonEleme { continue; } - swapProperties = ReservationSwapProperties.DeserializeReservationSwapProperties(property.Value); + swapProperties = ReservationSwapProperties.DeserializeReservationSwapProperties(property.Value, options); continue; } if (property.NameEquals("appliedScopeProperties"u8)) @@ -499,7 +499,7 @@ internal static ReservationProperties DeserializeReservationProperties(JsonEleme { continue; } - appliedScopeProperties = AppliedScopeProperties.DeserializeAppliedScopeProperties(property.Value); + appliedScopeProperties = AppliedScopeProperties.DeserializeAppliedScopeProperties(property.Value, options); continue; } if (property.NameEquals("billingScopeId"u8)) @@ -536,7 +536,7 @@ internal static ReservationProperties DeserializeReservationProperties(JsonEleme { continue; } - renewProperties = RenewProperties.DeserializeRenewProperties(property.Value); + renewProperties = RenewProperties.DeserializeRenewProperties(property.Value, options); continue; } if (property.NameEquals("term"u8)) @@ -564,7 +564,7 @@ internal static ReservationProperties DeserializeReservationProperties(JsonEleme { continue; } - utilization = ReservationPropertiesUtilization.DeserializeReservationPropertiesUtilization(property.Value); + utilization = ReservationPropertiesUtilization.DeserializeReservationPropertiesUtilization(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationPropertiesUtilization.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationPropertiesUtilization.Serialization.cs index c7f5f82ed5460..704027b0f13ad 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationPropertiesUtilization.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationPropertiesUtilization.Serialization.cs @@ -99,7 +99,7 @@ internal static ReservationPropertiesUtilization DeserializeReservationPropertie List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ReservationUtilizationAggregates.DeserializeReservationUtilizationAggregates(item)); + array.Add(ReservationUtilizationAggregates.DeserializeReservationUtilizationAggregates(item, options)); } aggregates = array; continue; diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationPurchaseContent.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationPurchaseContent.Serialization.cs index 71cc4b12ed599..a06334b38cb6b 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationPurchaseContent.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationPurchaseContent.Serialization.cs @@ -173,7 +173,7 @@ internal static ReservationPurchaseContent DeserializeReservationPurchaseContent { continue; } - sku = ReservationsSkuName.DeserializeReservationsSkuName(property.Value); + sku = ReservationsSkuName.DeserializeReservationsSkuName(property.Value, options); continue; } if (property.NameEquals("location"u8)) @@ -274,7 +274,7 @@ internal static ReservationPurchaseContent DeserializeReservationPurchaseContent { continue; } - appliedScopeProperties = AppliedScopeProperties.DeserializeAppliedScopeProperties(property0.Value); + appliedScopeProperties = AppliedScopeProperties.DeserializeAppliedScopeProperties(property0.Value, options); continue; } if (property0.NameEquals("renew"u8)) @@ -292,7 +292,7 @@ internal static ReservationPurchaseContent DeserializeReservationPurchaseContent { continue; } - reservedResourceProperties = PurchaseRequestPropertiesReservedResourceProperties.DeserializePurchaseRequestPropertiesReservedResourceProperties(property0.Value); + reservedResourceProperties = PurchaseRequestPropertiesReservedResourceProperties.DeserializePurchaseRequestPropertiesReservedResourceProperties(property0.Value, options); continue; } if (property0.NameEquals("reviewDateTime"u8)) diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationRefundBillingInformation.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationRefundBillingInformation.Serialization.cs index 10100e4e54f8e..897f1aaf226db 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationRefundBillingInformation.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationRefundBillingInformation.Serialization.cs @@ -137,7 +137,7 @@ internal static ReservationRefundBillingInformation DeserializeReservationRefund { continue; } - billingCurrencyTotalPaidAmount = PurchasePrice.DeserializePurchasePrice(property.Value); + billingCurrencyTotalPaidAmount = PurchasePrice.DeserializePurchasePrice(property.Value, options); continue; } if (property.NameEquals("billingCurrencyProratedAmount"u8)) @@ -146,7 +146,7 @@ internal static ReservationRefundBillingInformation DeserializeReservationRefund { continue; } - billingCurrencyProratedAmount = PurchasePrice.DeserializePurchasePrice(property.Value); + billingCurrencyProratedAmount = PurchasePrice.DeserializePurchasePrice(property.Value, options); continue; } if (property.NameEquals("billingCurrencyRemainingCommitmentAmount"u8)) @@ -155,7 +155,7 @@ internal static ReservationRefundBillingInformation DeserializeReservationRefund { continue; } - billingCurrencyRemainingCommitmentAmount = PurchasePrice.DeserializePurchasePrice(property.Value); + billingCurrencyRemainingCommitmentAmount = PurchasePrice.DeserializePurchasePrice(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationRefundContent.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationRefundContent.Serialization.cs index 93efeb28cf079..380da9acc362f 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationRefundContent.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationRefundContent.Serialization.cs @@ -80,7 +80,7 @@ internal static ReservationRefundContent DeserializeReservationRefundContent(Jso { continue; } - properties = ReservationRefundRequestProperties.DeserializeReservationRefundRequestProperties(property.Value); + properties = ReservationRefundRequestProperties.DeserializeReservationRefundRequestProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationRefundPolicyResultProperty.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationRefundPolicyResultProperty.Serialization.cs index a3d1321f300ef..da244374ba72b 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationRefundPolicyResultProperty.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationRefundPolicyResultProperty.Serialization.cs @@ -97,7 +97,7 @@ internal static ReservationRefundPolicyResultProperty DeserializeReservationRefu { continue; } - consumedRefundsTotal = PurchasePrice.DeserializePurchasePrice(property.Value); + consumedRefundsTotal = PurchasePrice.DeserializePurchasePrice(property.Value, options); continue; } if (property.NameEquals("maxRefundLimit"u8)) @@ -106,7 +106,7 @@ internal static ReservationRefundPolicyResultProperty DeserializeReservationRefu { continue; } - maxRefundLimit = PurchasePrice.DeserializePurchasePrice(property.Value); + maxRefundLimit = PurchasePrice.DeserializePurchasePrice(property.Value, options); continue; } if (property.NameEquals("policyErrors"u8)) @@ -118,7 +118,7 @@ internal static ReservationRefundPolicyResultProperty DeserializeReservationRefu List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ReservationRefundPolicyError.DeserializeReservationRefundPolicyError(item)); + array.Add(ReservationRefundPolicyError.DeserializeReservationRefundPolicyError(item, options)); } policyErrors = array; continue; diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationRefundRequestProperties.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationRefundRequestProperties.Serialization.cs index fec11b51c7d9e..399083efea52a 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationRefundRequestProperties.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationRefundRequestProperties.Serialization.cs @@ -112,7 +112,7 @@ internal static ReservationRefundRequestProperties DeserializeReservationRefundR { continue; } - reservationToReturn = ReservationToReturn.DeserializeReservationToReturn(property.Value); + reservationToReturn = ReservationToReturn.DeserializeReservationToReturn(property.Value, options); continue; } if (property.NameEquals("returnReason"u8)) diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationRefundResponseProperties.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationRefundResponseProperties.Serialization.cs index 95c33956f4aeb..4890a00edf1c1 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationRefundResponseProperties.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationRefundResponseProperties.Serialization.cs @@ -128,7 +128,7 @@ internal static ReservationRefundResponseProperties DeserializeReservationRefund { continue; } - billingRefundAmount = PurchasePrice.DeserializePurchasePrice(property.Value); + billingRefundAmount = PurchasePrice.DeserializePurchasePrice(property.Value, options); continue; } if (property.NameEquals("pricingRefundAmount"u8)) @@ -137,7 +137,7 @@ internal static ReservationRefundResponseProperties DeserializeReservationRefund { continue; } - pricingRefundAmount = PurchasePrice.DeserializePurchasePrice(property.Value); + pricingRefundAmount = PurchasePrice.DeserializePurchasePrice(property.Value, options); continue; } if (property.NameEquals("policyResult"u8)) @@ -146,7 +146,7 @@ internal static ReservationRefundResponseProperties DeserializeReservationRefund { continue; } - policyResult = RefundPolicyResult.DeserializeRefundPolicyResult(property.Value); + policyResult = RefundPolicyResult.DeserializeRefundPolicyResult(property.Value, options); continue; } if (property.NameEquals("billingInformation"u8)) @@ -155,7 +155,7 @@ internal static ReservationRefundResponseProperties DeserializeReservationRefund { continue; } - billingInformation = ReservationRefundBillingInformation.DeserializeReservationRefundBillingInformation(property.Value); + billingInformation = ReservationRefundBillingInformation.DeserializeReservationRefundBillingInformation(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationRefundResult.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationRefundResult.Serialization.cs index 3d98b35472b39..d51928770a242 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationRefundResult.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationRefundResult.Serialization.cs @@ -91,7 +91,7 @@ internal static ReservationRefundResult DeserializeReservationRefundResult(JsonE { continue; } - properties = ReservationRefundResponseProperties.DeserializeReservationRefundResponseProperties(property.Value); + properties = ReservationRefundResponseProperties.DeserializeReservationRefundResponseProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationToExchange.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationToExchange.Serialization.cs index 8794aeed909ea..777127cbab0a3 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationToExchange.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationToExchange.Serialization.cs @@ -116,7 +116,7 @@ internal static ReservationToExchange DeserializeReservationToExchange(JsonEleme { continue; } - billingRefundAmount = PurchasePrice.DeserializePurchasePrice(property.Value); + billingRefundAmount = PurchasePrice.DeserializePurchasePrice(property.Value, options); continue; } if (property.NameEquals("billingInformation"u8)) @@ -125,7 +125,7 @@ internal static ReservationToExchange DeserializeReservationToExchange(JsonEleme { continue; } - billingInformation = BillingInformation.DeserializeBillingInformation(property.Value); + billingInformation = BillingInformation.DeserializeBillingInformation(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationToPurchaseCalculateExchange.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationToPurchaseCalculateExchange.Serialization.cs index e74290b4c87f0..10a17533f7c3c 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationToPurchaseCalculateExchange.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationToPurchaseCalculateExchange.Serialization.cs @@ -86,7 +86,7 @@ internal static ReservationToPurchaseCalculateExchange DeserializeReservationToP { continue; } - properties = ReservationPurchaseContent.DeserializeReservationPurchaseContent(property.Value); + properties = ReservationPurchaseContent.DeserializeReservationPurchaseContent(property.Value, options); continue; } if (property.NameEquals("billingCurrencyTotal"u8)) @@ -95,7 +95,7 @@ internal static ReservationToPurchaseCalculateExchange DeserializeReservationToP { continue; } - billingCurrencyTotal = PurchasePrice.DeserializePurchasePrice(property.Value); + billingCurrencyTotal = PurchasePrice.DeserializePurchasePrice(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationToPurchaseExchange.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationToPurchaseExchange.Serialization.cs index a0bab0e08b181..6fb8df345a828 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationToPurchaseExchange.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationToPurchaseExchange.Serialization.cs @@ -122,7 +122,7 @@ internal static ReservationToPurchaseExchange DeserializeReservationToPurchaseEx { continue; } - properties = ReservationPurchaseContent.DeserializeReservationPurchaseContent(property.Value); + properties = ReservationPurchaseContent.DeserializeReservationPurchaseContent(property.Value, options); continue; } if (property.NameEquals("billingCurrencyTotal"u8)) @@ -131,7 +131,7 @@ internal static ReservationToPurchaseExchange DeserializeReservationToPurchaseEx { continue; } - billingCurrencyTotal = PurchasePrice.DeserializePurchasePrice(property.Value); + billingCurrencyTotal = PurchasePrice.DeserializePurchasePrice(property.Value, options); continue; } if (property.NameEquals("status"u8)) diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationToReturnForExchange.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationToReturnForExchange.Serialization.cs index 1eb1ce239ed1e..271c1e651da6c 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationToReturnForExchange.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationToReturnForExchange.Serialization.cs @@ -122,7 +122,7 @@ internal static ReservationToReturnForExchange DeserializeReservationToReturnFor { continue; } - billingRefundAmount = PurchasePrice.DeserializePurchasePrice(property.Value); + billingRefundAmount = PurchasePrice.DeserializePurchasePrice(property.Value, options); continue; } if (property.NameEquals("billingInformation"u8)) @@ -131,7 +131,7 @@ internal static ReservationToReturnForExchange DeserializeReservationToReturnFor { continue; } - billingInformation = BillingInformation.DeserializeBillingInformation(property.Value); + billingInformation = BillingInformation.DeserializeBillingInformation(property.Value, options); continue; } if (property.NameEquals("status"u8)) diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationsListResult.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationsListResult.Serialization.cs index f7efd1785013d..991bc49c915e1 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationsListResult.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/ReservationsListResult.Serialization.cs @@ -101,7 +101,7 @@ internal static ReservationsListResult DeserializeReservationsListResult(JsonEle List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ReservationDetailData.DeserializeReservationDetailData(item)); + array.Add(ReservationDetailData.DeserializeReservationDetailData(item, options)); } value = array; continue; @@ -117,7 +117,7 @@ internal static ReservationsListResult DeserializeReservationsListResult(JsonEle { continue; } - summary = ReservationSummary.DeserializeReservationSummary(property.Value); + summary = ReservationSummary.DeserializeReservationSummary(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/SavingsPlanPurchase.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/SavingsPlanPurchase.Serialization.cs index 86544f254130d..3e6ecf2e86f8f 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/SavingsPlanPurchase.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/SavingsPlanPurchase.Serialization.cs @@ -125,7 +125,7 @@ internal static SavingsPlanPurchase DeserializeSavingsPlanPurchase(JsonElement e { continue; } - sku = ReservationsSkuName.DeserializeReservationsSkuName(property.Value); + sku = ReservationsSkuName.DeserializeReservationsSkuName(property.Value, options); continue; } if (property.NameEquals("properties"u8)) @@ -184,7 +184,7 @@ internal static SavingsPlanPurchase DeserializeSavingsPlanPurchase(JsonElement e { continue; } - appliedScopeProperties = AppliedScopeProperties.DeserializeAppliedScopeProperties(property0.Value); + appliedScopeProperties = AppliedScopeProperties.DeserializeAppliedScopeProperties(property0.Value, options); continue; } if (property0.NameEquals("commitment"u8)) @@ -193,7 +193,7 @@ internal static SavingsPlanPurchase DeserializeSavingsPlanPurchase(JsonElement e { continue; } - commitment = BenefitsCommitment.DeserializeBenefitsCommitment(property0.Value); + commitment = BenefitsCommitment.DeserializeBenefitsCommitment(property0.Value, options); continue; } } diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/SavingsPlanToPurchaseCalculateExchange.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/SavingsPlanToPurchaseCalculateExchange.Serialization.cs index 6a3d0fe28a327..ceb8fb8d7ebf5 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/SavingsPlanToPurchaseCalculateExchange.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/SavingsPlanToPurchaseCalculateExchange.Serialization.cs @@ -86,7 +86,7 @@ internal static SavingsPlanToPurchaseCalculateExchange DeserializeSavingsPlanToP { continue; } - properties = SavingsPlanPurchase.DeserializeSavingsPlanPurchase(property.Value); + properties = SavingsPlanPurchase.DeserializeSavingsPlanPurchase(property.Value, options); continue; } if (property.NameEquals("billingCurrencyTotal"u8)) @@ -95,7 +95,7 @@ internal static SavingsPlanToPurchaseCalculateExchange DeserializeSavingsPlanToP { continue; } - billingCurrencyTotal = PurchasePrice.DeserializePurchasePrice(property.Value); + billingCurrencyTotal = PurchasePrice.DeserializePurchasePrice(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/SavingsPlanToPurchaseExchange.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/SavingsPlanToPurchaseExchange.Serialization.cs index 0ae69bd695b29..8cfc56100539c 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/SavingsPlanToPurchaseExchange.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/SavingsPlanToPurchaseExchange.Serialization.cs @@ -114,7 +114,7 @@ internal static SavingsPlanToPurchaseExchange DeserializeSavingsPlanToPurchaseEx { continue; } - properties = SavingsPlanPurchase.DeserializeSavingsPlanPurchase(property.Value); + properties = SavingsPlanPurchase.DeserializeSavingsPlanPurchase(property.Value, options); continue; } if (property.NameEquals("billingCurrencyTotal"u8)) @@ -123,7 +123,7 @@ internal static SavingsPlanToPurchaseExchange DeserializeSavingsPlanToPurchaseEx { continue; } - billingCurrencyTotal = PurchasePrice.DeserializePurchasePrice(property.Value); + billingCurrencyTotal = PurchasePrice.DeserializePurchasePrice(property.Value, options); continue; } if (property.NameEquals("status"u8)) diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/SubContent.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/SubContent.Serialization.cs index c22e7fd9a6f45..0b6e72849e3ca 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/SubContent.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/SubContent.Serialization.cs @@ -125,7 +125,7 @@ internal static SubContent DeserializeSubContent(JsonElement element, ModelReade { continue; } - name = ReservationResourceName.DeserializeReservationResourceName(property.Value); + name = ReservationResourceName.DeserializeReservationResourceName(property.Value, options); continue; } if (property.NameEquals("resourceType"u8)) diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/SubscriptionScopeProperties.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/SubscriptionScopeProperties.Serialization.cs index f34a16e1872c2..0c6c15f89d2ff 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/SubscriptionScopeProperties.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/Models/SubscriptionScopeProperties.Serialization.cs @@ -88,7 +88,7 @@ internal static SubscriptionScopeProperties DeserializeSubscriptionScopeProperti List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ScopeProperties.DeserializeScopeProperties(item)); + array.Add(ScopeProperties.DeserializeScopeProperties(item, options)); } scopes = array; continue; diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/QuotaRequestDetailData.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/QuotaRequestDetailData.Serialization.cs index b56d736b0e3e2..f55317e7a1597 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/QuotaRequestDetailData.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/QuotaRequestDetailData.Serialization.cs @@ -191,7 +191,7 @@ internal static QuotaRequestDetailData DeserializeQuotaRequestDetailData(JsonEle List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(SubContent.DeserializeSubContent(item)); + array.Add(SubContent.DeserializeSubContent(item, options)); } value = array; continue; diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/ReservationDetailData.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/ReservationDetailData.Serialization.cs index f1ce8c4454aeb..d2982f96033a1 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/ReservationDetailData.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/ReservationDetailData.Serialization.cs @@ -148,7 +148,7 @@ internal static ReservationDetailData DeserializeReservationDetailData(JsonEleme { continue; } - sku = ReservationsSkuName.DeserializeReservationsSkuName(property.Value); + sku = ReservationsSkuName.DeserializeReservationsSkuName(property.Value, options); continue; } if (property.NameEquals("properties"u8)) @@ -157,7 +157,7 @@ internal static ReservationDetailData DeserializeReservationDetailData(JsonEleme { continue; } - properties = ReservationProperties.DeserializeReservationProperties(property.Value); + properties = ReservationProperties.DeserializeReservationProperties(property.Value, options); continue; } if (property.NameEquals("kind"u8)) diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/ReservationOrderData.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/ReservationOrderData.Serialization.cs index a9374e33350d2..b5349aa8b8d2e 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/ReservationOrderData.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/ReservationOrderData.Serialization.cs @@ -320,7 +320,7 @@ internal static ReservationOrderData DeserializeReservationOrderData(JsonElement { continue; } - planInformation = ReservationOrderBillingPlanInformation.DeserializeReservationOrderBillingPlanInformation(property0.Value); + planInformation = ReservationOrderBillingPlanInformation.DeserializeReservationOrderBillingPlanInformation(property0.Value, options); continue; } if (property0.NameEquals("reservations"u8)) @@ -332,7 +332,7 @@ internal static ReservationOrderData DeserializeReservationOrderData(JsonElement List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ReservationDetailData.DeserializeReservationDetailData(item)); + array.Add(ReservationDetailData.DeserializeReservationDetailData(item, options)); } reservations = array; continue; diff --git a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/ReservationQuotaData.Serialization.cs b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/ReservationQuotaData.Serialization.cs index a2c28d3f102d9..9303a53cb41f4 100644 --- a/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/ReservationQuotaData.Serialization.cs +++ b/sdk/reservations/Azure.ResourceManager.Reservations/src/Generated/ReservationQuotaData.Serialization.cs @@ -106,7 +106,7 @@ internal static ReservationQuotaData DeserializeReservationQuotaData(JsonElement { continue; } - properties = QuotaProperties.DeserializeQuotaProperties(property.Value); + properties = QuotaProperties.DeserializeQuotaProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/src/Generated/Models/ApplianceClusterUserCredentialResult.Serialization.cs b/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/src/Generated/Models/ApplianceClusterUserCredentialResult.Serialization.cs index 49b480d0d72fc..af63e8bd7894f 100644 --- a/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/src/Generated/Models/ApplianceClusterUserCredentialResult.Serialization.cs +++ b/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/src/Generated/Models/ApplianceClusterUserCredentialResult.Serialization.cs @@ -91,7 +91,7 @@ internal static ApplianceClusterUserCredentialResult DeserializeApplianceCluster { continue; } - hybridConnectionConfig = HybridConnectionConfig.DeserializeHybridConnectionConfig(property.Value); + hybridConnectionConfig = HybridConnectionConfig.DeserializeHybridConnectionConfig(property.Value, options); continue; } if (property.NameEquals("kubeconfigs"u8)) @@ -103,7 +103,7 @@ internal static ApplianceClusterUserCredentialResult DeserializeApplianceCluster List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ApplianceCredentialKubeconfig.DeserializeApplianceCredentialKubeconfig(item)); + array.Add(ApplianceCredentialKubeconfig.DeserializeApplianceCredentialKubeconfig(item, options)); } kubeconfigs = array; continue; diff --git a/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/src/Generated/Models/ApplianceClusterUserKeysResult.Serialization.cs b/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/src/Generated/Models/ApplianceClusterUserKeysResult.Serialization.cs index f0caebcf7622d..0d28bdca1637d 100644 --- a/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/src/Generated/Models/ApplianceClusterUserKeysResult.Serialization.cs +++ b/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/src/Generated/Models/ApplianceClusterUserKeysResult.Serialization.cs @@ -112,7 +112,7 @@ internal static ApplianceClusterUserKeysResult DeserializeApplianceClusterUserKe Dictionary dictionary = new Dictionary(); foreach (var property0 in property.Value.EnumerateObject()) { - dictionary.Add(property0.Name, ApplianceArtifactProfile.DeserializeApplianceArtifactProfile(property0.Value)); + dictionary.Add(property0.Name, ApplianceArtifactProfile.DeserializeApplianceArtifactProfile(property0.Value, options)); } artifactProfiles = dictionary; continue; @@ -126,7 +126,7 @@ internal static ApplianceClusterUserKeysResult DeserializeApplianceClusterUserKe List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ApplianceCredentialKubeconfig.DeserializeApplianceCredentialKubeconfig(item)); + array.Add(ApplianceCredentialKubeconfig.DeserializeApplianceCredentialKubeconfig(item, options)); } kubeconfigs = array; continue; @@ -140,7 +140,7 @@ internal static ApplianceClusterUserKeysResult DeserializeApplianceClusterUserKe Dictionary dictionary = new Dictionary(); foreach (var property0 in property.Value.EnumerateObject()) { - dictionary.Add(property0.Name, ApplianceSshKey.DeserializeApplianceSshKey(property0.Value)); + dictionary.Add(property0.Name, ApplianceSshKey.DeserializeApplianceSshKey(property0.Value, options)); } sshKeys = dictionary; continue; diff --git a/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/src/Generated/Models/ApplianceListResult.Serialization.cs b/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/src/Generated/Models/ApplianceListResult.Serialization.cs index e8cff15394bcf..cfce6e40ee8cb 100644 --- a/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/src/Generated/Models/ApplianceListResult.Serialization.cs +++ b/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/src/Generated/Models/ApplianceListResult.Serialization.cs @@ -100,7 +100,7 @@ internal static ApplianceListResult DeserializeApplianceListResult(JsonElement e List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ResourceConnectorApplianceData.DeserializeResourceConnectorApplianceData(item)); + array.Add(ResourceConnectorApplianceData.DeserializeResourceConnectorApplianceData(item, options)); } value = array; continue; diff --git a/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/src/Generated/Models/ApplianceSupportedVersion.Serialization.cs b/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/src/Generated/Models/ApplianceSupportedVersion.Serialization.cs index ad6edd1343219..e2ccbe6baa6af 100644 --- a/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/src/Generated/Models/ApplianceSupportedVersion.Serialization.cs +++ b/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/src/Generated/Models/ApplianceSupportedVersion.Serialization.cs @@ -86,7 +86,7 @@ internal static ApplianceSupportedVersion DeserializeApplianceSupportedVersion(J { continue; } - metadata = ApplianceSupportedVersionMetadata.DeserializeApplianceSupportedVersionMetadata(property.Value); + metadata = ApplianceSupportedVersionMetadata.DeserializeApplianceSupportedVersionMetadata(property.Value, options); continue; } if (property.NameEquals("version"u8)) diff --git a/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/src/Generated/Models/ApplianceSupportedVersionCatalogVersion.Serialization.cs b/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/src/Generated/Models/ApplianceSupportedVersionCatalogVersion.Serialization.cs index 00db88b51b0ee..c134981e72c2a 100644 --- a/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/src/Generated/Models/ApplianceSupportedVersionCatalogVersion.Serialization.cs +++ b/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/src/Generated/Models/ApplianceSupportedVersionCatalogVersion.Serialization.cs @@ -92,7 +92,7 @@ internal static ApplianceSupportedVersionCatalogVersion DeserializeApplianceSupp { continue; } - data = ApplianceSupportedVersionCatalogVersionProperties.DeserializeApplianceSupportedVersionCatalogVersionProperties(property.Value); + data = ApplianceSupportedVersionCatalogVersionProperties.DeserializeApplianceSupportedVersionCatalogVersionProperties(property.Value, options); continue; } if (property.NameEquals("name"u8)) diff --git a/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/src/Generated/Models/ApplianceSupportedVersionMetadata.Serialization.cs b/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/src/Generated/Models/ApplianceSupportedVersionMetadata.Serialization.cs index cd60e6a549be6..c526abce56028 100644 --- a/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/src/Generated/Models/ApplianceSupportedVersionMetadata.Serialization.cs +++ b/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/src/Generated/Models/ApplianceSupportedVersionMetadata.Serialization.cs @@ -80,7 +80,7 @@ internal static ApplianceSupportedVersionMetadata DeserializeApplianceSupportedV { continue; } - catalogVersion = ApplianceSupportedVersionCatalogVersion.DeserializeApplianceSupportedVersionCatalogVersion(property.Value); + catalogVersion = ApplianceSupportedVersionCatalogVersion.DeserializeApplianceSupportedVersionCatalogVersion(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/src/Generated/Models/ApplianceUpgradeGraph.Serialization.cs b/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/src/Generated/Models/ApplianceUpgradeGraph.Serialization.cs index dfdd38de47b74..1d0b6d3317b26 100644 --- a/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/src/Generated/Models/ApplianceUpgradeGraph.Serialization.cs +++ b/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/src/Generated/Models/ApplianceUpgradeGraph.Serialization.cs @@ -102,7 +102,7 @@ internal static ApplianceUpgradeGraph DeserializeApplianceUpgradeGraph(JsonEleme { continue; } - properties = ApplianceUpgradeGraphProperties.DeserializeApplianceUpgradeGraphProperties(property.Value); + properties = ApplianceUpgradeGraphProperties.DeserializeApplianceUpgradeGraphProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/src/Generated/Models/ApplianceUpgradeGraphProperties.Serialization.cs b/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/src/Generated/Models/ApplianceUpgradeGraphProperties.Serialization.cs index e600b9cc85983..f9eea131cdb6c 100644 --- a/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/src/Generated/Models/ApplianceUpgradeGraphProperties.Serialization.cs +++ b/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/src/Generated/Models/ApplianceUpgradeGraphProperties.Serialization.cs @@ -99,7 +99,7 @@ internal static ApplianceUpgradeGraphProperties DeserializeApplianceUpgradeGraph List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ApplianceSupportedVersion.DeserializeApplianceSupportedVersion(item)); + array.Add(ApplianceSupportedVersion.DeserializeApplianceSupportedVersion(item, options)); } supportedVersions = array; continue; diff --git a/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/src/Generated/ResourceConnectorApplianceData.Serialization.cs b/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/src/Generated/ResourceConnectorApplianceData.Serialization.cs index 6af3616924cf4..1eff572428b1c 100644 --- a/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/src/Generated/ResourceConnectorApplianceData.Serialization.cs +++ b/sdk/resourceconnector/Azure.ResourceManager.ResourceConnector/src/Generated/ResourceConnectorApplianceData.Serialization.cs @@ -230,7 +230,7 @@ internal static ResourceConnectorApplianceData DeserializeResourceConnectorAppli { continue; } - infrastructureConfig = AppliancePropertiesInfrastructureConfig.DeserializeAppliancePropertiesInfrastructureConfig(property0.Value); + infrastructureConfig = AppliancePropertiesInfrastructureConfig.DeserializeAppliancePropertiesInfrastructureConfig(property0.Value, options); continue; } if (property0.NameEquals("provisioningState"u8)) diff --git a/sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/src/Generated/Models/Facet.Serialization.cs b/sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/src/Generated/Models/Facet.Serialization.cs index 09e25faaab786..9840e835783c7 100644 --- a/sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/src/Generated/Models/Facet.Serialization.cs +++ b/sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/src/Generated/Models/Facet.Serialization.cs @@ -72,11 +72,11 @@ internal static Facet DeserializeFacet(JsonElement element, ModelReaderWriterOpt { switch (discriminator.GetString()) { - case "FacetError": return FacetError.DeserializeFacetError(element); - case "FacetResult": return FacetResult.DeserializeFacetResult(element); + case "FacetError": return FacetError.DeserializeFacetError(element, options); + case "FacetResult": return FacetResult.DeserializeFacetResult(element, options); } } - return UnknownFacet.DeserializeUnknownFacet(element); + return UnknownFacet.DeserializeUnknownFacet(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/src/Generated/Models/FacetError.Serialization.cs b/sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/src/Generated/Models/FacetError.Serialization.cs index e8bc0e29f61aa..956f94bbfa9a9 100644 --- a/sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/src/Generated/Models/FacetError.Serialization.cs +++ b/sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/src/Generated/Models/FacetError.Serialization.cs @@ -87,7 +87,7 @@ internal static FacetError DeserializeFacetError(JsonElement element, ModelReade List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(FacetErrorDetails.DeserializeFacetErrorDetails(item)); + array.Add(FacetErrorDetails.DeserializeFacetErrorDetails(item, options)); } errors = array; continue; diff --git a/sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/src/Generated/Models/FacetRequest.Serialization.cs b/sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/src/Generated/Models/FacetRequest.Serialization.cs index 60544d37f0f08..00234d71c7bf4 100644 --- a/sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/src/Generated/Models/FacetRequest.Serialization.cs +++ b/sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/src/Generated/Models/FacetRequest.Serialization.cs @@ -88,7 +88,7 @@ internal static FacetRequest DeserializeFacetRequest(JsonElement element, ModelR { continue; } - options0 = FacetRequestOptions.DeserializeFacetRequestOptions(property.Value); + options0 = FacetRequestOptions.DeserializeFacetRequestOptions(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/src/Generated/Models/ResourceQueryContent.Serialization.cs b/sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/src/Generated/Models/ResourceQueryContent.Serialization.cs index 03ad2d030ba82..0af881af6f9d2 100644 --- a/sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/src/Generated/Models/ResourceQueryContent.Serialization.cs +++ b/sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/src/Generated/Models/ResourceQueryContent.Serialization.cs @@ -149,7 +149,7 @@ internal static ResourceQueryContent DeserializeResourceQueryContent(JsonElement { continue; } - options0 = ResourceQueryRequestOptions.DeserializeResourceQueryRequestOptions(property.Value); + options0 = ResourceQueryRequestOptions.DeserializeResourceQueryRequestOptions(property.Value, options); continue; } if (property.NameEquals("facets"u8)) @@ -161,7 +161,7 @@ internal static ResourceQueryContent DeserializeResourceQueryContent(JsonElement List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(FacetRequest.DeserializeFacetRequest(item)); + array.Add(FacetRequest.DeserializeFacetRequest(item, options)); } facets = array; continue; diff --git a/sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/src/Generated/Models/ResourceQueryResult.Serialization.cs b/sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/src/Generated/Models/ResourceQueryResult.Serialization.cs index 99fbbb11d1e12..3bdc227cdf89f 100644 --- a/sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/src/Generated/Models/ResourceQueryResult.Serialization.cs +++ b/sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/src/Generated/Models/ResourceQueryResult.Serialization.cs @@ -138,7 +138,7 @@ internal static ResourceQueryResult DeserializeResourceQueryResult(JsonElement e List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(Facet.DeserializeFacet(item)); + array.Add(Facet.DeserializeFacet(item, options)); } facets = array; continue; diff --git a/sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/src/Generated/Models/ResourcesHistoryContent.Serialization.cs b/sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/src/Generated/Models/ResourcesHistoryContent.Serialization.cs index fd02ab4e52d1b..558d3e5a5fa01 100644 --- a/sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/src/Generated/Models/ResourcesHistoryContent.Serialization.cs +++ b/sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/src/Generated/Models/ResourcesHistoryContent.Serialization.cs @@ -127,7 +127,7 @@ internal static ResourcesHistoryContent DeserializeResourcesHistoryContent(JsonE { continue; } - options0 = ResourcesHistoryRequestOptions.DeserializeResourcesHistoryRequestOptions(property.Value); + options0 = ResourcesHistoryRequestOptions.DeserializeResourcesHistoryRequestOptions(property.Value, options); continue; } if (property.NameEquals("managementGroups"u8)) diff --git a/sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/src/Generated/Models/ResourcesHistoryRequestOptions.Serialization.cs b/sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/src/Generated/Models/ResourcesHistoryRequestOptions.Serialization.cs index 5280ba2d56abe..b63617f10661b 100644 --- a/sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/src/Generated/Models/ResourcesHistoryRequestOptions.Serialization.cs +++ b/sdk/resourcegraph/Azure.ResourceManager.ResourceGraph/src/Generated/Models/ResourcesHistoryRequestOptions.Serialization.cs @@ -104,7 +104,7 @@ internal static ResourcesHistoryRequestOptions DeserializeResourcesHistoryReques { continue; } - interval = DateTimeInterval.DeserializeDateTimeInterval(property.Value); + interval = DateTimeInterval.DeserializeDateTimeInterval(property.Value, options); continue; } if (property.NameEquals("$top"u8)) diff --git a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/EmergingIssueActiveEventType.Serialization.cs b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/EmergingIssueActiveEventType.Serialization.cs index b48b42e86bcf2..0e19c5575a8a6 100644 --- a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/EmergingIssueActiveEventType.Serialization.cs +++ b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/EmergingIssueActiveEventType.Serialization.cs @@ -207,7 +207,7 @@ internal static EmergingIssueActiveEventType DeserializeEmergingIssueActiveEvent List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(EmergingIssueImpact.DeserializeEmergingIssueImpact(item)); + array.Add(EmergingIssueImpact.DeserializeEmergingIssueImpact(item, options)); } impacts = array; continue; diff --git a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/EmergingIssueImpact.Serialization.cs b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/EmergingIssueImpact.Serialization.cs index 3f030f1065181..9e504b10e1931 100644 --- a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/EmergingIssueImpact.Serialization.cs +++ b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/EmergingIssueImpact.Serialization.cs @@ -110,7 +110,7 @@ internal static EmergingIssueImpact DeserializeEmergingIssueImpact(JsonElement e List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(EmergingIssueImpactedRegion.DeserializeEmergingIssueImpactedRegion(item)); + array.Add(EmergingIssueImpactedRegion.DeserializeEmergingIssueImpactedRegion(item, options)); } regions = array; continue; diff --git a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/EmergingIssueListResult.Serialization.cs b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/EmergingIssueListResult.Serialization.cs index 87b535e082463..b8580d3401ba1 100644 --- a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/EmergingIssueListResult.Serialization.cs +++ b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/EmergingIssueListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static EmergingIssueListResult DeserializeEmergingIssueListResult(JsonE List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ServiceEmergingIssueData.DeserializeServiceEmergingIssueData(item)); + array.Add(ServiceEmergingIssueData.DeserializeServiceEmergingIssueData(item, options)); } value = array; continue; diff --git a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/EventImpactedResourceListResult.Serialization.cs b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/EventImpactedResourceListResult.Serialization.cs index b04aff85fc9d7..7889995890455 100644 --- a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/EventImpactedResourceListResult.Serialization.cs +++ b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/EventImpactedResourceListResult.Serialization.cs @@ -88,7 +88,7 @@ internal static EventImpactedResourceListResult DeserializeEventImpactedResource List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ResourceHealthEventImpactedResourceData.DeserializeResourceHealthEventImpactedResourceData(item)); + array.Add(ResourceHealthEventImpactedResourceData.DeserializeResourceHealthEventImpactedResourceData(item, options)); } value = array; continue; diff --git a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/MetadataEntityListResult.Serialization.cs b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/MetadataEntityListResult.Serialization.cs index cda01f486b0ed..8b2161a187fb5 100644 --- a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/MetadataEntityListResult.Serialization.cs +++ b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/MetadataEntityListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static MetadataEntityListResult DeserializeMetadataEntityListResult(Jso List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ResourceHealthMetadataEntityData.DeserializeResourceHealthMetadataEntityData(item)); + array.Add(ResourceHealthMetadataEntityData.DeserializeResourceHealthMetadataEntityData(item, options)); } value = array; continue; diff --git a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/ResourceHealthAvailabilityStatus.Serialization.cs b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/ResourceHealthAvailabilityStatus.Serialization.cs index 591d94bc9db41..6303db4ca2a6c 100644 --- a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/ResourceHealthAvailabilityStatus.Serialization.cs +++ b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/ResourceHealthAvailabilityStatus.Serialization.cs @@ -120,7 +120,7 @@ internal static ResourceHealthAvailabilityStatus DeserializeResourceHealthAvaila { continue; } - properties = ResourceHealthAvailabilityStatusProperties.DeserializeResourceHealthAvailabilityStatusProperties(property.Value); + properties = ResourceHealthAvailabilityStatusProperties.DeserializeResourceHealthAvailabilityStatusProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/ResourceHealthAvailabilityStatusListResult.Serialization.cs b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/ResourceHealthAvailabilityStatusListResult.Serialization.cs index 6f34dbee8f6a2..f150714ffda6d 100644 --- a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/ResourceHealthAvailabilityStatusListResult.Serialization.cs +++ b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/ResourceHealthAvailabilityStatusListResult.Serialization.cs @@ -87,7 +87,7 @@ internal static ResourceHealthAvailabilityStatusListResult DeserializeResourceHe List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ResourceHealthAvailabilityStatus.DeserializeResourceHealthAvailabilityStatus(item)); + array.Add(ResourceHealthAvailabilityStatus.DeserializeResourceHealthAvailabilityStatus(item, options)); } value = array; continue; diff --git a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/ResourceHealthAvailabilityStatusProperties.Serialization.cs b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/ResourceHealthAvailabilityStatusProperties.Serialization.cs index cb52942ba3b4f..6a61c41995bb7 100644 --- a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/ResourceHealthAvailabilityStatusProperties.Serialization.cs +++ b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/ResourceHealthAvailabilityStatusProperties.Serialization.cs @@ -313,7 +313,7 @@ internal static ResourceHealthAvailabilityStatusProperties DeserializeResourceHe { continue; } - recentlyResolved = ResourceHealthAvailabilityStateRecentlyResolved.DeserializeResourceHealthAvailabilityStateRecentlyResolved(property.Value); + recentlyResolved = ResourceHealthAvailabilityStateRecentlyResolved.DeserializeResourceHealthAvailabilityStateRecentlyResolved(property.Value, options); continue; } if (property.NameEquals("recommendedActions"u8)) @@ -325,7 +325,7 @@ internal static ResourceHealthAvailabilityStatusProperties DeserializeResourceHe List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ResourceHealthRecommendedAction.DeserializeResourceHealthRecommendedAction(item)); + array.Add(ResourceHealthRecommendedAction.DeserializeResourceHealthRecommendedAction(item, options)); } recommendedActions = array; continue; @@ -339,7 +339,7 @@ internal static ResourceHealthAvailabilityStatusProperties DeserializeResourceHe List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ServiceImpactingEvent.DeserializeServiceImpactingEvent(item)); + array.Add(ServiceImpactingEvent.DeserializeServiceImpactingEvent(item, options)); } serviceImpactingEvents = array; continue; diff --git a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/ResourceHealthEventImpact.Serialization.cs b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/ResourceHealthEventImpact.Serialization.cs index 3fc8b5238ce8b..958fdc79d57e2 100644 --- a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/ResourceHealthEventImpact.Serialization.cs +++ b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/ResourceHealthEventImpact.Serialization.cs @@ -99,7 +99,7 @@ internal static ResourceHealthEventImpact DeserializeResourceHealthEventImpact(J List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ResourceHealthEventImpactedServiceRegion.DeserializeResourceHealthEventImpactedServiceRegion(item)); + array.Add(ResourceHealthEventImpactedServiceRegion.DeserializeResourceHealthEventImpactedServiceRegion(item, options)); } impactedRegions = array; continue; diff --git a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/ResourceHealthEventImpactedServiceRegion.Serialization.cs b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/ResourceHealthEventImpactedServiceRegion.Serialization.cs index 3614590a42afa..053261c4c051b 100644 --- a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/ResourceHealthEventImpactedServiceRegion.Serialization.cs +++ b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/ResourceHealthEventImpactedServiceRegion.Serialization.cs @@ -179,7 +179,7 @@ internal static ResourceHealthEventImpactedServiceRegion DeserializeResourceHeal List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ResourceHealthEventUpdate.DeserializeResourceHealthEventUpdate(item)); + array.Add(ResourceHealthEventUpdate.DeserializeResourceHealthEventUpdate(item, options)); } updates = array; continue; diff --git a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/ResourceHealthEventLink.Serialization.cs b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/ResourceHealthEventLink.Serialization.cs index e795b7b8bd474..773e63c4edcd7 100644 --- a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/ResourceHealthEventLink.Serialization.cs +++ b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/ResourceHealthEventLink.Serialization.cs @@ -120,7 +120,7 @@ internal static ResourceHealthEventLink DeserializeResourceHealthEventLink(JsonE { continue; } - displayText = ResourceHealthEventLinkDisplayText.DeserializeResourceHealthEventLinkDisplayText(property.Value); + displayText = ResourceHealthEventLinkDisplayText.DeserializeResourceHealthEventLinkDisplayText(property.Value, options); continue; } if (property.NameEquals("extensionName"u8)) diff --git a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/ResourceHealthEventListResult.Serialization.cs b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/ResourceHealthEventListResult.Serialization.cs index 3f758b9a8627d..be08723154017 100644 --- a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/ResourceHealthEventListResult.Serialization.cs +++ b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/ResourceHealthEventListResult.Serialization.cs @@ -88,7 +88,7 @@ internal static ResourceHealthEventListResult DeserializeResourceHealthEventList List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ResourceHealthEventData.DeserializeResourceHealthEventData(item)); + array.Add(ResourceHealthEventData.DeserializeResourceHealthEventData(item, options)); } value = array; continue; diff --git a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/ResourceHealthEventRecommendedActions.Serialization.cs b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/ResourceHealthEventRecommendedActions.Serialization.cs index ad3aa7f7f126b..47fd7401a80ba 100644 --- a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/ResourceHealthEventRecommendedActions.Serialization.cs +++ b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/ResourceHealthEventRecommendedActions.Serialization.cs @@ -105,7 +105,7 @@ internal static ResourceHealthEventRecommendedActions DeserializeResourceHealthE List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ResourceHealthEventRecommendedActionsItem.DeserializeResourceHealthEventRecommendedActionsItem(item)); + array.Add(ResourceHealthEventRecommendedActionsItem.DeserializeResourceHealthEventRecommendedActionsItem(item, options)); } actions = array; continue; diff --git a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/ServiceImpactingEvent.Serialization.cs b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/ServiceImpactingEvent.Serialization.cs index d22507f9e9603..f4cde4f152054 100644 --- a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/ServiceImpactingEvent.Serialization.cs +++ b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/Models/ServiceImpactingEvent.Serialization.cs @@ -127,7 +127,7 @@ internal static ServiceImpactingEvent DeserializeServiceImpactingEvent(JsonEleme { continue; } - status = ServiceImpactingEventStatus.DeserializeServiceImpactingEventStatus(property.Value); + status = ServiceImpactingEventStatus.DeserializeServiceImpactingEventStatus(property.Value, options); continue; } if (property.NameEquals("incidentProperties"u8)) @@ -136,7 +136,7 @@ internal static ServiceImpactingEvent DeserializeServiceImpactingEvent(JsonEleme { continue; } - incidentProperties = ServiceImpactingEventIncidentProperties.DeserializeServiceImpactingEventIncidentProperties(property.Value); + incidentProperties = ServiceImpactingEventIncidentProperties.DeserializeServiceImpactingEventIncidentProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/ResourceHealthEventData.Serialization.cs b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/ResourceHealthEventData.Serialization.cs index 6a1d6c58f9d10..d813cbebbb586 100644 --- a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/ResourceHealthEventData.Serialization.cs +++ b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/ResourceHealthEventData.Serialization.cs @@ -422,7 +422,7 @@ internal static ResourceHealthEventData DeserializeResourceHealthEventData(JsonE { continue; } - article = ResourceHealthEventArticle.DeserializeResourceHealthEventArticle(property0.Value); + article = ResourceHealthEventArticle.DeserializeResourceHealthEventArticle(property0.Value, options); continue; } if (property0.NameEquals("links"u8)) @@ -434,7 +434,7 @@ internal static ResourceHealthEventData DeserializeResourceHealthEventData(JsonE List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ResourceHealthEventLink.DeserializeResourceHealthEventLink(item)); + array.Add(ResourceHealthEventLink.DeserializeResourceHealthEventLink(item, options)); } links = array; continue; @@ -466,7 +466,7 @@ internal static ResourceHealthEventData DeserializeResourceHealthEventData(JsonE List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ResourceHealthEventImpact.DeserializeResourceHealthEventImpact(item)); + array.Add(ResourceHealthEventImpact.DeserializeResourceHealthEventImpact(item, options)); } impact = array; continue; @@ -477,7 +477,7 @@ internal static ResourceHealthEventData DeserializeResourceHealthEventData(JsonE { continue; } - recommendedActions = ResourceHealthEventRecommendedActions.DeserializeResourceHealthEventRecommendedActions(property0.Value); + recommendedActions = ResourceHealthEventRecommendedActions.DeserializeResourceHealthEventRecommendedActions(property0.Value, options); continue; } if (property0.NameEquals("faqs"u8)) @@ -489,7 +489,7 @@ internal static ResourceHealthEventData DeserializeResourceHealthEventData(JsonE List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ResourceHealthEventFaq.DeserializeResourceHealthEventFaq(item)); + array.Add(ResourceHealthEventFaq.DeserializeResourceHealthEventFaq(item, options)); } faqs = array; continue; @@ -564,7 +564,7 @@ internal static ResourceHealthEventData DeserializeResourceHealthEventData(JsonE { continue; } - additionalInformation = ResourceHealthEventAdditionalInformation.DeserializeResourceHealthEventAdditionalInformation(property0.Value); + additionalInformation = ResourceHealthEventAdditionalInformation.DeserializeResourceHealthEventAdditionalInformation(property0.Value, options); continue; } if (property0.NameEquals("duration"u8)) diff --git a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/ResourceHealthEventImpactedResourceData.Serialization.cs b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/ResourceHealthEventImpactedResourceData.Serialization.cs index 9e85b341809cc..e5d976a1f0860 100644 --- a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/ResourceHealthEventImpactedResourceData.Serialization.cs +++ b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/ResourceHealthEventImpactedResourceData.Serialization.cs @@ -246,7 +246,7 @@ internal static ResourceHealthEventImpactedResourceData DeserializeResourceHealt List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ResourceHealthKeyValueItem.DeserializeResourceHealthKeyValueItem(item)); + array.Add(ResourceHealthKeyValueItem.DeserializeResourceHealthKeyValueItem(item, options)); } info = array; continue; diff --git a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/ResourceHealthMetadataEntityData.Serialization.cs b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/ResourceHealthMetadataEntityData.Serialization.cs index 8a31b4048ac26..2a0489fb9c852 100644 --- a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/ResourceHealthMetadataEntityData.Serialization.cs +++ b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/ResourceHealthMetadataEntityData.Serialization.cs @@ -211,7 +211,7 @@ internal static ResourceHealthMetadataEntityData DeserializeResourceHealthMetada List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(MetadataSupportedValueDetail.DeserializeMetadataSupportedValueDetail(item)); + array.Add(MetadataSupportedValueDetail.DeserializeMetadataSupportedValueDetail(item, options)); } supportedValues = array; continue; diff --git a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/ServiceEmergingIssueData.Serialization.cs b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/ServiceEmergingIssueData.Serialization.cs index f32345c75cb0e..c96a9637028da 100644 --- a/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/ServiceEmergingIssueData.Serialization.cs +++ b/sdk/resourcehealth/Azure.ResourceManager.ResourceHealth/src/Generated/ServiceEmergingIssueData.Serialization.cs @@ -176,7 +176,7 @@ internal static ServiceEmergingIssueData DeserializeServiceEmergingIssueData(Jso List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(EmergingIssueBannerType.DeserializeEmergingIssueBannerType(item)); + array.Add(EmergingIssueBannerType.DeserializeEmergingIssueBannerType(item, options)); } statusBanners = array; continue; @@ -190,7 +190,7 @@ internal static ServiceEmergingIssueData DeserializeServiceEmergingIssueData(Jso List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(EmergingIssueActiveEventType.DeserializeEmergingIssueActiveEventType(item)); + array.Add(EmergingIssueActiveEventType.DeserializeEmergingIssueActiveEventType(item, options)); } statusActiveEvents = array; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Common/Generated/Models/EncryptionProperties.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Common/Generated/Models/EncryptionProperties.Serialization.cs index 42445326af86d..e76738828bd99 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Common/Generated/Models/EncryptionProperties.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Common/Generated/Models/EncryptionProperties.Serialization.cs @@ -79,7 +79,7 @@ internal static EncryptionProperties DeserializeEncryptionProperties(JsonElement { continue; } - keyVaultProperties = KeyVaultProperties.DeserializeKeyVaultProperties(property.Value); + keyVaultProperties = KeyVaultProperties.DeserializeKeyVaultProperties(property.Value, options); continue; } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/ManagementGroupData.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/ManagementGroupData.Serialization.cs index cffd745861c6c..2e63a5c293e3c 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/ManagementGroupData.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/ManagementGroupData.Serialization.cs @@ -186,7 +186,7 @@ internal static ManagementGroupData DeserializeManagementGroupData(JsonElement e { continue; } - details = ManagementGroupInfo.DeserializeManagementGroupInfo(property0.Value); + details = ManagementGroupInfo.DeserializeManagementGroupInfo(property0.Value, options); continue; } if (property0.NameEquals("children"u8)) @@ -199,7 +199,7 @@ internal static ManagementGroupData DeserializeManagementGroupData(JsonElement e List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ManagementGroupChildInfo.DeserializeManagementGroupChildInfo(item)); + array.Add(ManagementGroupChildInfo.DeserializeManagementGroupChildInfo(item, options)); } children = array; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/CreateManagementGroupDetails.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/CreateManagementGroupDetails.Serialization.cs index 715cc79e21477..9e369e63337c6 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/CreateManagementGroupDetails.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/CreateManagementGroupDetails.Serialization.cs @@ -121,7 +121,7 @@ internal static CreateManagementGroupDetails DeserializeCreateManagementGroupDet { continue; } - parent = ManagementGroupParentCreateOptions.DeserializeManagementGroupParentCreateOptions(property.Value); + parent = ManagementGroupParentCreateOptions.DeserializeManagementGroupParentCreateOptions(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/DescendantData.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/DescendantData.Serialization.cs index 86a3f016f4a18..e49af8d23d2cd 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/DescendantData.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/DescendantData.Serialization.cs @@ -172,7 +172,7 @@ internal static DescendantData DeserializeDescendantData(JsonElement element, Mo parent = null; continue; } - parent = DescendantParentGroupInfo.DeserializeDescendantParentGroupInfo(property0.Value); + parent = DescendantParentGroupInfo.DeserializeDescendantParentGroupInfo(property0.Value, options); continue; } } diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/DescendantListResult.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/DescendantListResult.Serialization.cs index aeaaebd108ebe..d87a383c79d8e 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/DescendantListResult.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/DescendantListResult.Serialization.cs @@ -94,7 +94,7 @@ internal static DescendantListResult DeserializeDescendantListResult(JsonElement List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DescendantData.DeserializeDescendantData(item)); + array.Add(DescendantData.DeserializeDescendantData(item, options)); } value = array; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/EntityListResult.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/EntityListResult.Serialization.cs index aaa9275c68752..9f4f3381a1884 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/EntityListResult.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/EntityListResult.Serialization.cs @@ -100,7 +100,7 @@ internal static EntityListResult DeserializeEntityListResult(JsonElement element List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(EntityData.DeserializeEntityData(item)); + array.Add(EntityData.DeserializeEntityData(item, options)); } value = array; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/ManagementGroupChildInfo.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/ManagementGroupChildInfo.Serialization.cs index cc9e012d0ed19..5e8e483a325e9 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/ManagementGroupChildInfo.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/ManagementGroupChildInfo.Serialization.cs @@ -136,7 +136,7 @@ internal static ManagementGroupChildInfo DeserializeManagementGroupChildInfo(Jso List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DeserializeManagementGroupChildInfo(item)); + array.Add(DeserializeManagementGroupChildInfo(item, options)); } children = array; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/ManagementGroupChildOptions.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/ManagementGroupChildOptions.Serialization.cs index 996d9d52f1c5d..cf701a83e167e 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/ManagementGroupChildOptions.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/ManagementGroupChildOptions.Serialization.cs @@ -136,7 +136,7 @@ internal static ManagementGroupChildOptions DeserializeManagementGroupChildOptio List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DeserializeManagementGroupChildOptions(item)); + array.Add(DeserializeManagementGroupChildOptions(item, options)); } children = array; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/ManagementGroupCreateOrUpdateContent.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/ManagementGroupCreateOrUpdateContent.Serialization.cs index 3845938637721..08a852b730d11 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/ManagementGroupCreateOrUpdateContent.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/ManagementGroupCreateOrUpdateContent.Serialization.cs @@ -185,7 +185,7 @@ internal static ManagementGroupCreateOrUpdateContent DeserializeManagementGroupC { continue; } - details = CreateManagementGroupDetails.DeserializeCreateManagementGroupDetails(property0.Value); + details = CreateManagementGroupDetails.DeserializeCreateManagementGroupDetails(property0.Value, options); continue; } if (property0.NameEquals("children"u8)) @@ -198,7 +198,7 @@ internal static ManagementGroupCreateOrUpdateContent DeserializeManagementGroupC List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ManagementGroupChildOptions.DeserializeManagementGroupChildOptions(item)); + array.Add(ManagementGroupChildOptions.DeserializeManagementGroupChildOptions(item, options)); } children = array; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/ManagementGroupInfo.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/ManagementGroupInfo.Serialization.cs index 9cae589d54c00..8f3b3e0209ead 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/ManagementGroupInfo.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/ManagementGroupInfo.Serialization.cs @@ -175,7 +175,7 @@ internal static ManagementGroupInfo DeserializeManagementGroupInfo(JsonElement e { continue; } - parent = ParentManagementGroupInfo.DeserializeParentManagementGroupInfo(property.Value); + parent = ParentManagementGroupInfo.DeserializeParentManagementGroupInfo(property.Value, options); continue; } if (property.NameEquals("path"u8)) @@ -188,7 +188,7 @@ internal static ManagementGroupInfo DeserializeManagementGroupInfo(JsonElement e List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagementGroupPathElement.DeserializeManagementGroupPathElement(item)); + array.Add(ManagementGroupPathElement.DeserializeManagementGroupPathElement(item, options)); } path = array; continue; @@ -218,7 +218,7 @@ internal static ManagementGroupInfo DeserializeManagementGroupInfo(JsonElement e List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagementGroupPathElement.DeserializeManagementGroupPathElement(item)); + array.Add(ManagementGroupPathElement.DeserializeManagementGroupPathElement(item, options)); } managementGroupAncestorsChain = array; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/ManagementGroupListResult.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/ManagementGroupListResult.Serialization.cs index 9e19a9dd335b1..efc1c802d3950 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/ManagementGroupListResult.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/ManagementGroupListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ManagementGroupListResult DeserializeManagementGroupListResult(J List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagementGroupData.DeserializeManagementGroupData(item)); + array.Add(ManagementGroupData.DeserializeManagementGroupData(item, options)); } value = array; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/DataPolicyManifestData.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/DataPolicyManifestData.Serialization.cs index 986bed8139f27..eb0ef410b8acd 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/DataPolicyManifestData.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/DataPolicyManifestData.Serialization.cs @@ -248,7 +248,7 @@ internal static DataPolicyManifestData DeserializeDataPolicyManifestData(JsonEle List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(Models.ResourceTypeAliases.DeserializeResourceTypeAliases(item)); + array.Add(Models.ResourceTypeAliases.DeserializeResourceTypeAliases(item, options)); } resourceTypeAliases = array; continue; @@ -262,7 +262,7 @@ internal static DataPolicyManifestData DeserializeDataPolicyManifestData(JsonEle List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(DataPolicyManifestEffect.DeserializeDataPolicyManifestEffect(item)); + array.Add(DataPolicyManifestEffect.DeserializeDataPolicyManifestEffect(item, options)); } effects = array; continue; @@ -313,7 +313,7 @@ internal static DataPolicyManifestData DeserializeDataPolicyManifestData(JsonEle List array = new List(); foreach (var item in property1.Value.EnumerateArray()) { - array.Add(DataManifestCustomResourceFunctionDefinition.DeserializeDataManifestCustomResourceFunctionDefinition(item)); + array.Add(DataManifestCustomResourceFunctionDefinition.DeserializeDataManifestCustomResourceFunctionDefinition(item, options)); } custom = array; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/FeatureData.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/FeatureData.Serialization.cs index 0a721ee8147a4..a72a60f66254a 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/FeatureData.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/FeatureData.Serialization.cs @@ -106,7 +106,7 @@ internal static FeatureData DeserializeFeatureData(JsonElement element, ModelRea { continue; } - properties = FeatureProperties.DeserializeFeatureProperties(property.Value); + properties = FeatureProperties.DeserializeFeatureProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/GenericResourceData.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/GenericResourceData.Serialization.cs index 1bb1345b63618..a008b18b489b1 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/GenericResourceData.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/GenericResourceData.Serialization.cs @@ -210,7 +210,7 @@ internal static GenericResourceData DeserializeGenericResourceData(JsonElement e { continue; } - sku = ResourcesSku.DeserializeResourcesSku(property.Value); + sku = ResourcesSku.DeserializeResourcesSku(property.Value, options); continue; } if (property.NameEquals("identity"u8)) diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/ManagementLockData.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/ManagementLockData.Serialization.cs index 7c1b9d2dc9cea..594b067d234dc 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/ManagementLockData.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/ManagementLockData.Serialization.cs @@ -169,7 +169,7 @@ internal static ManagementLockData DeserializeManagementLockData(JsonElement ele List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ManagementLockOwner.DeserializeManagementLockOwner(item)); + array.Add(ManagementLockOwner.DeserializeManagementLockOwner(item, options)); } owners = array; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ArmPolicyParameter.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ArmPolicyParameter.Serialization.cs index bf0e5d144979a..c5ff9cbc189ae 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ArmPolicyParameter.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ArmPolicyParameter.Serialization.cs @@ -161,7 +161,7 @@ internal static ArmPolicyParameter DeserializeArmPolicyParameter(JsonElement ele { continue; } - metadata = ParameterDefinitionsValueMetadata.DeserializeParameterDefinitionsValueMetadata(property.Value); + metadata = ParameterDefinitionsValueMetadata.DeserializeParameterDefinitionsValueMetadata(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/AzureRoleDefinition.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/AzureRoleDefinition.Serialization.cs index 4e9dd88d63f05..03ecb84d2c14d 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/AzureRoleDefinition.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/AzureRoleDefinition.Serialization.cs @@ -136,7 +136,7 @@ internal static AzureRoleDefinition DeserializeAzureRoleDefinition(JsonElement e List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(Permission.DeserializePermission(item)); + array.Add(Permission.DeserializePermission(item, options)); } permissions = array; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/DataPolicyManifestListResult.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/DataPolicyManifestListResult.Serialization.cs index 588d59d141362..431446c5e87bc 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/DataPolicyManifestListResult.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/DataPolicyManifestListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static DataPolicyManifestListResult DeserializeDataPolicyManifestListRe List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DataPolicyManifestData.DeserializeDataPolicyManifestData(item)); + array.Add(DataPolicyManifestData.DeserializeDataPolicyManifestData(item, options)); } value = array; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/FeatureOperationsListResult.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/FeatureOperationsListResult.Serialization.cs index ead4aea016123..0ea1662772e04 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/FeatureOperationsListResult.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/FeatureOperationsListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static FeatureOperationsListResult DeserializeFeatureOperationsListResu List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(FeatureData.DeserializeFeatureData(item)); + array.Add(FeatureData.DeserializeFeatureData(item, options)); } value = array; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/LocationExpanded.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/LocationExpanded.Serialization.cs index 60a25141c3341..014dbdb4a4078 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/LocationExpanded.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/LocationExpanded.Serialization.cs @@ -161,7 +161,7 @@ internal static LocationExpanded DeserializeLocationExpanded(JsonElement element { continue; } - metadata = LocationMetadata.DeserializeLocationMetadata(property.Value); + metadata = LocationMetadata.DeserializeLocationMetadata(property.Value, options); continue; } if (property.NameEquals("availabilityZoneMappings"u8)) @@ -173,7 +173,7 @@ internal static LocationExpanded DeserializeLocationExpanded(JsonElement element List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(Models.AvailabilityZoneMappings.DeserializeAvailabilityZoneMappings(item)); + array.Add(Models.AvailabilityZoneMappings.DeserializeAvailabilityZoneMappings(item, options)); } availabilityZoneMappings = array; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/LocationListResult.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/LocationListResult.Serialization.cs index f2fbf972f676e..092c254bebf23 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/LocationListResult.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/LocationListResult.Serialization.cs @@ -88,7 +88,7 @@ internal static LocationListResult DeserializeLocationListResult(JsonElement ele List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(LocationExpanded.DeserializeLocationExpanded(item)); + array.Add(LocationExpanded.DeserializeLocationExpanded(item, options)); } value = array; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/LocationMetadata.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/LocationMetadata.Serialization.cs index d846d4af28b58..d87f86cb16923 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/LocationMetadata.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/LocationMetadata.Serialization.cs @@ -179,7 +179,7 @@ internal static LocationMetadata DeserializeLocationMetadata(JsonElement element List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(PairedRegion.DeserializePairedRegion(item)); + array.Add(PairedRegion.DeserializePairedRegion(item, options)); } pairedRegion = array; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ManagementLockListResult.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ManagementLockListResult.Serialization.cs index 715da56d10fd3..0930830a2f5d0 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ManagementLockListResult.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ManagementLockListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ManagementLockListResult DeserializeManagementLockListResult(Jso List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagementLockData.DeserializeManagementLockData(item)); + array.Add(ManagementLockData.DeserializeManagementLockData(item, options)); } value = array; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/PolicyAssignmentListResult.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/PolicyAssignmentListResult.Serialization.cs index 308808f0b72ac..5f3ee477d4d77 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/PolicyAssignmentListResult.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/PolicyAssignmentListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static PolicyAssignmentListResult DeserializePolicyAssignmentListResult List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(PolicyAssignmentData.DeserializePolicyAssignmentData(item)); + array.Add(PolicyAssignmentData.DeserializePolicyAssignmentData(item, options)); } value = array; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/PolicyAssignmentPatch.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/PolicyAssignmentPatch.Serialization.cs index df1f971e42db9..7fffbe19e252e 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/PolicyAssignmentPatch.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/PolicyAssignmentPatch.Serialization.cs @@ -142,7 +142,7 @@ internal static PolicyAssignmentPatch DeserializePolicyAssignmentPatch(JsonEleme List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ResourceSelector.DeserializeResourceSelector(item)); + array.Add(ResourceSelector.DeserializeResourceSelector(item, options)); } resourceSelectors = array; continue; @@ -156,7 +156,7 @@ internal static PolicyAssignmentPatch DeserializePolicyAssignmentPatch(JsonEleme List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(PolicyOverride.DeserializePolicyOverride(item)); + array.Add(PolicyOverride.DeserializePolicyOverride(item, options)); } overrides = array; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/PolicyDefinitionListResult.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/PolicyDefinitionListResult.Serialization.cs index c908485735da7..ad9c731d02cd3 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/PolicyDefinitionListResult.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/PolicyDefinitionListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static PolicyDefinitionListResult DeserializePolicyDefinitionListResult List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(PolicyDefinitionData.DeserializePolicyDefinitionData(item)); + array.Add(PolicyDefinitionData.DeserializePolicyDefinitionData(item, options)); } value = array; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/PolicyDefinitionReference.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/PolicyDefinitionReference.Serialization.cs index f339303e9c723..62c92c788d4f5 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/PolicyDefinitionReference.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/PolicyDefinitionReference.Serialization.cs @@ -114,7 +114,7 @@ internal static PolicyDefinitionReference DeserializePolicyDefinitionReference(J Dictionary dictionary = new Dictionary(); foreach (var property0 in property.Value.EnumerateObject()) { - dictionary.Add(property0.Name, ArmPolicyParameterValue.DeserializeArmPolicyParameterValue(property0.Value)); + dictionary.Add(property0.Name, ArmPolicyParameterValue.DeserializeArmPolicyParameterValue(property0.Value, options)); } parameters = dictionary; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/PolicyOverride.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/PolicyOverride.Serialization.cs index fe94122a02ac7..23b97faa31fcc 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/PolicyOverride.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/PolicyOverride.Serialization.cs @@ -114,7 +114,7 @@ internal static PolicyOverride DeserializePolicyOverride(JsonElement element, Mo List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ResourceSelectorExpression.DeserializeResourceSelectorExpression(item)); + array.Add(ResourceSelectorExpression.DeserializeResourceSelectorExpression(item, options)); } selectors = array; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/PolicySetDefinitionListResult.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/PolicySetDefinitionListResult.Serialization.cs index 8805aac19371f..fb68ce93ee215 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/PolicySetDefinitionListResult.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/PolicySetDefinitionListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static PolicySetDefinitionListResult DeserializePolicySetDefinitionList List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(PolicySetDefinitionData.DeserializePolicySetDefinitionData(item)); + array.Add(PolicySetDefinitionData.DeserializePolicySetDefinitionData(item, options)); } value = array; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/PredefinedTag.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/PredefinedTag.Serialization.cs index 854b3c9c1fd16..c35aede43af92 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/PredefinedTag.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/PredefinedTag.Serialization.cs @@ -113,7 +113,7 @@ internal static PredefinedTag DeserializePredefinedTag(JsonElement element, Mode { continue; } - count = PredefinedTagCount.DeserializePredefinedTagCount(property.Value); + count = PredefinedTagCount.DeserializePredefinedTagCount(property.Value, options); continue; } if (property.NameEquals("values"u8)) @@ -125,7 +125,7 @@ internal static PredefinedTag DeserializePredefinedTag(JsonElement element, Mode List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(PredefinedTagValue.DeserializePredefinedTagValue(item)); + array.Add(PredefinedTagValue.DeserializePredefinedTagValue(item, options)); } values = array; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/PredefinedTagValue.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/PredefinedTagValue.Serialization.cs index 64f7413d170a9..047078ddf8a11 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/PredefinedTagValue.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/PredefinedTagValue.Serialization.cs @@ -102,7 +102,7 @@ internal static PredefinedTagValue DeserializePredefinedTagValue(JsonElement ele { continue; } - count = PredefinedTagCount.DeserializePredefinedTagCount(property.Value); + count = PredefinedTagCount.DeserializePredefinedTagCount(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/PredefinedTagsListResult.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/PredefinedTagsListResult.Serialization.cs index ea3d06fe4bda7..776f80607b91e 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/PredefinedTagsListResult.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/PredefinedTagsListResult.Serialization.cs @@ -94,7 +94,7 @@ internal static PredefinedTagsListResult DeserializePredefinedTagsListResult(Jso List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(PredefinedTag.DeserializePredefinedTag(item)); + array.Add(PredefinedTag.DeserializePredefinedTag(item, options)); } value = array; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ProviderPermission.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ProviderPermission.Serialization.cs index 7ee280fba2d33..f4c287c77ae1d 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ProviderPermission.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ProviderPermission.Serialization.cs @@ -103,7 +103,7 @@ internal static ProviderPermission DeserializeProviderPermission(JsonElement ele { continue; } - roleDefinition = AzureRoleDefinition.DeserializeAzureRoleDefinition(property.Value); + roleDefinition = AzureRoleDefinition.DeserializeAzureRoleDefinition(property.Value, options); continue; } if (property.NameEquals("managedByRoleDefinition"u8)) @@ -112,7 +112,7 @@ internal static ProviderPermission DeserializeProviderPermission(JsonElement ele { continue; } - managedByRoleDefinition = AzureRoleDefinition.DeserializeAzureRoleDefinition(property.Value); + managedByRoleDefinition = AzureRoleDefinition.DeserializeAzureRoleDefinition(property.Value, options); continue; } if (property.NameEquals("providerAuthorizationConsentState"u8)) diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ProviderPermissionListResult.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ProviderPermissionListResult.Serialization.cs index 5ec6e30b14ef6..d50c681bfe484 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ProviderPermissionListResult.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ProviderPermissionListResult.Serialization.cs @@ -94,7 +94,7 @@ internal static ProviderPermissionListResult DeserializeProviderPermissionListRe List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ProviderPermission.DeserializeProviderPermission(item)); + array.Add(ProviderPermission.DeserializeProviderPermission(item, options)); } value = array; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ProviderRegistrationContent.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ProviderRegistrationContent.Serialization.cs index 52c26f0f03b71..1d276547bd810 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ProviderRegistrationContent.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ProviderRegistrationContent.Serialization.cs @@ -80,7 +80,7 @@ internal static ProviderRegistrationContent DeserializeProviderRegistrationConte { continue; } - thirdPartyProviderConsent = ProviderConsentDefinition.DeserializeProviderConsentDefinition(property.Value); + thirdPartyProviderConsent = ProviderConsentDefinition.DeserializeProviderConsentDefinition(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ProviderResourceType.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ProviderResourceType.Serialization.cs index 777b4b7e085f6..bf824768d6b7f 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ProviderResourceType.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ProviderResourceType.Serialization.cs @@ -192,7 +192,7 @@ internal static ProviderResourceType DeserializeProviderResourceType(JsonElement List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ProviderExtendedLocation.DeserializeProviderExtendedLocation(item)); + array.Add(ProviderExtendedLocation.DeserializeProviderExtendedLocation(item, options)); } locationMappings = array; continue; @@ -206,7 +206,7 @@ internal static ProviderResourceType DeserializeProviderResourceType(JsonElement List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ResourceTypeAlias.DeserializeResourceTypeAlias(item)); + array.Add(ResourceTypeAlias.DeserializeResourceTypeAlias(item, options)); } aliases = array; continue; @@ -239,7 +239,7 @@ internal static ProviderResourceType DeserializeProviderResourceType(JsonElement List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ZoneMapping.DeserializeZoneMapping(item)); + array.Add(ZoneMapping.DeserializeZoneMapping(item, options)); } zoneMappings = array; continue; @@ -253,7 +253,7 @@ internal static ProviderResourceType DeserializeProviderResourceType(JsonElement List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ApiProfile.DeserializeApiProfile(item)); + array.Add(ApiProfile.DeserializeApiProfile(item, options)); } apiProfiles = array; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ProviderResourceTypeListResult.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ProviderResourceTypeListResult.Serialization.cs index ee43a6a5f7a4d..d108677ea3d46 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ProviderResourceTypeListResult.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ProviderResourceTypeListResult.Serialization.cs @@ -94,7 +94,7 @@ internal static ProviderResourceTypeListResult DeserializeProviderResourceTypeLi List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ProviderResourceType.DeserializeProviderResourceType(item)); + array.Add(ProviderResourceType.DeserializeProviderResourceType(item, options)); } value = array; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceGroupListResult.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceGroupListResult.Serialization.cs index aa69b381e7ad0..e6bed595476f4 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceGroupListResult.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceGroupListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ResourceGroupListResult DeserializeResourceGroupListResult(JsonE List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ResourceGroupData.DeserializeResourceGroupData(item)); + array.Add(ResourceGroupData.DeserializeResourceGroupData(item, options)); } value = array; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceGroupPatch.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceGroupPatch.Serialization.cs index 66c23365d7c76..c0c39ac2e8665 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceGroupPatch.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceGroupPatch.Serialization.cs @@ -109,7 +109,7 @@ internal static ResourceGroupPatch DeserializeResourceGroupPatch(JsonElement ele { continue; } - properties = ResourceGroupProperties.DeserializeResourceGroupProperties(property.Value); + properties = ResourceGroupProperties.DeserializeResourceGroupProperties(property.Value, options); continue; } if (property.NameEquals("managedBy"u8)) diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceListResult.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceListResult.Serialization.cs index 73664c68944aa..f10036e100ebf 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceListResult.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ResourceListResult DeserializeResourceListResult(JsonElement ele List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(GenericResourceData.DeserializeGenericResourceData(item)); + array.Add(GenericResourceData.DeserializeGenericResourceData(item, options)); } value = array; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceProviderListResult.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceProviderListResult.Serialization.cs index 5a2451fd7a79d..e07d043f6cb34 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceProviderListResult.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceProviderListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ResourceProviderListResult DeserializeResourceProviderListResult List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ResourceProviderData.DeserializeResourceProviderData(item)); + array.Add(ResourceProviderData.DeserializeResourceProviderData(item, options)); } value = array; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceSelector.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceSelector.Serialization.cs index 02d3cec72622e..c88ea379b2c23 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceSelector.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceSelector.Serialization.cs @@ -99,7 +99,7 @@ internal static ResourceSelector DeserializeResourceSelector(JsonElement element List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ResourceSelectorExpression.DeserializeResourceSelectorExpression(item)); + array.Add(ResourceSelectorExpression.DeserializeResourceSelectorExpression(item, options)); } selectors = array; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceTypeAlias.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceTypeAlias.Serialization.cs index 9993f75bdb8c3..4069fefede021 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceTypeAlias.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceTypeAlias.Serialization.cs @@ -123,7 +123,7 @@ internal static ResourceTypeAlias DeserializeResourceTypeAlias(JsonElement eleme List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ResourceTypeAliasPath.DeserializeResourceTypeAliasPath(item)); + array.Add(ResourceTypeAliasPath.DeserializeResourceTypeAliasPath(item, options)); } paths = array; continue; @@ -148,7 +148,7 @@ internal static ResourceTypeAlias DeserializeResourceTypeAlias(JsonElement eleme { continue; } - defaultPattern = ResourceTypeAliasPattern.DeserializeResourceTypeAliasPattern(property.Value); + defaultPattern = ResourceTypeAliasPattern.DeserializeResourceTypeAliasPattern(property.Value, options); continue; } if (property.NameEquals("defaultMetadata"u8)) @@ -157,7 +157,7 @@ internal static ResourceTypeAlias DeserializeResourceTypeAlias(JsonElement eleme { continue; } - defaultMetadata = ResourceTypeAliasPathMetadata.DeserializeResourceTypeAliasPathMetadata(property.Value); + defaultMetadata = ResourceTypeAliasPathMetadata.DeserializeResourceTypeAliasPathMetadata(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceTypeAliasPath.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceTypeAliasPath.Serialization.cs index ea9a4c66a95d9..bef0f39d8df99 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceTypeAliasPath.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceTypeAliasPath.Serialization.cs @@ -122,7 +122,7 @@ internal static ResourceTypeAliasPath DeserializeResourceTypeAliasPath(JsonEleme { continue; } - pattern = ResourceTypeAliasPattern.DeserializeResourceTypeAliasPattern(property.Value); + pattern = ResourceTypeAliasPattern.DeserializeResourceTypeAliasPattern(property.Value, options); continue; } if (property.NameEquals("metadata"u8)) @@ -131,7 +131,7 @@ internal static ResourceTypeAliasPath DeserializeResourceTypeAliasPath(JsonEleme { continue; } - metadata = ResourceTypeAliasPathMetadata.DeserializeResourceTypeAliasPathMetadata(property.Value); + metadata = ResourceTypeAliasPathMetadata.DeserializeResourceTypeAliasPathMetadata(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceTypeAliases.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceTypeAliases.Serialization.cs index 722d104387fb9..d8aa04c77da4e 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceTypeAliases.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/ResourceTypeAliases.Serialization.cs @@ -99,7 +99,7 @@ internal static ResourceTypeAliases DeserializeResourceTypeAliases(JsonElement e List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ResourceTypeAlias.DeserializeResourceTypeAlias(item)); + array.Add(ResourceTypeAlias.DeserializeResourceTypeAlias(item, options)); } aliases = array; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/SubscriptionListResult.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/SubscriptionListResult.Serialization.cs index 5f75eb23cef93..eaf8a681e1f09 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/SubscriptionListResult.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/SubscriptionListResult.Serialization.cs @@ -92,7 +92,7 @@ internal static SubscriptionListResult DeserializeSubscriptionListResult(JsonEle List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SubscriptionData.DeserializeSubscriptionData(item)); + array.Add(SubscriptionData.DeserializeSubscriptionData(item, options)); } value = array; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/TagResourcePatch.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/TagResourcePatch.Serialization.cs index 4a437d5fb7f08..f6008739b0a58 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/TagResourcePatch.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/TagResourcePatch.Serialization.cs @@ -95,7 +95,7 @@ internal static TagResourcePatch DeserializeTagResourcePatch(JsonElement element { continue; } - properties = Tag.DeserializeTag(property.Value); + properties = Tag.DeserializeTag(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/TenantListResult.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/TenantListResult.Serialization.cs index b408cce63ebe9..4998a830f72c1 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/TenantListResult.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/TenantListResult.Serialization.cs @@ -92,7 +92,7 @@ internal static TenantListResult DeserializeTenantListResult(JsonElement element List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(TenantData.DeserializeTenantData(item)); + array.Add(TenantData.DeserializeTenantData(item, options)); } value = array; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/TenantResourceProvider.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/TenantResourceProvider.Serialization.cs index dd5925bc55fe9..4acfd8d8fed35 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/TenantResourceProvider.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/TenantResourceProvider.Serialization.cs @@ -99,7 +99,7 @@ internal static TenantResourceProvider DeserializeTenantResourceProvider(JsonEle List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ProviderResourceType.DeserializeProviderResourceType(item)); + array.Add(ProviderResourceType.DeserializeProviderResourceType(item, options)); } resourceTypes = array; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/TenantResourceProviderListResult.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/TenantResourceProviderListResult.Serialization.cs index 07f977d4cff2e..f0a474e532414 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/TenantResourceProviderListResult.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/Models/TenantResourceProviderListResult.Serialization.cs @@ -94,7 +94,7 @@ internal static TenantResourceProviderListResult DeserializeTenantResourceProvid List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(TenantResourceProvider.DeserializeTenantResourceProvider(item)); + array.Add(TenantResourceProvider.DeserializeTenantResourceProvider(item, options)); } value = array; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/PolicyAssignmentData.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/PolicyAssignmentData.Serialization.cs index 97449f736f70c..1bcb399fa58e7 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/PolicyAssignmentData.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/PolicyAssignmentData.Serialization.cs @@ -297,7 +297,7 @@ internal static PolicyAssignmentData DeserializePolicyAssignmentData(JsonElement Dictionary dictionary = new Dictionary(); foreach (var property1 in property0.Value.EnumerateObject()) { - dictionary.Add(property1.Name, ArmPolicyParameterValue.DeserializeArmPolicyParameterValue(property1.Value)); + dictionary.Add(property1.Name, ArmPolicyParameterValue.DeserializeArmPolicyParameterValue(property1.Value, options)); } parameters = dictionary; continue; @@ -334,7 +334,7 @@ internal static PolicyAssignmentData DeserializePolicyAssignmentData(JsonElement List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(NonComplianceMessage.DeserializeNonComplianceMessage(item)); + array.Add(NonComplianceMessage.DeserializeNonComplianceMessage(item, options)); } nonComplianceMessages = array; continue; @@ -348,7 +348,7 @@ internal static PolicyAssignmentData DeserializePolicyAssignmentData(JsonElement List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ResourceSelector.DeserializeResourceSelector(item)); + array.Add(ResourceSelector.DeserializeResourceSelector(item, options)); } resourceSelectors = array; continue; @@ -362,7 +362,7 @@ internal static PolicyAssignmentData DeserializePolicyAssignmentData(JsonElement List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(PolicyOverride.DeserializePolicyOverride(item)); + array.Add(PolicyOverride.DeserializePolicyOverride(item, options)); } overrides = array; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/PolicyDefinitionData.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/PolicyDefinitionData.Serialization.cs index 37770c5898b99..2ad3ec11e4ce9 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/PolicyDefinitionData.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/PolicyDefinitionData.Serialization.cs @@ -243,7 +243,7 @@ internal static PolicyDefinitionData DeserializePolicyDefinitionData(JsonElement Dictionary dictionary = new Dictionary(); foreach (var property1 in property0.Value.EnumerateObject()) { - dictionary.Add(property1.Name, ArmPolicyParameter.DeserializeArmPolicyParameter(property1.Value)); + dictionary.Add(property1.Name, ArmPolicyParameter.DeserializeArmPolicyParameter(property1.Value, options)); } parameters = dictionary; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/PolicySetDefinitionData.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/PolicySetDefinitionData.Serialization.cs index 57d9c39d68d4f..f45b14beb0ddb 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/PolicySetDefinitionData.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/PolicySetDefinitionData.Serialization.cs @@ -232,7 +232,7 @@ internal static PolicySetDefinitionData DeserializePolicySetDefinitionData(JsonE Dictionary dictionary = new Dictionary(); foreach (var property1 in property0.Value.EnumerateObject()) { - dictionary.Add(property1.Name, ArmPolicyParameter.DeserializeArmPolicyParameter(property1.Value)); + dictionary.Add(property1.Name, ArmPolicyParameter.DeserializeArmPolicyParameter(property1.Value, options)); } parameters = dictionary; continue; @@ -246,7 +246,7 @@ internal static PolicySetDefinitionData DeserializePolicySetDefinitionData(JsonE List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(PolicyDefinitionReference.DeserializePolicyDefinitionReference(item)); + array.Add(PolicyDefinitionReference.DeserializePolicyDefinitionReference(item, options)); } policyDefinitions = array; continue; @@ -260,7 +260,7 @@ internal static PolicySetDefinitionData DeserializePolicySetDefinitionData(JsonE List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(PolicyDefinitionGroup.DeserializePolicyDefinitionGroup(item)); + array.Add(PolicyDefinitionGroup.DeserializePolicyDefinitionGroup(item, options)); } policyDefinitionGroups = array; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/ResourceGroupData.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/ResourceGroupData.Serialization.cs index 4780d95fa2f1f..91a9706b2e89f 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/ResourceGroupData.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/ResourceGroupData.Serialization.cs @@ -127,7 +127,7 @@ internal static ResourceGroupData DeserializeResourceGroupData(JsonElement eleme { continue; } - properties = ResourceGroupProperties.DeserializeResourceGroupProperties(property.Value); + properties = ResourceGroupProperties.DeserializeResourceGroupProperties(property.Value, options); continue; } if (property.NameEquals("managedBy"u8)) diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/ResourceProviderData.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/ResourceProviderData.Serialization.cs index a210809c0a509..05b401768a9eb 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/ResourceProviderData.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/ResourceProviderData.Serialization.cs @@ -143,7 +143,7 @@ internal static ResourceProviderData DeserializeResourceProviderData(JsonElement List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ProviderResourceType.DeserializeProviderResourceType(item)); + array.Add(ProviderResourceType.DeserializeProviderResourceType(item, options)); } resourceTypes = array; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/SubscriptionData.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/SubscriptionData.Serialization.cs index 325efe9ba1713..c2b4110d97f4c 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/SubscriptionData.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/SubscriptionData.Serialization.cs @@ -177,7 +177,7 @@ internal static SubscriptionData DeserializeSubscriptionData(JsonElement element { continue; } - subscriptionPolicies = SubscriptionPolicies.DeserializeSubscriptionPolicies(property.Value); + subscriptionPolicies = SubscriptionPolicies.DeserializeSubscriptionPolicies(property.Value, options); continue; } if (property.NameEquals("authorizationSource"u8)) @@ -194,7 +194,7 @@ internal static SubscriptionData DeserializeSubscriptionData(JsonElement element List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedByTenant.DeserializeManagedByTenant(item)); + array.Add(ManagedByTenant.DeserializeManagedByTenant(item, options)); } managedByTenants = array; continue; diff --git a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/TagResourceData.Serialization.cs b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/TagResourceData.Serialization.cs index 08b94f97ef524..f1f42505da5ae 100644 --- a/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/TagResourceData.Serialization.cs +++ b/sdk/resourcemanager/Azure.ResourceManager/src/Resources/Generated/TagResourceData.Serialization.cs @@ -99,7 +99,7 @@ internal static TagResourceData DeserializeTagResourceData(JsonElement element, { if (property.NameEquals("properties"u8)) { - properties = Tag.DeserializeTag(property.Value); + properties = Tag.DeserializeTag(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/AffectedMoverResourceInfo.Serialization.cs b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/AffectedMoverResourceInfo.Serialization.cs index 48eaba3757691..bc8a2756e9b1f 100644 --- a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/AffectedMoverResourceInfo.Serialization.cs +++ b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/AffectedMoverResourceInfo.Serialization.cs @@ -118,7 +118,7 @@ internal static AffectedMoverResourceInfo DeserializeAffectedMoverResourceInfo(J List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DeserializeAffectedMoverResourceInfo(item)); + array.Add(DeserializeAffectedMoverResourceInfo(item, options)); } moveResources = array; continue; diff --git a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/LoadBalancerFrontendIPConfigurationResourceSettings.Serialization.cs b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/LoadBalancerFrontendIPConfigurationResourceSettings.Serialization.cs index e2f287d53e067..8a5a30951c7cd 100644 --- a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/LoadBalancerFrontendIPConfigurationResourceSettings.Serialization.cs +++ b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/LoadBalancerFrontendIPConfigurationResourceSettings.Serialization.cs @@ -124,7 +124,7 @@ internal static LoadBalancerFrontendIPConfigurationResourceSettings DeserializeL { continue; } - subnet = SubnetReferenceInfo.DeserializeSubnetReferenceInfo(property.Value); + subnet = SubnetReferenceInfo.DeserializeSubnetReferenceInfo(property.Value, options); continue; } if (property.NameEquals("zones"u8)) diff --git a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/LoadBalancerResourceSettings.Serialization.cs b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/LoadBalancerResourceSettings.Serialization.cs index 53d458b496d4e..c982df79123de 100644 --- a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/LoadBalancerResourceSettings.Serialization.cs +++ b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/LoadBalancerResourceSettings.Serialization.cs @@ -157,7 +157,7 @@ internal static LoadBalancerResourceSettings DeserializeLoadBalancerResourceSett List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(LoadBalancerFrontendIPConfigurationResourceSettings.DeserializeLoadBalancerFrontendIPConfigurationResourceSettings(item)); + array.Add(LoadBalancerFrontendIPConfigurationResourceSettings.DeserializeLoadBalancerFrontendIPConfigurationResourceSettings(item, options)); } frontendIPConfigurations = array; continue; @@ -171,7 +171,7 @@ internal static LoadBalancerResourceSettings DeserializeLoadBalancerResourceSett List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(LoadBalancerBackendAddressPoolResourceSettings.DeserializeLoadBalancerBackendAddressPoolResourceSettings(item)); + array.Add(LoadBalancerBackendAddressPoolResourceSettings.DeserializeLoadBalancerBackendAddressPoolResourceSettings(item, options)); } backendAddressPools = array; continue; diff --git a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoveCollectionResultList.Serialization.cs b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoveCollectionResultList.Serialization.cs index 2661a2b1f17fd..288e7ef19e0c4 100644 --- a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoveCollectionResultList.Serialization.cs +++ b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoveCollectionResultList.Serialization.cs @@ -95,7 +95,7 @@ internal static MoveCollectionResultList DeserializeMoveCollectionResultList(Jso List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(MoverResourceSetData.DeserializeMoverResourceSetData(item)); + array.Add(MoverResourceSetData.DeserializeMoverResourceSetData(item, options)); } value = array; continue; diff --git a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoveErrorInfo.Serialization.cs b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoveErrorInfo.Serialization.cs index bbf7036a07e2c..f2718c0f632a9 100644 --- a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoveErrorInfo.Serialization.cs +++ b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoveErrorInfo.Serialization.cs @@ -88,7 +88,7 @@ internal static MoveErrorInfo DeserializeMoveErrorInfo(JsonElement element, Mode List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(AffectedMoverResourceInfo.DeserializeAffectedMoverResourceInfo(item)); + array.Add(AffectedMoverResourceInfo.DeserializeAffectedMoverResourceInfo(item, options)); } moveResources = array; continue; diff --git a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverOperationErrorAdditionalInfo.Serialization.cs b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverOperationErrorAdditionalInfo.Serialization.cs index 2b7f834b3e825..ec7a277e21aa5 100644 --- a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverOperationErrorAdditionalInfo.Serialization.cs +++ b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverOperationErrorAdditionalInfo.Serialization.cs @@ -91,7 +91,7 @@ internal static MoverOperationErrorAdditionalInfo DeserializeMoverOperationError { continue; } - info = MoveErrorInfo.DeserializeMoveErrorInfo(property.Value); + info = MoveErrorInfo.DeserializeMoveErrorInfo(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverOperationStatus.Serialization.cs b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverOperationStatus.Serialization.cs index 1642298deecf2..63f6fa20ead13 100644 --- a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverOperationStatus.Serialization.cs +++ b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverOperationStatus.Serialization.cs @@ -168,7 +168,7 @@ internal static MoverOperationStatus DeserializeMoverOperationStatus(JsonElement error = null; continue; } - error = MoverOperationStatusError.DeserializeMoverOperationStatusError(property.Value); + error = MoverOperationStatusError.DeserializeMoverOperationStatusError(property.Value, options); continue; } if (property.NameEquals("properties"u8)) diff --git a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverOperationStatusError.Serialization.cs b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverOperationStatusError.Serialization.cs index b1816afd03002..718513f8fe48c 100644 --- a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverOperationStatusError.Serialization.cs +++ b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverOperationStatusError.Serialization.cs @@ -128,7 +128,7 @@ internal static MoverOperationStatusError DeserializeMoverOperationStatusError(J List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DeserializeMoverOperationStatusError(item)); + array.Add(DeserializeMoverOperationStatusError(item, options)); } details = array; continue; @@ -143,7 +143,7 @@ internal static MoverOperationStatusError DeserializeMoverOperationStatusError(J List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(MoverOperationErrorAdditionalInfo.DeserializeMoverOperationErrorAdditionalInfo(item)); + array.Add(MoverOperationErrorAdditionalInfo.DeserializeMoverOperationErrorAdditionalInfo(item, options)); } additionalInfo = array; continue; diff --git a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverOperationsDiscovery.Serialization.cs b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverOperationsDiscovery.Serialization.cs index 6345ae522d9aa..4cfdc7a1d5e99 100644 --- a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverOperationsDiscovery.Serialization.cs +++ b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverOperationsDiscovery.Serialization.cs @@ -125,7 +125,7 @@ internal static MoverOperationsDiscovery DeserializeMoverOperationsDiscovery(Jso { continue; } - display = MoverDisplayInfo.DeserializeMoverDisplayInfo(property.Value); + display = MoverDisplayInfo.DeserializeMoverDisplayInfo(property.Value, options); continue; } if (property.NameEquals("origin"u8)) diff --git a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverOperationsDiscoveryList.Serialization.cs b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverOperationsDiscoveryList.Serialization.cs index f47e8ccb51653..d139313e157cb 100644 --- a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverOperationsDiscoveryList.Serialization.cs +++ b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverOperationsDiscoveryList.Serialization.cs @@ -94,7 +94,7 @@ internal static MoverOperationsDiscoveryList DeserializeMoverOperationsDiscovery List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(MoverOperationsDiscovery.DeserializeMoverOperationsDiscovery(item)); + array.Add(MoverOperationsDiscovery.DeserializeMoverOperationsDiscovery(item, options)); } value = array; continue; diff --git a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverResourceDependency.Serialization.cs b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverResourceDependency.Serialization.cs index 4eab13a0b107c..4164b4a7ee68c 100644 --- a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverResourceDependency.Serialization.cs +++ b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverResourceDependency.Serialization.cs @@ -148,7 +148,7 @@ internal static MoverResourceDependency DeserializeMoverResourceDependency(JsonE { continue; } - manualResolution = ManualResolutionProperties.DeserializeManualResolutionProperties(property.Value); + manualResolution = ManualResolutionProperties.DeserializeManualResolutionProperties(property.Value, options); continue; } if (property.NameEquals("automaticResolution"u8)) @@ -157,7 +157,7 @@ internal static MoverResourceDependency DeserializeMoverResourceDependency(JsonE { continue; } - automaticResolution = AutomaticResolutionProperties.DeserializeAutomaticResolutionProperties(property.Value); + automaticResolution = AutomaticResolutionProperties.DeserializeAutomaticResolutionProperties(property.Value, options); continue; } if (property.NameEquals("isOptional"u8)) diff --git a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverResourceList.Serialization.cs b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverResourceList.Serialization.cs index 790a199853518..ad1ef239a731e 100644 --- a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverResourceList.Serialization.cs +++ b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverResourceList.Serialization.cs @@ -114,7 +114,7 @@ internal static MoverResourceList DeserializeMoverResourceList(JsonElement eleme List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(MoverResourceData.DeserializeMoverResourceData(item)); + array.Add(MoverResourceData.DeserializeMoverResourceData(item, options)); } value = array; continue; @@ -131,7 +131,7 @@ internal static MoverResourceList DeserializeMoverResourceList(JsonElement eleme summaryCollection = null; continue; } - summaryCollection = MoverSummaryList.DeserializeMoverSummaryList(property.Value); + summaryCollection = MoverSummaryList.DeserializeMoverSummaryList(property.Value, options); continue; } if (property.NameEquals("totalCount"u8)) diff --git a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverResourceProperties.Serialization.cs b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverResourceProperties.Serialization.cs index 9e779931ed501..13260c45b4e40 100644 --- a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverResourceProperties.Serialization.cs +++ b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverResourceProperties.Serialization.cs @@ -217,7 +217,7 @@ internal static MoverResourceProperties DeserializeMoverResourceProperties(JsonE resourceSettings = null; continue; } - resourceSettings = MoverResourceSettings.DeserializeMoverResourceSettings(property.Value); + resourceSettings = MoverResourceSettings.DeserializeMoverResourceSettings(property.Value, options); continue; } if (property.NameEquals("sourceResourceSettings"u8)) @@ -227,7 +227,7 @@ internal static MoverResourceProperties DeserializeMoverResourceProperties(JsonE sourceResourceSettings = null; continue; } - sourceResourceSettings = MoverResourceSettings.DeserializeMoverResourceSettings(property.Value); + sourceResourceSettings = MoverResourceSettings.DeserializeMoverResourceSettings(property.Value, options); continue; } if (property.NameEquals("moveStatus"u8)) @@ -236,7 +236,7 @@ internal static MoverResourceProperties DeserializeMoverResourceProperties(JsonE { continue; } - moveStatus = MoverResourcePropertiesMoveStatus.DeserializeMoverResourcePropertiesMoveStatus(property.Value); + moveStatus = MoverResourcePropertiesMoveStatus.DeserializeMoverResourcePropertiesMoveStatus(property.Value, options); continue; } if (property.NameEquals("dependsOn"u8)) @@ -248,7 +248,7 @@ internal static MoverResourceProperties DeserializeMoverResourceProperties(JsonE List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(MoverResourceDependency.DeserializeMoverResourceDependency(item)); + array.Add(MoverResourceDependency.DeserializeMoverResourceDependency(item, options)); } dependsOn = array; continue; @@ -262,7 +262,7 @@ internal static MoverResourceProperties DeserializeMoverResourceProperties(JsonE List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(MoverResourceDependencyOverride.DeserializeMoverResourceDependencyOverride(item)); + array.Add(MoverResourceDependencyOverride.DeserializeMoverResourceDependencyOverride(item, options)); } dependsOnOverrides = array; continue; @@ -283,7 +283,7 @@ internal static MoverResourceProperties DeserializeMoverResourceProperties(JsonE errors = null; continue; } - errors = MoveResourcePropertiesErrors.DeserializeMoveResourcePropertiesErrors(property.Value); + errors = MoveResourcePropertiesErrors.DeserializeMoveResourcePropertiesErrors(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverResourcePropertiesMoveStatus.Serialization.cs b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverResourcePropertiesMoveStatus.Serialization.cs index dc298fb9fe306..314389bfe1408 100644 --- a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverResourcePropertiesMoveStatus.Serialization.cs +++ b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverResourcePropertiesMoveStatus.Serialization.cs @@ -116,7 +116,7 @@ internal static MoverResourcePropertiesMoveStatus DeserializeMoverResourceProper jobStatus = null; continue; } - jobStatus = MoverResourceJobStatus.DeserializeMoverResourceJobStatus(property.Value); + jobStatus = MoverResourceJobStatus.DeserializeMoverResourceJobStatus(property.Value, options); continue; } if (property.NameEquals("errors"u8)) @@ -126,7 +126,7 @@ internal static MoverResourcePropertiesMoveStatus DeserializeMoverResourceProper errors = null; continue; } - errors = MoveResourceError.DeserializeMoveResourceError(property.Value); + errors = MoveResourceError.DeserializeMoveResourceError(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverResourceSetProperties.Serialization.cs b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverResourceSetProperties.Serialization.cs index 92d49ad4fb850..8cec8015b7786 100644 --- a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverResourceSetProperties.Serialization.cs +++ b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverResourceSetProperties.Serialization.cs @@ -174,7 +174,7 @@ internal static MoverResourceSetProperties DeserializeMoverResourceSetProperties errors = null; continue; } - errors = MoveCollectionPropertiesErrors.DeserializeMoveCollectionPropertiesErrors(property.Value); + errors = MoveCollectionPropertiesErrors.DeserializeMoveCollectionPropertiesErrors(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverResourceSettings.Serialization.cs b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverResourceSettings.Serialization.cs index e649e9dd68f4b..3f1382190b8f6 100644 --- a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverResourceSettings.Serialization.cs +++ b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverResourceSettings.Serialization.cs @@ -80,22 +80,22 @@ internal static MoverResourceSettings DeserializeMoverResourceSettings(JsonEleme { switch (discriminator.GetString()) { - case "Microsoft.Compute/availabilitySets": return MoverAvailabilitySetResourceSettings.DeserializeMoverAvailabilitySetResourceSettings(element); - case "Microsoft.Compute/diskEncryptionSets": return DiskEncryptionSetResourceSettings.DeserializeDiskEncryptionSetResourceSettings(element); - case "Microsoft.Compute/virtualMachines": return VirtualMachineResourceSettings.DeserializeVirtualMachineResourceSettings(element); - case "Microsoft.KeyVault/vaults": return KeyVaultResourceSettings.DeserializeKeyVaultResourceSettings(element); - case "Microsoft.Network/loadBalancers": return LoadBalancerResourceSettings.DeserializeLoadBalancerResourceSettings(element); - case "Microsoft.Network/networkInterfaces": return NetworkInterfaceResourceSettings.DeserializeNetworkInterfaceResourceSettings(element); - case "Microsoft.Network/networkSecurityGroups": return NetworkSecurityGroupResourceSettings.DeserializeNetworkSecurityGroupResourceSettings(element); - case "Microsoft.Network/publicIPAddresses": return PublicIPAddressResourceSettings.DeserializePublicIPAddressResourceSettings(element); - case "Microsoft.Network/virtualNetworks": return MoverVirtualNetworkResourceSettings.DeserializeMoverVirtualNetworkResourceSettings(element); - case "Microsoft.Sql/servers": return SqlServerResourceSettings.DeserializeSqlServerResourceSettings(element); - case "Microsoft.Sql/servers/databases": return SqlDatabaseResourceSettings.DeserializeSqlDatabaseResourceSettings(element); - case "Microsoft.Sql/servers/elasticPools": return SqlElasticPoolResourceSettings.DeserializeSqlElasticPoolResourceSettings(element); - case "resourceGroups": return ResourceGroupResourceSettings.DeserializeResourceGroupResourceSettings(element); + case "Microsoft.Compute/availabilitySets": return MoverAvailabilitySetResourceSettings.DeserializeMoverAvailabilitySetResourceSettings(element, options); + case "Microsoft.Compute/diskEncryptionSets": return DiskEncryptionSetResourceSettings.DeserializeDiskEncryptionSetResourceSettings(element, options); + case "Microsoft.Compute/virtualMachines": return VirtualMachineResourceSettings.DeserializeVirtualMachineResourceSettings(element, options); + case "Microsoft.KeyVault/vaults": return KeyVaultResourceSettings.DeserializeKeyVaultResourceSettings(element, options); + case "Microsoft.Network/loadBalancers": return LoadBalancerResourceSettings.DeserializeLoadBalancerResourceSettings(element, options); + case "Microsoft.Network/networkInterfaces": return NetworkInterfaceResourceSettings.DeserializeNetworkInterfaceResourceSettings(element, options); + case "Microsoft.Network/networkSecurityGroups": return NetworkSecurityGroupResourceSettings.DeserializeNetworkSecurityGroupResourceSettings(element, options); + case "Microsoft.Network/publicIPAddresses": return PublicIPAddressResourceSettings.DeserializePublicIPAddressResourceSettings(element, options); + case "Microsoft.Network/virtualNetworks": return MoverVirtualNetworkResourceSettings.DeserializeMoverVirtualNetworkResourceSettings(element, options); + case "Microsoft.Sql/servers": return SqlServerResourceSettings.DeserializeSqlServerResourceSettings(element, options); + case "Microsoft.Sql/servers/databases": return SqlDatabaseResourceSettings.DeserializeSqlDatabaseResourceSettings(element, options); + case "Microsoft.Sql/servers/elasticPools": return SqlElasticPoolResourceSettings.DeserializeSqlElasticPoolResourceSettings(element, options); + case "resourceGroups": return ResourceGroupResourceSettings.DeserializeResourceGroupResourceSettings(element, options); } } - return UnknownResourceSettings.DeserializeUnknownResourceSettings(element); + return UnknownResourceSettings.DeserializeUnknownResourceSettings(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverResourceStatus.Serialization.cs b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverResourceStatus.Serialization.cs index 52ddb1d66b97c..f5f3abfb3b18d 100644 --- a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverResourceStatus.Serialization.cs +++ b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverResourceStatus.Serialization.cs @@ -116,7 +116,7 @@ internal static MoverResourceStatus DeserializeMoverResourceStatus(JsonElement e jobStatus = null; continue; } - jobStatus = MoverResourceJobStatus.DeserializeMoverResourceJobStatus(property.Value); + jobStatus = MoverResourceJobStatus.DeserializeMoverResourceJobStatus(property.Value, options); continue; } if (property.NameEquals("errors"u8)) @@ -126,7 +126,7 @@ internal static MoverResourceStatus DeserializeMoverResourceStatus(JsonElement e errors = null; continue; } - errors = MoveResourceError.DeserializeMoveResourceError(property.Value); + errors = MoveResourceError.DeserializeMoveResourceError(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverSummaryList.Serialization.cs b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverSummaryList.Serialization.cs index 6ec29ddadba39..0b6ca7ceb7012 100644 --- a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverSummaryList.Serialization.cs +++ b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverSummaryList.Serialization.cs @@ -99,7 +99,7 @@ internal static MoverSummaryList DeserializeMoverSummaryList(JsonElement element List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(MoverSummaryItemInfo.DeserializeMoverSummaryItemInfo(item)); + array.Add(MoverSummaryItemInfo.DeserializeMoverSummaryItemInfo(item, options)); } summary = array; continue; diff --git a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverUnresolvedDependencyList.Serialization.cs b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverUnresolvedDependencyList.Serialization.cs index 30bb4179710b5..02c6f148e27c3 100644 --- a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverUnresolvedDependencyList.Serialization.cs +++ b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverUnresolvedDependencyList.Serialization.cs @@ -106,7 +106,7 @@ internal static MoverUnresolvedDependencyList DeserializeMoverUnresolvedDependen List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(MoverUnresolvedDependency.DeserializeMoverUnresolvedDependency(item)); + array.Add(MoverUnresolvedDependency.DeserializeMoverUnresolvedDependency(item, options)); } value = array; continue; @@ -122,7 +122,7 @@ internal static MoverUnresolvedDependencyList DeserializeMoverUnresolvedDependen { continue; } - summaryCollection = MoverSummaryList.DeserializeMoverSummaryList(property.Value); + summaryCollection = MoverSummaryList.DeserializeMoverSummaryList(property.Value, options); continue; } if (property.NameEquals("totalCount"u8)) diff --git a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverVirtualNetworkResourceSettings.Serialization.cs b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverVirtualNetworkResourceSettings.Serialization.cs index b95b57b610538..97ec4aa5b088a 100644 --- a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverVirtualNetworkResourceSettings.Serialization.cs +++ b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/MoverVirtualNetworkResourceSettings.Serialization.cs @@ -234,7 +234,7 @@ internal static MoverVirtualNetworkResourceSettings DeserializeMoverVirtualNetwo List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SubnetResourceSettings.DeserializeSubnetResourceSettings(item)); + array.Add(SubnetResourceSettings.DeserializeSubnetResourceSettings(item, options)); } subnets = array; continue; diff --git a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/NetworkInterfaceResourceSettings.Serialization.cs b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/NetworkInterfaceResourceSettings.Serialization.cs index ee4b7d08bef37..6feb8faee13ed 100644 --- a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/NetworkInterfaceResourceSettings.Serialization.cs +++ b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/NetworkInterfaceResourceSettings.Serialization.cs @@ -142,7 +142,7 @@ internal static NetworkInterfaceResourceSettings DeserializeNetworkInterfaceReso List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(NicIPConfigurationResourceSettings.DeserializeNicIPConfigurationResourceSettings(item)); + array.Add(NicIPConfigurationResourceSettings.DeserializeNicIPConfigurationResourceSettings(item, options)); } ipConfigurations = array; continue; diff --git a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/NetworkSecurityGroupResourceSettings.Serialization.cs b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/NetworkSecurityGroupResourceSettings.Serialization.cs index 60c4cb3345637..96c8eac52a7db 100644 --- a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/NetworkSecurityGroupResourceSettings.Serialization.cs +++ b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/NetworkSecurityGroupResourceSettings.Serialization.cs @@ -129,7 +129,7 @@ internal static NetworkSecurityGroupResourceSettings DeserializeNetworkSecurityG List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(NetworkSecurityGroupSecurityRule.DeserializeNetworkSecurityGroupSecurityRule(item)); + array.Add(NetworkSecurityGroupSecurityRule.DeserializeNetworkSecurityGroupSecurityRule(item, options)); } securityRules = array; continue; diff --git a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/NicIPConfigurationResourceSettings.Serialization.cs b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/NicIPConfigurationResourceSettings.Serialization.cs index 2e974bd71f203..0241cf8155200 100644 --- a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/NicIPConfigurationResourceSettings.Serialization.cs +++ b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/NicIPConfigurationResourceSettings.Serialization.cs @@ -152,7 +152,7 @@ internal static NicIPConfigurationResourceSettings DeserializeNicIPConfiguration { continue; } - subnet = SubnetReferenceInfo.DeserializeSubnetReferenceInfo(property.Value); + subnet = SubnetReferenceInfo.DeserializeSubnetReferenceInfo(property.Value, options); continue; } if (property.NameEquals("primary"u8)) @@ -173,7 +173,7 @@ internal static NicIPConfigurationResourceSettings DeserializeNicIPConfiguration List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(LoadBalancerBackendAddressPoolReferenceInfo.DeserializeLoadBalancerBackendAddressPoolReferenceInfo(item)); + array.Add(LoadBalancerBackendAddressPoolReferenceInfo.DeserializeLoadBalancerBackendAddressPoolReferenceInfo(item, options)); } loadBalancerBackendAddressPools = array; continue; @@ -187,7 +187,7 @@ internal static NicIPConfigurationResourceSettings DeserializeNicIPConfiguration List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(LoadBalancerNatRuleReferenceInfo.DeserializeLoadBalancerNatRuleReferenceInfo(item)); + array.Add(LoadBalancerNatRuleReferenceInfo.DeserializeLoadBalancerNatRuleReferenceInfo(item, options)); } loadBalancerNatRules = array; continue; @@ -198,7 +198,7 @@ internal static NicIPConfigurationResourceSettings DeserializeNicIPConfiguration { continue; } - publicIP = PublicIPReferenceInfo.DeserializePublicIPReferenceInfo(property.Value); + publicIP = PublicIPReferenceInfo.DeserializePublicIPReferenceInfo(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/SubnetResourceSettings.Serialization.cs b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/SubnetResourceSettings.Serialization.cs index 3f4f8002c291d..fb2a2a28d5388 100644 --- a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/SubnetResourceSettings.Serialization.cs +++ b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/Models/SubnetResourceSettings.Serialization.cs @@ -110,7 +110,7 @@ internal static SubnetResourceSettings DeserializeSubnetResourceSettings(JsonEle networkSecurityGroup = null; continue; } - networkSecurityGroup = NetworkSecurityGroupResourceReferenceInfo.DeserializeNetworkSecurityGroupResourceReferenceInfo(property.Value); + networkSecurityGroup = NetworkSecurityGroupResourceReferenceInfo.DeserializeNetworkSecurityGroupResourceReferenceInfo(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/MoverResourceData.Serialization.cs b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/MoverResourceData.Serialization.cs index 20bfa2a4e2499..99142f8ad5cfd 100644 --- a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/MoverResourceData.Serialization.cs +++ b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/MoverResourceData.Serialization.cs @@ -106,7 +106,7 @@ internal static MoverResourceData DeserializeMoverResourceData(JsonElement eleme { continue; } - properties = MoverResourceProperties.DeserializeMoverResourceProperties(property.Value); + properties = MoverResourceProperties.DeserializeMoverResourceProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/MoverResourceSetData.Serialization.cs b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/MoverResourceSetData.Serialization.cs index 0dc9a3cddb681..216dc1ab20292 100644 --- a/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/MoverResourceSetData.Serialization.cs +++ b/sdk/resourcemover/Azure.ResourceManager.ResourceMover/src/Generated/MoverResourceSetData.Serialization.cs @@ -152,7 +152,7 @@ internal static MoverResourceSetData DeserializeMoverResourceSetData(JsonElement { continue; } - properties = MoverResourceSetProperties.DeserializeMoverResourceSetProperties(property.Value); + properties = MoverResourceSetProperties.DeserializeMoverResourceSetProperties(property.Value, options); continue; } if (property.NameEquals("tags"u8)) diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ArmApplicationData.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ArmApplicationData.Serialization.cs index 5334852c79e70..5417b53934df0 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ArmApplicationData.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ArmApplicationData.Serialization.cs @@ -273,7 +273,7 @@ internal static ArmApplicationData DeserializeArmApplicationData(JsonElement ele { continue; } - identity = ArmApplicationManagedIdentity.DeserializeArmApplicationManagedIdentity(property.Value); + identity = ArmApplicationManagedIdentity.DeserializeArmApplicationManagedIdentity(property.Value, options); continue; } if (property.NameEquals("managedBy"u8)) @@ -287,7 +287,7 @@ internal static ArmApplicationData DeserializeArmApplicationData(JsonElement ele { continue; } - sku = ArmApplicationSku.DeserializeArmApplicationSku(property.Value); + sku = ArmApplicationSku.DeserializeArmApplicationSku(property.Value, options); continue; } if (property.NameEquals("tags"u8)) @@ -393,7 +393,7 @@ internal static ArmApplicationData DeserializeArmApplicationData(JsonElement ele { continue; } - billingDetails = ArmApplicationBillingDetails.DeserializeArmApplicationBillingDetails(property0.Value); + billingDetails = ArmApplicationBillingDetails.DeserializeArmApplicationBillingDetails(property0.Value, options); continue; } if (property0.NameEquals("jitAccessPolicy"u8)) @@ -402,7 +402,7 @@ internal static ArmApplicationData DeserializeArmApplicationData(JsonElement ele { continue; } - jitAccessPolicy = ArmApplicationJitAccessPolicy.DeserializeArmApplicationJitAccessPolicy(property0.Value); + jitAccessPolicy = ArmApplicationJitAccessPolicy.DeserializeArmApplicationJitAccessPolicy(property0.Value, options); continue; } if (property0.NameEquals("publisherTenantId"u8)) @@ -423,7 +423,7 @@ internal static ArmApplicationData DeserializeArmApplicationData(JsonElement ele List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ArmApplicationAuthorization.DeserializeArmApplicationAuthorization(item)); + array.Add(ArmApplicationAuthorization.DeserializeArmApplicationAuthorization(item, options)); } authorizations = array; continue; @@ -443,7 +443,7 @@ internal static ArmApplicationData DeserializeArmApplicationData(JsonElement ele { continue; } - customerSupport = ArmApplicationPackageContact.DeserializeArmApplicationPackageContact(property0.Value); + customerSupport = ArmApplicationPackageContact.DeserializeArmApplicationPackageContact(property0.Value, options); continue; } if (property0.NameEquals("supportUrls"u8)) @@ -452,7 +452,7 @@ internal static ArmApplicationData DeserializeArmApplicationData(JsonElement ele { continue; } - supportUris = ArmApplicationPackageSupportUris.DeserializeArmApplicationPackageSupportUris(property0.Value); + supportUris = ArmApplicationPackageSupportUris.DeserializeArmApplicationPackageSupportUris(property0.Value, options); continue; } if (property0.NameEquals("artifacts"u8)) @@ -464,7 +464,7 @@ internal static ArmApplicationData DeserializeArmApplicationData(JsonElement ele List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ArmApplicationArtifact.DeserializeArmApplicationArtifact(item)); + array.Add(ArmApplicationArtifact.DeserializeArmApplicationArtifact(item, options)); } artifacts = array; continue; @@ -475,7 +475,7 @@ internal static ArmApplicationData DeserializeArmApplicationData(JsonElement ele { continue; } - createdBy = ArmApplicationDetails.DeserializeArmApplicationDetails(property0.Value); + createdBy = ArmApplicationDetails.DeserializeArmApplicationDetails(property0.Value, options); continue; } if (property0.NameEquals("updatedBy"u8)) @@ -484,7 +484,7 @@ internal static ArmApplicationData DeserializeArmApplicationData(JsonElement ele { continue; } - updatedBy = ArmApplicationDetails.DeserializeArmApplicationDetails(property0.Value); + updatedBy = ArmApplicationDetails.DeserializeArmApplicationDetails(property0.Value, options); continue; } } diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ArmApplicationDefinitionData.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ArmApplicationDefinitionData.Serialization.cs index 8fe18eae4a122..69e96d1f7e3c1 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ArmApplicationDefinitionData.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ArmApplicationDefinitionData.Serialization.cs @@ -245,7 +245,7 @@ internal static ArmApplicationDefinitionData DeserializeArmApplicationDefinition { continue; } - sku = ArmApplicationSku.DeserializeArmApplicationSku(property.Value); + sku = ArmApplicationSku.DeserializeArmApplicationSku(property.Value, options); continue; } if (property.NameEquals("tags"u8)) @@ -328,7 +328,7 @@ internal static ArmApplicationDefinitionData DeserializeArmApplicationDefinition List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ArmApplicationAuthorization.DeserializeArmApplicationAuthorization(item)); + array.Add(ArmApplicationAuthorization.DeserializeArmApplicationAuthorization(item, options)); } authorizations = array; continue; @@ -342,7 +342,7 @@ internal static ArmApplicationDefinitionData DeserializeArmApplicationDefinition List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ArmApplicationDefinitionArtifact.DeserializeArmApplicationDefinitionArtifact(item)); + array.Add(ArmApplicationDefinitionArtifact.DeserializeArmApplicationDefinitionArtifact(item, options)); } artifacts = array; continue; @@ -385,7 +385,7 @@ internal static ArmApplicationDefinitionData DeserializeArmApplicationDefinition { continue; } - notificationPolicy = ArmApplicationNotificationPolicy.DeserializeArmApplicationNotificationPolicy(property0.Value); + notificationPolicy = ArmApplicationNotificationPolicy.DeserializeArmApplicationNotificationPolicy(property0.Value, options); continue; } if (property0.NameEquals("lockingPolicy"u8)) @@ -394,7 +394,7 @@ internal static ArmApplicationDefinitionData DeserializeArmApplicationDefinition { continue; } - lockingPolicy = ArmApplicationPackageLockingPolicy.DeserializeArmApplicationPackageLockingPolicy(property0.Value); + lockingPolicy = ArmApplicationPackageLockingPolicy.DeserializeArmApplicationPackageLockingPolicy(property0.Value, options); continue; } if (property0.NameEquals("deploymentPolicy"u8)) @@ -403,7 +403,7 @@ internal static ArmApplicationDefinitionData DeserializeArmApplicationDefinition { continue; } - deploymentPolicy = ArmApplicationDeploymentPolicy.DeserializeArmApplicationDeploymentPolicy(property0.Value); + deploymentPolicy = ArmApplicationDeploymentPolicy.DeserializeArmApplicationDeploymentPolicy(property0.Value, options); continue; } if (property0.NameEquals("managementPolicy"u8)) @@ -412,7 +412,7 @@ internal static ArmApplicationDefinitionData DeserializeArmApplicationDefinition { continue; } - managementPolicy = ArmApplicationManagementPolicy.DeserializeArmApplicationManagementPolicy(property0.Value); + managementPolicy = ArmApplicationManagementPolicy.DeserializeArmApplicationManagementPolicy(property0.Value, options); continue; } if (property0.NameEquals("policies"u8)) @@ -424,7 +424,7 @@ internal static ArmApplicationDefinitionData DeserializeArmApplicationDefinition List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ArmApplicationPolicy.DeserializeArmApplicationPolicy(item)); + array.Add(ArmApplicationPolicy.DeserializeArmApplicationPolicy(item, options)); } policies = array; continue; diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ArmDeploymentData.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ArmDeploymentData.Serialization.cs index ac080613d1677..a98d65447fc88 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ArmDeploymentData.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ArmDeploymentData.Serialization.cs @@ -133,7 +133,7 @@ internal static ArmDeploymentData DeserializeArmDeploymentData(JsonElement eleme { continue; } - properties = ArmDeploymentPropertiesExtended.DeserializeArmDeploymentPropertiesExtended(property.Value); + properties = ArmDeploymentPropertiesExtended.DeserializeArmDeploymentPropertiesExtended(property.Value, options); continue; } if (property.NameEquals("tags"u8)) diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ArmDeploymentScriptData.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ArmDeploymentScriptData.Serialization.cs index 2d32e9e7fe133..06eb4d97df4c8 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ArmDeploymentScriptData.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/ArmDeploymentScriptData.Serialization.cs @@ -108,11 +108,11 @@ internal static ArmDeploymentScriptData DeserializeArmDeploymentScriptData(JsonE { switch (discriminator.GetString()) { - case "AzureCLI": return AzureCliScript.DeserializeAzureCliScript(element); - case "AzurePowerShell": return AzurePowerShellScript.DeserializeAzurePowerShellScript(element); + case "AzureCLI": return AzureCliScript.DeserializeAzureCliScript(element, options); + case "AzurePowerShell": return AzurePowerShellScript.DeserializeAzurePowerShellScript(element, options); } } - return UnknownArmDeploymentScript.DeserializeUnknownArmDeploymentScript(element); + return UnknownArmDeploymentScript.DeserializeUnknownArmDeploymentScript(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/JitRequestData.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/JitRequestData.Serialization.cs index 6644411a93e1e..d1b4d9a587da9 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/JitRequestData.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/JitRequestData.Serialization.cs @@ -240,7 +240,7 @@ internal static JitRequestData DeserializeJitRequestData(JsonElement element, Mo List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(Models.JitAuthorizationPolicies.DeserializeJitAuthorizationPolicies(item)); + array.Add(Models.JitAuthorizationPolicies.DeserializeJitAuthorizationPolicies(item, options)); } jitAuthorizationPolicies = array; continue; @@ -251,7 +251,7 @@ internal static JitRequestData DeserializeJitRequestData(JsonElement element, Mo { continue; } - jitSchedulingPolicy = JitSchedulingPolicy.DeserializeJitSchedulingPolicy(property0.Value); + jitSchedulingPolicy = JitSchedulingPolicy.DeserializeJitSchedulingPolicy(property0.Value, options); continue; } if (property0.NameEquals("provisioningState"u8)) @@ -278,7 +278,7 @@ internal static JitRequestData DeserializeJitRequestData(JsonElement element, Mo { continue; } - createdBy = ArmApplicationDetails.DeserializeArmApplicationDetails(property0.Value); + createdBy = ArmApplicationDetails.DeserializeArmApplicationDetails(property0.Value, options); continue; } if (property0.NameEquals("updatedBy"u8)) @@ -287,7 +287,7 @@ internal static JitRequestData DeserializeJitRequestData(JsonElement element, Mo { continue; } - updatedBy = ArmApplicationDetails.DeserializeArmApplicationDetails(property0.Value); + updatedBy = ArmApplicationDetails.DeserializeArmApplicationDetails(property0.Value, options); continue; } } diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationDefinitionListResult.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationDefinitionListResult.Serialization.cs index 4a58b6acabf34..34c1282e290f2 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationDefinitionListResult.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationDefinitionListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ArmApplicationDefinitionListResult DeserializeArmApplicationDefi List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ArmApplicationDefinitionData.DeserializeArmApplicationDefinitionData(item)); + array.Add(ArmApplicationDefinitionData.DeserializeArmApplicationDefinitionData(item, options)); } value = array; continue; diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationJitAccessPolicy.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationJitAccessPolicy.Serialization.cs index f737dc59de1f9..b63edbdb6a548 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationJitAccessPolicy.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationJitAccessPolicy.Serialization.cs @@ -117,7 +117,7 @@ internal static ArmApplicationJitAccessPolicy DeserializeArmApplicationJitAccess List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(JitApprover.DeserializeJitApprover(item)); + array.Add(JitApprover.DeserializeJitApprover(item, options)); } jitApprovers = array; continue; diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationListResult.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationListResult.Serialization.cs index 41e839b75fba2..bd50ae9bcc19c 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationListResult.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ArmApplicationListResult DeserializeArmApplicationListResult(Jso List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ArmApplicationData.DeserializeArmApplicationData(item)); + array.Add(ArmApplicationData.DeserializeArmApplicationData(item, options)); } value = array; continue; diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationManagedIdentity.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationManagedIdentity.Serialization.cs index e78e1df4c3942..b9cedeeaf9ca0 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationManagedIdentity.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationManagedIdentity.Serialization.cs @@ -134,7 +134,7 @@ internal static ArmApplicationManagedIdentity DeserializeArmApplicationManagedId Dictionary dictionary = new Dictionary(); foreach (var property0 in property.Value.EnumerateObject()) { - dictionary.Add(property0.Name, ArmApplicationUserAssignedIdentity.DeserializeArmApplicationUserAssignedIdentity(property0.Value)); + dictionary.Add(property0.Name, ArmApplicationUserAssignedIdentity.DeserializeArmApplicationUserAssignedIdentity(property0.Value, options)); } userAssignedIdentities = dictionary; continue; diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationNotificationPolicy.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationNotificationPolicy.Serialization.cs index c738bd850b585..d1c847c510f14 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationNotificationPolicy.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationNotificationPolicy.Serialization.cs @@ -81,7 +81,7 @@ internal static ArmApplicationNotificationPolicy DeserializeArmApplicationNotifi List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ArmApplicationNotificationEndpoint.DeserializeArmApplicationNotificationEndpoint(item)); + array.Add(ArmApplicationNotificationEndpoint.DeserializeArmApplicationNotificationEndpoint(item, options)); } notificationEndpoints = array; continue; diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationPatch.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationPatch.Serialization.cs index d59fb8274c872..b276848ff71f7 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationPatch.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationPatch.Serialization.cs @@ -275,7 +275,7 @@ internal static ArmApplicationPatch DeserializeArmApplicationPatch(JsonElement e { continue; } - identity = ArmApplicationManagedIdentity.DeserializeArmApplicationManagedIdentity(property.Value); + identity = ArmApplicationManagedIdentity.DeserializeArmApplicationManagedIdentity(property.Value, options); continue; } if (property.NameEquals("managedBy"u8)) @@ -289,7 +289,7 @@ internal static ArmApplicationPatch DeserializeArmApplicationPatch(JsonElement e { continue; } - sku = ArmApplicationSku.DeserializeArmApplicationSku(property.Value); + sku = ArmApplicationSku.DeserializeArmApplicationSku(property.Value, options); continue; } if (property.NameEquals("tags"u8)) @@ -395,7 +395,7 @@ internal static ArmApplicationPatch DeserializeArmApplicationPatch(JsonElement e { continue; } - billingDetails = ArmApplicationBillingDetails.DeserializeArmApplicationBillingDetails(property0.Value); + billingDetails = ArmApplicationBillingDetails.DeserializeArmApplicationBillingDetails(property0.Value, options); continue; } if (property0.NameEquals("jitAccessPolicy"u8)) @@ -404,7 +404,7 @@ internal static ArmApplicationPatch DeserializeArmApplicationPatch(JsonElement e { continue; } - jitAccessPolicy = ArmApplicationJitAccessPolicy.DeserializeArmApplicationJitAccessPolicy(property0.Value); + jitAccessPolicy = ArmApplicationJitAccessPolicy.DeserializeArmApplicationJitAccessPolicy(property0.Value, options); continue; } if (property0.NameEquals("publisherTenantId"u8)) @@ -425,7 +425,7 @@ internal static ArmApplicationPatch DeserializeArmApplicationPatch(JsonElement e List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ArmApplicationAuthorization.DeserializeArmApplicationAuthorization(item)); + array.Add(ArmApplicationAuthorization.DeserializeArmApplicationAuthorization(item, options)); } authorizations = array; continue; @@ -445,7 +445,7 @@ internal static ArmApplicationPatch DeserializeArmApplicationPatch(JsonElement e { continue; } - customerSupport = ArmApplicationPackageContact.DeserializeArmApplicationPackageContact(property0.Value); + customerSupport = ArmApplicationPackageContact.DeserializeArmApplicationPackageContact(property0.Value, options); continue; } if (property0.NameEquals("supportUrls"u8)) @@ -454,7 +454,7 @@ internal static ArmApplicationPatch DeserializeArmApplicationPatch(JsonElement e { continue; } - supportUris = ArmApplicationPackageSupportUris.DeserializeArmApplicationPackageSupportUris(property0.Value); + supportUris = ArmApplicationPackageSupportUris.DeserializeArmApplicationPackageSupportUris(property0.Value, options); continue; } if (property0.NameEquals("artifacts"u8)) @@ -466,7 +466,7 @@ internal static ArmApplicationPatch DeserializeArmApplicationPatch(JsonElement e List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ArmApplicationArtifact.DeserializeArmApplicationArtifact(item)); + array.Add(ArmApplicationArtifact.DeserializeArmApplicationArtifact(item, options)); } artifacts = array; continue; @@ -477,7 +477,7 @@ internal static ArmApplicationPatch DeserializeArmApplicationPatch(JsonElement e { continue; } - createdBy = ArmApplicationDetails.DeserializeArmApplicationDetails(property0.Value); + createdBy = ArmApplicationDetails.DeserializeArmApplicationDetails(property0.Value, options); continue; } if (property0.NameEquals("updatedBy"u8)) @@ -486,7 +486,7 @@ internal static ArmApplicationPatch DeserializeArmApplicationPatch(JsonElement e { continue; } - updatedBy = ArmApplicationDetails.DeserializeArmApplicationDetails(property0.Value); + updatedBy = ArmApplicationDetails.DeserializeArmApplicationDetails(property0.Value, options); continue; } } diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationResourceData.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationResourceData.Serialization.cs index 5e35820e754e1..cd61c981ce44c 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationResourceData.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmApplicationResourceData.Serialization.cs @@ -131,7 +131,7 @@ internal static ArmApplicationResourceData DeserializeArmApplicationResourceData { continue; } - sku = ArmApplicationSku.DeserializeArmApplicationSku(property.Value); + sku = ArmApplicationSku.DeserializeArmApplicationSku(property.Value, options); continue; } if (property.NameEquals("tags"u8)) diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDependency.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDependency.Serialization.cs index 428fc768892ab..5d5b6eee36c2f 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDependency.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDependency.Serialization.cs @@ -106,7 +106,7 @@ internal static ArmDependency DeserializeArmDependency(JsonElement element, Mode List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(BasicArmDependency.DeserializeBasicArmDependency(item)); + array.Add(BasicArmDependency.DeserializeBasicArmDependency(item, options)); } dependsOn = array; continue; diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentContent.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentContent.Serialization.cs index c4b838091bab8..e9974d035628f 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentContent.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentContent.Serialization.cs @@ -100,7 +100,7 @@ internal static ArmDeploymentContent DeserializeArmDeploymentContent(JsonElement } if (property.NameEquals("properties"u8)) { - properties = ArmDeploymentProperties.DeserializeArmDeploymentProperties(property.Value); + properties = ArmDeploymentProperties.DeserializeArmDeploymentProperties(property.Value, options); continue; } if (property.NameEquals("tags"u8)) diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentListResult.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentListResult.Serialization.cs index 0a64e07da301b..da9520e0d00d2 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentListResult.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ArmDeploymentListResult DeserializeArmDeploymentListResult(JsonE List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ArmDeploymentData.DeserializeArmDeploymentData(item)); + array.Add(ArmDeploymentData.DeserializeArmDeploymentData(item, options)); } value = array; continue; diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentOperation.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentOperation.Serialization.cs index abe23e9d12741..e332f8b6effb8 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentOperation.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentOperation.Serialization.cs @@ -102,7 +102,7 @@ internal static ArmDeploymentOperation DeserializeArmDeploymentOperation(JsonEle { continue; } - properties = ArmDeploymentOperationProperties.DeserializeArmDeploymentOperationProperties(property.Value); + properties = ArmDeploymentOperationProperties.DeserializeArmDeploymentOperationProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentOperationProperties.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentOperationProperties.Serialization.cs index 17027b137c462..fc514f61b4b1a 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentOperationProperties.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentOperationProperties.Serialization.cs @@ -184,7 +184,7 @@ internal static ArmDeploymentOperationProperties DeserializeArmDeploymentOperati statusMessage = null; continue; } - statusMessage = StatusMessage.DeserializeStatusMessage(property.Value); + statusMessage = StatusMessage.DeserializeStatusMessage(property.Value, options); continue; } if (property.NameEquals("targetResource"u8)) @@ -193,7 +193,7 @@ internal static ArmDeploymentOperationProperties DeserializeArmDeploymentOperati { continue; } - targetResource = TargetResource.DeserializeTargetResource(property.Value); + targetResource = TargetResource.DeserializeTargetResource(property.Value, options); continue; } if (property.NameEquals("request"u8)) @@ -202,7 +202,7 @@ internal static ArmDeploymentOperationProperties DeserializeArmDeploymentOperati { continue; } - request = HttpMessage.DeserializeHttpMessage(property.Value); + request = HttpMessage.DeserializeHttpMessage(property.Value, options); continue; } if (property.NameEquals("response"u8)) @@ -211,7 +211,7 @@ internal static ArmDeploymentOperationProperties DeserializeArmDeploymentOperati { continue; } - response = HttpMessage.DeserializeHttpMessage(property.Value); + response = HttpMessage.DeserializeHttpMessage(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentOperationsListResult.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentOperationsListResult.Serialization.cs index cce443ae13a6d..a5e4e021fff9f 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentOperationsListResult.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentOperationsListResult.Serialization.cs @@ -94,7 +94,7 @@ internal static ArmDeploymentOperationsListResult DeserializeArmDeploymentOperat List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ArmDeploymentOperation.DeserializeArmDeploymentOperation(item)); + array.Add(ArmDeploymentOperation.DeserializeArmDeploymentOperation(item, options)); } value = array; continue; diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentProperties.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentProperties.Serialization.cs index 5991a863ce7ab..11bae197905af 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentProperties.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentProperties.Serialization.cs @@ -142,7 +142,7 @@ internal static ArmDeploymentProperties DeserializeArmDeploymentProperties(JsonE { continue; } - templateLink = ArmDeploymentTemplateLink.DeserializeArmDeploymentTemplateLink(property.Value); + templateLink = ArmDeploymentTemplateLink.DeserializeArmDeploymentTemplateLink(property.Value, options); continue; } if (property.NameEquals("parameters"u8)) @@ -160,7 +160,7 @@ internal static ArmDeploymentProperties DeserializeArmDeploymentProperties(JsonE { continue; } - parametersLink = ArmDeploymentParametersLink.DeserializeArmDeploymentParametersLink(property.Value); + parametersLink = ArmDeploymentParametersLink.DeserializeArmDeploymentParametersLink(property.Value, options); continue; } if (property.NameEquals("mode"u8)) @@ -174,7 +174,7 @@ internal static ArmDeploymentProperties DeserializeArmDeploymentProperties(JsonE { continue; } - debugSetting = DebugSetting.DeserializeDebugSetting(property.Value); + debugSetting = DebugSetting.DeserializeDebugSetting(property.Value, options); continue; } if (property.NameEquals("onErrorDeployment"u8)) @@ -183,7 +183,7 @@ internal static ArmDeploymentProperties DeserializeArmDeploymentProperties(JsonE { continue; } - onErrorDeployment = ErrorDeployment.DeserializeErrorDeployment(property.Value); + onErrorDeployment = ErrorDeployment.DeserializeErrorDeployment(property.Value, options); continue; } if (property.NameEquals("expressionEvaluationOptions"u8)) @@ -192,7 +192,7 @@ internal static ArmDeploymentProperties DeserializeArmDeploymentProperties(JsonE { continue; } - expressionEvaluationOptions = ExpressionEvaluationOptions.DeserializeExpressionEvaluationOptions(property.Value); + expressionEvaluationOptions = ExpressionEvaluationOptions.DeserializeExpressionEvaluationOptions(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentPropertiesExtended.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentPropertiesExtended.Serialization.cs index 517834ccd1040..ab0ed0583f129 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentPropertiesExtended.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentPropertiesExtended.Serialization.cs @@ -270,7 +270,7 @@ internal static ArmDeploymentPropertiesExtended DeserializeArmDeploymentProperti List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ArmDependency.DeserializeArmDependency(item)); + array.Add(ArmDependency.DeserializeArmDependency(item, options)); } dependencies = array; continue; @@ -281,7 +281,7 @@ internal static ArmDeploymentPropertiesExtended DeserializeArmDeploymentProperti { continue; } - templateLink = ArmDeploymentTemplateLink.DeserializeArmDeploymentTemplateLink(property.Value); + templateLink = ArmDeploymentTemplateLink.DeserializeArmDeploymentTemplateLink(property.Value, options); continue; } if (property.NameEquals("parameters"u8)) @@ -299,7 +299,7 @@ internal static ArmDeploymentPropertiesExtended DeserializeArmDeploymentProperti { continue; } - parametersLink = ArmDeploymentParametersLink.DeserializeArmDeploymentParametersLink(property.Value); + parametersLink = ArmDeploymentParametersLink.DeserializeArmDeploymentParametersLink(property.Value, options); continue; } if (property.NameEquals("mode"u8)) @@ -317,7 +317,7 @@ internal static ArmDeploymentPropertiesExtended DeserializeArmDeploymentProperti { continue; } - debugSetting = DebugSetting.DeserializeDebugSetting(property.Value); + debugSetting = DebugSetting.DeserializeDebugSetting(property.Value, options); continue; } if (property.NameEquals("onErrorDeployment"u8)) @@ -326,7 +326,7 @@ internal static ArmDeploymentPropertiesExtended DeserializeArmDeploymentProperti { continue; } - onErrorDeployment = ErrorDeploymentExtended.DeserializeErrorDeploymentExtended(property.Value); + onErrorDeployment = ErrorDeploymentExtended.DeserializeErrorDeploymentExtended(property.Value, options); continue; } if (property.NameEquals("templateHash"u8)) diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentScriptListResult.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentScriptListResult.Serialization.cs index 4c06b32573ea1..ec66d571c40ad 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentScriptListResult.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentScriptListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ArmDeploymentScriptListResult DeserializeArmDeploymentScriptList List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ArmDeploymentScriptData.DeserializeArmDeploymentScriptData(item)); + array.Add(ArmDeploymentScriptData.DeserializeArmDeploymentScriptData(item, options)); } value = array; continue; diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentScriptPropertiesBase.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentScriptPropertiesBase.Serialization.cs index 3220d2425fa24..2d67c0a3ec23a 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentScriptPropertiesBase.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentScriptPropertiesBase.Serialization.cs @@ -117,7 +117,7 @@ internal static ArmDeploymentScriptPropertiesBase DeserializeArmDeploymentScript { continue; } - containerSettings = ContainerConfiguration.DeserializeContainerConfiguration(property.Value); + containerSettings = ContainerConfiguration.DeserializeContainerConfiguration(property.Value, options); continue; } if (property.NameEquals("storageAccountSettings"u8)) @@ -126,7 +126,7 @@ internal static ArmDeploymentScriptPropertiesBase DeserializeArmDeploymentScript { continue; } - storageAccountSettings = ScriptStorageConfiguration.DeserializeScriptStorageConfiguration(property.Value); + storageAccountSettings = ScriptStorageConfiguration.DeserializeScriptStorageConfiguration(property.Value, options); continue; } if (property.NameEquals("cleanupPreference"u8)) @@ -153,7 +153,7 @@ internal static ArmDeploymentScriptPropertiesBase DeserializeArmDeploymentScript { continue; } - status = ScriptStatus.DeserializeScriptStatus(property.Value); + status = ScriptStatus.DeserializeScriptStatus(property.Value, options); continue; } if (property.NameEquals("outputs"u8)) diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentValidateResult.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentValidateResult.Serialization.cs index 83e58ef49774a..e27a6d464e2fa 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentValidateResult.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentValidateResult.Serialization.cs @@ -96,7 +96,7 @@ internal static ArmDeploymentValidateResult DeserializeArmDeploymentValidateResu { continue; } - properties = ArmDeploymentPropertiesExtended.DeserializeArmDeploymentPropertiesExtended(property.Value); + properties = ArmDeploymentPropertiesExtended.DeserializeArmDeploymentPropertiesExtended(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentWhatIfContent.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentWhatIfContent.Serialization.cs index dca7116633606..2df23648669be 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentWhatIfContent.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentWhatIfContent.Serialization.cs @@ -88,7 +88,7 @@ internal static ArmDeploymentWhatIfContent DeserializeArmDeploymentWhatIfContent } if (property.NameEquals("properties"u8)) { - properties = ArmDeploymentWhatIfProperties.DeserializeArmDeploymentWhatIfProperties(property.Value); + properties = ArmDeploymentWhatIfProperties.DeserializeArmDeploymentWhatIfProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentWhatIfProperties.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentWhatIfProperties.Serialization.cs index e9bd0b465760d..a37ccf9a86e18 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentWhatIfProperties.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ArmDeploymentWhatIfProperties.Serialization.cs @@ -139,7 +139,7 @@ internal static ArmDeploymentWhatIfProperties DeserializeArmDeploymentWhatIfProp { continue; } - whatIfSettings = ArmDeploymentWhatIfSettings.DeserializeArmDeploymentWhatIfSettings(property.Value); + whatIfSettings = ArmDeploymentWhatIfSettings.DeserializeArmDeploymentWhatIfSettings(property.Value, options); continue; } if (property.NameEquals("template"u8)) @@ -157,7 +157,7 @@ internal static ArmDeploymentWhatIfProperties DeserializeArmDeploymentWhatIfProp { continue; } - templateLink = ArmDeploymentTemplateLink.DeserializeArmDeploymentTemplateLink(property.Value); + templateLink = ArmDeploymentTemplateLink.DeserializeArmDeploymentTemplateLink(property.Value, options); continue; } if (property.NameEquals("parameters"u8)) @@ -175,7 +175,7 @@ internal static ArmDeploymentWhatIfProperties DeserializeArmDeploymentWhatIfProp { continue; } - parametersLink = ArmDeploymentParametersLink.DeserializeArmDeploymentParametersLink(property.Value); + parametersLink = ArmDeploymentParametersLink.DeserializeArmDeploymentParametersLink(property.Value, options); continue; } if (property.NameEquals("mode"u8)) @@ -189,7 +189,7 @@ internal static ArmDeploymentWhatIfProperties DeserializeArmDeploymentWhatIfProp { continue; } - debugSetting = DebugSetting.DeserializeDebugSetting(property.Value); + debugSetting = DebugSetting.DeserializeDebugSetting(property.Value, options); continue; } if (property.NameEquals("onErrorDeployment"u8)) @@ -198,7 +198,7 @@ internal static ArmDeploymentWhatIfProperties DeserializeArmDeploymentWhatIfProp { continue; } - onErrorDeployment = ErrorDeployment.DeserializeErrorDeployment(property.Value); + onErrorDeployment = ErrorDeployment.DeserializeErrorDeployment(property.Value, options); continue; } if (property.NameEquals("expressionEvaluationOptions"u8)) @@ -207,7 +207,7 @@ internal static ArmDeploymentWhatIfProperties DeserializeArmDeploymentWhatIfProp { continue; } - expressionEvaluationOptions = ExpressionEvaluationOptions.DeserializeExpressionEvaluationOptions(property.Value); + expressionEvaluationOptions = ExpressionEvaluationOptions.DeserializeExpressionEvaluationOptions(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/AzureCliScript.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/AzureCliScript.Serialization.cs index 5bf1003144143..4ce95d7c4a6e5 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/AzureCliScript.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/AzureCliScript.Serialization.cs @@ -232,7 +232,7 @@ internal static AzureCliScript DeserializeAzureCliScript(JsonElement element, Mo { continue; } - identity = ArmDeploymentScriptManagedIdentity.DeserializeArmDeploymentScriptManagedIdentity(property.Value); + identity = ArmDeploymentScriptManagedIdentity.DeserializeArmDeploymentScriptManagedIdentity(property.Value, options); continue; } if (property.NameEquals("location"u8)) @@ -298,7 +298,7 @@ internal static AzureCliScript DeserializeAzureCliScript(JsonElement element, Mo { continue; } - containerSettings = ContainerConfiguration.DeserializeContainerConfiguration(property0.Value); + containerSettings = ContainerConfiguration.DeserializeContainerConfiguration(property0.Value, options); continue; } if (property0.NameEquals("storageAccountSettings"u8)) @@ -307,7 +307,7 @@ internal static AzureCliScript DeserializeAzureCliScript(JsonElement element, Mo { continue; } - storageAccountSettings = ScriptStorageConfiguration.DeserializeScriptStorageConfiguration(property0.Value); + storageAccountSettings = ScriptStorageConfiguration.DeserializeScriptStorageConfiguration(property0.Value, options); continue; } if (property0.NameEquals("cleanupPreference"u8)) @@ -334,7 +334,7 @@ internal static AzureCliScript DeserializeAzureCliScript(JsonElement element, Mo { continue; } - status = ScriptStatus.DeserializeScriptStatus(property0.Value); + status = ScriptStatus.DeserializeScriptStatus(property0.Value, options); continue; } if (property0.NameEquals("outputs"u8)) @@ -395,7 +395,7 @@ internal static AzureCliScript DeserializeAzureCliScript(JsonElement element, Mo List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ScriptEnvironmentVariable.DeserializeScriptEnvironmentVariable(item)); + array.Add(ScriptEnvironmentVariable.DeserializeScriptEnvironmentVariable(item, options)); } environmentVariables = array; continue; diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/AzurePowerShellScript.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/AzurePowerShellScript.Serialization.cs index 0b06ed74da701..68272725a282c 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/AzurePowerShellScript.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/AzurePowerShellScript.Serialization.cs @@ -232,7 +232,7 @@ internal static AzurePowerShellScript DeserializeAzurePowerShellScript(JsonEleme { continue; } - identity = ArmDeploymentScriptManagedIdentity.DeserializeArmDeploymentScriptManagedIdentity(property.Value); + identity = ArmDeploymentScriptManagedIdentity.DeserializeArmDeploymentScriptManagedIdentity(property.Value, options); continue; } if (property.NameEquals("location"u8)) @@ -298,7 +298,7 @@ internal static AzurePowerShellScript DeserializeAzurePowerShellScript(JsonEleme { continue; } - containerSettings = ContainerConfiguration.DeserializeContainerConfiguration(property0.Value); + containerSettings = ContainerConfiguration.DeserializeContainerConfiguration(property0.Value, options); continue; } if (property0.NameEquals("storageAccountSettings"u8)) @@ -307,7 +307,7 @@ internal static AzurePowerShellScript DeserializeAzurePowerShellScript(JsonEleme { continue; } - storageAccountSettings = ScriptStorageConfiguration.DeserializeScriptStorageConfiguration(property0.Value); + storageAccountSettings = ScriptStorageConfiguration.DeserializeScriptStorageConfiguration(property0.Value, options); continue; } if (property0.NameEquals("cleanupPreference"u8)) @@ -334,7 +334,7 @@ internal static AzurePowerShellScript DeserializeAzurePowerShellScript(JsonEleme { continue; } - status = ScriptStatus.DeserializeScriptStatus(property0.Value); + status = ScriptStatus.DeserializeScriptStatus(property0.Value, options); continue; } if (property0.NameEquals("outputs"u8)) @@ -395,7 +395,7 @@ internal static AzurePowerShellScript DeserializeAzurePowerShellScript(JsonEleme List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ScriptEnvironmentVariable.DeserializeScriptEnvironmentVariable(item)); + array.Add(ScriptEnvironmentVariable.DeserializeScriptEnvironmentVariable(item, options)); } environmentVariables = array; continue; diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/JitRequestListResult.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/JitRequestListResult.Serialization.cs index a80d2fd4f1ebf..a31d139bbeb7f 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/JitRequestListResult.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/JitRequestListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static JitRequestListResult DeserializeJitRequestListResult(JsonElement List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(JitRequestData.DeserializeJitRequestData(item)); + array.Add(JitRequestData.DeserializeJitRequestData(item, options)); } value = array; continue; diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ScriptLogsList.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ScriptLogsList.Serialization.cs index d365e87e7fa04..1aa8f3e80451b 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ScriptLogsList.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/ScriptLogsList.Serialization.cs @@ -89,7 +89,7 @@ internal static ScriptLogsList DeserializeScriptLogsList(JsonElement element, Mo List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ScriptLogData.DeserializeScriptLogData(item)); + array.Add(ScriptLogData.DeserializeScriptLogData(item, options)); } value = array; continue; diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/TemplateSpecVersionsListResult.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/TemplateSpecVersionsListResult.Serialization.cs index 58a49045d2f20..ab7ce616deb15 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/TemplateSpecVersionsListResult.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/TemplateSpecVersionsListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static TemplateSpecVersionsListResult DeserializeTemplateSpecVersionsLi List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(TemplateSpecVersionData.DeserializeTemplateSpecVersionData(item)); + array.Add(TemplateSpecVersionData.DeserializeTemplateSpecVersionData(item, options)); } value = array; continue; diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/TemplateSpecsListResult.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/TemplateSpecsListResult.Serialization.cs index b96429e83b100..2b401b4b334bc 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/TemplateSpecsListResult.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/TemplateSpecsListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static TemplateSpecsListResult DeserializeTemplateSpecsListResult(JsonE List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(TemplateSpecData.DeserializeTemplateSpecData(item)); + array.Add(TemplateSpecData.DeserializeTemplateSpecData(item, options)); } value = array; continue; diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/UnknownArmDeploymentScript.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/UnknownArmDeploymentScript.Serialization.cs index f9a3eccc52e2a..d70d69b30853d 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/UnknownArmDeploymentScript.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/UnknownArmDeploymentScript.Serialization.cs @@ -124,7 +124,7 @@ internal static UnknownArmDeploymentScript DeserializeUnknownArmDeploymentScript { continue; } - identity = ArmDeploymentScriptManagedIdentity.DeserializeArmDeploymentScriptManagedIdentity(property.Value); + identity = ArmDeploymentScriptManagedIdentity.DeserializeArmDeploymentScriptManagedIdentity(property.Value, options); continue; } if (property.NameEquals("location"u8)) diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/WhatIfChange.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/WhatIfChange.Serialization.cs index 75cc1fd192bdd..a18402da53c80 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/WhatIfChange.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/WhatIfChange.Serialization.cs @@ -159,7 +159,7 @@ internal static WhatIfChange DeserializeWhatIfChange(JsonElement element, ModelR List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(WhatIfPropertyChange.DeserializeWhatIfPropertyChange(item)); + array.Add(WhatIfPropertyChange.DeserializeWhatIfPropertyChange(item, options)); } delta = array; continue; diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/WhatIfOperationResult.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/WhatIfOperationResult.Serialization.cs index 84bc2710d220e..5a2d8de671189 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/WhatIfOperationResult.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/WhatIfOperationResult.Serialization.cs @@ -127,7 +127,7 @@ internal static WhatIfOperationResult DeserializeWhatIfOperationResult(JsonEleme List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(WhatIfChange.DeserializeWhatIfChange(item)); + array.Add(WhatIfChange.DeserializeWhatIfChange(item, options)); } changes = array; continue; diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/WhatIfPropertyChange.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/WhatIfPropertyChange.Serialization.cs index 1afb50350ebcf..15e07f616e6f1 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/WhatIfPropertyChange.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/Models/WhatIfPropertyChange.Serialization.cs @@ -148,7 +148,7 @@ internal static WhatIfPropertyChange DeserializeWhatIfPropertyChange(JsonElement List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DeserializeWhatIfPropertyChange(item)); + array.Add(DeserializeWhatIfPropertyChange(item, options)); } children = array; continue; diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/TemplateSpecData.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/TemplateSpecData.Serialization.cs index ac082f4110e70..9d2415cef3153 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/TemplateSpecData.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/TemplateSpecData.Serialization.cs @@ -229,7 +229,7 @@ internal static TemplateSpecData DeserializeTemplateSpecData(JsonElement element Dictionary dictionary = new Dictionary(); foreach (var property1 in property0.Value.EnumerateObject()) { - dictionary.Add(property1.Name, TemplateSpecVersionInfo.DeserializeTemplateSpecVersionInfo(property1.Value)); + dictionary.Add(property1.Name, TemplateSpecVersionInfo.DeserializeTemplateSpecVersionInfo(property1.Value, options)); } versions = dictionary; continue; diff --git a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/TemplateSpecVersionData.Serialization.cs b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/TemplateSpecVersionData.Serialization.cs index 587fb8c7707cc..e5c3509528b1e 100644 --- a/sdk/resources/Azure.ResourceManager.Resources/src/Generated/TemplateSpecVersionData.Serialization.cs +++ b/sdk/resources/Azure.ResourceManager.Resources/src/Generated/TemplateSpecVersionData.Serialization.cs @@ -234,7 +234,7 @@ internal static TemplateSpecVersionData DeserializeTemplateSpecVersionData(JsonE List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(LinkedTemplateArtifact.DeserializeLinkedTemplateArtifact(item)); + array.Add(LinkedTemplateArtifact.DeserializeLinkedTemplateArtifact(item, options)); } linkedTemplates = array; continue; diff --git a/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/ListQueryKeysResult.Serialization.cs b/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/ListQueryKeysResult.Serialization.cs index c6d98ce6d3513..61632ff6dab97 100644 --- a/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/ListQueryKeysResult.Serialization.cs +++ b/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/ListQueryKeysResult.Serialization.cs @@ -94,7 +94,7 @@ internal static ListQueryKeysResult DeserializeListQueryKeysResult(JsonElement e List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SearchServiceQueryKey.DeserializeSearchServiceQueryKey(item)); + array.Add(SearchServiceQueryKey.DeserializeSearchServiceQueryKey(item, options)); } value = array; continue; diff --git a/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/NetworkRuleSet.Serialization.cs b/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/NetworkRuleSet.Serialization.cs index 007986bf6c44d..4ebe4f02bef46 100644 --- a/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/NetworkRuleSet.Serialization.cs +++ b/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/NetworkRuleSet.Serialization.cs @@ -88,7 +88,7 @@ internal static NetworkRuleSet DeserializeNetworkRuleSet(JsonElement element, Mo List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SearchServiceIPRule.DeserializeSearchServiceIPRule(item)); + array.Add(SearchServiceIPRule.DeserializeSearchServiceIPRule(item, options)); } ipRules = array; continue; diff --git a/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/PrivateLinkResourcesResult.Serialization.cs b/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/PrivateLinkResourcesResult.Serialization.cs index c25b865d30154..6a270a1764a09 100644 --- a/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/PrivateLinkResourcesResult.Serialization.cs +++ b/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/PrivateLinkResourcesResult.Serialization.cs @@ -88,7 +88,7 @@ internal static PrivateLinkResourcesResult DeserializePrivateLinkResourcesResult List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SearchPrivateLinkResource.DeserializeSearchPrivateLinkResource(item)); + array.Add(SearchPrivateLinkResource.DeserializeSearchPrivateLinkResource(item, options)); } value = array; continue; diff --git a/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/QuotaUsageResult.Serialization.cs b/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/QuotaUsageResult.Serialization.cs index 075dd7cea78a4..40aae9279ea3b 100644 --- a/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/QuotaUsageResult.Serialization.cs +++ b/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/QuotaUsageResult.Serialization.cs @@ -136,7 +136,7 @@ internal static QuotaUsageResult DeserializeQuotaUsageResult(JsonElement element { continue; } - name = QuotaUsageResultName.DeserializeQuotaUsageResultName(property.Value); + name = QuotaUsageResultName.DeserializeQuotaUsageResultName(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/QuotaUsagesListResult.Serialization.cs b/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/QuotaUsagesListResult.Serialization.cs index 6154a10c474f7..43c108881869e 100644 --- a/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/QuotaUsagesListResult.Serialization.cs +++ b/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/QuotaUsagesListResult.Serialization.cs @@ -94,7 +94,7 @@ internal static QuotaUsagesListResult DeserializeQuotaUsagesListResult(JsonEleme List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(QuotaUsageResult.DeserializeQuotaUsageResult(item)); + array.Add(QuotaUsageResult.DeserializeQuotaUsageResult(item, options)); } value = array; continue; diff --git a/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/SearchAadAuthDataPlaneAuthOptions.Serialization.cs b/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/SearchAadAuthDataPlaneAuthOptions.Serialization.cs index 3b48c018c564c..b13367cf70f9b 100644 --- a/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/SearchAadAuthDataPlaneAuthOptions.Serialization.cs +++ b/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/SearchAadAuthDataPlaneAuthOptions.Serialization.cs @@ -102,7 +102,7 @@ internal static SearchAadAuthDataPlaneAuthOptions DeserializeSearchAadAuthDataPl { continue; } - aadOrApiKey = DataPlaneAadOrApiKeyAuthOption.DeserializeDataPlaneAadOrApiKeyAuthOption(property.Value); + aadOrApiKey = DataPlaneAadOrApiKeyAuthOption.DeserializeDataPlaneAadOrApiKeyAuthOption(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/SearchPrivateEndpointConnectionListResult.Serialization.cs b/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/SearchPrivateEndpointConnectionListResult.Serialization.cs index 0d28b292e4919..058dc0bb00279 100644 --- a/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/SearchPrivateEndpointConnectionListResult.Serialization.cs +++ b/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/SearchPrivateEndpointConnectionListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static SearchPrivateEndpointConnectionListResult DeserializeSearchPriva List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SearchPrivateEndpointConnectionData.DeserializeSearchPrivateEndpointConnectionData(item)); + array.Add(SearchPrivateEndpointConnectionData.DeserializeSearchPrivateEndpointConnectionData(item, options)); } value = array; continue; diff --git a/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/SearchPrivateLinkResource.Serialization.cs b/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/SearchPrivateLinkResource.Serialization.cs index 8916bc95ffa9c..7f0ee0e7dae8b 100644 --- a/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/SearchPrivateLinkResource.Serialization.cs +++ b/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/SearchPrivateLinkResource.Serialization.cs @@ -105,7 +105,7 @@ internal static SearchPrivateLinkResource DeserializeSearchPrivateLinkResource(J { continue; } - properties = SearchPrivateLinkResourceProperties.DeserializeSearchPrivateLinkResourceProperties(property.Value); + properties = SearchPrivateLinkResourceProperties.DeserializeSearchPrivateLinkResourceProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/SearchPrivateLinkResourceProperties.Serialization.cs b/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/SearchPrivateLinkResourceProperties.Serialization.cs index 1828a4fbc2b9c..0f39f91883430 100644 --- a/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/SearchPrivateLinkResourceProperties.Serialization.cs +++ b/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/SearchPrivateLinkResourceProperties.Serialization.cs @@ -149,7 +149,7 @@ internal static SearchPrivateLinkResourceProperties DeserializeSearchPrivateLink List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ShareableSearchServicePrivateLinkResourceType.DeserializeShareableSearchServicePrivateLinkResourceType(item)); + array.Add(ShareableSearchServicePrivateLinkResourceType.DeserializeShareableSearchServicePrivateLinkResourceType(item, options)); } shareablePrivateLinkResourceTypes = array; continue; diff --git a/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/SearchServiceListResult.Serialization.cs b/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/SearchServiceListResult.Serialization.cs index 287ce74eb83ef..2788266769ec3 100644 --- a/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/SearchServiceListResult.Serialization.cs +++ b/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/SearchServiceListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static SearchServiceListResult DeserializeSearchServiceListResult(JsonE List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SearchServiceData.DeserializeSearchServiceData(item)); + array.Add(SearchServiceData.DeserializeSearchServiceData(item, options)); } value = array; continue; diff --git a/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/SearchServicePatch.Serialization.cs b/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/SearchServicePatch.Serialization.cs index dd8d9fa5ed063..54af80184d0b1 100644 --- a/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/SearchServicePatch.Serialization.cs +++ b/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/SearchServicePatch.Serialization.cs @@ -238,7 +238,7 @@ internal static SearchServicePatch DeserializeSearchServicePatch(JsonElement ele { continue; } - sku = SearchSku.DeserializeSearchSku(property.Value); + sku = SearchSku.DeserializeSearchSku(property.Value, options); continue; } if (property.NameEquals("identity"u8)) @@ -367,7 +367,7 @@ internal static SearchServicePatch DeserializeSearchServicePatch(JsonElement ele { continue; } - networkRuleSet = NetworkRuleSet.DeserializeNetworkRuleSet(property0.Value); + networkRuleSet = NetworkRuleSet.DeserializeNetworkRuleSet(property0.Value, options); continue; } if (property0.NameEquals("encryptionWithCmk"u8)) @@ -376,7 +376,7 @@ internal static SearchServicePatch DeserializeSearchServicePatch(JsonElement ele { continue; } - encryptionWithCmk = SearchEncryptionWithCmk.DeserializeSearchEncryptionWithCmk(property0.Value); + encryptionWithCmk = SearchEncryptionWithCmk.DeserializeSearchEncryptionWithCmk(property0.Value, options); continue; } if (property0.NameEquals("disableLocalAuth"u8)) @@ -395,7 +395,7 @@ internal static SearchServicePatch DeserializeSearchServicePatch(JsonElement ele { continue; } - authOptions = SearchAadAuthDataPlaneAuthOptions.DeserializeSearchAadAuthDataPlaneAuthOptions(property0.Value); + authOptions = SearchAadAuthDataPlaneAuthOptions.DeserializeSearchAadAuthDataPlaneAuthOptions(property0.Value, options); continue; } if (property0.NameEquals("privateEndpointConnections"u8)) @@ -407,7 +407,7 @@ internal static SearchServicePatch DeserializeSearchServicePatch(JsonElement ele List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(SearchPrivateEndpointConnectionData.DeserializeSearchPrivateEndpointConnectionData(item)); + array.Add(SearchPrivateEndpointConnectionData.DeserializeSearchPrivateEndpointConnectionData(item, options)); } privateEndpointConnections = array; continue; @@ -431,7 +431,7 @@ internal static SearchServicePatch DeserializeSearchServicePatch(JsonElement ele List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(SharedSearchServicePrivateLinkResourceData.DeserializeSharedSearchServicePrivateLinkResourceData(item)); + array.Add(SharedSearchServicePrivateLinkResourceData.DeserializeSharedSearchServicePrivateLinkResourceData(item, options)); } sharedPrivateLinkResources = array; continue; diff --git a/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/SearchServicePrivateEndpointConnectionProperties.Serialization.cs b/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/SearchServicePrivateEndpointConnectionProperties.Serialization.cs index 6de03905e6e8b..4f6e89f2dc83a 100644 --- a/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/SearchServicePrivateEndpointConnectionProperties.Serialization.cs +++ b/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/SearchServicePrivateEndpointConnectionProperties.Serialization.cs @@ -108,7 +108,7 @@ internal static SearchServicePrivateEndpointConnectionProperties DeserializeSear { continue; } - privateLinkServiceConnectionState = SearchServicePrivateLinkServiceConnectionState.DeserializeSearchServicePrivateLinkServiceConnectionState(property.Value); + privateLinkServiceConnectionState = SearchServicePrivateLinkServiceConnectionState.DeserializeSearchServicePrivateLinkServiceConnectionState(property.Value, options); continue; } if (property.NameEquals("groupId"u8)) diff --git a/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/ShareableSearchServicePrivateLinkResourceType.Serialization.cs b/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/ShareableSearchServicePrivateLinkResourceType.Serialization.cs index db3477f8d5e1e..aaf743649afb9 100644 --- a/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/ShareableSearchServicePrivateLinkResourceType.Serialization.cs +++ b/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/ShareableSearchServicePrivateLinkResourceType.Serialization.cs @@ -91,7 +91,7 @@ internal static ShareableSearchServicePrivateLinkResourceType DeserializeShareab { continue; } - properties = ShareableSearchServicePrivateLinkResourceProperties.DeserializeShareableSearchServicePrivateLinkResourceProperties(property.Value); + properties = ShareableSearchServicePrivateLinkResourceProperties.DeserializeShareableSearchServicePrivateLinkResourceProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/SharedPrivateLinkResourceListResult.Serialization.cs b/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/SharedPrivateLinkResourceListResult.Serialization.cs index 077ba5f91243b..4ffb45794fcae 100644 --- a/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/SharedPrivateLinkResourceListResult.Serialization.cs +++ b/sdk/search/Azure.ResourceManager.Search/src/Generated/Models/SharedPrivateLinkResourceListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static SharedPrivateLinkResourceListResult DeserializeSharedPrivateLink List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SharedSearchServicePrivateLinkResourceData.DeserializeSharedSearchServicePrivateLinkResourceData(item)); + array.Add(SharedSearchServicePrivateLinkResourceData.DeserializeSharedSearchServicePrivateLinkResourceData(item, options)); } value = array; continue; diff --git a/sdk/search/Azure.ResourceManager.Search/src/Generated/SearchPrivateEndpointConnectionData.Serialization.cs b/sdk/search/Azure.ResourceManager.Search/src/Generated/SearchPrivateEndpointConnectionData.Serialization.cs index dd241751c822d..80990375826bf 100644 --- a/sdk/search/Azure.ResourceManager.Search/src/Generated/SearchPrivateEndpointConnectionData.Serialization.cs +++ b/sdk/search/Azure.ResourceManager.Search/src/Generated/SearchPrivateEndpointConnectionData.Serialization.cs @@ -106,7 +106,7 @@ internal static SearchPrivateEndpointConnectionData DeserializeSearchPrivateEndp { continue; } - properties = SearchServicePrivateEndpointConnectionProperties.DeserializeSearchServicePrivateEndpointConnectionProperties(property.Value); + properties = SearchServicePrivateEndpointConnectionProperties.DeserializeSearchServicePrivateEndpointConnectionProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/search/Azure.ResourceManager.Search/src/Generated/SearchServiceData.Serialization.cs b/sdk/search/Azure.ResourceManager.Search/src/Generated/SearchServiceData.Serialization.cs index e64593fe901b7..008b1b3cd25ec 100644 --- a/sdk/search/Azure.ResourceManager.Search/src/Generated/SearchServiceData.Serialization.cs +++ b/sdk/search/Azure.ResourceManager.Search/src/Generated/SearchServiceData.Serialization.cs @@ -238,7 +238,7 @@ internal static SearchServiceData DeserializeSearchServiceData(JsonElement eleme { continue; } - sku = SearchSku.DeserializeSearchSku(property.Value); + sku = SearchSku.DeserializeSearchSku(property.Value, options); continue; } if (property.NameEquals("identity"u8)) @@ -367,7 +367,7 @@ internal static SearchServiceData DeserializeSearchServiceData(JsonElement eleme { continue; } - networkRuleSet = NetworkRuleSet.DeserializeNetworkRuleSet(property0.Value); + networkRuleSet = NetworkRuleSet.DeserializeNetworkRuleSet(property0.Value, options); continue; } if (property0.NameEquals("encryptionWithCmk"u8)) @@ -376,7 +376,7 @@ internal static SearchServiceData DeserializeSearchServiceData(JsonElement eleme { continue; } - encryptionWithCmk = SearchEncryptionWithCmk.DeserializeSearchEncryptionWithCmk(property0.Value); + encryptionWithCmk = SearchEncryptionWithCmk.DeserializeSearchEncryptionWithCmk(property0.Value, options); continue; } if (property0.NameEquals("disableLocalAuth"u8)) @@ -395,7 +395,7 @@ internal static SearchServiceData DeserializeSearchServiceData(JsonElement eleme { continue; } - authOptions = SearchAadAuthDataPlaneAuthOptions.DeserializeSearchAadAuthDataPlaneAuthOptions(property0.Value); + authOptions = SearchAadAuthDataPlaneAuthOptions.DeserializeSearchAadAuthDataPlaneAuthOptions(property0.Value, options); continue; } if (property0.NameEquals("privateEndpointConnections"u8)) @@ -407,7 +407,7 @@ internal static SearchServiceData DeserializeSearchServiceData(JsonElement eleme List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(SearchPrivateEndpointConnectionData.DeserializeSearchPrivateEndpointConnectionData(item)); + array.Add(SearchPrivateEndpointConnectionData.DeserializeSearchPrivateEndpointConnectionData(item, options)); } privateEndpointConnections = array; continue; @@ -431,7 +431,7 @@ internal static SearchServiceData DeserializeSearchServiceData(JsonElement eleme List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(SharedSearchServicePrivateLinkResourceData.DeserializeSharedSearchServicePrivateLinkResourceData(item)); + array.Add(SharedSearchServicePrivateLinkResourceData.DeserializeSharedSearchServicePrivateLinkResourceData(item, options)); } sharedPrivateLinkResources = array; continue; diff --git a/sdk/search/Azure.ResourceManager.Search/src/Generated/SharedSearchServicePrivateLinkResourceData.Serialization.cs b/sdk/search/Azure.ResourceManager.Search/src/Generated/SharedSearchServicePrivateLinkResourceData.Serialization.cs index 9e3eb671d621b..e5a9fc198a449 100644 --- a/sdk/search/Azure.ResourceManager.Search/src/Generated/SharedSearchServicePrivateLinkResourceData.Serialization.cs +++ b/sdk/search/Azure.ResourceManager.Search/src/Generated/SharedSearchServicePrivateLinkResourceData.Serialization.cs @@ -106,7 +106,7 @@ internal static SharedSearchServicePrivateLinkResourceData DeserializeSharedSear { continue; } - properties = SharedSearchServicePrivateLinkResourceProperties.DeserializeSharedSearchServicePrivateLinkResourceProperties(property.Value); + properties = SharedSearchServicePrivateLinkResourceProperties.DeserializeSharedSearchServicePrivateLinkResourceProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/AdaptiveApplicationControlGroupData.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/AdaptiveApplicationControlGroupData.Serialization.cs index 10ea8e552cbd8..0ef9d57db6260 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/AdaptiveApplicationControlGroupData.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/AdaptiveApplicationControlGroupData.Serialization.cs @@ -223,7 +223,7 @@ internal static AdaptiveApplicationControlGroupData DeserializeAdaptiveApplicati { continue; } - protectionMode = SecurityCenterFileProtectionMode.DeserializeSecurityCenterFileProtectionMode(property0.Value); + protectionMode = SecurityCenterFileProtectionMode.DeserializeSecurityCenterFileProtectionMode(property0.Value, options); continue; } if (property0.NameEquals("configurationStatus"u8)) @@ -253,7 +253,7 @@ internal static AdaptiveApplicationControlGroupData DeserializeAdaptiveApplicati List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(AdaptiveApplicationControlIssueSummary.DeserializeAdaptiveApplicationControlIssueSummary(item)); + array.Add(AdaptiveApplicationControlIssueSummary.DeserializeAdaptiveApplicationControlIssueSummary(item, options)); } issues = array; continue; @@ -276,7 +276,7 @@ internal static AdaptiveApplicationControlGroupData DeserializeAdaptiveApplicati List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(VmRecommendation.DeserializeVmRecommendation(item)); + array.Add(VmRecommendation.DeserializeVmRecommendation(item, options)); } vmRecommendations = array; continue; @@ -290,7 +290,7 @@ internal static AdaptiveApplicationControlGroupData DeserializeAdaptiveApplicati List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(PathRecommendation.DeserializePathRecommendation(item)); + array.Add(PathRecommendation.DeserializePathRecommendation(item, options)); } pathRecommendations = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/AdaptiveNetworkHardeningData.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/AdaptiveNetworkHardeningData.Serialization.cs index 92ad8f5ec41b8..09e86f212aebd 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/AdaptiveNetworkHardeningData.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/AdaptiveNetworkHardeningData.Serialization.cs @@ -167,7 +167,7 @@ internal static AdaptiveNetworkHardeningData DeserializeAdaptiveNetworkHardening List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(RecommendedSecurityRule.DeserializeRecommendedSecurityRule(item)); + array.Add(RecommendedSecurityRule.DeserializeRecommendedSecurityRule(item, options)); } rules = array; continue; @@ -190,7 +190,7 @@ internal static AdaptiveNetworkHardeningData DeserializeAdaptiveNetworkHardening List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(Models.EffectiveNetworkSecurityGroups.DeserializeEffectiveNetworkSecurityGroups(item)); + array.Add(Models.EffectiveNetworkSecurityGroups.DeserializeEffectiveNetworkSecurityGroups(item, options)); } effectiveNetworkSecurityGroups = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/DefenderForStorageSettingData.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/DefenderForStorageSettingData.Serialization.cs index d2c01ed90288f..64ff375bf09bf 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/DefenderForStorageSettingData.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/DefenderForStorageSettingData.Serialization.cs @@ -229,7 +229,7 @@ internal static DefenderForStorageSettingData DeserializeDefenderForStorageSetti { continue; } - operationStatus = ExtensionOperationStatus.DeserializeExtensionOperationStatus(property1.Value); + operationStatus = ExtensionOperationStatus.DeserializeExtensionOperationStatus(property1.Value, options); continue; } } @@ -259,7 +259,7 @@ internal static DefenderForStorageSettingData DeserializeDefenderForStorageSetti { continue; } - operationStatus0 = ExtensionOperationStatus.DeserializeExtensionOperationStatus(property1.Value); + operationStatus0 = ExtensionOperationStatus.DeserializeExtensionOperationStatus(property1.Value, options); continue; } if (property1.NameEquals("onUpload"u8)) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/DevOpsConfigurationData.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/DevOpsConfigurationData.Serialization.cs index d62b9e808de44..e86b98699bc3e 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/DevOpsConfigurationData.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/DevOpsConfigurationData.Serialization.cs @@ -106,7 +106,7 @@ internal static DevOpsConfigurationData DeserializeDevOpsConfigurationData(JsonE { continue; } - properties = DevOpsConfigurationProperties.DeserializeDevOpsConfigurationProperties(property.Value); + properties = DevOpsConfigurationProperties.DeserializeDevOpsConfigurationProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/DevOpsOrgData.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/DevOpsOrgData.Serialization.cs index b1e6a96b03de2..7dfd939662cd9 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/DevOpsOrgData.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/DevOpsOrgData.Serialization.cs @@ -106,7 +106,7 @@ internal static DevOpsOrgData DeserializeDevOpsOrgData(JsonElement element, Mode { continue; } - properties = DevOpsOrgProperties.DeserializeDevOpsOrgProperties(property.Value); + properties = DevOpsOrgProperties.DeserializeDevOpsOrgProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/DevOpsProjectData.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/DevOpsProjectData.Serialization.cs index 60ccd9cd6d859..df3809c14ef66 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/DevOpsProjectData.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/DevOpsProjectData.Serialization.cs @@ -106,7 +106,7 @@ internal static DevOpsProjectData DeserializeDevOpsProjectData(JsonElement eleme { continue; } - properties = DevOpsProjectProperties.DeserializeDevOpsProjectProperties(property.Value); + properties = DevOpsProjectProperties.DeserializeDevOpsProjectProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/DevOpsRepositoryData.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/DevOpsRepositoryData.Serialization.cs index b5916edcc0b3d..0043fcff0eeb7 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/DevOpsRepositoryData.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/DevOpsRepositoryData.Serialization.cs @@ -106,7 +106,7 @@ internal static DevOpsRepositoryData DeserializeDevOpsRepositoryData(JsonElement { continue; } - properties = DevOpsRepositoryProperties.DeserializeDevOpsRepositoryProperties(property.Value); + properties = DevOpsRepositoryProperties.DeserializeDevOpsRepositoryProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/DeviceSecurityGroupData.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/DeviceSecurityGroupData.Serialization.cs index da6d45a1edf76..0035181ca1085 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/DeviceSecurityGroupData.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/DeviceSecurityGroupData.Serialization.cs @@ -183,7 +183,7 @@ internal static DeviceSecurityGroupData DeserializeDeviceSecurityGroupData(JsonE List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ThresholdCustomAlertRule.DeserializeThresholdCustomAlertRule(item)); + array.Add(ThresholdCustomAlertRule.DeserializeThresholdCustomAlertRule(item, options)); } thresholdRules = array; continue; @@ -197,7 +197,7 @@ internal static DeviceSecurityGroupData DeserializeDeviceSecurityGroupData(JsonE List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(TimeWindowCustomAlertRule.DeserializeTimeWindowCustomAlertRule(item)); + array.Add(TimeWindowCustomAlertRule.DeserializeTimeWindowCustomAlertRule(item, options)); } timeWindowRules = array; continue; @@ -211,7 +211,7 @@ internal static DeviceSecurityGroupData DeserializeDeviceSecurityGroupData(JsonE List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(AllowlistCustomAlertRule.DeserializeAllowlistCustomAlertRule(item)); + array.Add(AllowlistCustomAlertRule.DeserializeAllowlistCustomAlertRule(item, options)); } allowlistRules = array; continue; @@ -225,7 +225,7 @@ internal static DeviceSecurityGroupData DeserializeDeviceSecurityGroupData(JsonE List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(DenylistCustomAlertRule.DeserializeDenylistCustomAlertRule(item)); + array.Add(DenylistCustomAlertRule.DeserializeDenylistCustomAlertRule(item, options)); } denylistRules = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/GovernanceAssignmentData.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/GovernanceAssignmentData.Serialization.cs index 0540294274be1..92cbcec470010 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/GovernanceAssignmentData.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/GovernanceAssignmentData.Serialization.cs @@ -186,7 +186,7 @@ internal static GovernanceAssignmentData DeserializeGovernanceAssignmentData(Jso { continue; } - remediationEta = RemediationEta.DeserializeRemediationEta(property0.Value); + remediationEta = RemediationEta.DeserializeRemediationEta(property0.Value, options); continue; } if (property0.NameEquals("isGracePeriod"u8)) @@ -204,7 +204,7 @@ internal static GovernanceAssignmentData DeserializeGovernanceAssignmentData(Jso { continue; } - governanceEmailNotification = GovernanceEmailNotification.DeserializeGovernanceEmailNotification(property0.Value); + governanceEmailNotification = GovernanceEmailNotification.DeserializeGovernanceEmailNotification(property0.Value, options); continue; } if (property0.NameEquals("additionalData"u8)) @@ -213,7 +213,7 @@ internal static GovernanceAssignmentData DeserializeGovernanceAssignmentData(Jso { continue; } - additionalData = GovernanceAssignmentAdditionalInfo.DeserializeGovernanceAssignmentAdditionalInfo(property0.Value); + additionalData = GovernanceAssignmentAdditionalInfo.DeserializeGovernanceAssignmentAdditionalInfo(property0.Value, options); continue; } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/GovernanceRuleData.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/GovernanceRuleData.Serialization.cs index 99b9fe8b44335..cccab6975061b 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/GovernanceRuleData.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/GovernanceRuleData.Serialization.cs @@ -361,7 +361,7 @@ internal static GovernanceRuleData DeserializeGovernanceRuleData(JsonElement ele { continue; } - ownerSource = GovernanceRuleOwnerSource.DeserializeGovernanceRuleOwnerSource(property0.Value); + ownerSource = GovernanceRuleOwnerSource.DeserializeGovernanceRuleOwnerSource(property0.Value, options); continue; } if (property0.NameEquals("governanceEmailNotification"u8)) @@ -370,7 +370,7 @@ internal static GovernanceRuleData DeserializeGovernanceRuleData(JsonElement ele { continue; } - governanceEmailNotification = GovernanceRuleEmailNotification.DeserializeGovernanceRuleEmailNotification(property0.Value); + governanceEmailNotification = GovernanceRuleEmailNotification.DeserializeGovernanceRuleEmailNotification(property0.Value, options); continue; } if (property0.NameEquals("metadata"u8)) @@ -379,7 +379,7 @@ internal static GovernanceRuleData DeserializeGovernanceRuleData(JsonElement ele { continue; } - metadata = GovernanceRuleMetadata.DeserializeGovernanceRuleMetadata(property0.Value); + metadata = GovernanceRuleMetadata.DeserializeGovernanceRuleMetadata(property0.Value, options); continue; } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/IotSecurityAggregatedAlertData.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/IotSecurityAggregatedAlertData.Serialization.cs index 41cbb5a937cfd..e9b60e59317cb 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/IotSecurityAggregatedAlertData.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/IotSecurityAggregatedAlertData.Serialization.cs @@ -320,7 +320,7 @@ internal static IotSecurityAggregatedAlertData DeserializeIotSecurityAggregatedA List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(IotSecurityAggregatedAlertTopDevice.DeserializeIotSecurityAggregatedAlertTopDevice(item)); + array.Add(IotSecurityAggregatedAlertTopDevice.DeserializeIotSecurityAggregatedAlertTopDevice(item, options)); } topDevicesList = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/IotSecuritySolutionAnalyticsModelData.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/IotSecuritySolutionAnalyticsModelData.Serialization.cs index c3003a528bc01..7da0d0dc6eff1 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/IotSecuritySolutionAnalyticsModelData.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/IotSecuritySolutionAnalyticsModelData.Serialization.cs @@ -192,7 +192,7 @@ internal static IotSecuritySolutionAnalyticsModelData DeserializeIotSecuritySolu { continue; } - metrics = IotSeverityMetrics.DeserializeIotSeverityMetrics(property0.Value); + metrics = IotSeverityMetrics.DeserializeIotSeverityMetrics(property0.Value, options); continue; } if (property0.NameEquals("unhealthyDeviceCount"u8)) @@ -213,7 +213,7 @@ internal static IotSecuritySolutionAnalyticsModelData DeserializeIotSecuritySolu List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(IotSecuritySolutionAnalyticsModelDevicesMetrics.DeserializeIotSecuritySolutionAnalyticsModelDevicesMetrics(item)); + array.Add(IotSecuritySolutionAnalyticsModelDevicesMetrics.DeserializeIotSecuritySolutionAnalyticsModelDevicesMetrics(item, options)); } devicesMetrics = array; continue; @@ -227,7 +227,7 @@ internal static IotSecuritySolutionAnalyticsModelData DeserializeIotSecuritySolu List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(IotSecurityAlertedDevice.DeserializeIotSecurityAlertedDevice(item)); + array.Add(IotSecurityAlertedDevice.DeserializeIotSecurityAlertedDevice(item, options)); } topAlertedDevices = array; continue; @@ -241,7 +241,7 @@ internal static IotSecuritySolutionAnalyticsModelData DeserializeIotSecuritySolu List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(IotSecurityDeviceAlert.DeserializeIotSecurityDeviceAlert(item)); + array.Add(IotSecurityDeviceAlert.DeserializeIotSecurityDeviceAlert(item, options)); } mostPrevalentDeviceAlerts = array; continue; @@ -255,7 +255,7 @@ internal static IotSecuritySolutionAnalyticsModelData DeserializeIotSecuritySolu List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(IotSecurityDeviceRecommendation.DeserializeIotSecurityDeviceRecommendation(item)); + array.Add(IotSecurityDeviceRecommendation.DeserializeIotSecurityDeviceRecommendation(item, options)); } mostPrevalentDeviceRecommendations = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/IotSecuritySolutionData.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/IotSecuritySolutionData.Serialization.cs index bbf155722540d..6be6c5a63e739 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/IotSecuritySolutionData.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/IotSecuritySolutionData.Serialization.cs @@ -327,7 +327,7 @@ internal static IotSecuritySolutionData DeserializeIotSecuritySolutionData(JsonE { continue; } - userDefinedResources = UserDefinedResourcesProperties.DeserializeUserDefinedResourcesProperties(property0.Value); + userDefinedResources = UserDefinedResourcesProperties.DeserializeUserDefinedResourcesProperties(property0.Value, options); continue; } if (property0.NameEquals("autoDiscoveredResources"u8)) @@ -353,7 +353,7 @@ internal static IotSecuritySolutionData DeserializeIotSecuritySolutionData(JsonE List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(RecommendationConfigurationProperties.DeserializeRecommendationConfigurationProperties(item)); + array.Add(RecommendationConfigurationProperties.DeserializeRecommendationConfigurationProperties(item, options)); } recommendationsConfiguration = array; continue; @@ -376,7 +376,7 @@ internal static IotSecuritySolutionData DeserializeIotSecuritySolutionData(JsonE List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(AdditionalWorkspacesProperties.DeserializeAdditionalWorkspacesProperties(item)); + array.Add(AdditionalWorkspacesProperties.DeserializeAdditionalWorkspacesProperties(item, options)); } additionalWorkspaces = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/JitNetworkAccessPolicyData.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/JitNetworkAccessPolicyData.Serialization.cs index fc7aa9b99d046..20ba4446ce9a4 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/JitNetworkAccessPolicyData.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/JitNetworkAccessPolicyData.Serialization.cs @@ -186,7 +186,7 @@ internal static JitNetworkAccessPolicyData DeserializeJitNetworkAccessPolicyData List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(JitNetworkAccessPolicyVirtualMachine.DeserializeJitNetworkAccessPolicyVirtualMachine(item)); + array.Add(JitNetworkAccessPolicyVirtualMachine.DeserializeJitNetworkAccessPolicyVirtualMachine(item, options)); } virtualMachines = array; continue; @@ -200,7 +200,7 @@ internal static JitNetworkAccessPolicyData DeserializeJitNetworkAccessPolicyData List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(JitNetworkAccessRequestInfo.DeserializeJitNetworkAccessRequestInfo(item)); + array.Add(JitNetworkAccessRequestInfo.DeserializeJitNetworkAccessRequestInfo(item, options)); } requests = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AadExternalSecuritySolution.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AadExternalSecuritySolution.Serialization.cs index bd6d38e5ac237..75312b060f16b 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AadExternalSecuritySolution.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AadExternalSecuritySolution.Serialization.cs @@ -121,7 +121,7 @@ internal static AadExternalSecuritySolution DeserializeAadExternalSecuritySoluti { continue; } - properties = AadSolutionProperties.DeserializeAadSolutionProperties(property.Value); + properties = AadSolutionProperties.DeserializeAadSolutionProperties(property.Value, options); continue; } if (property.NameEquals("kind"u8)) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ActionableRemediation.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ActionableRemediation.Serialization.cs index 555ee725f8a69..27bbf0e0a91d4 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ActionableRemediation.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ActionableRemediation.Serialization.cs @@ -115,7 +115,7 @@ internal static ActionableRemediation DeserializeActionableRemediation(JsonEleme List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(CategoryConfiguration.DeserializeCategoryConfiguration(item)); + array.Add(CategoryConfiguration.DeserializeCategoryConfiguration(item, options)); } categoryConfigurations = array; continue; @@ -126,7 +126,7 @@ internal static ActionableRemediation DeserializeActionableRemediation(JsonEleme { continue; } - branchConfiguration = TargetBranchConfiguration.DeserializeTargetBranchConfiguration(property.Value); + branchConfiguration = TargetBranchConfiguration.DeserializeTargetBranchConfiguration(property.Value, options); continue; } if (property.NameEquals("inheritFromParentState"u8)) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AdaptiveApplicationControlGroups.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AdaptiveApplicationControlGroups.Serialization.cs index 857f585db1229..2e098dd7f4897 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AdaptiveApplicationControlGroups.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AdaptiveApplicationControlGroups.Serialization.cs @@ -89,7 +89,7 @@ internal static AdaptiveApplicationControlGroups DeserializeAdaptiveApplicationC List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(AdaptiveApplicationControlGroupData.DeserializeAdaptiveApplicationControlGroupData(item)); + array.Add(AdaptiveApplicationControlGroupData.DeserializeAdaptiveApplicationControlGroupData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AdaptiveNetworkHardeningEnforceContent.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AdaptiveNetworkHardeningEnforceContent.Serialization.cs index ad5c487dcf748..cf5a2a94601b4 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AdaptiveNetworkHardeningEnforceContent.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AdaptiveNetworkHardeningEnforceContent.Serialization.cs @@ -89,7 +89,7 @@ internal static AdaptiveNetworkHardeningEnforceContent DeserializeAdaptiveNetwor List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RecommendedSecurityRule.DeserializeRecommendedSecurityRule(item)); + array.Add(RecommendedSecurityRule.DeserializeRecommendedSecurityRule(item, options)); } rules = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AdaptiveNetworkHardeningsList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AdaptiveNetworkHardeningsList.Serialization.cs index 40963bc3c6e8b..53bc1dc6fb462 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AdaptiveNetworkHardeningsList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AdaptiveNetworkHardeningsList.Serialization.cs @@ -95,7 +95,7 @@ internal static AdaptiveNetworkHardeningsList DeserializeAdaptiveNetworkHardenin List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(AdaptiveNetworkHardeningData.DeserializeAdaptiveNetworkHardeningData(item)); + array.Add(AdaptiveNetworkHardeningData.DeserializeAdaptiveNetworkHardeningData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AlertList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AlertList.Serialization.cs index 307c8b043fd45..3abd967270169 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AlertList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AlertList.Serialization.cs @@ -95,7 +95,7 @@ internal static AlertList DeserializeAlertList(JsonElement element, ModelReaderW List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityAlertData.DeserializeSecurityAlertData(item)); + array.Add(SecurityAlertData.DeserializeSecurityAlertData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AlertsSuppressionRulesList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AlertsSuppressionRulesList.Serialization.cs index 444b12337f621..74a848c573b20 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AlertsSuppressionRulesList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AlertsSuppressionRulesList.Serialization.cs @@ -88,7 +88,7 @@ internal static AlertsSuppressionRulesList DeserializeAlertsSuppressionRulesList List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityAlertsSuppressionRuleData.DeserializeSecurityAlertsSuppressionRuleData(item)); + array.Add(SecurityAlertsSuppressionRuleData.DeserializeSecurityAlertsSuppressionRuleData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AllowedConnectionsList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AllowedConnectionsList.Serialization.cs index 65c5b23e68ec5..cfff32a6d7512 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AllowedConnectionsList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AllowedConnectionsList.Serialization.cs @@ -94,7 +94,7 @@ internal static AllowedConnectionsList DeserializeAllowedConnectionsList(JsonEle List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityCenterAllowedConnection.DeserializeSecurityCenterAllowedConnection(item)); + array.Add(SecurityCenterAllowedConnection.DeserializeSecurityCenterAllowedConnection(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AllowlistCustomAlertRule.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AllowlistCustomAlertRule.Serialization.cs index cc3a051cacd5d..7cdce2fe51d86 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AllowlistCustomAlertRule.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AllowlistCustomAlertRule.Serialization.cs @@ -94,10 +94,10 @@ internal static AllowlistCustomAlertRule DeserializeAllowlistCustomAlertRule(Jso { switch (discriminator.GetString()) { - case "ConnectionFromIpNotAllowed": return ConnectionFromIPNotAllowed.DeserializeConnectionFromIPNotAllowed(element); - case "ConnectionToIpNotAllowed": return ConnectionToIPNotAllowed.DeserializeConnectionToIPNotAllowed(element); - case "LocalUserNotAllowed": return LocalUserNotAllowed.DeserializeLocalUserNotAllowed(element); - case "ProcessNotAllowed": return ProcessNotAllowed.DeserializeProcessNotAllowed(element); + case "ConnectionFromIpNotAllowed": return ConnectionFromIPNotAllowed.DeserializeConnectionFromIPNotAllowed(element, options); + case "ConnectionToIpNotAllowed": return ConnectionToIPNotAllowed.DeserializeConnectionToIPNotAllowed(element, options); + case "LocalUserNotAllowed": return LocalUserNotAllowed.DeserializeLocalUserNotAllowed(element, options); + case "ProcessNotAllowed": return ProcessNotAllowed.DeserializeProcessNotAllowed(element, options); } } IList allowlistValues = default; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ApiCollectionList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ApiCollectionList.Serialization.cs index 2960dab0a7476..69641531453c1 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ApiCollectionList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ApiCollectionList.Serialization.cs @@ -95,7 +95,7 @@ internal static ApiCollectionList DeserializeApiCollectionList(JsonElement eleme List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityCenterApiCollectionData.DeserializeSecurityCenterApiCollectionData(item)); + array.Add(SecurityCenterApiCollectionData.DeserializeSecurityCenterApiCollectionData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ApplicationsList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ApplicationsList.Serialization.cs index ba03caa0b268b..4c4ce7bfafadd 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ApplicationsList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ApplicationsList.Serialization.cs @@ -95,7 +95,7 @@ internal static ApplicationsList DeserializeApplicationsList(JsonElement element List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityApplicationData.DeserializeSecurityApplicationData(item)); + array.Add(SecurityApplicationData.DeserializeSecurityApplicationData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AscLocationList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AscLocationList.Serialization.cs index 8054ee04f4e1c..864542f699aa2 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AscLocationList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AscLocationList.Serialization.cs @@ -95,7 +95,7 @@ internal static AscLocationList DeserializeAscLocationList(JsonElement element, List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityCenterLocationData.DeserializeSecurityCenterLocationData(item)); + array.Add(SecurityCenterLocationData.DeserializeSecurityCenterLocationData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AtaExternalSecuritySolution.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AtaExternalSecuritySolution.Serialization.cs index 4b2f4222edb12..4f8587e9deb65 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AtaExternalSecuritySolution.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AtaExternalSecuritySolution.Serialization.cs @@ -121,7 +121,7 @@ internal static AtaExternalSecuritySolution DeserializeAtaExternalSecuritySoluti { continue; } - properties = AtaSolutionProperties.DeserializeAtaSolutionProperties(property.Value); + properties = AtaSolutionProperties.DeserializeAtaSolutionProperties(property.Value, options); continue; } if (property.NameEquals("kind"u8)) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AuthenticationDetailsProperties.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AuthenticationDetailsProperties.Serialization.cs index c418f85911eee..f988c0e76186e 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AuthenticationDetailsProperties.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AuthenticationDetailsProperties.Serialization.cs @@ -85,12 +85,12 @@ internal static AuthenticationDetailsProperties DeserializeAuthenticationDetails { switch (discriminator.GetString()) { - case "awsAssumeRole": return AwsAssumeRoleAuthenticationDetailsProperties.DeserializeAwsAssumeRoleAuthenticationDetailsProperties(element); - case "awsCreds": return AwsCredsAuthenticationDetailsProperties.DeserializeAwsCredsAuthenticationDetailsProperties(element); - case "gcpCredentials": return GcpCredentialsDetailsProperties.DeserializeGcpCredentialsDetailsProperties(element); + case "awsAssumeRole": return AwsAssumeRoleAuthenticationDetailsProperties.DeserializeAwsAssumeRoleAuthenticationDetailsProperties(element, options); + case "awsCreds": return AwsCredsAuthenticationDetailsProperties.DeserializeAwsCredsAuthenticationDetailsProperties(element, options); + case "gcpCredentials": return GcpCredentialsDetailsProperties.DeserializeGcpCredentialsDetailsProperties(element, options); } } - return UnknownAuthenticationDetailsProperties.DeserializeUnknownAuthenticationDetailsProperties(element); + return UnknownAuthenticationDetailsProperties.DeserializeUnknownAuthenticationDetailsProperties(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AutoProvisioningSettingList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AutoProvisioningSettingList.Serialization.cs index f024633bcc872..39340e71924c1 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AutoProvisioningSettingList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AutoProvisioningSettingList.Serialization.cs @@ -95,7 +95,7 @@ internal static AutoProvisioningSettingList DeserializeAutoProvisioningSettingLi List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(AutoProvisioningSettingData.DeserializeAutoProvisioningSettingData(item)); + array.Add(AutoProvisioningSettingData.DeserializeAutoProvisioningSettingData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AutomationList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AutomationList.Serialization.cs index 4948b3abb6b73..092a2ef43eae6 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AutomationList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AutomationList.Serialization.cs @@ -88,7 +88,7 @@ internal static AutomationList DeserializeAutomationList(JsonElement element, Mo List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityAutomationData.DeserializeSecurityAutomationData(item)); + array.Add(SecurityAutomationData.DeserializeSecurityAutomationData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AwsEnvironment.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AwsEnvironment.Serialization.cs index d629f607b6127..39533b763b187 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AwsEnvironment.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AwsEnvironment.Serialization.cs @@ -106,7 +106,7 @@ internal static AwsEnvironment DeserializeAwsEnvironment(JsonElement element, Mo { continue; } - organizationalData = AwsOrganizationalInfo.DeserializeAwsOrganizationalInfo(property.Value); + organizationalData = AwsOrganizationalInfo.DeserializeAwsOrganizationalInfo(property.Value, options); continue; } if (property.NameEquals("regions"u8)) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AwsOrganizationalInfo.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AwsOrganizationalInfo.Serialization.cs index 8d81a7e83638b..dd47f5d4dd4ff 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AwsOrganizationalInfo.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AwsOrganizationalInfo.Serialization.cs @@ -70,11 +70,11 @@ internal static AwsOrganizationalInfo DeserializeAwsOrganizationalInfo(JsonEleme { switch (discriminator.GetString()) { - case "Member": return AwsOrganizationalDataMember.DeserializeAwsOrganizationalDataMember(element); - case "Organization": return AwsOrganizationalDataMaster.DeserializeAwsOrganizationalDataMaster(element); + case "Member": return AwsOrganizationalDataMember.DeserializeAwsOrganizationalDataMember(element, options); + case "Organization": return AwsOrganizationalDataMaster.DeserializeAwsOrganizationalDataMaster(element, options); } } - return UnknownAwsOrganizationalData.DeserializeUnknownAwsOrganizationalData(element); + return UnknownAwsOrganizationalData.DeserializeUnknownAwsOrganizationalData(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AzureDevOpsOrgListResponse.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AzureDevOpsOrgListResponse.Serialization.cs index e5a4ed08f35f8..05f1f16e328d1 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AzureDevOpsOrgListResponse.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AzureDevOpsOrgListResponse.Serialization.cs @@ -95,7 +95,7 @@ internal static AzureDevOpsOrgListResponse DeserializeAzureDevOpsOrgListResponse List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DevOpsOrgData.DeserializeDevOpsOrgData(item)); + array.Add(DevOpsOrgData.DeserializeDevOpsOrgData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AzureDevOpsProjectListResponse.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AzureDevOpsProjectListResponse.Serialization.cs index f7c8ca19b8823..0840edcd0a78f 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AzureDevOpsProjectListResponse.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AzureDevOpsProjectListResponse.Serialization.cs @@ -95,7 +95,7 @@ internal static AzureDevOpsProjectListResponse DeserializeAzureDevOpsProjectList List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DevOpsProjectData.DeserializeDevOpsProjectData(item)); + array.Add(DevOpsProjectData.DeserializeDevOpsProjectData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AzureDevOpsRepositoryListResponse.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AzureDevOpsRepositoryListResponse.Serialization.cs index 5e34f72b823a3..b5d9ffaa7b025 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AzureDevOpsRepositoryListResponse.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/AzureDevOpsRepositoryListResponse.Serialization.cs @@ -95,7 +95,7 @@ internal static AzureDevOpsRepositoryListResponse DeserializeAzureDevOpsReposito List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DevOpsRepositoryData.DeserializeDevOpsRepositoryData(item)); + array.Add(DevOpsRepositoryData.DeserializeDevOpsRepositoryData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/BaselineAdjustedResult.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/BaselineAdjustedResult.Serialization.cs index 9bfd842b920e4..7a1334cb9871d 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/BaselineAdjustedResult.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/BaselineAdjustedResult.Serialization.cs @@ -128,7 +128,7 @@ internal static BaselineAdjustedResult DeserializeBaselineAdjustedResult(JsonEle { continue; } - baseline = SqlVulnerabilityAssessmentBaseline.DeserializeSqlVulnerabilityAssessmentBaseline(property.Value); + baseline = SqlVulnerabilityAssessmentBaseline.DeserializeSqlVulnerabilityAssessmentBaseline(property.Value, options); continue; } if (property.NameEquals("status"u8)) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/CefExternalSecuritySolution.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/CefExternalSecuritySolution.Serialization.cs index dfe01dcf315cc..c741130b9c8a1 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/CefExternalSecuritySolution.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/CefExternalSecuritySolution.Serialization.cs @@ -121,7 +121,7 @@ internal static CefExternalSecuritySolution DeserializeCefExternalSecuritySoluti { continue; } - properties = CefSolutionProperties.DeserializeCefSolutionProperties(property.Value); + properties = CefSolutionProperties.DeserializeCefSolutionProperties(property.Value, options); continue; } if (property.NameEquals("kind"u8)) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ComplianceList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ComplianceList.Serialization.cs index 0a974f6508fce..2a946f42bd522 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ComplianceList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ComplianceList.Serialization.cs @@ -95,7 +95,7 @@ internal static ComplianceList DeserializeComplianceList(JsonElement element, Mo List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityComplianceData.DeserializeSecurityComplianceData(item)); + array.Add(SecurityComplianceData.DeserializeSecurityComplianceData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ComplianceResultList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ComplianceResultList.Serialization.cs index fe9abe067b603..fe2b99443770e 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ComplianceResultList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ComplianceResultList.Serialization.cs @@ -88,7 +88,7 @@ internal static ComplianceResultList DeserializeComplianceResultList(JsonElement List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ComplianceResultData.DeserializeComplianceResultData(item)); + array.Add(ComplianceResultData.DeserializeComplianceResultData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ConnectableResourceInfo.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ConnectableResourceInfo.Serialization.cs index 0b50042c82029..8940589b0e56a 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ConnectableResourceInfo.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ConnectableResourceInfo.Serialization.cs @@ -114,7 +114,7 @@ internal static ConnectableResourceInfo DeserializeConnectableResourceInfo(JsonE List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ConnectedResourceInfo.DeserializeConnectedResourceInfo(item)); + array.Add(ConnectedResourceInfo.DeserializeConnectedResourceInfo(item, options)); } inboundConnectedResources = array; continue; @@ -128,7 +128,7 @@ internal static ConnectableResourceInfo DeserializeConnectableResourceInfo(JsonE List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ConnectedResourceInfo.DeserializeConnectedResourceInfo(item)); + array.Add(ConnectedResourceInfo.DeserializeConnectedResourceInfo(item, options)); } outboundConnectedResources = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ConnectorSettingList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ConnectorSettingList.Serialization.cs index aa081317fb7c4..44dc6e4593e9f 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ConnectorSettingList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ConnectorSettingList.Serialization.cs @@ -95,7 +95,7 @@ internal static ConnectorSettingList DeserializeConnectorSettingList(JsonElement List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityCloudConnectorData.DeserializeSecurityCloudConnectorData(item)); + array.Add(SecurityCloudConnectorData.DeserializeSecurityCloudConnectorData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ContainerRegistryVulnerabilityProperties.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ContainerRegistryVulnerabilityProperties.Serialization.cs index 83f8a940af8f2..ea674b342f2b9 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ContainerRegistryVulnerabilityProperties.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ContainerRegistryVulnerabilityProperties.Serialization.cs @@ -149,7 +149,7 @@ internal static ContainerRegistryVulnerabilityProperties DeserializeContainerReg Dictionary dictionary = new Dictionary(); foreach (var property0 in property.Value.EnumerateObject()) { - dictionary.Add(property0.Name, SecurityCvss.DeserializeSecurityCvss(property0.Value)); + dictionary.Add(property0.Name, SecurityCvss.DeserializeSecurityCvss(property0.Value, options)); } cvss = dictionary; continue; @@ -172,7 +172,7 @@ internal static ContainerRegistryVulnerabilityProperties DeserializeContainerReg List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityCve.DeserializeSecurityCve(item)); + array.Add(SecurityCve.DeserializeSecurityCve(item, options)); } cve = array; continue; @@ -195,7 +195,7 @@ internal static ContainerRegistryVulnerabilityProperties DeserializeContainerReg List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(VendorReference.DeserializeVendorReference(item)); + array.Add(VendorReference.DeserializeVendorReference(item, options)); } vendorReferences = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/CspmMonitorAwsOffering.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/CspmMonitorAwsOffering.Serialization.cs index f49c5902bae95..fe4bc5d3d19e7 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/CspmMonitorAwsOffering.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/CspmMonitorAwsOffering.Serialization.cs @@ -89,7 +89,7 @@ internal static CspmMonitorAwsOffering DeserializeCspmMonitorAwsOffering(JsonEle { continue; } - nativeCloudConnection = CspmMonitorAwsOfferingNativeCloudConnection.DeserializeCspmMonitorAwsOfferingNativeCloudConnection(property.Value); + nativeCloudConnection = CspmMonitorAwsOfferingNativeCloudConnection.DeserializeCspmMonitorAwsOfferingNativeCloudConnection(property.Value, options); continue; } if (property.NameEquals("offeringType"u8)) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/CspmMonitorGcpOffering.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/CspmMonitorGcpOffering.Serialization.cs index 78a926ed20098..7b12ff51a93f3 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/CspmMonitorGcpOffering.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/CspmMonitorGcpOffering.Serialization.cs @@ -89,7 +89,7 @@ internal static CspmMonitorGcpOffering DeserializeCspmMonitorGcpOffering(JsonEle { continue; } - nativeCloudConnection = CspmMonitorGcpOfferingNativeCloudConnection.DeserializeCspmMonitorGcpOfferingNativeCloudConnection(property.Value); + nativeCloudConnection = CspmMonitorGcpOfferingNativeCloudConnection.DeserializeCspmMonitorGcpOfferingNativeCloudConnection(property.Value, options); continue; } if (property.NameEquals("offeringType"u8)) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/CustomAlertRule.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/CustomAlertRule.Serialization.cs index a3c6db0c05ed3..5f32dad7af1fc 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/CustomAlertRule.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/CustomAlertRule.Serialization.cs @@ -82,34 +82,34 @@ internal static CustomAlertRule DeserializeCustomAlertRule(JsonElement element, { switch (discriminator.GetString()) { - case "AllowlistCustomAlertRule": return AllowlistCustomAlertRule.DeserializeAllowlistCustomAlertRule(element); - case "AmqpC2DMessagesNotInAllowedRange": return AmqpC2DMessagesNotInAllowedRange.DeserializeAmqpC2DMessagesNotInAllowedRange(element); - case "AmqpC2DRejectedMessagesNotInAllowedRange": return AmqpC2DRejectedMessagesNotInAllowedRange.DeserializeAmqpC2DRejectedMessagesNotInAllowedRange(element); - case "AmqpD2CMessagesNotInAllowedRange": return AmqpD2CMessagesNotInAllowedRange.DeserializeAmqpD2CMessagesNotInAllowedRange(element); - case "ConnectionFromIpNotAllowed": return ConnectionFromIPNotAllowed.DeserializeConnectionFromIPNotAllowed(element); - case "ConnectionToIpNotAllowed": return ConnectionToIPNotAllowed.DeserializeConnectionToIPNotAllowed(element); - case "DenylistCustomAlertRule": return DenylistCustomAlertRule.DeserializeDenylistCustomAlertRule(element); - case "DirectMethodInvokesNotInAllowedRange": return DirectMethodInvokesNotInAllowedRange.DeserializeDirectMethodInvokesNotInAllowedRange(element); - case "FailedLocalLoginsNotInAllowedRange": return FailedLocalLoginsNotInAllowedRange.DeserializeFailedLocalLoginsNotInAllowedRange(element); - case "FileUploadsNotInAllowedRange": return FileUploadsNotInAllowedRange.DeserializeFileUploadsNotInAllowedRange(element); - case "HttpC2DMessagesNotInAllowedRange": return HttpC2DMessagesNotInAllowedRange.DeserializeHttpC2DMessagesNotInAllowedRange(element); - case "HttpC2DRejectedMessagesNotInAllowedRange": return HttpC2DRejectedMessagesNotInAllowedRange.DeserializeHttpC2DRejectedMessagesNotInAllowedRange(element); - case "HttpD2CMessagesNotInAllowedRange": return HttpD2CMessagesNotInAllowedRange.DeserializeHttpD2CMessagesNotInAllowedRange(element); - case "ListCustomAlertRule": return ListCustomAlertRule.DeserializeListCustomAlertRule(element); - case "LocalUserNotAllowed": return LocalUserNotAllowed.DeserializeLocalUserNotAllowed(element); - case "MqttC2DMessagesNotInAllowedRange": return MqttC2DMessagesNotInAllowedRange.DeserializeMqttC2DMessagesNotInAllowedRange(element); - case "MqttC2DRejectedMessagesNotInAllowedRange": return MqttC2DRejectedMessagesNotInAllowedRange.DeserializeMqttC2DRejectedMessagesNotInAllowedRange(element); - case "MqttD2CMessagesNotInAllowedRange": return MqttD2CMessagesNotInAllowedRange.DeserializeMqttD2CMessagesNotInAllowedRange(element); - case "ProcessNotAllowed": return ProcessNotAllowed.DeserializeProcessNotAllowed(element); - case "QueuePurgesNotInAllowedRange": return QueuePurgesNotInAllowedRange.DeserializeQueuePurgesNotInAllowedRange(element); - case "TwinUpdatesNotInAllowedRange": return TwinUpdatesNotInAllowedRange.DeserializeTwinUpdatesNotInAllowedRange(element); - case "UnauthorizedOperationsNotInAllowedRange": return UnauthorizedOperationsNotInAllowedRange.DeserializeUnauthorizedOperationsNotInAllowedRange(element); - case "ActiveConnectionsNotInAllowedRange": return ActiveConnectionsNotInAllowedRange.DeserializeActiveConnectionsNotInAllowedRange(element); - case "TimeWindowCustomAlertRule": return TimeWindowCustomAlertRule.DeserializeTimeWindowCustomAlertRule(element); - case "ThresholdCustomAlertRule": return ThresholdCustomAlertRule.DeserializeThresholdCustomAlertRule(element); + case "AllowlistCustomAlertRule": return AllowlistCustomAlertRule.DeserializeAllowlistCustomAlertRule(element, options); + case "AmqpC2DMessagesNotInAllowedRange": return AmqpC2DMessagesNotInAllowedRange.DeserializeAmqpC2DMessagesNotInAllowedRange(element, options); + case "AmqpC2DRejectedMessagesNotInAllowedRange": return AmqpC2DRejectedMessagesNotInAllowedRange.DeserializeAmqpC2DRejectedMessagesNotInAllowedRange(element, options); + case "AmqpD2CMessagesNotInAllowedRange": return AmqpD2CMessagesNotInAllowedRange.DeserializeAmqpD2CMessagesNotInAllowedRange(element, options); + case "ConnectionFromIpNotAllowed": return ConnectionFromIPNotAllowed.DeserializeConnectionFromIPNotAllowed(element, options); + case "ConnectionToIpNotAllowed": return ConnectionToIPNotAllowed.DeserializeConnectionToIPNotAllowed(element, options); + case "DenylistCustomAlertRule": return DenylistCustomAlertRule.DeserializeDenylistCustomAlertRule(element, options); + case "DirectMethodInvokesNotInAllowedRange": return DirectMethodInvokesNotInAllowedRange.DeserializeDirectMethodInvokesNotInAllowedRange(element, options); + case "FailedLocalLoginsNotInAllowedRange": return FailedLocalLoginsNotInAllowedRange.DeserializeFailedLocalLoginsNotInAllowedRange(element, options); + case "FileUploadsNotInAllowedRange": return FileUploadsNotInAllowedRange.DeserializeFileUploadsNotInAllowedRange(element, options); + case "HttpC2DMessagesNotInAllowedRange": return HttpC2DMessagesNotInAllowedRange.DeserializeHttpC2DMessagesNotInAllowedRange(element, options); + case "HttpC2DRejectedMessagesNotInAllowedRange": return HttpC2DRejectedMessagesNotInAllowedRange.DeserializeHttpC2DRejectedMessagesNotInAllowedRange(element, options); + case "HttpD2CMessagesNotInAllowedRange": return HttpD2CMessagesNotInAllowedRange.DeserializeHttpD2CMessagesNotInAllowedRange(element, options); + case "ListCustomAlertRule": return ListCustomAlertRule.DeserializeListCustomAlertRule(element, options); + case "LocalUserNotAllowed": return LocalUserNotAllowed.DeserializeLocalUserNotAllowed(element, options); + case "MqttC2DMessagesNotInAllowedRange": return MqttC2DMessagesNotInAllowedRange.DeserializeMqttC2DMessagesNotInAllowedRange(element, options); + case "MqttC2DRejectedMessagesNotInAllowedRange": return MqttC2DRejectedMessagesNotInAllowedRange.DeserializeMqttC2DRejectedMessagesNotInAllowedRange(element, options); + case "MqttD2CMessagesNotInAllowedRange": return MqttD2CMessagesNotInAllowedRange.DeserializeMqttD2CMessagesNotInAllowedRange(element, options); + case "ProcessNotAllowed": return ProcessNotAllowed.DeserializeProcessNotAllowed(element, options); + case "QueuePurgesNotInAllowedRange": return QueuePurgesNotInAllowedRange.DeserializeQueuePurgesNotInAllowedRange(element, options); + case "TwinUpdatesNotInAllowedRange": return TwinUpdatesNotInAllowedRange.DeserializeTwinUpdatesNotInAllowedRange(element, options); + case "UnauthorizedOperationsNotInAllowedRange": return UnauthorizedOperationsNotInAllowedRange.DeserializeUnauthorizedOperationsNotInAllowedRange(element, options); + case "ActiveConnectionsNotInAllowedRange": return ActiveConnectionsNotInAllowedRange.DeserializeActiveConnectionsNotInAllowedRange(element, options); + case "TimeWindowCustomAlertRule": return TimeWindowCustomAlertRule.DeserializeTimeWindowCustomAlertRule(element, options); + case "ThresholdCustomAlertRule": return ThresholdCustomAlertRule.DeserializeThresholdCustomAlertRule(element, options); } } - return UnknownCustomAlertRule.DeserializeUnknownCustomAlertRule(element); + return UnknownCustomAlertRule.DeserializeUnknownCustomAlertRule(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/CustomAssessmentAutomationsListResult.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/CustomAssessmentAutomationsListResult.Serialization.cs index 424cefbd8a7f8..9b31111fb1d87 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/CustomAssessmentAutomationsListResult.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/CustomAssessmentAutomationsListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static CustomAssessmentAutomationsListResult DeserializeCustomAssessmen List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(CustomAssessmentAutomationData.DeserializeCustomAssessmentAutomationData(item)); + array.Add(CustomAssessmentAutomationData.DeserializeCustomAssessmentAutomationData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/CustomEntityStoreAssignmentsListResult.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/CustomEntityStoreAssignmentsListResult.Serialization.cs index 8f15c20adfcb8..7e8b584f7e5d8 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/CustomEntityStoreAssignmentsListResult.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/CustomEntityStoreAssignmentsListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static CustomEntityStoreAssignmentsListResult DeserializeCustomEntitySt List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(CustomEntityStoreAssignmentData.DeserializeCustomEntityStoreAssignmentData(item)); + array.Add(CustomEntityStoreAssignmentData.DeserializeCustomEntityStoreAssignmentData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderCspmAwsOffering.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderCspmAwsOffering.Serialization.cs index 57272fe774c7d..1544d6c4cdf29 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderCspmAwsOffering.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderCspmAwsOffering.Serialization.cs @@ -119,7 +119,7 @@ internal static DefenderCspmAwsOffering DeserializeDefenderCspmAwsOffering(JsonE { continue; } - vmScanners = DefenderCspmAwsOfferingVmScanners.DeserializeDefenderCspmAwsOfferingVmScanners(property.Value); + vmScanners = DefenderCspmAwsOfferingVmScanners.DeserializeDefenderCspmAwsOfferingVmScanners(property.Value, options); continue; } if (property.NameEquals("dataSensitivityDiscovery"u8)) @@ -128,7 +128,7 @@ internal static DefenderCspmAwsOffering DeserializeDefenderCspmAwsOffering(JsonE { continue; } - dataSensitivityDiscovery = DefenderCspmAwsOfferingDataSensitivityDiscovery.DeserializeDefenderCspmAwsOfferingDataSensitivityDiscovery(property.Value); + dataSensitivityDiscovery = DefenderCspmAwsOfferingDataSensitivityDiscovery.DeserializeDefenderCspmAwsOfferingDataSensitivityDiscovery(property.Value, options); continue; } if (property.NameEquals("databasesDspm"u8)) @@ -137,7 +137,7 @@ internal static DefenderCspmAwsOffering DeserializeDefenderCspmAwsOffering(JsonE { continue; } - databasesDspm = DefenderCspmAwsOfferingDatabasesDspm.DeserializeDefenderCspmAwsOfferingDatabasesDspm(property.Value); + databasesDspm = DefenderCspmAwsOfferingDatabasesDspm.DeserializeDefenderCspmAwsOfferingDatabasesDspm(property.Value, options); continue; } if (property.NameEquals("ciem"u8)) @@ -146,7 +146,7 @@ internal static DefenderCspmAwsOffering DeserializeDefenderCspmAwsOffering(JsonE { continue; } - ciem = DefenderCspmAwsOfferingCiem.DeserializeDefenderCspmAwsOfferingCiem(property.Value); + ciem = DefenderCspmAwsOfferingCiem.DeserializeDefenderCspmAwsOfferingCiem(property.Value, options); continue; } if (property.NameEquals("mdcContainersImageAssessment"u8)) @@ -155,7 +155,7 @@ internal static DefenderCspmAwsOffering DeserializeDefenderCspmAwsOffering(JsonE { continue; } - mdcContainersImageAssessment = DefenderCspmAwsOfferingMdcContainersImageAssessment.DeserializeDefenderCspmAwsOfferingMdcContainersImageAssessment(property.Value); + mdcContainersImageAssessment = DefenderCspmAwsOfferingMdcContainersImageAssessment.DeserializeDefenderCspmAwsOfferingMdcContainersImageAssessment(property.Value, options); continue; } if (property.NameEquals("mdcContainersAgentlessDiscoveryK8s"u8)) @@ -164,7 +164,7 @@ internal static DefenderCspmAwsOffering DeserializeDefenderCspmAwsOffering(JsonE { continue; } - mdcContainersAgentlessDiscoveryK8S = DefenderCspmAwsOfferingMdcContainersAgentlessDiscoveryK8S.DeserializeDefenderCspmAwsOfferingMdcContainersAgentlessDiscoveryK8S(property.Value); + mdcContainersAgentlessDiscoveryK8S = DefenderCspmAwsOfferingMdcContainersAgentlessDiscoveryK8S.DeserializeDefenderCspmAwsOfferingMdcContainersAgentlessDiscoveryK8S(property.Value, options); continue; } if (property.NameEquals("offeringType"u8)) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderCspmAwsOfferingCiem.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderCspmAwsOfferingCiem.Serialization.cs index c1aebf76eda5c..f2c353573743c 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderCspmAwsOfferingCiem.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderCspmAwsOfferingCiem.Serialization.cs @@ -86,7 +86,7 @@ internal static DefenderCspmAwsOfferingCiem DeserializeDefenderCspmAwsOfferingCi { continue; } - ciemDiscovery = DefenderCspmAwsOfferingCiemDiscovery.DeserializeDefenderCspmAwsOfferingCiemDiscovery(property.Value); + ciemDiscovery = DefenderCspmAwsOfferingCiemDiscovery.DeserializeDefenderCspmAwsOfferingCiemDiscovery(property.Value, options); continue; } if (property.NameEquals("ciemOidc"u8)) @@ -95,7 +95,7 @@ internal static DefenderCspmAwsOfferingCiem DeserializeDefenderCspmAwsOfferingCi { continue; } - ciemOidc = DefenderCspmAwsOfferingCiemOidc.DeserializeDefenderCspmAwsOfferingCiemOidc(property.Value); + ciemOidc = DefenderCspmAwsOfferingCiemOidc.DeserializeDefenderCspmAwsOfferingCiemOidc(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderCspmAwsOfferingVmScanners.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderCspmAwsOfferingVmScanners.Serialization.cs index 9cfdda22e7cfa..8c8ac47585f79 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderCspmAwsOfferingVmScanners.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderCspmAwsOfferingVmScanners.Serialization.cs @@ -95,7 +95,7 @@ internal static DefenderCspmAwsOfferingVmScanners DeserializeDefenderCspmAwsOffe { continue; } - configuration = DefenderCspmAwsOfferingVmScannersConfiguration.DeserializeDefenderCspmAwsOfferingVmScannersConfiguration(property.Value); + configuration = DefenderCspmAwsOfferingVmScannersConfiguration.DeserializeDefenderCspmAwsOfferingVmScannersConfiguration(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderCspmGcpOffering.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderCspmGcpOffering.Serialization.cs index 27ff2877d67d0..4f2eb5a9b0f83 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderCspmGcpOffering.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderCspmGcpOffering.Serialization.cs @@ -113,7 +113,7 @@ internal static DefenderCspmGcpOffering DeserializeDefenderCspmGcpOffering(JsonE { continue; } - ciemDiscovery = DefenderCspmGcpOfferingCiemDiscovery.DeserializeDefenderCspmGcpOfferingCiemDiscovery(property.Value); + ciemDiscovery = DefenderCspmGcpOfferingCiemDiscovery.DeserializeDefenderCspmGcpOfferingCiemDiscovery(property.Value, options); continue; } if (property.NameEquals("vmScanners"u8)) @@ -122,7 +122,7 @@ internal static DefenderCspmGcpOffering DeserializeDefenderCspmGcpOffering(JsonE { continue; } - vmScanners = DefenderCspmGcpOfferingVmScanners.DeserializeDefenderCspmGcpOfferingVmScanners(property.Value); + vmScanners = DefenderCspmGcpOfferingVmScanners.DeserializeDefenderCspmGcpOfferingVmScanners(property.Value, options); continue; } if (property.NameEquals("dataSensitivityDiscovery"u8)) @@ -131,7 +131,7 @@ internal static DefenderCspmGcpOffering DeserializeDefenderCspmGcpOffering(JsonE { continue; } - dataSensitivityDiscovery = DefenderCspmGcpOfferingDataSensitivityDiscovery.DeserializeDefenderCspmGcpOfferingDataSensitivityDiscovery(property.Value); + dataSensitivityDiscovery = DefenderCspmGcpOfferingDataSensitivityDiscovery.DeserializeDefenderCspmGcpOfferingDataSensitivityDiscovery(property.Value, options); continue; } if (property.NameEquals("mdcContainersImageAssessment"u8)) @@ -140,7 +140,7 @@ internal static DefenderCspmGcpOffering DeserializeDefenderCspmGcpOffering(JsonE { continue; } - mdcContainersImageAssessment = DefenderCspmGcpOfferingMdcContainersImageAssessment.DeserializeDefenderCspmGcpOfferingMdcContainersImageAssessment(property.Value); + mdcContainersImageAssessment = DefenderCspmGcpOfferingMdcContainersImageAssessment.DeserializeDefenderCspmGcpOfferingMdcContainersImageAssessment(property.Value, options); continue; } if (property.NameEquals("mdcContainersAgentlessDiscoveryK8s"u8)) @@ -149,7 +149,7 @@ internal static DefenderCspmGcpOffering DeserializeDefenderCspmGcpOffering(JsonE { continue; } - mdcContainersAgentlessDiscoveryK8S = DefenderCspmGcpOfferingMdcContainersAgentlessDiscoveryK8S.DeserializeDefenderCspmGcpOfferingMdcContainersAgentlessDiscoveryK8S(property.Value); + mdcContainersAgentlessDiscoveryK8S = DefenderCspmGcpOfferingMdcContainersAgentlessDiscoveryK8S.DeserializeDefenderCspmGcpOfferingMdcContainersAgentlessDiscoveryK8S(property.Value, options); continue; } if (property.NameEquals("offeringType"u8)) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderCspmGcpOfferingVmScanners.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderCspmGcpOfferingVmScanners.Serialization.cs index 693b56c95f5a4..c750dcf351611 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderCspmGcpOfferingVmScanners.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderCspmGcpOfferingVmScanners.Serialization.cs @@ -95,7 +95,7 @@ internal static DefenderCspmGcpOfferingVmScanners DeserializeDefenderCspmGcpOffe { continue; } - configuration = DefenderCspmGcpOfferingVmScannersConfiguration.DeserializeDefenderCspmGcpOfferingVmScannersConfiguration(property.Value); + configuration = DefenderCspmGcpOfferingVmScannersConfiguration.DeserializeDefenderCspmGcpOfferingVmScannersConfiguration(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForContainersAwsOffering.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForContainersAwsOffering.Serialization.cs index e2156749b2bbd..ed53e6e011717 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForContainersAwsOffering.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForContainersAwsOffering.Serialization.cs @@ -155,7 +155,7 @@ internal static DefenderForContainersAwsOffering DeserializeDefenderForContainer { continue; } - kubernetesService = DefenderForContainersAwsOfferingKubernetesService.DeserializeDefenderForContainersAwsOfferingKubernetesService(property.Value); + kubernetesService = DefenderForContainersAwsOfferingKubernetesService.DeserializeDefenderForContainersAwsOfferingKubernetesService(property.Value, options); continue; } if (property.NameEquals("kubernetesScubaReader"u8)) @@ -164,7 +164,7 @@ internal static DefenderForContainersAwsOffering DeserializeDefenderForContainer { continue; } - kubernetesScubaReader = DefenderForContainersAwsOfferingKubernetesScubaReader.DeserializeDefenderForContainersAwsOfferingKubernetesScubaReader(property.Value); + kubernetesScubaReader = DefenderForContainersAwsOfferingKubernetesScubaReader.DeserializeDefenderForContainersAwsOfferingKubernetesScubaReader(property.Value, options); continue; } if (property.NameEquals("cloudWatchToKinesis"u8)) @@ -173,7 +173,7 @@ internal static DefenderForContainersAwsOffering DeserializeDefenderForContainer { continue; } - cloudWatchToKinesis = DefenderForContainersAwsOfferingCloudWatchToKinesis.DeserializeDefenderForContainersAwsOfferingCloudWatchToKinesis(property.Value); + cloudWatchToKinesis = DefenderForContainersAwsOfferingCloudWatchToKinesis.DeserializeDefenderForContainersAwsOfferingCloudWatchToKinesis(property.Value, options); continue; } if (property.NameEquals("kinesisToS3"u8)) @@ -182,7 +182,7 @@ internal static DefenderForContainersAwsOffering DeserializeDefenderForContainer { continue; } - kinesisToS3 = DefenderForContainersAwsOfferingKinesisToS3.DeserializeDefenderForContainersAwsOfferingKinesisToS3(property.Value); + kinesisToS3 = DefenderForContainersAwsOfferingKinesisToS3.DeserializeDefenderForContainersAwsOfferingKinesisToS3(property.Value, options); continue; } if (property.NameEquals("containerVulnerabilityAssessment"u8)) @@ -191,7 +191,7 @@ internal static DefenderForContainersAwsOffering DeserializeDefenderForContainer { continue; } - containerVulnerabilityAssessment = DefenderForContainersAwsOfferingContainerVulnerabilityAssessment.DeserializeDefenderForContainersAwsOfferingContainerVulnerabilityAssessment(property.Value); + containerVulnerabilityAssessment = DefenderForContainersAwsOfferingContainerVulnerabilityAssessment.DeserializeDefenderForContainersAwsOfferingContainerVulnerabilityAssessment(property.Value, options); continue; } if (property.NameEquals("containerVulnerabilityAssessmentTask"u8)) @@ -200,7 +200,7 @@ internal static DefenderForContainersAwsOffering DeserializeDefenderForContainer { continue; } - containerVulnerabilityAssessmentTask = DefenderForContainersAwsOfferingContainerVulnerabilityAssessmentTask.DeserializeDefenderForContainersAwsOfferingContainerVulnerabilityAssessmentTask(property.Value); + containerVulnerabilityAssessmentTask = DefenderForContainersAwsOfferingContainerVulnerabilityAssessmentTask.DeserializeDefenderForContainersAwsOfferingContainerVulnerabilityAssessmentTask(property.Value, options); continue; } if (property.NameEquals("enableContainerVulnerabilityAssessment"u8)) @@ -241,7 +241,7 @@ internal static DefenderForContainersAwsOffering DeserializeDefenderForContainer { continue; } - mdcContainersImageAssessment = DefenderForContainersAwsOfferingMdcContainersImageAssessment.DeserializeDefenderForContainersAwsOfferingMdcContainersImageAssessment(property.Value); + mdcContainersImageAssessment = DefenderForContainersAwsOfferingMdcContainersImageAssessment.DeserializeDefenderForContainersAwsOfferingMdcContainersImageAssessment(property.Value, options); continue; } if (property.NameEquals("mdcContainersAgentlessDiscoveryK8s"u8)) @@ -250,7 +250,7 @@ internal static DefenderForContainersAwsOffering DeserializeDefenderForContainer { continue; } - mdcContainersAgentlessDiscoveryK8S = DefenderForContainersAwsOfferingMdcContainersAgentlessDiscoveryK8S.DeserializeDefenderForContainersAwsOfferingMdcContainersAgentlessDiscoveryK8S(property.Value); + mdcContainersAgentlessDiscoveryK8S = DefenderForContainersAwsOfferingMdcContainersAgentlessDiscoveryK8S.DeserializeDefenderForContainersAwsOfferingMdcContainersAgentlessDiscoveryK8S(property.Value, options); continue; } if (property.NameEquals("offeringType"u8)) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForContainersGcpOffering.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForContainersGcpOffering.Serialization.cs index c676fe3fdab5b..ccded897012f8 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForContainersGcpOffering.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForContainersGcpOffering.Serialization.cs @@ -125,7 +125,7 @@ internal static DefenderForContainersGcpOffering DeserializeDefenderForContainer { continue; } - nativeCloudConnection = DefenderForContainersGcpOfferingNativeCloudConnection.DeserializeDefenderForContainersGcpOfferingNativeCloudConnection(property.Value); + nativeCloudConnection = DefenderForContainersGcpOfferingNativeCloudConnection.DeserializeDefenderForContainersGcpOfferingNativeCloudConnection(property.Value, options); continue; } if (property.NameEquals("dataPipelineNativeCloudConnection"u8)) @@ -134,7 +134,7 @@ internal static DefenderForContainersGcpOffering DeserializeDefenderForContainer { continue; } - dataPipelineNativeCloudConnection = DefenderForContainersGcpOfferingDataPipelineNativeCloudConnection.DeserializeDefenderForContainersGcpOfferingDataPipelineNativeCloudConnection(property.Value); + dataPipelineNativeCloudConnection = DefenderForContainersGcpOfferingDataPipelineNativeCloudConnection.DeserializeDefenderForContainersGcpOfferingDataPipelineNativeCloudConnection(property.Value, options); continue; } if (property.NameEquals("auditLogsAutoProvisioningFlag"u8)) @@ -170,7 +170,7 @@ internal static DefenderForContainersGcpOffering DeserializeDefenderForContainer { continue; } - mdcContainersImageAssessment = DefenderForContainersGcpOfferingMdcContainersImageAssessment.DeserializeDefenderForContainersGcpOfferingMdcContainersImageAssessment(property.Value); + mdcContainersImageAssessment = DefenderForContainersGcpOfferingMdcContainersImageAssessment.DeserializeDefenderForContainersGcpOfferingMdcContainersImageAssessment(property.Value, options); continue; } if (property.NameEquals("mdcContainersAgentlessDiscoveryK8s"u8)) @@ -179,7 +179,7 @@ internal static DefenderForContainersGcpOffering DeserializeDefenderForContainer { continue; } - mdcContainersAgentlessDiscoveryK8S = DefenderForContainersGcpOfferingMdcContainersAgentlessDiscoveryK8S.DeserializeDefenderForContainersGcpOfferingMdcContainersAgentlessDiscoveryK8S(property.Value); + mdcContainersAgentlessDiscoveryK8S = DefenderForContainersGcpOfferingMdcContainersAgentlessDiscoveryK8S.DeserializeDefenderForContainersGcpOfferingMdcContainersAgentlessDiscoveryK8S(property.Value, options); continue; } if (property.NameEquals("offeringType"u8)) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForDatabasesAwsOffering.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForDatabasesAwsOffering.Serialization.cs index c2212e7a78edb..efa9cb5e82ab2 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForDatabasesAwsOffering.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForDatabasesAwsOffering.Serialization.cs @@ -101,7 +101,7 @@ internal static DefenderForDatabasesAwsOffering DeserializeDefenderForDatabasesA { continue; } - arcAutoProvisioning = DefenderForDatabasesAwsOfferingArcAutoProvisioning.DeserializeDefenderForDatabasesAwsOfferingArcAutoProvisioning(property.Value); + arcAutoProvisioning = DefenderForDatabasesAwsOfferingArcAutoProvisioning.DeserializeDefenderForDatabasesAwsOfferingArcAutoProvisioning(property.Value, options); continue; } if (property.NameEquals("rds"u8)) @@ -110,7 +110,7 @@ internal static DefenderForDatabasesAwsOffering DeserializeDefenderForDatabasesA { continue; } - rds = DefenderForDatabasesAwsOfferingRds.DeserializeDefenderForDatabasesAwsOfferingRds(property.Value); + rds = DefenderForDatabasesAwsOfferingRds.DeserializeDefenderForDatabasesAwsOfferingRds(property.Value, options); continue; } if (property.NameEquals("databasesDspm"u8)) @@ -119,7 +119,7 @@ internal static DefenderForDatabasesAwsOffering DeserializeDefenderForDatabasesA { continue; } - databasesDspm = DefenderFoDatabasesAwsOfferingDatabasesDspm.DeserializeDefenderFoDatabasesAwsOfferingDatabasesDspm(property.Value); + databasesDspm = DefenderFoDatabasesAwsOfferingDatabasesDspm.DeserializeDefenderFoDatabasesAwsOfferingDatabasesDspm(property.Value, options); continue; } if (property.NameEquals("offeringType"u8)) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForDatabasesAwsOfferingArcAutoProvisioning.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForDatabasesAwsOfferingArcAutoProvisioning.Serialization.cs index 41a193f63d0d2..435ebffbd818e 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForDatabasesAwsOfferingArcAutoProvisioning.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForDatabasesAwsOfferingArcAutoProvisioning.Serialization.cs @@ -106,7 +106,7 @@ internal static DefenderForDatabasesAwsOfferingArcAutoProvisioning DeserializeDe { continue; } - configuration = DefenderFoDatabasesAwsOfferingArcAutoProvisioningConfiguration.DeserializeDefenderFoDatabasesAwsOfferingArcAutoProvisioningConfiguration(property.Value); + configuration = DefenderFoDatabasesAwsOfferingArcAutoProvisioningConfiguration.DeserializeDefenderFoDatabasesAwsOfferingArcAutoProvisioningConfiguration(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForDatabasesGcpOffering.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForDatabasesGcpOffering.Serialization.cs index d9212fd563c11..d16c067653275 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForDatabasesGcpOffering.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForDatabasesGcpOffering.Serialization.cs @@ -95,7 +95,7 @@ internal static DefenderForDatabasesGcpOffering DeserializeDefenderForDatabasesG { continue; } - arcAutoProvisioning = DefenderForDatabasesGcpOfferingArcAutoProvisioning.DeserializeDefenderForDatabasesGcpOfferingArcAutoProvisioning(property.Value); + arcAutoProvisioning = DefenderForDatabasesGcpOfferingArcAutoProvisioning.DeserializeDefenderForDatabasesGcpOfferingArcAutoProvisioning(property.Value, options); continue; } if (property.NameEquals("defenderForDatabasesArcAutoProvisioning"u8)) @@ -104,7 +104,7 @@ internal static DefenderForDatabasesGcpOffering DeserializeDefenderForDatabasesG { continue; } - defenderForDatabasesArcAutoProvisioning = GcpDefenderForDatabasesArcAutoProvisioning.DeserializeGcpDefenderForDatabasesArcAutoProvisioning(property.Value); + defenderForDatabasesArcAutoProvisioning = GcpDefenderForDatabasesArcAutoProvisioning.DeserializeGcpDefenderForDatabasesArcAutoProvisioning(property.Value, options); continue; } if (property.NameEquals("offeringType"u8)) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForDatabasesGcpOfferingArcAutoProvisioning.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForDatabasesGcpOfferingArcAutoProvisioning.Serialization.cs index c5a78d417f652..a03983f2eed3e 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForDatabasesGcpOfferingArcAutoProvisioning.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForDatabasesGcpOfferingArcAutoProvisioning.Serialization.cs @@ -95,7 +95,7 @@ internal static DefenderForDatabasesGcpOfferingArcAutoProvisioning DeserializeDe { continue; } - configuration = DefenderForDatabasesGcpOfferingArcAutoProvisioningConfiguration.DeserializeDefenderForDatabasesGcpOfferingArcAutoProvisioningConfiguration(property.Value); + configuration = DefenderForDatabasesGcpOfferingArcAutoProvisioningConfiguration.DeserializeDefenderForDatabasesGcpOfferingArcAutoProvisioningConfiguration(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForServersAwsOffering.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForServersAwsOffering.Serialization.cs index 7ccb86a6b816f..50452d6e2699b 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForServersAwsOffering.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForServersAwsOffering.Serialization.cs @@ -119,7 +119,7 @@ internal static DefenderForServersAwsOffering DeserializeDefenderForServersAwsOf { continue; } - defenderForServers = AwsDefenderForServersInfo.DeserializeAwsDefenderForServersInfo(property.Value); + defenderForServers = AwsDefenderForServersInfo.DeserializeAwsDefenderForServersInfo(property.Value, options); continue; } if (property.NameEquals("arcAutoProvisioning"u8)) @@ -128,7 +128,7 @@ internal static DefenderForServersAwsOffering DeserializeDefenderForServersAwsOf { continue; } - arcAutoProvisioning = DefenderForServersAwsOfferingArcAutoProvisioning.DeserializeDefenderForServersAwsOfferingArcAutoProvisioning(property.Value); + arcAutoProvisioning = DefenderForServersAwsOfferingArcAutoProvisioning.DeserializeDefenderForServersAwsOfferingArcAutoProvisioning(property.Value, options); continue; } if (property.NameEquals("vaAutoProvisioning"u8)) @@ -137,7 +137,7 @@ internal static DefenderForServersAwsOffering DeserializeDefenderForServersAwsOf { continue; } - vaAutoProvisioning = DefenderForServersAwsOfferingVulnerabilityAssessmentAutoProvisioning.DeserializeDefenderForServersAwsOfferingVulnerabilityAssessmentAutoProvisioning(property.Value); + vaAutoProvisioning = DefenderForServersAwsOfferingVulnerabilityAssessmentAutoProvisioning.DeserializeDefenderForServersAwsOfferingVulnerabilityAssessmentAutoProvisioning(property.Value, options); continue; } if (property.NameEquals("mdeAutoProvisioning"u8)) @@ -146,7 +146,7 @@ internal static DefenderForServersAwsOffering DeserializeDefenderForServersAwsOf { continue; } - mdeAutoProvisioning = DefenderForServersAwsOfferingMdeAutoProvisioning.DeserializeDefenderForServersAwsOfferingMdeAutoProvisioning(property.Value); + mdeAutoProvisioning = DefenderForServersAwsOfferingMdeAutoProvisioning.DeserializeDefenderForServersAwsOfferingMdeAutoProvisioning(property.Value, options); continue; } if (property.NameEquals("subPlan"u8)) @@ -155,7 +155,7 @@ internal static DefenderForServersAwsOffering DeserializeDefenderForServersAwsOf { continue; } - subPlan = DefenderForServersAwsOfferingSubPlan.DeserializeDefenderForServersAwsOfferingSubPlan(property.Value); + subPlan = DefenderForServersAwsOfferingSubPlan.DeserializeDefenderForServersAwsOfferingSubPlan(property.Value, options); continue; } if (property.NameEquals("vmScanners"u8)) @@ -164,7 +164,7 @@ internal static DefenderForServersAwsOffering DeserializeDefenderForServersAwsOf { continue; } - vmScanners = DefenderForServersAwsOfferingVmScanners.DeserializeDefenderForServersAwsOfferingVmScanners(property.Value); + vmScanners = DefenderForServersAwsOfferingVmScanners.DeserializeDefenderForServersAwsOfferingVmScanners(property.Value, options); continue; } if (property.NameEquals("offeringType"u8)) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForServersAwsOfferingArcAutoProvisioning.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForServersAwsOfferingArcAutoProvisioning.Serialization.cs index 0546846047923..391278cc866c8 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForServersAwsOfferingArcAutoProvisioning.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForServersAwsOfferingArcAutoProvisioning.Serialization.cs @@ -106,7 +106,7 @@ internal static DefenderForServersAwsOfferingArcAutoProvisioning DeserializeDefe { continue; } - configuration = DefenderForServersAwsOfferingArcAutoProvisioningConfiguration.DeserializeDefenderForServersAwsOfferingArcAutoProvisioningConfiguration(property.Value); + configuration = DefenderForServersAwsOfferingArcAutoProvisioningConfiguration.DeserializeDefenderForServersAwsOfferingArcAutoProvisioningConfiguration(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForServersAwsOfferingVmScanners.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForServersAwsOfferingVmScanners.Serialization.cs index 1ea8d73b0d057..f80b66f700ab4 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForServersAwsOfferingVmScanners.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForServersAwsOfferingVmScanners.Serialization.cs @@ -95,7 +95,7 @@ internal static DefenderForServersAwsOfferingVmScanners DeserializeDefenderForSe { continue; } - configuration = DefenderForServersAwsOfferingVmScannersConfiguration.DeserializeDefenderForServersAwsOfferingVmScannersConfiguration(property.Value); + configuration = DefenderForServersAwsOfferingVmScannersConfiguration.DeserializeDefenderForServersAwsOfferingVmScannersConfiguration(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForServersAwsOfferingVulnerabilityAssessmentAutoProvisioning.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForServersAwsOfferingVulnerabilityAssessmentAutoProvisioning.Serialization.cs index 6f8167626c099..562bf26ea13e8 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForServersAwsOfferingVulnerabilityAssessmentAutoProvisioning.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForServersAwsOfferingVulnerabilityAssessmentAutoProvisioning.Serialization.cs @@ -95,7 +95,7 @@ internal static DefenderForServersAwsOfferingVulnerabilityAssessmentAutoProvisio { continue; } - configuration = DefenderForServersAwsOfferingVulnerabilityAssessmentAutoProvisioningConfiguration.DeserializeDefenderForServersAwsOfferingVulnerabilityAssessmentAutoProvisioningConfiguration(property.Value); + configuration = DefenderForServersAwsOfferingVulnerabilityAssessmentAutoProvisioningConfiguration.DeserializeDefenderForServersAwsOfferingVulnerabilityAssessmentAutoProvisioningConfiguration(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForServersGcpOffering.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForServersGcpOffering.Serialization.cs index d6fe4493030f3..57eaf68d7921a 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForServersGcpOffering.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForServersGcpOffering.Serialization.cs @@ -119,7 +119,7 @@ internal static DefenderForServersGcpOffering DeserializeDefenderForServersGcpOf { continue; } - defenderForServers = GcpDefenderForServersInfo.DeserializeGcpDefenderForServersInfo(property.Value); + defenderForServers = GcpDefenderForServersInfo.DeserializeGcpDefenderForServersInfo(property.Value, options); continue; } if (property.NameEquals("arcAutoProvisioning"u8)) @@ -128,7 +128,7 @@ internal static DefenderForServersGcpOffering DeserializeDefenderForServersGcpOf { continue; } - arcAutoProvisioning = DefenderForServersGcpOfferingArcAutoProvisioning.DeserializeDefenderForServersGcpOfferingArcAutoProvisioning(property.Value); + arcAutoProvisioning = DefenderForServersGcpOfferingArcAutoProvisioning.DeserializeDefenderForServersGcpOfferingArcAutoProvisioning(property.Value, options); continue; } if (property.NameEquals("vaAutoProvisioning"u8)) @@ -137,7 +137,7 @@ internal static DefenderForServersGcpOffering DeserializeDefenderForServersGcpOf { continue; } - vaAutoProvisioning = DefenderForServersGcpOfferingVulnerabilityAssessmentAutoProvisioning.DeserializeDefenderForServersGcpOfferingVulnerabilityAssessmentAutoProvisioning(property.Value); + vaAutoProvisioning = DefenderForServersGcpOfferingVulnerabilityAssessmentAutoProvisioning.DeserializeDefenderForServersGcpOfferingVulnerabilityAssessmentAutoProvisioning(property.Value, options); continue; } if (property.NameEquals("mdeAutoProvisioning"u8)) @@ -146,7 +146,7 @@ internal static DefenderForServersGcpOffering DeserializeDefenderForServersGcpOf { continue; } - mdeAutoProvisioning = DefenderForServersGcpOfferingMdeAutoProvisioning.DeserializeDefenderForServersGcpOfferingMdeAutoProvisioning(property.Value); + mdeAutoProvisioning = DefenderForServersGcpOfferingMdeAutoProvisioning.DeserializeDefenderForServersGcpOfferingMdeAutoProvisioning(property.Value, options); continue; } if (property.NameEquals("subPlan"u8)) @@ -155,7 +155,7 @@ internal static DefenderForServersGcpOffering DeserializeDefenderForServersGcpOf { continue; } - subPlan = DefenderForServersGcpOfferingSubPlan.DeserializeDefenderForServersGcpOfferingSubPlan(property.Value); + subPlan = DefenderForServersGcpOfferingSubPlan.DeserializeDefenderForServersGcpOfferingSubPlan(property.Value, options); continue; } if (property.NameEquals("vmScanners"u8)) @@ -164,7 +164,7 @@ internal static DefenderForServersGcpOffering DeserializeDefenderForServersGcpOf { continue; } - vmScanners = DefenderForServersGcpOfferingVmScanners.DeserializeDefenderForServersGcpOfferingVmScanners(property.Value); + vmScanners = DefenderForServersGcpOfferingVmScanners.DeserializeDefenderForServersGcpOfferingVmScanners(property.Value, options); continue; } if (property.NameEquals("offeringType"u8)) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForServersGcpOfferingArcAutoProvisioning.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForServersGcpOfferingArcAutoProvisioning.Serialization.cs index 1939f012073fe..71857e9ce6582 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForServersGcpOfferingArcAutoProvisioning.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForServersGcpOfferingArcAutoProvisioning.Serialization.cs @@ -95,7 +95,7 @@ internal static DefenderForServersGcpOfferingArcAutoProvisioning DeserializeDefe { continue; } - configuration = DefenderForServersGcpOfferingArcAutoProvisioningConfiguration.DeserializeDefenderForServersGcpOfferingArcAutoProvisioningConfiguration(property.Value); + configuration = DefenderForServersGcpOfferingArcAutoProvisioningConfiguration.DeserializeDefenderForServersGcpOfferingArcAutoProvisioningConfiguration(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForServersGcpOfferingVmScanners.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForServersGcpOfferingVmScanners.Serialization.cs index aab77eae545d2..4ed152e622060 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForServersGcpOfferingVmScanners.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForServersGcpOfferingVmScanners.Serialization.cs @@ -95,7 +95,7 @@ internal static DefenderForServersGcpOfferingVmScanners DeserializeDefenderForSe { continue; } - configuration = DefenderForServersGcpOfferingVmScannersConfiguration.DeserializeDefenderForServersGcpOfferingVmScannersConfiguration(property.Value); + configuration = DefenderForServersGcpOfferingVmScannersConfiguration.DeserializeDefenderForServersGcpOfferingVmScannersConfiguration(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForServersGcpOfferingVulnerabilityAssessmentAutoProvisioning.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForServersGcpOfferingVulnerabilityAssessmentAutoProvisioning.Serialization.cs index 82ad20fe4903e..6d018d2e99294 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForServersGcpOfferingVulnerabilityAssessmentAutoProvisioning.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DefenderForServersGcpOfferingVulnerabilityAssessmentAutoProvisioning.Serialization.cs @@ -95,7 +95,7 @@ internal static DefenderForServersGcpOfferingVulnerabilityAssessmentAutoProvisio { continue; } - configuration = DefenderForServersGcpOfferingVulnerabilityAssessmentAutoProvisioningConfiguration.DeserializeDefenderForServersGcpOfferingVulnerabilityAssessmentAutoProvisioningConfiguration(property.Value); + configuration = DefenderForServersGcpOfferingVulnerabilityAssessmentAutoProvisioningConfiguration.DeserializeDefenderForServersGcpOfferingVulnerabilityAssessmentAutoProvisioningConfiguration(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DevOpsConfigurationListResponse.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DevOpsConfigurationListResponse.Serialization.cs index 139588aad4991..c697d7b367987 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DevOpsConfigurationListResponse.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DevOpsConfigurationListResponse.Serialization.cs @@ -95,7 +95,7 @@ internal static DevOpsConfigurationListResponse DeserializeDevOpsConfigurationLi List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DevOpsConfigurationData.DeserializeDevOpsConfigurationData(item)); + array.Add(DevOpsConfigurationData.DeserializeDevOpsConfigurationData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DevOpsConfigurationProperties.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DevOpsConfigurationProperties.Serialization.cs index 050d44a966eaf..9f8654659c79f 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DevOpsConfigurationProperties.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DevOpsConfigurationProperties.Serialization.cs @@ -138,7 +138,7 @@ internal static DevOpsConfigurationProperties DeserializeDevOpsConfigurationProp { continue; } - authorization = DevOpsAuthorization.DeserializeDevOpsAuthorization(property.Value); + authorization = DevOpsAuthorization.DeserializeDevOpsAuthorization(property.Value, options); continue; } if (property.NameEquals("autoDiscovery"u8)) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DevOpsOrgProperties.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DevOpsOrgProperties.Serialization.cs index cb21c04998873..a890334ce2a79 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DevOpsOrgProperties.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DevOpsOrgProperties.Serialization.cs @@ -136,7 +136,7 @@ internal static DevOpsOrgProperties DeserializeDevOpsOrgProperties(JsonElement e { continue; } - actionableRemediation = ActionableRemediation.DeserializeActionableRemediation(property.Value); + actionableRemediation = ActionableRemediation.DeserializeActionableRemediation(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DevOpsProjectProperties.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DevOpsProjectProperties.Serialization.cs index 5b84cc1cdc71f..4ca5c0a1500b1 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DevOpsProjectProperties.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DevOpsProjectProperties.Serialization.cs @@ -158,7 +158,7 @@ internal static DevOpsProjectProperties DeserializeDevOpsProjectProperties(JsonE { continue; } - actionableRemediation = ActionableRemediation.DeserializeActionableRemediation(property.Value); + actionableRemediation = ActionableRemediation.DeserializeActionableRemediation(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DevOpsRepositoryProperties.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DevOpsRepositoryProperties.Serialization.cs index afbd2d3aef634..98d78045a916a 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DevOpsRepositoryProperties.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DevOpsRepositoryProperties.Serialization.cs @@ -195,7 +195,7 @@ internal static DevOpsRepositoryProperties DeserializeDevOpsRepositoryProperties { continue; } - actionableRemediation = ActionableRemediation.DeserializeActionableRemediation(property.Value); + actionableRemediation = ActionableRemediation.DeserializeActionableRemediation(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DeviceSecurityGroupList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DeviceSecurityGroupList.Serialization.cs index a122598d7d457..cde0120d08097 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DeviceSecurityGroupList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DeviceSecurityGroupList.Serialization.cs @@ -95,7 +95,7 @@ internal static DeviceSecurityGroupList DeserializeDeviceSecurityGroupList(JsonE List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DeviceSecurityGroupData.DeserializeDeviceSecurityGroupData(item)); + array.Add(DeviceSecurityGroupData.DeserializeDeviceSecurityGroupData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DiscoveredSecuritySolutionList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DiscoveredSecuritySolutionList.Serialization.cs index 3449be368cecb..a0f367259f86a 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DiscoveredSecuritySolutionList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/DiscoveredSecuritySolutionList.Serialization.cs @@ -94,7 +94,7 @@ internal static DiscoveredSecuritySolutionList DeserializeDiscoveredSecuritySolu List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DiscoveredSecuritySolution.DeserializeDiscoveredSecuritySolution(item)); + array.Add(DiscoveredSecuritySolution.DeserializeDiscoveredSecuritySolution(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ExternalSecuritySolution.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ExternalSecuritySolution.Serialization.cs index af3458a6648c6..5bf1ceb076a09 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ExternalSecuritySolution.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ExternalSecuritySolution.Serialization.cs @@ -101,12 +101,12 @@ internal static ExternalSecuritySolution DeserializeExternalSecuritySolution(Jso { switch (discriminator.GetString()) { - case "AAD": return AadExternalSecuritySolution.DeserializeAadExternalSecuritySolution(element); - case "ATA": return AtaExternalSecuritySolution.DeserializeAtaExternalSecuritySolution(element); - case "CEF": return CefExternalSecuritySolution.DeserializeCefExternalSecuritySolution(element); + case "AAD": return AadExternalSecuritySolution.DeserializeAadExternalSecuritySolution(element, options); + case "ATA": return AtaExternalSecuritySolution.DeserializeAtaExternalSecuritySolution(element, options); + case "CEF": return CefExternalSecuritySolution.DeserializeCefExternalSecuritySolution(element, options); } } - return UnknownExternalSecuritySolution.DeserializeUnknownExternalSecuritySolution(element); + return UnknownExternalSecuritySolution.DeserializeUnknownExternalSecuritySolution(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ExternalSecuritySolutionList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ExternalSecuritySolutionList.Serialization.cs index e9154f1ad9302..918274c25f18f 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ExternalSecuritySolutionList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ExternalSecuritySolutionList.Serialization.cs @@ -94,7 +94,7 @@ internal static ExternalSecuritySolutionList DeserializeExternalSecuritySolution List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ExternalSecuritySolution.DeserializeExternalSecuritySolution(item)); + array.Add(ExternalSecuritySolution.DeserializeExternalSecuritySolution(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/GcpOrganizationalInfo.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/GcpOrganizationalInfo.Serialization.cs index 46b943afb1c22..9ba5424f13f81 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/GcpOrganizationalInfo.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/GcpOrganizationalInfo.Serialization.cs @@ -70,11 +70,11 @@ internal static GcpOrganizationalInfo DeserializeGcpOrganizationalInfo(JsonEleme { switch (discriminator.GetString()) { - case "Member": return GcpMemberOrganizationalInfo.DeserializeGcpMemberOrganizationalInfo(element); - case "Organization": return GcpParentOrganizationalInfo.DeserializeGcpParentOrganizationalInfo(element); + case "Member": return GcpMemberOrganizationalInfo.DeserializeGcpMemberOrganizationalInfo(element, options); + case "Organization": return GcpParentOrganizationalInfo.DeserializeGcpParentOrganizationalInfo(element, options); } } - return UnknownGcpOrganizationalData.DeserializeUnknownGcpOrganizationalData(element); + return UnknownGcpOrganizationalData.DeserializeUnknownGcpOrganizationalData(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/GcpProjectEnvironment.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/GcpProjectEnvironment.Serialization.cs index 1a9002673a5ba..1d17cd9c9c5d4 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/GcpProjectEnvironment.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/GcpProjectEnvironment.Serialization.cs @@ -95,7 +95,7 @@ internal static GcpProjectEnvironment DeserializeGcpProjectEnvironment(JsonEleme { continue; } - organizationalData = GcpOrganizationalInfo.DeserializeGcpOrganizationalInfo(property.Value); + organizationalData = GcpOrganizationalInfo.DeserializeGcpOrganizationalInfo(property.Value, options); continue; } if (property.NameEquals("projectDetails"u8)) @@ -104,7 +104,7 @@ internal static GcpProjectEnvironment DeserializeGcpProjectEnvironment(JsonEleme { continue; } - projectDetails = GcpProjectDetails.DeserializeGcpProjectDetails(property.Value); + projectDetails = GcpProjectDetails.DeserializeGcpProjectDetails(property.Value, options); continue; } if (property.NameEquals("scanInterval"u8)) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/GetSensitivitySettingsResponsePropertiesMipInformation.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/GetSensitivitySettingsResponsePropertiesMipInformation.Serialization.cs index 6ddb4df349c94..c1451f847320c 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/GetSensitivitySettingsResponsePropertiesMipInformation.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/GetSensitivitySettingsResponsePropertiesMipInformation.Serialization.cs @@ -125,7 +125,7 @@ internal static GetSensitivitySettingsResponsePropertiesMipInformation Deseriali List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(MipSensitivityLabel.DeserializeMipSensitivityLabel(item)); + array.Add(MipSensitivityLabel.DeserializeMipSensitivityLabel(item, options)); } labels = array; continue; @@ -139,7 +139,7 @@ internal static GetSensitivitySettingsResponsePropertiesMipInformation Deseriali List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(UserDefinedInformationType.DeserializeUserDefinedInformationType(item)); + array.Add(UserDefinedInformationType.DeserializeUserDefinedInformationType(item, options)); } customInfoTypes = array; continue; @@ -153,7 +153,7 @@ internal static GetSensitivitySettingsResponsePropertiesMipInformation Deseriali List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(BuiltInInfoType.DeserializeBuiltInInfoType(item)); + array.Add(BuiltInInfoType.DeserializeBuiltInInfoType(item, options)); } builtInInfoTypes = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/GitHubOwnerListResponse.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/GitHubOwnerListResponse.Serialization.cs index c606fbfd75b3a..60bc1614f4896 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/GitHubOwnerListResponse.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/GitHubOwnerListResponse.Serialization.cs @@ -95,7 +95,7 @@ internal static GitHubOwnerListResponse DeserializeGitHubOwnerListResponse(JsonE List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityConnectorGitHubOwnerData.DeserializeSecurityConnectorGitHubOwnerData(item)); + array.Add(SecurityConnectorGitHubOwnerData.DeserializeSecurityConnectorGitHubOwnerData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/GitHubRepositoryListResponse.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/GitHubRepositoryListResponse.Serialization.cs index 12978de600548..533527e150be6 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/GitHubRepositoryListResponse.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/GitHubRepositoryListResponse.Serialization.cs @@ -95,7 +95,7 @@ internal static GitHubRepositoryListResponse DeserializeGitHubRepositoryListResp List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityConnectorGitHubRepositoryData.DeserializeSecurityConnectorGitHubRepositoryData(item)); + array.Add(SecurityConnectorGitHubRepositoryData.DeserializeSecurityConnectorGitHubRepositoryData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/GitLabGroupListResponse.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/GitLabGroupListResponse.Serialization.cs index abc6ccca42f85..681884d8a6cfc 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/GitLabGroupListResponse.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/GitLabGroupListResponse.Serialization.cs @@ -95,7 +95,7 @@ internal static GitLabGroupListResponse DeserializeGitLabGroupListResponse(JsonE List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityConnectorGitLabGroupData.DeserializeSecurityConnectorGitLabGroupData(item)); + array.Add(SecurityConnectorGitLabGroupData.DeserializeSecurityConnectorGitLabGroupData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/GitLabProjectListResponse.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/GitLabProjectListResponse.Serialization.cs index a8ddc729dd239..7cca4d7980259 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/GitLabProjectListResponse.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/GitLabProjectListResponse.Serialization.cs @@ -95,7 +95,7 @@ internal static GitLabProjectListResponse DeserializeGitLabProjectListResponse(J List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityConnectorGitLabProjectData.DeserializeSecurityConnectorGitLabProjectData(item)); + array.Add(SecurityConnectorGitLabProjectData.DeserializeSecurityConnectorGitLabProjectData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/GovernanceAssignmentsList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/GovernanceAssignmentsList.Serialization.cs index d881368c48aa9..c5ed27f85f6d8 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/GovernanceAssignmentsList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/GovernanceAssignmentsList.Serialization.cs @@ -95,7 +95,7 @@ internal static GovernanceAssignmentsList DeserializeGovernanceAssignmentsList(J List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(GovernanceAssignmentData.DeserializeGovernanceAssignmentData(item)); + array.Add(GovernanceAssignmentData.DeserializeGovernanceAssignmentData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/GovernanceRuleList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/GovernanceRuleList.Serialization.cs index d5ba8e806487b..bce7c78681138 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/GovernanceRuleList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/GovernanceRuleList.Serialization.cs @@ -95,7 +95,7 @@ internal static GovernanceRuleList DeserializeGovernanceRuleList(JsonElement ele List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(GovernanceRuleData.DeserializeGovernanceRuleData(item)); + array.Add(GovernanceRuleData.DeserializeGovernanceRuleData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/HealthReportsList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/HealthReportsList.Serialization.cs index 90d49f28f92af..7453870fe95e1 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/HealthReportsList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/HealthReportsList.Serialization.cs @@ -95,7 +95,7 @@ internal static HealthReportsList DeserializeHealthReportsList(JsonElement eleme List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityHealthReportData.DeserializeSecurityHealthReportData(item)); + array.Add(SecurityHealthReportData.DeserializeSecurityHealthReportData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/HybridComputeSettingsProperties.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/HybridComputeSettingsProperties.Serialization.cs index 9ad1e60d8ff09..b426af9f6956d 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/HybridComputeSettingsProperties.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/HybridComputeSettingsProperties.Serialization.cs @@ -131,7 +131,7 @@ internal static HybridComputeSettingsProperties DeserializeHybridComputeSettings { continue; } - proxyServer = ProxyServerProperties.DeserializeProxyServerProperties(property.Value); + proxyServer = ProxyServerProperties.DeserializeProxyServerProperties(property.Value, options); continue; } if (property.NameEquals("servicePrincipal"u8)) @@ -140,7 +140,7 @@ internal static HybridComputeSettingsProperties DeserializeHybridComputeSettings { continue; } - servicePrincipal = ServicePrincipalProperties.DeserializeServicePrincipalProperties(property.Value); + servicePrincipal = ServicePrincipalProperties.DeserializeServicePrincipalProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/InformationProtectionAwsOffering.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/InformationProtectionAwsOffering.Serialization.cs index 9cd1fa6719b6d..7ffe5c8ffb313 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/InformationProtectionAwsOffering.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/InformationProtectionAwsOffering.Serialization.cs @@ -89,7 +89,7 @@ internal static InformationProtectionAwsOffering DeserializeInformationProtectio { continue; } - informationProtection = AwsInformationProtection.DeserializeAwsInformationProtection(property.Value); + informationProtection = AwsInformationProtection.DeserializeAwsInformationProtection(property.Value, options); continue; } if (property.NameEquals("offeringType"u8)) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/InformationProtectionPolicy.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/InformationProtectionPolicy.Serialization.cs index c9360858a2567..1cc54719ecac7 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/InformationProtectionPolicy.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/InformationProtectionPolicy.Serialization.cs @@ -188,7 +188,7 @@ internal static InformationProtectionPolicy DeserializeInformationProtectionPoli Dictionary dictionary = new Dictionary(); foreach (var property1 in property0.Value.EnumerateObject()) { - dictionary.Add(property1.Name, SensitivityLabel.DeserializeSensitivityLabel(property1.Value)); + dictionary.Add(property1.Name, SensitivityLabel.DeserializeSensitivityLabel(property1.Value, options)); } labels = dictionary; continue; @@ -202,7 +202,7 @@ internal static InformationProtectionPolicy DeserializeInformationProtectionPoli Dictionary dictionary = new Dictionary(); foreach (var property1 in property0.Value.EnumerateObject()) { - dictionary.Add(property1.Name, SecurityInformationTypeInfo.DeserializeSecurityInformationTypeInfo(property1.Value)); + dictionary.Add(property1.Name, SecurityInformationTypeInfo.DeserializeSecurityInformationTypeInfo(property1.Value, options)); } informationTypes = dictionary; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/InformationProtectionPolicyList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/InformationProtectionPolicyList.Serialization.cs index b8a940ac58f2b..783b28d25e3e6 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/InformationProtectionPolicyList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/InformationProtectionPolicyList.Serialization.cs @@ -94,7 +94,7 @@ internal static InformationProtectionPolicyList DeserializeInformationProtection List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(InformationProtectionPolicy.DeserializeInformationProtectionPolicy(item)); + array.Add(InformationProtectionPolicy.DeserializeInformationProtectionPolicy(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/IotSecurityAggregatedAlertList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/IotSecurityAggregatedAlertList.Serialization.cs index 59c0531a4e98a..ae263b9d2fc70 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/IotSecurityAggregatedAlertList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/IotSecurityAggregatedAlertList.Serialization.cs @@ -88,7 +88,7 @@ internal static IotSecurityAggregatedAlertList DeserializeIotSecurityAggregatedA List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(IotSecurityAggregatedAlertData.DeserializeIotSecurityAggregatedAlertData(item)); + array.Add(IotSecurityAggregatedAlertData.DeserializeIotSecurityAggregatedAlertData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/IotSecurityAggregatedRecommendationList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/IotSecurityAggregatedRecommendationList.Serialization.cs index 79e06f700e39d..bf314ad2e469f 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/IotSecurityAggregatedRecommendationList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/IotSecurityAggregatedRecommendationList.Serialization.cs @@ -88,7 +88,7 @@ internal static IotSecurityAggregatedRecommendationList DeserializeIotSecurityAg List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(IotSecurityAggregatedRecommendationData.DeserializeIotSecurityAggregatedRecommendationData(item)); + array.Add(IotSecurityAggregatedRecommendationData.DeserializeIotSecurityAggregatedRecommendationData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/IotSecuritySolutionAnalyticsModelDevicesMetrics.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/IotSecuritySolutionAnalyticsModelDevicesMetrics.Serialization.cs index d93e9fceb2cd8..33612875951ac 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/IotSecuritySolutionAnalyticsModelDevicesMetrics.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/IotSecuritySolutionAnalyticsModelDevicesMetrics.Serialization.cs @@ -95,7 +95,7 @@ internal static IotSecuritySolutionAnalyticsModelDevicesMetrics DeserializeIotSe { continue; } - devicesMetrics = IotSeverityMetrics.DeserializeIotSeverityMetrics(property.Value); + devicesMetrics = IotSeverityMetrics.DeserializeIotSeverityMetrics(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/IotSecuritySolutionAnalyticsModelList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/IotSecuritySolutionAnalyticsModelList.Serialization.cs index 43dc109d6540a..46aa60eb87d37 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/IotSecuritySolutionAnalyticsModelList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/IotSecuritySolutionAnalyticsModelList.Serialization.cs @@ -88,7 +88,7 @@ internal static IotSecuritySolutionAnalyticsModelList DeserializeIotSecuritySolu List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(IotSecuritySolutionAnalyticsModelData.DeserializeIotSecuritySolutionAnalyticsModelData(item)); + array.Add(IotSecuritySolutionAnalyticsModelData.DeserializeIotSecuritySolutionAnalyticsModelData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/IotSecuritySolutionPatch.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/IotSecuritySolutionPatch.Serialization.cs index 8555d3d40ac5a..318a4529a8af6 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/IotSecuritySolutionPatch.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/IotSecuritySolutionPatch.Serialization.cs @@ -129,7 +129,7 @@ internal static IotSecuritySolutionPatch DeserializeIotSecuritySolutionPatch(Jso { continue; } - userDefinedResources = UserDefinedResourcesProperties.DeserializeUserDefinedResourcesProperties(property0.Value); + userDefinedResources = UserDefinedResourcesProperties.DeserializeUserDefinedResourcesProperties(property0.Value, options); continue; } if (property0.NameEquals("recommendationsConfiguration"u8)) @@ -141,7 +141,7 @@ internal static IotSecuritySolutionPatch DeserializeIotSecuritySolutionPatch(Jso List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(RecommendationConfigurationProperties.DeserializeRecommendationConfigurationProperties(item)); + array.Add(RecommendationConfigurationProperties.DeserializeRecommendationConfigurationProperties(item, options)); } recommendationsConfiguration = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/IotSecuritySolutionsList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/IotSecuritySolutionsList.Serialization.cs index eb909e3b27b5c..e5d9a7ab6e05d 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/IotSecuritySolutionsList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/IotSecuritySolutionsList.Serialization.cs @@ -88,7 +88,7 @@ internal static IotSecuritySolutionsList DeserializeIotSecuritySolutionsList(Jso List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(IotSecuritySolutionData.DeserializeIotSecuritySolutionData(item)); + array.Add(IotSecuritySolutionData.DeserializeIotSecuritySolutionData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/JitNetworkAccessPoliciesList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/JitNetworkAccessPoliciesList.Serialization.cs index c38780df7d206..1772cf2c80cdf 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/JitNetworkAccessPoliciesList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/JitNetworkAccessPoliciesList.Serialization.cs @@ -95,7 +95,7 @@ internal static JitNetworkAccessPoliciesList DeserializeJitNetworkAccessPolicies List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(JitNetworkAccessPolicyData.DeserializeJitNetworkAccessPolicyData(item)); + array.Add(JitNetworkAccessPolicyData.DeserializeJitNetworkAccessPolicyData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/JitNetworkAccessPolicyInitiateContent.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/JitNetworkAccessPolicyInitiateContent.Serialization.cs index 5c3485df0d50d..05153dfe42a8c 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/JitNetworkAccessPolicyInitiateContent.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/JitNetworkAccessPolicyInitiateContent.Serialization.cs @@ -87,7 +87,7 @@ internal static JitNetworkAccessPolicyInitiateContent DeserializeJitNetworkAcces List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(JitNetworkAccessPolicyInitiateVirtualMachine.DeserializeJitNetworkAccessPolicyInitiateVirtualMachine(item)); + array.Add(JitNetworkAccessPolicyInitiateVirtualMachine.DeserializeJitNetworkAccessPolicyInitiateVirtualMachine(item, options)); } virtualMachines = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/JitNetworkAccessPolicyInitiateVirtualMachine.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/JitNetworkAccessPolicyInitiateVirtualMachine.Serialization.cs index 39a1446007df5..8ca0633aa6fad 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/JitNetworkAccessPolicyInitiateVirtualMachine.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/JitNetworkAccessPolicyInitiateVirtualMachine.Serialization.cs @@ -89,7 +89,7 @@ internal static JitNetworkAccessPolicyInitiateVirtualMachine DeserializeJitNetwo List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(JitNetworkAccessPolicyInitiatePort.DeserializeJitNetworkAccessPolicyInitiatePort(item)); + array.Add(JitNetworkAccessPolicyInitiatePort.DeserializeJitNetworkAccessPolicyInitiatePort(item, options)); } ports = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/JitNetworkAccessPolicyVirtualMachine.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/JitNetworkAccessPolicyVirtualMachine.Serialization.cs index fa5006eabbc8e..c13bb4ecd20e5 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/JitNetworkAccessPolicyVirtualMachine.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/JitNetworkAccessPolicyVirtualMachine.Serialization.cs @@ -95,7 +95,7 @@ internal static JitNetworkAccessPolicyVirtualMachine DeserializeJitNetworkAccess List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(JitNetworkAccessPortRule.DeserializeJitNetworkAccessPortRule(item)); + array.Add(JitNetworkAccessPortRule.DeserializeJitNetworkAccessPortRule(item, options)); } ports = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/JitNetworkAccessRequestInfo.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/JitNetworkAccessRequestInfo.Serialization.cs index c693e2cdcbfea..7fcebcf3b729b 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/JitNetworkAccessRequestInfo.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/JitNetworkAccessRequestInfo.Serialization.cs @@ -93,7 +93,7 @@ internal static JitNetworkAccessRequestInfo DeserializeJitNetworkAccessRequestIn List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(JitNetworkAccessRequestVirtualMachine.DeserializeJitNetworkAccessRequestVirtualMachine(item)); + array.Add(JitNetworkAccessRequestVirtualMachine.DeserializeJitNetworkAccessRequestVirtualMachine(item, options)); } virtualMachines = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/JitNetworkAccessRequestVirtualMachine.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/JitNetworkAccessRequestVirtualMachine.Serialization.cs index 2768bb516e5b4..dbab7999596fd 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/JitNetworkAccessRequestVirtualMachine.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/JitNetworkAccessRequestVirtualMachine.Serialization.cs @@ -89,7 +89,7 @@ internal static JitNetworkAccessRequestVirtualMachine DeserializeJitNetworkAcces List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(JitNetworkAccessRequestPort.DeserializeJitNetworkAccessRequestPort(item)); + array.Add(JitNetworkAccessRequestPort.DeserializeJitNetworkAccessRequestPort(item, options)); } ports = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ListCustomAlertRule.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ListCustomAlertRule.Serialization.cs index d4b6e052deb6f..143315f7a63fc 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ListCustomAlertRule.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ListCustomAlertRule.Serialization.cs @@ -87,12 +87,12 @@ internal static ListCustomAlertRule DeserializeListCustomAlertRule(JsonElement e { switch (discriminator.GetString()) { - case "AllowlistCustomAlertRule": return AllowlistCustomAlertRule.DeserializeAllowlistCustomAlertRule(element); - case "ConnectionFromIpNotAllowed": return ConnectionFromIPNotAllowed.DeserializeConnectionFromIPNotAllowed(element); - case "ConnectionToIpNotAllowed": return ConnectionToIPNotAllowed.DeserializeConnectionToIPNotAllowed(element); - case "DenylistCustomAlertRule": return DenylistCustomAlertRule.DeserializeDenylistCustomAlertRule(element); - case "LocalUserNotAllowed": return LocalUserNotAllowed.DeserializeLocalUserNotAllowed(element); - case "ProcessNotAllowed": return ProcessNotAllowed.DeserializeProcessNotAllowed(element); + case "AllowlistCustomAlertRule": return AllowlistCustomAlertRule.DeserializeAllowlistCustomAlertRule(element, options); + case "ConnectionFromIpNotAllowed": return ConnectionFromIPNotAllowed.DeserializeConnectionFromIPNotAllowed(element, options); + case "ConnectionToIpNotAllowed": return ConnectionToIPNotAllowed.DeserializeConnectionToIPNotAllowed(element, options); + case "DenylistCustomAlertRule": return DenylistCustomAlertRule.DeserializeDenylistCustomAlertRule(element, options); + case "LocalUserNotAllowed": return LocalUserNotAllowed.DeserializeLocalUserNotAllowed(element, options); + case "ProcessNotAllowed": return ProcessNotAllowed.DeserializeProcessNotAllowed(element, options); } } Optional valueType = default; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/MdeOnboardingDataList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/MdeOnboardingDataList.Serialization.cs index 0edd3d22d50cd..c2b286d1d9851 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/MdeOnboardingDataList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/MdeOnboardingDataList.Serialization.cs @@ -88,7 +88,7 @@ internal static MdeOnboardingDataList DeserializeMdeOnboardingDataList(JsonEleme List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(MdeOnboarding.DeserializeMdeOnboarding(item)); + array.Add(MdeOnboarding.DeserializeMdeOnboarding(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/OnPremiseResourceDetails.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/OnPremiseResourceDetails.Serialization.cs index 78e3884c3305c..7538a267d3e0b 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/OnPremiseResourceDetails.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/OnPremiseResourceDetails.Serialization.cs @@ -78,7 +78,7 @@ internal static OnPremiseResourceDetails DeserializeOnPremiseResourceDetails(Jso { switch (discriminator.GetString()) { - case "OnPremiseSql": return OnPremiseSqlResourceDetails.DeserializeOnPremiseSqlResourceDetails(element); + case "OnPremiseSql": return OnPremiseSqlResourceDetails.DeserializeOnPremiseSqlResourceDetails(element, options); } } ResourceIdentifier workspaceId = default; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/PathRecommendation.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/PathRecommendation.Serialization.cs index 655eaf1a8a6de..1973b8e20d450 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/PathRecommendation.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/PathRecommendation.Serialization.cs @@ -161,7 +161,7 @@ internal static PathRecommendation DeserializePathRecommendation(JsonElement ele { continue; } - publisherInfo = SecurityCenterPublisherInfo.DeserializeSecurityCenterPublisherInfo(property.Value); + publisherInfo = SecurityCenterPublisherInfo.DeserializeSecurityCenterPublisherInfo(property.Value, options); continue; } if (property.NameEquals("common"u8)) @@ -196,7 +196,7 @@ internal static PathRecommendation DeserializePathRecommendation(JsonElement ele List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(UserRecommendation.DeserializeUserRecommendation(item)); + array.Add(UserRecommendation.DeserializeUserRecommendation(item, options)); } usernames = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/PlanExtension.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/PlanExtension.Serialization.cs index 7ba0a4cc5a7bf..e2eac26f79d14 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/PlanExtension.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/PlanExtension.Serialization.cs @@ -141,7 +141,7 @@ internal static PlanExtension DeserializePlanExtension(JsonElement element, Mode { continue; } - operationStatus = OperationStatusAutoGenerated.DeserializeOperationStatusAutoGenerated(property.Value); + operationStatus = OperationStatusAutoGenerated.DeserializeOperationStatusAutoGenerated(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/PricingList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/PricingList.Serialization.cs index 95c5f2a2c0b54..4feed49241a1c 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/PricingList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/PricingList.Serialization.cs @@ -82,7 +82,7 @@ internal static PricingList DeserializePricingList(JsonElement element, ModelRea List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityCenterPricingData.DeserializeSecurityCenterPricingData(item)); + array.Add(SecurityCenterPricingData.DeserializeSecurityCenterPricingData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/RegulatoryComplianceAssessmentList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/RegulatoryComplianceAssessmentList.Serialization.cs index 465c248ec10a5..a70b9f1a2ca92 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/RegulatoryComplianceAssessmentList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/RegulatoryComplianceAssessmentList.Serialization.cs @@ -88,7 +88,7 @@ internal static RegulatoryComplianceAssessmentList DeserializeRegulatoryComplian List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RegulatoryComplianceAssessmentData.DeserializeRegulatoryComplianceAssessmentData(item)); + array.Add(RegulatoryComplianceAssessmentData.DeserializeRegulatoryComplianceAssessmentData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/RegulatoryComplianceControlList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/RegulatoryComplianceControlList.Serialization.cs index 8c8035f0624a9..4820121bec0cb 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/RegulatoryComplianceControlList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/RegulatoryComplianceControlList.Serialization.cs @@ -88,7 +88,7 @@ internal static RegulatoryComplianceControlList DeserializeRegulatoryComplianceC List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RegulatoryComplianceControlData.DeserializeRegulatoryComplianceControlData(item)); + array.Add(RegulatoryComplianceControlData.DeserializeRegulatoryComplianceControlData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/RegulatoryComplianceStandardList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/RegulatoryComplianceStandardList.Serialization.cs index d5d194bc46675..3b80a5f7005a7 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/RegulatoryComplianceStandardList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/RegulatoryComplianceStandardList.Serialization.cs @@ -88,7 +88,7 @@ internal static RegulatoryComplianceStandardList DeserializeRegulatoryCompliance List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RegulatoryComplianceStandardData.DeserializeRegulatoryComplianceStandardData(item)); + array.Add(RegulatoryComplianceStandardData.DeserializeRegulatoryComplianceStandardData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/RulesResults.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/RulesResults.Serialization.cs index 9449c660dff55..f56b957273d11 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/RulesResults.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/RulesResults.Serialization.cs @@ -89,7 +89,7 @@ internal static RulesResults DeserializeRulesResults(JsonElement element, ModelR List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlVulnerabilityAssessmentBaselineRuleData.DeserializeSqlVulnerabilityAssessmentBaselineRuleData(item)); + array.Add(SqlVulnerabilityAssessmentBaselineRuleData.DeserializeSqlVulnerabilityAssessmentBaselineRuleData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ScanResults.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ScanResults.Serialization.cs index 1363aadb053e4..4ef4f44d61e7d 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ScanResults.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ScanResults.Serialization.cs @@ -88,7 +88,7 @@ internal static ScanResults DeserializeScanResults(JsonElement element, ModelRea List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlVulnerabilityAssessmentScanResult.DeserializeSqlVulnerabilityAssessmentScanResult(item)); + array.Add(SqlVulnerabilityAssessmentScanResult.DeserializeSqlVulnerabilityAssessmentScanResult(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/Scans.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/Scans.Serialization.cs index fb6c109e9f097..6b813da233e0e 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/Scans.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/Scans.Serialization.cs @@ -89,7 +89,7 @@ internal static Scans DeserializeScans(JsonElement element, ModelReaderWriterOpt List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlVulnerabilityAssessmentScanData.DeserializeSqlVulnerabilityAssessmentScanData(item)); + array.Add(SqlVulnerabilityAssessmentScanData.DeserializeSqlVulnerabilityAssessmentScanData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecureScoreControlDefinitionItem.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecureScoreControlDefinitionItem.Serialization.cs index 7213fb2b24a4a..b9b7f92e60063 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecureScoreControlDefinitionItem.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecureScoreControlDefinitionItem.Serialization.cs @@ -190,7 +190,7 @@ internal static SecureScoreControlDefinitionItem DeserializeSecureScoreControlDe { continue; } - source = SecureScoreControlDefinitionSource.DeserializeSecureScoreControlDefinitionSource(property0.Value); + source = SecureScoreControlDefinitionSource.DeserializeSecureScoreControlDefinitionSource(property0.Value, options); continue; } if (property0.NameEquals("assessmentDefinitions"u8)) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecureScoreControlDefinitionList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecureScoreControlDefinitionList.Serialization.cs index ac9f78d917e4c..1e677200bb53a 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecureScoreControlDefinitionList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecureScoreControlDefinitionList.Serialization.cs @@ -94,7 +94,7 @@ internal static SecureScoreControlDefinitionList DeserializeSecureScoreControlDe List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecureScoreControlDefinitionItem.DeserializeSecureScoreControlDefinitionItem(item)); + array.Add(SecureScoreControlDefinitionItem.DeserializeSecureScoreControlDefinitionItem(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecureScoreControlDetails.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecureScoreControlDetails.Serialization.cs index 6f9e15501bf20..eb64627ce1b1a 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecureScoreControlDetails.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecureScoreControlDetails.Serialization.cs @@ -233,7 +233,7 @@ internal static SecureScoreControlDetails DeserializeSecureScoreControlDetails(J { continue; } - definition = SecureScoreControlDefinitionItem.DeserializeSecureScoreControlDefinitionItem(property0.Value); + definition = SecureScoreControlDefinitionItem.DeserializeSecureScoreControlDefinitionItem(property0.Value, options); continue; } if (property0.NameEquals("score"u8)) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecureScoreControlList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecureScoreControlList.Serialization.cs index a459532ecac7d..06eb4eca82678 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecureScoreControlList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecureScoreControlList.Serialization.cs @@ -94,7 +94,7 @@ internal static SecureScoreControlList DeserializeSecureScoreControlList(JsonEle List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecureScoreControlDetails.DeserializeSecureScoreControlDetails(item)); + array.Add(SecureScoreControlDetails.DeserializeSecureScoreControlDetails(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecureScoresList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecureScoresList.Serialization.cs index df4888a3b6573..7c01aa62a64b3 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecureScoresList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecureScoresList.Serialization.cs @@ -95,7 +95,7 @@ internal static SecureScoresList DeserializeSecureScoresList(JsonElement element List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecureScoreData.DeserializeSecureScoreData(item)); + array.Add(SecureScoreData.DeserializeSecureScoreData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityAlertResourceIdentifier.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityAlertResourceIdentifier.Serialization.cs index 15f238d7f0ad4..b8dea414e350b 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityAlertResourceIdentifier.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityAlertResourceIdentifier.Serialization.cs @@ -70,11 +70,11 @@ internal static SecurityAlertResourceIdentifier DeserializeSecurityAlertResource { switch (discriminator.GetString()) { - case "AzureResource": return AzureResourceIdentifier.DeserializeAzureResourceIdentifier(element); - case "LogAnalytics": return LogAnalyticsIdentifier.DeserializeLogAnalyticsIdentifier(element); + case "AzureResource": return AzureResourceIdentifier.DeserializeAzureResourceIdentifier(element, options); + case "LogAnalytics": return LogAnalyticsIdentifier.DeserializeLogAnalyticsIdentifier(element, options); } } - return UnknownAlertResourceIdentifier.DeserializeUnknownAlertResourceIdentifier(element); + return UnknownAlertResourceIdentifier.DeserializeUnknownAlertResourceIdentifier(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityAlertSimulatorContent.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityAlertSimulatorContent.Serialization.cs index 12d8675bf3705..51006c33b31bd 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityAlertSimulatorContent.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityAlertSimulatorContent.Serialization.cs @@ -80,7 +80,7 @@ internal static SecurityAlertSimulatorContent DeserializeSecurityAlertSimulatorC { continue; } - properties = SecurityAlertSimulatorRequestProperties.DeserializeSecurityAlertSimulatorRequestProperties(property.Value); + properties = SecurityAlertSimulatorRequestProperties.DeserializeSecurityAlertSimulatorRequestProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityAlertSimulatorRequestProperties.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityAlertSimulatorRequestProperties.Serialization.cs index f921c6e818743..655e1e0454b9c 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityAlertSimulatorRequestProperties.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityAlertSimulatorRequestProperties.Serialization.cs @@ -66,10 +66,10 @@ internal static SecurityAlertSimulatorRequestProperties DeserializeSecurityAlert { switch (discriminator.GetString()) { - case "Bundles": return SecurityAlertSimulatorBundlesRequestProperties.DeserializeSecurityAlertSimulatorBundlesRequestProperties(element); + case "Bundles": return SecurityAlertSimulatorBundlesRequestProperties.DeserializeSecurityAlertSimulatorBundlesRequestProperties(element, options); } } - return UnknownAlertSimulatorRequestProperties.DeserializeUnknownAlertSimulatorRequestProperties(element); + return UnknownAlertSimulatorRequestProperties.DeserializeUnknownAlertSimulatorRequestProperties(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityAssessmentCreateOrUpdateContent.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityAssessmentCreateOrUpdateContent.Serialization.cs index c8854d89ecb37..2ca01a9f17ebc 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityAssessmentCreateOrUpdateContent.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityAssessmentCreateOrUpdateContent.Serialization.cs @@ -183,7 +183,7 @@ internal static SecurityAssessmentCreateOrUpdateContent DeserializeSecurityAsses { continue; } - resourceDetails = SecurityCenterResourceDetails.DeserializeSecurityCenterResourceDetails(property0.Value); + resourceDetails = SecurityCenterResourceDetails.DeserializeSecurityCenterResourceDetails(property0.Value, options); continue; } if (property0.NameEquals("displayName"u8)) @@ -211,7 +211,7 @@ internal static SecurityAssessmentCreateOrUpdateContent DeserializeSecurityAsses { continue; } - links = AssessmentLinks.DeserializeAssessmentLinks(property0.Value); + links = AssessmentLinks.DeserializeAssessmentLinks(property0.Value, options); continue; } if (property0.NameEquals("metadata"u8)) @@ -220,7 +220,7 @@ internal static SecurityAssessmentCreateOrUpdateContent DeserializeSecurityAsses { continue; } - metadata = SecurityAssessmentMetadataProperties.DeserializeSecurityAssessmentMetadataProperties(property0.Value); + metadata = SecurityAssessmentMetadataProperties.DeserializeSecurityAssessmentMetadataProperties(property0.Value, options); continue; } if (property0.NameEquals("partnersData"u8)) @@ -229,7 +229,7 @@ internal static SecurityAssessmentCreateOrUpdateContent DeserializeSecurityAsses { continue; } - partnersData = SecurityAssessmentPartner.DeserializeSecurityAssessmentPartner(property0.Value); + partnersData = SecurityAssessmentPartner.DeserializeSecurityAssessmentPartner(property0.Value, options); continue; } if (property0.NameEquals("status"u8)) @@ -238,7 +238,7 @@ internal static SecurityAssessmentCreateOrUpdateContent DeserializeSecurityAsses { continue; } - status = SecurityAssessmentStatus.DeserializeSecurityAssessmentStatus(property0.Value); + status = SecurityAssessmentStatus.DeserializeSecurityAssessmentStatus(property0.Value, options); continue; } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityAssessmentList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityAssessmentList.Serialization.cs index 4a2f1273f6ee9..9913807218d99 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityAssessmentList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityAssessmentList.Serialization.cs @@ -95,7 +95,7 @@ internal static SecurityAssessmentList DeserializeSecurityAssessmentList(JsonEle List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityAssessmentData.DeserializeSecurityAssessmentData(item)); + array.Add(SecurityAssessmentData.DeserializeSecurityAssessmentData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityAssessmentMetadataProperties.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityAssessmentMetadataProperties.Serialization.cs index af0808544f42b..74c20cff6924b 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityAssessmentMetadataProperties.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityAssessmentMetadataProperties.Serialization.cs @@ -236,7 +236,7 @@ internal static SecurityAssessmentMetadataProperties DeserializeSecurityAssessme { continue; } - partnerData = SecurityAssessmentMetadataPartner.DeserializeSecurityAssessmentMetadataPartner(property.Value); + partnerData = SecurityAssessmentMetadataPartner.DeserializeSecurityAssessmentMetadataPartner(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityAssessmentMetadataResponseList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityAssessmentMetadataResponseList.Serialization.cs index 003e877ea6de1..b79db485e0bda 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityAssessmentMetadataResponseList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityAssessmentMetadataResponseList.Serialization.cs @@ -95,7 +95,7 @@ internal static SecurityAssessmentMetadataResponseList DeserializeSecurityAssess List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityAssessmentMetadataData.DeserializeSecurityAssessmentMetadataData(item)); + array.Add(SecurityAssessmentMetadataData.DeserializeSecurityAssessmentMetadataData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityAutomationAction.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityAutomationAction.Serialization.cs index 423caecbf4942..b8a21dc7151d4 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityAutomationAction.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityAutomationAction.Serialization.cs @@ -70,12 +70,12 @@ internal static SecurityAutomationAction DeserializeSecurityAutomationAction(Jso { switch (discriminator.GetString()) { - case "EventHub": return SecurityAutomationActionEventHub.DeserializeSecurityAutomationActionEventHub(element); - case "LogicApp": return SecurityAutomationActionLogicApp.DeserializeSecurityAutomationActionLogicApp(element); - case "Workspace": return SecurityAutomationActionWorkspace.DeserializeSecurityAutomationActionWorkspace(element); + case "EventHub": return SecurityAutomationActionEventHub.DeserializeSecurityAutomationActionEventHub(element, options); + case "LogicApp": return SecurityAutomationActionLogicApp.DeserializeSecurityAutomationActionLogicApp(element, options); + case "Workspace": return SecurityAutomationActionWorkspace.DeserializeSecurityAutomationActionWorkspace(element, options); } } - return UnknownAutomationAction.DeserializeUnknownAutomationAction(element); + return UnknownAutomationAction.DeserializeUnknownAutomationAction(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityAutomationRuleSet.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityAutomationRuleSet.Serialization.cs index 37c0971ec995a..c20f4d79afe92 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityAutomationRuleSet.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityAutomationRuleSet.Serialization.cs @@ -88,7 +88,7 @@ internal static SecurityAutomationRuleSet DeserializeSecurityAutomationRuleSet(J List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityAutomationTriggeringRule.DeserializeSecurityAutomationTriggeringRule(item)); + array.Add(SecurityAutomationTriggeringRule.DeserializeSecurityAutomationTriggeringRule(item, options)); } rules = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityAutomationSource.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityAutomationSource.Serialization.cs index a59e4fc1d7af8..51031471f3e17 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityAutomationSource.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityAutomationSource.Serialization.cs @@ -103,7 +103,7 @@ internal static SecurityAutomationSource DeserializeSecurityAutomationSource(Jso List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityAutomationRuleSet.DeserializeSecurityAutomationRuleSet(item)); + array.Add(SecurityAutomationRuleSet.DeserializeSecurityAutomationRuleSet(item, options)); } ruleSets = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityCenterAllowedConnection.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityCenterAllowedConnection.Serialization.cs index bb93bc247fb50..0987c47ea0fbf 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityCenterAllowedConnection.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityCenterAllowedConnection.Serialization.cs @@ -179,7 +179,7 @@ internal static SecurityCenterAllowedConnection DeserializeSecurityCenterAllowed List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ConnectableResourceInfo.DeserializeConnectableResourceInfo(item)); + array.Add(ConnectableResourceInfo.DeserializeConnectableResourceInfo(item, options)); } connectableResources = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityCenterCloudOffering.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityCenterCloudOffering.Serialization.cs index 485839f37ed6e..f0113d51e6bc9 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityCenterCloudOffering.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityCenterCloudOffering.Serialization.cs @@ -75,26 +75,26 @@ internal static SecurityCenterCloudOffering DeserializeSecurityCenterCloudOfferi { switch (discriminator.GetString()) { - case "CspmMonitorAws": return CspmMonitorAwsOffering.DeserializeCspmMonitorAwsOffering(element); - case "CspmMonitorAzureDevOps": return CspmMonitorAzureDevOpsOffering.DeserializeCspmMonitorAzureDevOpsOffering(element); - case "CspmMonitorGcp": return CspmMonitorGcpOffering.DeserializeCspmMonitorGcpOffering(element); - case "CspmMonitorGitLab": return CspmMonitorGitLabOffering.DeserializeCspmMonitorGitLabOffering(element); - case "CspmMonitorGithub": return CspmMonitorGithubOffering.DeserializeCspmMonitorGithubOffering(element); - case "DefenderCspmAws": return DefenderCspmAwsOffering.DeserializeDefenderCspmAwsOffering(element); - case "DefenderCspmGcp": return DefenderCspmGcpOffering.DeserializeDefenderCspmGcpOffering(element); - case "DefenderForContainersAws": return DefenderForContainersAwsOffering.DeserializeDefenderForContainersAwsOffering(element); - case "DefenderForContainersGcp": return DefenderForContainersGcpOffering.DeserializeDefenderForContainersGcpOffering(element); - case "DefenderForDatabasesAws": return DefenderForDatabasesAwsOffering.DeserializeDefenderForDatabasesAwsOffering(element); - case "DefenderForDatabasesGcp": return DefenderForDatabasesGcpOffering.DeserializeDefenderForDatabasesGcpOffering(element); - case "DefenderForDevOpsAzureDevOps": return DefenderForDevOpsAzureDevOpsOffering.DeserializeDefenderForDevOpsAzureDevOpsOffering(element); - case "DefenderForDevOpsGitLab": return DefenderForDevOpsGitLabOffering.DeserializeDefenderForDevOpsGitLabOffering(element); - case "DefenderForDevOpsGithub": return DefenderForDevOpsGithubOffering.DeserializeDefenderForDevOpsGithubOffering(element); - case "DefenderForServersAws": return DefenderForServersAwsOffering.DeserializeDefenderForServersAwsOffering(element); - case "DefenderForServersGcp": return DefenderForServersGcpOffering.DeserializeDefenderForServersGcpOffering(element); - case "InformationProtectionAws": return InformationProtectionAwsOffering.DeserializeInformationProtectionAwsOffering(element); + case "CspmMonitorAws": return CspmMonitorAwsOffering.DeserializeCspmMonitorAwsOffering(element, options); + case "CspmMonitorAzureDevOps": return CspmMonitorAzureDevOpsOffering.DeserializeCspmMonitorAzureDevOpsOffering(element, options); + case "CspmMonitorGcp": return CspmMonitorGcpOffering.DeserializeCspmMonitorGcpOffering(element, options); + case "CspmMonitorGitLab": return CspmMonitorGitLabOffering.DeserializeCspmMonitorGitLabOffering(element, options); + case "CspmMonitorGithub": return CspmMonitorGithubOffering.DeserializeCspmMonitorGithubOffering(element, options); + case "DefenderCspmAws": return DefenderCspmAwsOffering.DeserializeDefenderCspmAwsOffering(element, options); + case "DefenderCspmGcp": return DefenderCspmGcpOffering.DeserializeDefenderCspmGcpOffering(element, options); + case "DefenderForContainersAws": return DefenderForContainersAwsOffering.DeserializeDefenderForContainersAwsOffering(element, options); + case "DefenderForContainersGcp": return DefenderForContainersGcpOffering.DeserializeDefenderForContainersGcpOffering(element, options); + case "DefenderForDatabasesAws": return DefenderForDatabasesAwsOffering.DeserializeDefenderForDatabasesAwsOffering(element, options); + case "DefenderForDatabasesGcp": return DefenderForDatabasesGcpOffering.DeserializeDefenderForDatabasesGcpOffering(element, options); + case "DefenderForDevOpsAzureDevOps": return DefenderForDevOpsAzureDevOpsOffering.DeserializeDefenderForDevOpsAzureDevOpsOffering(element, options); + case "DefenderForDevOpsGitLab": return DefenderForDevOpsGitLabOffering.DeserializeDefenderForDevOpsGitLabOffering(element, options); + case "DefenderForDevOpsGithub": return DefenderForDevOpsGithubOffering.DeserializeDefenderForDevOpsGithubOffering(element, options); + case "DefenderForServersAws": return DefenderForServersAwsOffering.DeserializeDefenderForServersAwsOffering(element, options); + case "DefenderForServersGcp": return DefenderForServersGcpOffering.DeserializeDefenderForServersGcpOffering(element, options); + case "InformationProtectionAws": return InformationProtectionAwsOffering.DeserializeInformationProtectionAwsOffering(element, options); } } - return UnknownCloudOffering.DeserializeUnknownCloudOffering(element); + return UnknownCloudOffering.DeserializeUnknownCloudOffering(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityCenterResourceDetails.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityCenterResourceDetails.Serialization.cs index 2a4ea4741eeaa..85de2999ce060 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityCenterResourceDetails.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityCenterResourceDetails.Serialization.cs @@ -70,12 +70,12 @@ internal static SecurityCenterResourceDetails DeserializeSecurityCenterResourceD { switch (discriminator.GetString()) { - case "Azure": return AzureResourceDetails.DeserializeAzureResourceDetails(element); - case "OnPremise": return OnPremiseResourceDetails.DeserializeOnPremiseResourceDetails(element); - case "OnPremiseSql": return OnPremiseSqlResourceDetails.DeserializeOnPremiseSqlResourceDetails(element); + case "Azure": return AzureResourceDetails.DeserializeAzureResourceDetails(element, options); + case "OnPremise": return OnPremiseResourceDetails.DeserializeOnPremiseResourceDetails(element, options); + case "OnPremiseSql": return OnPremiseSqlResourceDetails.DeserializeOnPremiseSqlResourceDetails(element, options); } } - return UnknownResourceDetails.DeserializeUnknownResourceDetails(element); + return UnknownResourceDetails.DeserializeUnknownResourceDetails(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityConnectorEnvironment.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityConnectorEnvironment.Serialization.cs index b1f28455eb7a1..2aea55720ac1a 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityConnectorEnvironment.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityConnectorEnvironment.Serialization.cs @@ -70,14 +70,14 @@ internal static SecurityConnectorEnvironment DeserializeSecurityConnectorEnviron { switch (discriminator.GetString()) { - case "AwsAccount": return AwsEnvironment.DeserializeAwsEnvironment(element); - case "AzureDevOpsScope": return AzureDevOpsScopeEnvironment.DeserializeAzureDevOpsScopeEnvironment(element); - case "GcpProject": return GcpProjectEnvironment.DeserializeGcpProjectEnvironment(element); - case "GithubScope": return GithubScopeEnvironment.DeserializeGithubScopeEnvironment(element); - case "GitlabScope": return GitlabScopeEnvironment.DeserializeGitlabScopeEnvironment(element); + case "AwsAccount": return AwsEnvironment.DeserializeAwsEnvironment(element, options); + case "AzureDevOpsScope": return AzureDevOpsScopeEnvironment.DeserializeAzureDevOpsScopeEnvironment(element, options); + case "GcpProject": return GcpProjectEnvironment.DeserializeGcpProjectEnvironment(element, options); + case "GithubScope": return GithubScopeEnvironment.DeserializeGithubScopeEnvironment(element, options); + case "GitlabScope": return GitlabScopeEnvironment.DeserializeGitlabScopeEnvironment(element, options); } } - return UnknownEnvironmentData.DeserializeUnknownEnvironmentData(element); + return UnknownEnvironmentData.DeserializeUnknownEnvironmentData(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityConnectorsList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityConnectorsList.Serialization.cs index 5f9fe0931f086..4e503ca64f625 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityConnectorsList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityConnectorsList.Serialization.cs @@ -88,7 +88,7 @@ internal static SecurityConnectorsList DeserializeSecurityConnectorsList(JsonEle List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityConnectorData.DeserializeSecurityConnectorData(item)); + array.Add(SecurityConnectorData.DeserializeSecurityConnectorData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityContactList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityContactList.Serialization.cs index 9f2d4ad0a99fd..d04d4c55574f6 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityContactList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityContactList.Serialization.cs @@ -95,7 +95,7 @@ internal static SecurityContactList DeserializeSecurityContactList(JsonElement e List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityContactData.DeserializeSecurityContactData(item)); + array.Add(SecurityContactData.DeserializeSecurityContactData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityInformationTypeInfo.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityInformationTypeInfo.Serialization.cs index d75a58a75251e..14b4a0c94690c 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityInformationTypeInfo.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityInformationTypeInfo.Serialization.cs @@ -170,7 +170,7 @@ internal static SecurityInformationTypeInfo DeserializeSecurityInformationTypeIn List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(InformationProtectionKeyword.DeserializeInformationProtectionKeyword(item)); + array.Add(InformationProtectionKeyword.DeserializeInformationProtectionKeyword(item, options)); } keywords = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityOperatorList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityOperatorList.Serialization.cs index 66a0a9f039fc1..7255dd9423e56 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityOperatorList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityOperatorList.Serialization.cs @@ -82,7 +82,7 @@ internal static SecurityOperatorList DeserializeSecurityOperatorList(JsonElement List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityOperatorData.DeserializeSecurityOperatorData(item)); + array.Add(SecurityOperatorData.DeserializeSecurityOperatorData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecuritySolutionList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecuritySolutionList.Serialization.cs index 5d7761e26e98b..0c886746ebde2 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecuritySolutionList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecuritySolutionList.Serialization.cs @@ -94,7 +94,7 @@ internal static SecuritySolutionList DeserializeSecuritySolutionList(JsonElement List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecuritySolution.DeserializeSecuritySolution(item)); + array.Add(SecuritySolution.DeserializeSecuritySolution(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecuritySolutionsReferenceDataList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecuritySolutionsReferenceDataList.Serialization.cs index 54867009f17a8..e9bbf2bbb1a9c 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecuritySolutionsReferenceDataList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecuritySolutionsReferenceDataList.Serialization.cs @@ -88,7 +88,7 @@ internal static SecuritySolutionsReferenceDataList DeserializeSecuritySolutionsR List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecuritySolutionsReferenceData.DeserializeSecuritySolutionsReferenceData(item)); + array.Add(SecuritySolutionsReferenceData.DeserializeSecuritySolutionsReferenceData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecuritySubAssessmentAdditionalInfo.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecuritySubAssessmentAdditionalInfo.Serialization.cs index 766702e80cc79..b2aeae630ddd8 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecuritySubAssessmentAdditionalInfo.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecuritySubAssessmentAdditionalInfo.Serialization.cs @@ -70,12 +70,12 @@ internal static SecuritySubAssessmentAdditionalInfo DeserializeSecuritySubAssess { switch (discriminator.GetString()) { - case "ContainerRegistryVulnerability": return ContainerRegistryVulnerabilityProperties.DeserializeContainerRegistryVulnerabilityProperties(element); - case "ServerVulnerabilityAssessment": return ServerVulnerabilityProperties.DeserializeServerVulnerabilityProperties(element); - case "SqlServerVulnerability": return SqlServerVulnerabilityProperties.DeserializeSqlServerVulnerabilityProperties(element); + case "ContainerRegistryVulnerability": return ContainerRegistryVulnerabilityProperties.DeserializeContainerRegistryVulnerabilityProperties(element, options); + case "ServerVulnerabilityAssessment": return ServerVulnerabilityProperties.DeserializeServerVulnerabilityProperties(element, options); + case "SqlServerVulnerability": return SqlServerVulnerabilityProperties.DeserializeSqlServerVulnerabilityProperties(element, options); } } - return UnknownAdditionalData.DeserializeUnknownAdditionalData(element); + return UnknownAdditionalData.DeserializeUnknownAdditionalData(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecuritySubAssessmentList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecuritySubAssessmentList.Serialization.cs index 4825d23288d0d..0cde106af9710 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecuritySubAssessmentList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecuritySubAssessmentList.Serialization.cs @@ -95,7 +95,7 @@ internal static SecuritySubAssessmentList DeserializeSecuritySubAssessmentList(J List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecuritySubAssessmentData.DeserializeSecuritySubAssessmentData(item)); + array.Add(SecuritySubAssessmentData.DeserializeSecuritySubAssessmentData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityTaskList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityTaskList.Serialization.cs index 61fa867aace0b..e5f39e75c9759 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityTaskList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityTaskList.Serialization.cs @@ -95,7 +95,7 @@ internal static SecurityTaskList DeserializeSecurityTaskList(JsonElement element List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityTaskData.DeserializeSecurityTaskData(item)); + array.Add(SecurityTaskData.DeserializeSecurityTaskData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityTopologyResource.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityTopologyResource.Serialization.cs index 83d6b4ff2260e..62d84289ba09b 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityTopologyResource.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SecurityTopologyResource.Serialization.cs @@ -179,7 +179,7 @@ internal static SecurityTopologyResource DeserializeSecurityTopologyResource(Jso List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(TopologySingleResource.DeserializeTopologySingleResource(item)); + array.Add(TopologySingleResource.DeserializeTopologySingleResource(item, options)); } topologyResources = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SensitivitySettingsProperties.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SensitivitySettingsProperties.Serialization.cs index 4c62cc31134d4..1b2c6de277e6d 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SensitivitySettingsProperties.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SensitivitySettingsProperties.Serialization.cs @@ -135,7 +135,7 @@ internal static SensitivitySettingsProperties DeserializeSensitivitySettingsProp { continue; } - mipInformation = GetSensitivitySettingsResponsePropertiesMipInformation.DeserializeGetSensitivitySettingsResponsePropertiesMipInformation(property.Value); + mipInformation = GetSensitivitySettingsResponsePropertiesMipInformation.DeserializeGetSensitivitySettingsResponsePropertiesMipInformation(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ServerVulnerabilityAssessmentsList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ServerVulnerabilityAssessmentsList.Serialization.cs index 76c53e8497c78..ee2f54281dea5 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ServerVulnerabilityAssessmentsList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ServerVulnerabilityAssessmentsList.Serialization.cs @@ -89,7 +89,7 @@ internal static ServerVulnerabilityAssessmentsList DeserializeServerVulnerabilit List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ServerVulnerabilityAssessmentData.DeserializeServerVulnerabilityAssessmentData(item)); + array.Add(ServerVulnerabilityAssessmentData.DeserializeServerVulnerabilityAssessmentData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ServerVulnerabilityAssessmentsSettingsList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ServerVulnerabilityAssessmentsSettingsList.Serialization.cs index 6169f88c29e89..5811a984b5c5e 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ServerVulnerabilityAssessmentsSettingsList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ServerVulnerabilityAssessmentsSettingsList.Serialization.cs @@ -95,7 +95,7 @@ internal static ServerVulnerabilityAssessmentsSettingsList DeserializeServerVuln List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ServerVulnerabilityAssessmentsSettingData.DeserializeServerVulnerabilityAssessmentsSettingData(item)); + array.Add(ServerVulnerabilityAssessmentsSettingData.DeserializeServerVulnerabilityAssessmentsSettingData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ServerVulnerabilityProperties.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ServerVulnerabilityProperties.Serialization.cs index 008e4cccba219..5282456668d80 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ServerVulnerabilityProperties.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ServerVulnerabilityProperties.Serialization.cs @@ -143,7 +143,7 @@ internal static ServerVulnerabilityProperties DeserializeServerVulnerabilityProp Dictionary dictionary = new Dictionary(); foreach (var property0 in property.Value.EnumerateObject()) { - dictionary.Add(property0.Name, SecurityCvss.DeserializeSecurityCvss(property0.Value)); + dictionary.Add(property0.Name, SecurityCvss.DeserializeSecurityCvss(property0.Value, options)); } cvss = dictionary; continue; @@ -166,7 +166,7 @@ internal static ServerVulnerabilityProperties DeserializeServerVulnerabilityProp List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityCve.DeserializeSecurityCve(item)); + array.Add(SecurityCve.DeserializeSecurityCve(item, options)); } cve = array; continue; @@ -194,7 +194,7 @@ internal static ServerVulnerabilityProperties DeserializeServerVulnerabilityProp List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(VendorReference.DeserializeVendorReference(item)); + array.Add(VendorReference.DeserializeVendorReference(item, options)); } vendorReferences = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SettingsList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SettingsList.Serialization.cs index c75189174b8a9..7ac2b287103a7 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SettingsList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SettingsList.Serialization.cs @@ -95,7 +95,7 @@ internal static SettingsList DeserializeSettingsList(JsonElement element, ModelR List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecuritySettingData.DeserializeSecuritySettingData(item)); + array.Add(SecuritySettingData.DeserializeSecuritySettingData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SoftwaresList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SoftwaresList.Serialization.cs index e704c1629739e..edea5391a4644 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SoftwaresList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SoftwaresList.Serialization.cs @@ -95,7 +95,7 @@ internal static SoftwaresList DeserializeSoftwaresList(JsonElement element, Mode List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SoftwareInventoryData.DeserializeSoftwareInventoryData(item)); + array.Add(SoftwareInventoryData.DeserializeSoftwareInventoryData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SqlVulnerabilityAssessmentScanResult.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SqlVulnerabilityAssessmentScanResult.Serialization.cs index 427007de5e523..fad1d078124ca 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SqlVulnerabilityAssessmentScanResult.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SqlVulnerabilityAssessmentScanResult.Serialization.cs @@ -105,7 +105,7 @@ internal static SqlVulnerabilityAssessmentScanResult DeserializeSqlVulnerability { continue; } - properties = SqlVulnerabilityAssessmentScanResultProperties.DeserializeSqlVulnerabilityAssessmentScanResultProperties(property.Value); + properties = SqlVulnerabilityAssessmentScanResultProperties.DeserializeSqlVulnerabilityAssessmentScanResultProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SqlVulnerabilityAssessmentScanResultProperties.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SqlVulnerabilityAssessmentScanResultProperties.Serialization.cs index 4d93800754bc7..d17ff8be1476c 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SqlVulnerabilityAssessmentScanResultProperties.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SqlVulnerabilityAssessmentScanResultProperties.Serialization.cs @@ -180,7 +180,7 @@ internal static SqlVulnerabilityAssessmentScanResultProperties DeserializeSqlVul { continue; } - remediation = SqlVulnerabilityAssessmentRemediation.DeserializeSqlVulnerabilityAssessmentRemediation(property.Value); + remediation = SqlVulnerabilityAssessmentRemediation.DeserializeSqlVulnerabilityAssessmentRemediation(property.Value, options); continue; } if (property.NameEquals("baselineAdjustedResult"u8)) @@ -189,7 +189,7 @@ internal static SqlVulnerabilityAssessmentScanResultProperties DeserializeSqlVul { continue; } - baselineAdjustedResult = BaselineAdjustedResult.DeserializeBaselineAdjustedResult(property.Value); + baselineAdjustedResult = BaselineAdjustedResult.DeserializeBaselineAdjustedResult(property.Value, options); continue; } if (property.NameEquals("ruleMetadata"u8)) @@ -198,7 +198,7 @@ internal static SqlVulnerabilityAssessmentScanResultProperties DeserializeSqlVul { continue; } - ruleMetadata = VulnerabilityAssessmentRule.DeserializeVulnerabilityAssessmentRule(property.Value); + ruleMetadata = VulnerabilityAssessmentRule.DeserializeVulnerabilityAssessmentRule(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SuppressionAlertsScope.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SuppressionAlertsScope.Serialization.cs index fd9e98406fc86..2774527eb85d9 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SuppressionAlertsScope.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/SuppressionAlertsScope.Serialization.cs @@ -81,7 +81,7 @@ internal static SuppressionAlertsScope DeserializeSuppressionAlertsScope(JsonEle List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SuppressionAlertsScopeElement.DeserializeSuppressionAlertsScopeElement(item)); + array.Add(SuppressionAlertsScopeElement.DeserializeSuppressionAlertsScopeElement(item, options)); } allOf = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ThresholdCustomAlertRule.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ThresholdCustomAlertRule.Serialization.cs index 4856f7270fbc4..7fd4ff8e3eea7 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ThresholdCustomAlertRule.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/ThresholdCustomAlertRule.Serialization.cs @@ -86,23 +86,23 @@ internal static ThresholdCustomAlertRule DeserializeThresholdCustomAlertRule(Jso { switch (discriminator.GetString()) { - case "ActiveConnectionsNotInAllowedRange": return ActiveConnectionsNotInAllowedRange.DeserializeActiveConnectionsNotInAllowedRange(element); - case "AmqpC2DMessagesNotInAllowedRange": return AmqpC2DMessagesNotInAllowedRange.DeserializeAmqpC2DMessagesNotInAllowedRange(element); - case "AmqpC2DRejectedMessagesNotInAllowedRange": return AmqpC2DRejectedMessagesNotInAllowedRange.DeserializeAmqpC2DRejectedMessagesNotInAllowedRange(element); - case "AmqpD2CMessagesNotInAllowedRange": return AmqpD2CMessagesNotInAllowedRange.DeserializeAmqpD2CMessagesNotInAllowedRange(element); - case "DirectMethodInvokesNotInAllowedRange": return DirectMethodInvokesNotInAllowedRange.DeserializeDirectMethodInvokesNotInAllowedRange(element); - case "FailedLocalLoginsNotInAllowedRange": return FailedLocalLoginsNotInAllowedRange.DeserializeFailedLocalLoginsNotInAllowedRange(element); - case "FileUploadsNotInAllowedRange": return FileUploadsNotInAllowedRange.DeserializeFileUploadsNotInAllowedRange(element); - case "HttpC2DMessagesNotInAllowedRange": return HttpC2DMessagesNotInAllowedRange.DeserializeHttpC2DMessagesNotInAllowedRange(element); - case "HttpC2DRejectedMessagesNotInAllowedRange": return HttpC2DRejectedMessagesNotInAllowedRange.DeserializeHttpC2DRejectedMessagesNotInAllowedRange(element); - case "HttpD2CMessagesNotInAllowedRange": return HttpD2CMessagesNotInAllowedRange.DeserializeHttpD2CMessagesNotInAllowedRange(element); - case "MqttC2DMessagesNotInAllowedRange": return MqttC2DMessagesNotInAllowedRange.DeserializeMqttC2DMessagesNotInAllowedRange(element); - case "MqttC2DRejectedMessagesNotInAllowedRange": return MqttC2DRejectedMessagesNotInAllowedRange.DeserializeMqttC2DRejectedMessagesNotInAllowedRange(element); - case "MqttD2CMessagesNotInAllowedRange": return MqttD2CMessagesNotInAllowedRange.DeserializeMqttD2CMessagesNotInAllowedRange(element); - case "QueuePurgesNotInAllowedRange": return QueuePurgesNotInAllowedRange.DeserializeQueuePurgesNotInAllowedRange(element); - case "TimeWindowCustomAlertRule": return TimeWindowCustomAlertRule.DeserializeTimeWindowCustomAlertRule(element); - case "TwinUpdatesNotInAllowedRange": return TwinUpdatesNotInAllowedRange.DeserializeTwinUpdatesNotInAllowedRange(element); - case "UnauthorizedOperationsNotInAllowedRange": return UnauthorizedOperationsNotInAllowedRange.DeserializeUnauthorizedOperationsNotInAllowedRange(element); + case "ActiveConnectionsNotInAllowedRange": return ActiveConnectionsNotInAllowedRange.DeserializeActiveConnectionsNotInAllowedRange(element, options); + case "AmqpC2DMessagesNotInAllowedRange": return AmqpC2DMessagesNotInAllowedRange.DeserializeAmqpC2DMessagesNotInAllowedRange(element, options); + case "AmqpC2DRejectedMessagesNotInAllowedRange": return AmqpC2DRejectedMessagesNotInAllowedRange.DeserializeAmqpC2DRejectedMessagesNotInAllowedRange(element, options); + case "AmqpD2CMessagesNotInAllowedRange": return AmqpD2CMessagesNotInAllowedRange.DeserializeAmqpD2CMessagesNotInAllowedRange(element, options); + case "DirectMethodInvokesNotInAllowedRange": return DirectMethodInvokesNotInAllowedRange.DeserializeDirectMethodInvokesNotInAllowedRange(element, options); + case "FailedLocalLoginsNotInAllowedRange": return FailedLocalLoginsNotInAllowedRange.DeserializeFailedLocalLoginsNotInAllowedRange(element, options); + case "FileUploadsNotInAllowedRange": return FileUploadsNotInAllowedRange.DeserializeFileUploadsNotInAllowedRange(element, options); + case "HttpC2DMessagesNotInAllowedRange": return HttpC2DMessagesNotInAllowedRange.DeserializeHttpC2DMessagesNotInAllowedRange(element, options); + case "HttpC2DRejectedMessagesNotInAllowedRange": return HttpC2DRejectedMessagesNotInAllowedRange.DeserializeHttpC2DRejectedMessagesNotInAllowedRange(element, options); + case "HttpD2CMessagesNotInAllowedRange": return HttpD2CMessagesNotInAllowedRange.DeserializeHttpD2CMessagesNotInAllowedRange(element, options); + case "MqttC2DMessagesNotInAllowedRange": return MqttC2DMessagesNotInAllowedRange.DeserializeMqttC2DMessagesNotInAllowedRange(element, options); + case "MqttC2DRejectedMessagesNotInAllowedRange": return MqttC2DRejectedMessagesNotInAllowedRange.DeserializeMqttC2DRejectedMessagesNotInAllowedRange(element, options); + case "MqttD2CMessagesNotInAllowedRange": return MqttD2CMessagesNotInAllowedRange.DeserializeMqttD2CMessagesNotInAllowedRange(element, options); + case "QueuePurgesNotInAllowedRange": return QueuePurgesNotInAllowedRange.DeserializeQueuePurgesNotInAllowedRange(element, options); + case "TimeWindowCustomAlertRule": return TimeWindowCustomAlertRule.DeserializeTimeWindowCustomAlertRule(element, options); + case "TwinUpdatesNotInAllowedRange": return TwinUpdatesNotInAllowedRange.DeserializeTwinUpdatesNotInAllowedRange(element, options); + case "UnauthorizedOperationsNotInAllowedRange": return UnauthorizedOperationsNotInAllowedRange.DeserializeUnauthorizedOperationsNotInAllowedRange(element, options); } } int minThreshold = default; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/TimeWindowCustomAlertRule.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/TimeWindowCustomAlertRule.Serialization.cs index b670f3ad31e58..f4817c0eb86cb 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/TimeWindowCustomAlertRule.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/TimeWindowCustomAlertRule.Serialization.cs @@ -88,22 +88,22 @@ internal static TimeWindowCustomAlertRule DeserializeTimeWindowCustomAlertRule(J { switch (discriminator.GetString()) { - case "ActiveConnectionsNotInAllowedRange": return ActiveConnectionsNotInAllowedRange.DeserializeActiveConnectionsNotInAllowedRange(element); - case "AmqpC2DMessagesNotInAllowedRange": return AmqpC2DMessagesNotInAllowedRange.DeserializeAmqpC2DMessagesNotInAllowedRange(element); - case "AmqpC2DRejectedMessagesNotInAllowedRange": return AmqpC2DRejectedMessagesNotInAllowedRange.DeserializeAmqpC2DRejectedMessagesNotInAllowedRange(element); - case "AmqpD2CMessagesNotInAllowedRange": return AmqpD2CMessagesNotInAllowedRange.DeserializeAmqpD2CMessagesNotInAllowedRange(element); - case "DirectMethodInvokesNotInAllowedRange": return DirectMethodInvokesNotInAllowedRange.DeserializeDirectMethodInvokesNotInAllowedRange(element); - case "FailedLocalLoginsNotInAllowedRange": return FailedLocalLoginsNotInAllowedRange.DeserializeFailedLocalLoginsNotInAllowedRange(element); - case "FileUploadsNotInAllowedRange": return FileUploadsNotInAllowedRange.DeserializeFileUploadsNotInAllowedRange(element); - case "HttpC2DMessagesNotInAllowedRange": return HttpC2DMessagesNotInAllowedRange.DeserializeHttpC2DMessagesNotInAllowedRange(element); - case "HttpC2DRejectedMessagesNotInAllowedRange": return HttpC2DRejectedMessagesNotInAllowedRange.DeserializeHttpC2DRejectedMessagesNotInAllowedRange(element); - case "HttpD2CMessagesNotInAllowedRange": return HttpD2CMessagesNotInAllowedRange.DeserializeHttpD2CMessagesNotInAllowedRange(element); - case "MqttC2DMessagesNotInAllowedRange": return MqttC2DMessagesNotInAllowedRange.DeserializeMqttC2DMessagesNotInAllowedRange(element); - case "MqttC2DRejectedMessagesNotInAllowedRange": return MqttC2DRejectedMessagesNotInAllowedRange.DeserializeMqttC2DRejectedMessagesNotInAllowedRange(element); - case "MqttD2CMessagesNotInAllowedRange": return MqttD2CMessagesNotInAllowedRange.DeserializeMqttD2CMessagesNotInAllowedRange(element); - case "QueuePurgesNotInAllowedRange": return QueuePurgesNotInAllowedRange.DeserializeQueuePurgesNotInAllowedRange(element); - case "TwinUpdatesNotInAllowedRange": return TwinUpdatesNotInAllowedRange.DeserializeTwinUpdatesNotInAllowedRange(element); - case "UnauthorizedOperationsNotInAllowedRange": return UnauthorizedOperationsNotInAllowedRange.DeserializeUnauthorizedOperationsNotInAllowedRange(element); + case "ActiveConnectionsNotInAllowedRange": return ActiveConnectionsNotInAllowedRange.DeserializeActiveConnectionsNotInAllowedRange(element, options); + case "AmqpC2DMessagesNotInAllowedRange": return AmqpC2DMessagesNotInAllowedRange.DeserializeAmqpC2DMessagesNotInAllowedRange(element, options); + case "AmqpC2DRejectedMessagesNotInAllowedRange": return AmqpC2DRejectedMessagesNotInAllowedRange.DeserializeAmqpC2DRejectedMessagesNotInAllowedRange(element, options); + case "AmqpD2CMessagesNotInAllowedRange": return AmqpD2CMessagesNotInAllowedRange.DeserializeAmqpD2CMessagesNotInAllowedRange(element, options); + case "DirectMethodInvokesNotInAllowedRange": return DirectMethodInvokesNotInAllowedRange.DeserializeDirectMethodInvokesNotInAllowedRange(element, options); + case "FailedLocalLoginsNotInAllowedRange": return FailedLocalLoginsNotInAllowedRange.DeserializeFailedLocalLoginsNotInAllowedRange(element, options); + case "FileUploadsNotInAllowedRange": return FileUploadsNotInAllowedRange.DeserializeFileUploadsNotInAllowedRange(element, options); + case "HttpC2DMessagesNotInAllowedRange": return HttpC2DMessagesNotInAllowedRange.DeserializeHttpC2DMessagesNotInAllowedRange(element, options); + case "HttpC2DRejectedMessagesNotInAllowedRange": return HttpC2DRejectedMessagesNotInAllowedRange.DeserializeHttpC2DRejectedMessagesNotInAllowedRange(element, options); + case "HttpD2CMessagesNotInAllowedRange": return HttpD2CMessagesNotInAllowedRange.DeserializeHttpD2CMessagesNotInAllowedRange(element, options); + case "MqttC2DMessagesNotInAllowedRange": return MqttC2DMessagesNotInAllowedRange.DeserializeMqttC2DMessagesNotInAllowedRange(element, options); + case "MqttC2DRejectedMessagesNotInAllowedRange": return MqttC2DRejectedMessagesNotInAllowedRange.DeserializeMqttC2DRejectedMessagesNotInAllowedRange(element, options); + case "MqttD2CMessagesNotInAllowedRange": return MqttD2CMessagesNotInAllowedRange.DeserializeMqttD2CMessagesNotInAllowedRange(element, options); + case "QueuePurgesNotInAllowedRange": return QueuePurgesNotInAllowedRange.DeserializeQueuePurgesNotInAllowedRange(element, options); + case "TwinUpdatesNotInAllowedRange": return TwinUpdatesNotInAllowedRange.DeserializeTwinUpdatesNotInAllowedRange(element, options); + case "UnauthorizedOperationsNotInAllowedRange": return UnauthorizedOperationsNotInAllowedRange.DeserializeUnauthorizedOperationsNotInAllowedRange(element, options); } } TimeSpan timeWindowSize = default; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/TopologyList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/TopologyList.Serialization.cs index bfb146e710b59..9467d740d20e1 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/TopologyList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/TopologyList.Serialization.cs @@ -94,7 +94,7 @@ internal static TopologyList DeserializeTopologyList(JsonElement element, ModelR List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityTopologyResource.DeserializeSecurityTopologyResource(item)); + array.Add(SecurityTopologyResource.DeserializeSecurityTopologyResource(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/TopologySingleResource.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/TopologySingleResource.Serialization.cs index 947fcbf38e4bb..3eb51f82852b3 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/TopologySingleResource.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/TopologySingleResource.Serialization.cs @@ -181,7 +181,7 @@ internal static TopologySingleResource DeserializeTopologySingleResource(JsonEle List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(TopologySingleResourceParent.DeserializeTopologySingleResourceParent(item)); + array.Add(TopologySingleResourceParent.DeserializeTopologySingleResourceParent(item, options)); } parents = array; continue; @@ -195,7 +195,7 @@ internal static TopologySingleResource DeserializeTopologySingleResource(JsonEle List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(TopologySingleResourceChild.DeserializeTopologySingleResourceChild(item)); + array.Add(TopologySingleResourceChild.DeserializeTopologySingleResourceChild(item, options)); } children = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/VulnerabilityAssessmentRule.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/VulnerabilityAssessmentRule.Serialization.cs index 050af064b29fe..8fa594526501e 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/VulnerabilityAssessmentRule.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/VulnerabilityAssessmentRule.Serialization.cs @@ -176,7 +176,7 @@ internal static VulnerabilityAssessmentRule DeserializeVulnerabilityAssessmentRu { continue; } - queryCheck = VulnerabilityAssessmentRuleQueryCheck.DeserializeVulnerabilityAssessmentRuleQueryCheck(property.Value); + queryCheck = VulnerabilityAssessmentRuleQueryCheck.DeserializeVulnerabilityAssessmentRuleQueryCheck(property.Value, options); continue; } if (property.NameEquals("benchmarkReferences"u8)) @@ -188,7 +188,7 @@ internal static VulnerabilityAssessmentRule DeserializeVulnerabilityAssessmentRu List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(BenchmarkReference.DeserializeBenchmarkReference(item)); + array.Add(BenchmarkReference.DeserializeBenchmarkReference(item, options)); } benchmarkReferences = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/WorkspaceSettingList.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/WorkspaceSettingList.Serialization.cs index cdd2900b313e9..156719144d9af 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/WorkspaceSettingList.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/Models/WorkspaceSettingList.Serialization.cs @@ -88,7 +88,7 @@ internal static WorkspaceSettingList DeserializeWorkspaceSettingList(JsonElement List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityWorkspaceSettingData.DeserializeSecurityWorkspaceSettingData(item)); + array.Add(SecurityWorkspaceSettingData.DeserializeSecurityWorkspaceSettingData(item, options)); } value = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityAlertData.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityAlertData.Serialization.cs index 71670651ffb56..531ccd75b48fd 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityAlertData.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityAlertData.Serialization.cs @@ -414,7 +414,7 @@ internal static SecurityAlertData DeserializeSecurityAlertData(JsonElement eleme List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(SecurityAlertResourceIdentifier.DeserializeSecurityAlertResourceIdentifier(item)); + array.Add(SecurityAlertResourceIdentifier.DeserializeSecurityAlertResourceIdentifier(item, options)); } resourceIdentifiers = array; continue; @@ -514,7 +514,7 @@ internal static SecurityAlertData DeserializeSecurityAlertData(JsonElement eleme List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(SecurityAlertEntity.DeserializeSecurityAlertEntity(item)); + array.Add(SecurityAlertEntity.DeserializeSecurityAlertEntity(item, options)); } entities = array; continue; @@ -586,7 +586,7 @@ internal static SecurityAlertData DeserializeSecurityAlertData(JsonElement eleme { continue; } - supportingEvidence = SecurityAlertSupportingEvidence.DeserializeSecurityAlertSupportingEvidence(property0.Value); + supportingEvidence = SecurityAlertSupportingEvidence.DeserializeSecurityAlertSupportingEvidence(property0.Value, options); continue; } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityAlertsSuppressionRuleData.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityAlertsSuppressionRuleData.Serialization.cs index 90f4cda80dc6d..ac9faa376644d 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityAlertsSuppressionRuleData.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityAlertsSuppressionRuleData.Serialization.cs @@ -220,7 +220,7 @@ internal static SecurityAlertsSuppressionRuleData DeserializeSecurityAlertsSuppr { continue; } - suppressionAlertsScope = SuppressionAlertsScope.DeserializeSuppressionAlertsScope(property0.Value); + suppressionAlertsScope = SuppressionAlertsScope.DeserializeSuppressionAlertsScope(property0.Value, options); continue; } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityAssessmentData.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityAssessmentData.Serialization.cs index 7552d2ad700ae..06323259d055b 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityAssessmentData.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityAssessmentData.Serialization.cs @@ -184,7 +184,7 @@ internal static SecurityAssessmentData DeserializeSecurityAssessmentData(JsonEle { continue; } - resourceDetails = SecurityCenterResourceDetails.DeserializeSecurityCenterResourceDetails(property0.Value); + resourceDetails = SecurityCenterResourceDetails.DeserializeSecurityCenterResourceDetails(property0.Value, options); continue; } if (property0.NameEquals("displayName"u8)) @@ -212,7 +212,7 @@ internal static SecurityAssessmentData DeserializeSecurityAssessmentData(JsonEle { continue; } - links = AssessmentLinks.DeserializeAssessmentLinks(property0.Value); + links = AssessmentLinks.DeserializeAssessmentLinks(property0.Value, options); continue; } if (property0.NameEquals("metadata"u8)) @@ -221,7 +221,7 @@ internal static SecurityAssessmentData DeserializeSecurityAssessmentData(JsonEle { continue; } - metadata = SecurityAssessmentMetadataProperties.DeserializeSecurityAssessmentMetadataProperties(property0.Value); + metadata = SecurityAssessmentMetadataProperties.DeserializeSecurityAssessmentMetadataProperties(property0.Value, options); continue; } if (property0.NameEquals("partnersData"u8)) @@ -230,7 +230,7 @@ internal static SecurityAssessmentData DeserializeSecurityAssessmentData(JsonEle { continue; } - partnersData = SecurityAssessmentPartner.DeserializeSecurityAssessmentPartner(property0.Value); + partnersData = SecurityAssessmentPartner.DeserializeSecurityAssessmentPartner(property0.Value, options); continue; } if (property0.NameEquals("status"u8)) @@ -239,7 +239,7 @@ internal static SecurityAssessmentData DeserializeSecurityAssessmentData(JsonEle { continue; } - status = SecurityAssessmentStatusResult.DeserializeSecurityAssessmentStatusResult(property0.Value); + status = SecurityAssessmentStatusResult.DeserializeSecurityAssessmentStatusResult(property0.Value, options); continue; } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityAssessmentMetadataData.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityAssessmentMetadataData.Serialization.cs index a57569fa16c7f..ea386b183033b 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityAssessmentMetadataData.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityAssessmentMetadataData.Serialization.cs @@ -345,7 +345,7 @@ internal static SecurityAssessmentMetadataData DeserializeSecurityAssessmentMeta { continue; } - partnerData = SecurityAssessmentMetadataPartner.DeserializeSecurityAssessmentMetadataPartner(property0.Value); + partnerData = SecurityAssessmentMetadataPartner.DeserializeSecurityAssessmentMetadataPartner(property0.Value, options); continue; } if (property0.NameEquals("publishDates"u8)) @@ -354,7 +354,7 @@ internal static SecurityAssessmentMetadataData DeserializeSecurityAssessmentMeta { continue; } - publishDates = SecurityAssessmentPublishDates.DeserializeSecurityAssessmentPublishDates(property0.Value); + publishDates = SecurityAssessmentPublishDates.DeserializeSecurityAssessmentPublishDates(property0.Value, options); continue; } if (property0.NameEquals("plannedDeprecationDate"u8)) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityAutomationData.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityAutomationData.Serialization.cs index 031e318eec1c1..0b2c210aabee2 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityAutomationData.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityAutomationData.Serialization.cs @@ -259,7 +259,7 @@ internal static SecurityAutomationData DeserializeSecurityAutomationData(JsonEle List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(SecurityAutomationScope.DeserializeSecurityAutomationScope(item)); + array.Add(SecurityAutomationScope.DeserializeSecurityAutomationScope(item, options)); } scopes = array; continue; @@ -273,7 +273,7 @@ internal static SecurityAutomationData DeserializeSecurityAutomationData(JsonEle List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(SecurityAutomationSource.DeserializeSecurityAutomationSource(item)); + array.Add(SecurityAutomationSource.DeserializeSecurityAutomationSource(item, options)); } sources = array; continue; @@ -287,7 +287,7 @@ internal static SecurityAutomationData DeserializeSecurityAutomationData(JsonEle List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(SecurityAutomationAction.DeserializeSecurityAutomationAction(item)); + array.Add(SecurityAutomationAction.DeserializeSecurityAutomationAction(item, options)); } actions = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityCenterPricingData.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityCenterPricingData.Serialization.cs index a030ee3daff0c..79390629d816c 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityCenterPricingData.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityCenterPricingData.Serialization.cs @@ -246,7 +246,7 @@ internal static SecurityCenterPricingData DeserializeSecurityCenterPricingData(J List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(PlanExtension.DeserializePlanExtension(item)); + array.Add(PlanExtension.DeserializePlanExtension(item, options)); } extensions = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityCloudConnectorData.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityCloudConnectorData.Serialization.cs index 54a8cdb28eab0..1a57e4134e212 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityCloudConnectorData.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityCloudConnectorData.Serialization.cs @@ -148,7 +148,7 @@ internal static SecurityCloudConnectorData DeserializeSecurityCloudConnectorData { continue; } - hybridComputeSettings = HybridComputeSettingsProperties.DeserializeHybridComputeSettingsProperties(property0.Value); + hybridComputeSettings = HybridComputeSettingsProperties.DeserializeHybridComputeSettingsProperties(property0.Value, options); continue; } if (property0.NameEquals("authenticationDetails"u8)) @@ -157,7 +157,7 @@ internal static SecurityCloudConnectorData DeserializeSecurityCloudConnectorData { continue; } - authenticationDetails = AuthenticationDetailsProperties.DeserializeAuthenticationDetailsProperties(property0.Value); + authenticationDetails = AuthenticationDetailsProperties.DeserializeAuthenticationDetailsProperties(property0.Value, options); continue; } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityComplianceData.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityComplianceData.Serialization.cs index a76d8a86b3863..6c1c7510e4b6e 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityComplianceData.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityComplianceData.Serialization.cs @@ -180,7 +180,7 @@ internal static SecurityComplianceData DeserializeSecurityComplianceData(JsonEle List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ComplianceSegment.DeserializeComplianceSegment(item)); + array.Add(ComplianceSegment.DeserializeComplianceSegment(item, options)); } assessmentResult = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityConnectorData.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityConnectorData.Serialization.cs index 7657bdb1b56dc..03289df966e80 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityConnectorData.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityConnectorData.Serialization.cs @@ -258,7 +258,7 @@ internal static SecurityConnectorData DeserializeSecurityConnectorData(JsonEleme List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(SecurityCenterCloudOffering.DeserializeSecurityCenterCloudOffering(item)); + array.Add(SecurityCenterCloudOffering.DeserializeSecurityCenterCloudOffering(item, options)); } offerings = array; continue; @@ -269,7 +269,7 @@ internal static SecurityConnectorData DeserializeSecurityConnectorData(JsonEleme { continue; } - environmentData = SecurityConnectorEnvironment.DeserializeSecurityConnectorEnvironment(property0.Value); + environmentData = SecurityConnectorEnvironment.DeserializeSecurityConnectorEnvironment(property0.Value, options); continue; } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityConnectorGitHubOwnerData.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityConnectorGitHubOwnerData.Serialization.cs index d7a3975cb773a..cfa81b03b32a7 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityConnectorGitHubOwnerData.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityConnectorGitHubOwnerData.Serialization.cs @@ -106,7 +106,7 @@ internal static SecurityConnectorGitHubOwnerData DeserializeSecurityConnectorGit { continue; } - properties = SecurityConnectorGitHubOwnerProperties.DeserializeSecurityConnectorGitHubOwnerProperties(property.Value); + properties = SecurityConnectorGitHubOwnerProperties.DeserializeSecurityConnectorGitHubOwnerProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityConnectorGitHubRepositoryData.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityConnectorGitHubRepositoryData.Serialization.cs index 69877a257a087..5efc1657b1b5b 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityConnectorGitHubRepositoryData.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityConnectorGitHubRepositoryData.Serialization.cs @@ -106,7 +106,7 @@ internal static SecurityConnectorGitHubRepositoryData DeserializeSecurityConnect { continue; } - properties = SecurityConnectorGitHubRepositoryProperties.DeserializeSecurityConnectorGitHubRepositoryProperties(property.Value); + properties = SecurityConnectorGitHubRepositoryProperties.DeserializeSecurityConnectorGitHubRepositoryProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityConnectorGitLabGroupData.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityConnectorGitLabGroupData.Serialization.cs index 2f2554d0c803a..5b14403916045 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityConnectorGitLabGroupData.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityConnectorGitLabGroupData.Serialization.cs @@ -106,7 +106,7 @@ internal static SecurityConnectorGitLabGroupData DeserializeSecurityConnectorGit { continue; } - properties = SecurityConnectorGitLabGroupProperties.DeserializeSecurityConnectorGitLabGroupProperties(property.Value); + properties = SecurityConnectorGitLabGroupProperties.DeserializeSecurityConnectorGitLabGroupProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityConnectorGitLabProjectData.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityConnectorGitLabProjectData.Serialization.cs index dbad0287d3bc7..be28ef9ce070c 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityConnectorGitLabProjectData.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityConnectorGitLabProjectData.Serialization.cs @@ -106,7 +106,7 @@ internal static SecurityConnectorGitLabProjectData DeserializeSecurityConnectorG { continue; } - properties = SecurityConnectorGitLabProjectProperties.DeserializeSecurityConnectorGitLabProjectProperties(property.Value); + properties = SecurityConnectorGitLabProjectProperties.DeserializeSecurityConnectorGitLabProjectProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityContactData.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityContactData.Serialization.cs index bff781775b894..10c5660abb3cf 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityContactData.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityContactData.Serialization.cs @@ -170,7 +170,7 @@ internal static SecurityContactData DeserializeSecurityContactData(JsonElement e { continue; } - alertNotifications = SecurityContactPropertiesAlertNotifications.DeserializeSecurityContactPropertiesAlertNotifications(property0.Value); + alertNotifications = SecurityContactPropertiesAlertNotifications.DeserializeSecurityContactPropertiesAlertNotifications(property0.Value, options); continue; } if (property0.NameEquals("notificationsByRole"u8)) @@ -179,7 +179,7 @@ internal static SecurityContactData DeserializeSecurityContactData(JsonElement e { continue; } - notificationsByRole = SecurityContactPropertiesNotificationsByRole.DeserializeSecurityContactPropertiesNotificationsByRole(property0.Value); + notificationsByRole = SecurityContactPropertiesNotificationsByRole.DeserializeSecurityContactPropertiesNotificationsByRole(property0.Value, options); continue; } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityHealthReportData.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityHealthReportData.Serialization.cs index 3a75eaa65d9ee..0df2eb1967180 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityHealthReportData.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityHealthReportData.Serialization.cs @@ -205,7 +205,7 @@ internal static SecurityHealthReportData DeserializeSecurityHealthReportData(Jso { continue; } - resourceDetails = HealthReportResourceDetails.DeserializeHealthReportResourceDetails(property0.Value); + resourceDetails = HealthReportResourceDetails.DeserializeHealthReportResourceDetails(property0.Value, options); continue; } if (property0.NameEquals("environmentDetails"u8)) @@ -214,7 +214,7 @@ internal static SecurityHealthReportData DeserializeSecurityHealthReportData(Jso { continue; } - environmentDetails = EnvironmentDetails.DeserializeEnvironmentDetails(property0.Value); + environmentDetails = EnvironmentDetails.DeserializeEnvironmentDetails(property0.Value, options); continue; } if (property0.NameEquals("healthDataClassification"u8)) @@ -223,7 +223,7 @@ internal static SecurityHealthReportData DeserializeSecurityHealthReportData(Jso { continue; } - healthDataClassification = HealthDataClassification.DeserializeHealthDataClassification(property0.Value); + healthDataClassification = HealthDataClassification.DeserializeHealthDataClassification(property0.Value, options); continue; } if (property0.NameEquals("status"u8)) @@ -232,7 +232,7 @@ internal static SecurityHealthReportData DeserializeSecurityHealthReportData(Jso { continue; } - status = HealthReportStatus.DeserializeHealthReportStatus(property0.Value); + status = HealthReportStatus.DeserializeHealthReportStatus(property0.Value, options); continue; } if (property0.NameEquals("affectedDefendersPlans"u8)) @@ -286,7 +286,7 @@ internal static SecurityHealthReportData DeserializeSecurityHealthReportData(Jso List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(SecurityHealthReportIssue.DeserializeSecurityHealthReportIssue(item)); + array.Add(SecurityHealthReportIssue.DeserializeSecurityHealthReportIssue(item, options)); } issues = array; continue; diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecuritySettingData.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecuritySettingData.Serialization.cs index a221671ee7a84..643daffaec8cd 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecuritySettingData.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecuritySettingData.Serialization.cs @@ -90,11 +90,11 @@ internal static SecuritySettingData DeserializeSecuritySettingData(JsonElement e { switch (discriminator.GetString()) { - case "AlertSyncSettings": return SecurityAlertSyncSettings.DeserializeSecurityAlertSyncSettings(element); - case "DataExportSettings": return DataExportSettings.DeserializeDataExportSettings(element); + case "AlertSyncSettings": return SecurityAlertSyncSettings.DeserializeSecurityAlertSyncSettings(element, options); + case "DataExportSettings": return DataExportSettings.DeserializeDataExportSettings(element, options); } } - return UnknownSetting.DeserializeUnknownSetting(element); + return UnknownSetting.DeserializeUnknownSetting(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecuritySubAssessmentData.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecuritySubAssessmentData.Serialization.cs index 2f4f65be501ae..58ea0d7a1e6bf 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecuritySubAssessmentData.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecuritySubAssessmentData.Serialization.cs @@ -206,7 +206,7 @@ internal static SecuritySubAssessmentData DeserializeSecuritySubAssessmentData(J { continue; } - status = SubAssessmentStatus.DeserializeSubAssessmentStatus(property0.Value); + status = SubAssessmentStatus.DeserializeSubAssessmentStatus(property0.Value, options); continue; } if (property0.NameEquals("remediation"u8)) @@ -244,7 +244,7 @@ internal static SecuritySubAssessmentData DeserializeSecuritySubAssessmentData(J { continue; } - resourceDetails = SecurityCenterResourceDetails.DeserializeSecurityCenterResourceDetails(property0.Value); + resourceDetails = SecurityCenterResourceDetails.DeserializeSecurityCenterResourceDetails(property0.Value, options); continue; } if (property0.NameEquals("additionalData"u8)) @@ -253,7 +253,7 @@ internal static SecuritySubAssessmentData DeserializeSecuritySubAssessmentData(J { continue; } - additionalData = SecuritySubAssessmentAdditionalInfo.DeserializeSecuritySubAssessmentAdditionalInfo(property0.Value); + additionalData = SecuritySubAssessmentAdditionalInfo.DeserializeSecuritySubAssessmentAdditionalInfo(property0.Value, options); continue; } } diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityTaskData.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityTaskData.Serialization.cs index 68a1cd5bfea09..b7674242850d6 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityTaskData.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SecurityTaskData.Serialization.cs @@ -180,7 +180,7 @@ internal static SecurityTaskData DeserializeSecurityTaskData(JsonElement element { continue; } - securityTaskParameters = SecurityTaskProperties.DeserializeSecurityTaskProperties(property0.Value); + securityTaskParameters = SecurityTaskProperties.DeserializeSecurityTaskProperties(property0.Value, options); continue; } if (property0.NameEquals("lastStateChangeTimeUtc"u8)) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SensitivitySettingData.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SensitivitySettingData.Serialization.cs index a3bc10f46c7d4..a87785bafaa7d 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SensitivitySettingData.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SensitivitySettingData.Serialization.cs @@ -106,7 +106,7 @@ internal static SensitivitySettingData DeserializeSensitivitySettingData(JsonEle { continue; } - properties = SensitivitySettingsProperties.DeserializeSensitivitySettingsProperties(property.Value); + properties = SensitivitySettingsProperties.DeserializeSensitivitySettingsProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/ServerVulnerabilityAssessmentsSettingData.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/ServerVulnerabilityAssessmentsSettingData.Serialization.cs index c6b3e7276c56c..ea6f35c3b86e6 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/ServerVulnerabilityAssessmentsSettingData.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/ServerVulnerabilityAssessmentsSettingData.Serialization.cs @@ -91,10 +91,10 @@ internal static ServerVulnerabilityAssessmentsSettingData DeserializeServerVulne { switch (discriminator.GetString()) { - case "AzureServersSetting": return AzureServersSetting.DeserializeAzureServersSetting(element); + case "AzureServersSetting": return AzureServersSetting.DeserializeAzureServersSetting(element, options); } } - return UnknownServerVulnerabilityAssessmentsSetting.DeserializeUnknownServerVulnerabilityAssessmentsSetting(element); + return UnknownServerVulnerabilityAssessmentsSetting.DeserializeUnknownServerVulnerabilityAssessmentsSetting(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SqlVulnerabilityAssessmentBaselineRuleData.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SqlVulnerabilityAssessmentBaselineRuleData.Serialization.cs index 8f88a4df3a9e4..e0ef7bbfc70b3 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SqlVulnerabilityAssessmentBaselineRuleData.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SqlVulnerabilityAssessmentBaselineRuleData.Serialization.cs @@ -106,7 +106,7 @@ internal static SqlVulnerabilityAssessmentBaselineRuleData DeserializeSqlVulnera { continue; } - properties = RuleResultsProperties.DeserializeRuleResultsProperties(property.Value); + properties = RuleResultsProperties.DeserializeRuleResultsProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SqlVulnerabilityAssessmentScanData.Serialization.cs b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SqlVulnerabilityAssessmentScanData.Serialization.cs index 55996ebd345bd..694b2537cbda0 100644 --- a/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SqlVulnerabilityAssessmentScanData.Serialization.cs +++ b/sdk/securitycenter/Azure.ResourceManager.SecurityCenter/src/Generated/SqlVulnerabilityAssessmentScanData.Serialization.cs @@ -106,7 +106,7 @@ internal static SqlVulnerabilityAssessmentScanData DeserializeSqlVulnerabilityAs { continue; } - properties = SqlVulnerabilityAssessmentScanProperties.DeserializeSqlVulnerabilityAssessmentScanProperties(property.Value); + properties = SqlVulnerabilityAssessmentScanProperties.DeserializeSqlVulnerabilityAssessmentScanProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/AzureDevOpsConnectorData.Serialization.cs b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/AzureDevOpsConnectorData.Serialization.cs index b87b750fcbc76..b528b6b1aca3e 100644 --- a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/AzureDevOpsConnectorData.Serialization.cs +++ b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/AzureDevOpsConnectorData.Serialization.cs @@ -121,7 +121,7 @@ internal static AzureDevOpsConnectorData DeserializeAzureDevOpsConnectorData(Jso { continue; } - properties = AzureDevOpsConnectorProperties.DeserializeAzureDevOpsConnectorProperties(property.Value); + properties = AzureDevOpsConnectorProperties.DeserializeAzureDevOpsConnectorProperties(property.Value, options); continue; } if (property.NameEquals("tags"u8)) diff --git a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/AzureDevOpsOrgData.Serialization.cs b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/AzureDevOpsOrgData.Serialization.cs index ce464befab1a1..85ef8c3f0ec36 100644 --- a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/AzureDevOpsOrgData.Serialization.cs +++ b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/AzureDevOpsOrgData.Serialization.cs @@ -106,7 +106,7 @@ internal static AzureDevOpsOrgData DeserializeAzureDevOpsOrgData(JsonElement ele { continue; } - properties = AzureDevOpsOrgProperties.DeserializeAzureDevOpsOrgProperties(property.Value); + properties = AzureDevOpsOrgProperties.DeserializeAzureDevOpsOrgProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/AzureDevOpsProjectData.Serialization.cs b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/AzureDevOpsProjectData.Serialization.cs index 0c14ad0571d11..afa1f00fbdc6f 100644 --- a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/AzureDevOpsProjectData.Serialization.cs +++ b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/AzureDevOpsProjectData.Serialization.cs @@ -106,7 +106,7 @@ internal static AzureDevOpsProjectData DeserializeAzureDevOpsProjectData(JsonEle { continue; } - properties = AzureDevOpsProjectProperties.DeserializeAzureDevOpsProjectProperties(property.Value); + properties = AzureDevOpsProjectProperties.DeserializeAzureDevOpsProjectProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/AzureDevOpsRepoData.Serialization.cs b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/AzureDevOpsRepoData.Serialization.cs index 45eafb9cebcf7..7a6e80218363f 100644 --- a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/AzureDevOpsRepoData.Serialization.cs +++ b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/AzureDevOpsRepoData.Serialization.cs @@ -106,7 +106,7 @@ internal static AzureDevOpsRepoData DeserializeAzureDevOpsRepoData(JsonElement e { continue; } - properties = AzureDevOpsRepoProperties.DeserializeAzureDevOpsRepoProperties(property.Value); + properties = AzureDevOpsRepoProperties.DeserializeAzureDevOpsRepoProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/GitHubConnectorData.Serialization.cs b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/GitHubConnectorData.Serialization.cs index dc511e5fb393e..72246b01450f8 100644 --- a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/GitHubConnectorData.Serialization.cs +++ b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/GitHubConnectorData.Serialization.cs @@ -121,7 +121,7 @@ internal static GitHubConnectorData DeserializeGitHubConnectorData(JsonElement e { continue; } - properties = GitHubConnectorProperties.DeserializeGitHubConnectorProperties(property.Value); + properties = GitHubConnectorProperties.DeserializeGitHubConnectorProperties(property.Value, options); continue; } if (property.NameEquals("tags"u8)) diff --git a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/GitHubOwnerData.Serialization.cs b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/GitHubOwnerData.Serialization.cs index 984d4fd4d1dd8..1ccbf918e34d0 100644 --- a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/GitHubOwnerData.Serialization.cs +++ b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/GitHubOwnerData.Serialization.cs @@ -106,7 +106,7 @@ internal static GitHubOwnerData DeserializeGitHubOwnerData(JsonElement element, { continue; } - properties = GitHubOwnerProperties.DeserializeGitHubOwnerProperties(property.Value); + properties = GitHubOwnerProperties.DeserializeGitHubOwnerProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/GitHubRepoData.Serialization.cs b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/GitHubRepoData.Serialization.cs index 602a73c10c46f..82c0347013e80 100644 --- a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/GitHubRepoData.Serialization.cs +++ b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/GitHubRepoData.Serialization.cs @@ -106,7 +106,7 @@ internal static GitHubRepoData DeserializeGitHubRepoData(JsonElement element, Mo { continue; } - properties = GitHubRepoProperties.DeserializeGitHubRepoProperties(property.Value); + properties = GitHubRepoProperties.DeserializeGitHubRepoProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/ActionableRemediation.Serialization.cs b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/ActionableRemediation.Serialization.cs index c693d22bf3497..8c86e96561efb 100644 --- a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/ActionableRemediation.Serialization.cs +++ b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/ActionableRemediation.Serialization.cs @@ -145,7 +145,7 @@ internal static ActionableRemediation DeserializeActionableRemediation(JsonEleme { continue; } - branchConfiguration = TargetBranchConfiguration.DeserializeTargetBranchConfiguration(property.Value); + branchConfiguration = TargetBranchConfiguration.DeserializeTargetBranchConfiguration(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/AzureDevOpsConnectorListResponse.Serialization.cs b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/AzureDevOpsConnectorListResponse.Serialization.cs index 146d5d8f3b5ec..9a1d7cc131f94 100644 --- a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/AzureDevOpsConnectorListResponse.Serialization.cs +++ b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/AzureDevOpsConnectorListResponse.Serialization.cs @@ -95,7 +95,7 @@ internal static AzureDevOpsConnectorListResponse DeserializeAzureDevOpsConnector List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(AzureDevOpsConnectorData.DeserializeAzureDevOpsConnectorData(item)); + array.Add(AzureDevOpsConnectorData.DeserializeAzureDevOpsConnectorData(item, options)); } value = array; continue; diff --git a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/AzureDevOpsConnectorProperties.Serialization.cs b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/AzureDevOpsConnectorProperties.Serialization.cs index cb95ae93eaf40..6fcd25be28fef 100644 --- a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/AzureDevOpsConnectorProperties.Serialization.cs +++ b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/AzureDevOpsConnectorProperties.Serialization.cs @@ -106,7 +106,7 @@ internal static AzureDevOpsConnectorProperties DeserializeAzureDevOpsConnectorPr { continue; } - authorization = AuthorizationInfo.DeserializeAuthorizationInfo(property.Value); + authorization = AuthorizationInfo.DeserializeAuthorizationInfo(property.Value, options); continue; } if (property.NameEquals("orgs"u8)) @@ -118,7 +118,7 @@ internal static AzureDevOpsConnectorProperties DeserializeAzureDevOpsConnectorPr List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(AzureDevOpsOrgMetadata.DeserializeAzureDevOpsOrgMetadata(item)); + array.Add(AzureDevOpsOrgMetadata.DeserializeAzureDevOpsOrgMetadata(item, options)); } orgs = array; continue; diff --git a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/AzureDevOpsConnectorStats.Serialization.cs b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/AzureDevOpsConnectorStats.Serialization.cs index d7ee8150182e2..f8039e8b85551 100644 --- a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/AzureDevOpsConnectorStats.Serialization.cs +++ b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/AzureDevOpsConnectorStats.Serialization.cs @@ -105,7 +105,7 @@ internal static AzureDevOpsConnectorStats DeserializeAzureDevOpsConnectorStats(J { continue; } - properties = AzureDevOpsConnectorStatsProperties.DeserializeAzureDevOpsConnectorStatsProperties(property.Value); + properties = AzureDevOpsConnectorStatsProperties.DeserializeAzureDevOpsConnectorStatsProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/AzureDevOpsConnectorStatsListResponse.Serialization.cs b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/AzureDevOpsConnectorStatsListResponse.Serialization.cs index 05f8ef3d3e567..e3a60ab765239 100644 --- a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/AzureDevOpsConnectorStatsListResponse.Serialization.cs +++ b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/AzureDevOpsConnectorStatsListResponse.Serialization.cs @@ -94,7 +94,7 @@ internal static AzureDevOpsConnectorStatsListResponse DeserializeAzureDevOpsConn List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(AzureDevOpsConnectorStats.DeserializeAzureDevOpsConnectorStats(item)); + array.Add(AzureDevOpsConnectorStats.DeserializeAzureDevOpsConnectorStats(item, options)); } value = array; continue; diff --git a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/AzureDevOpsOrgListResponse.Serialization.cs b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/AzureDevOpsOrgListResponse.Serialization.cs index c1119e8568727..4bd4aa672f73a 100644 --- a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/AzureDevOpsOrgListResponse.Serialization.cs +++ b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/AzureDevOpsOrgListResponse.Serialization.cs @@ -95,7 +95,7 @@ internal static AzureDevOpsOrgListResponse DeserializeAzureDevOpsOrgListResponse List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(AzureDevOpsOrgData.DeserializeAzureDevOpsOrgData(item)); + array.Add(AzureDevOpsOrgData.DeserializeAzureDevOpsOrgData(item, options)); } value = array; continue; diff --git a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/AzureDevOpsOrgMetadata.Serialization.cs b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/AzureDevOpsOrgMetadata.Serialization.cs index 3846618d7d11a..dfbb8c6fc0d46 100644 --- a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/AzureDevOpsOrgMetadata.Serialization.cs +++ b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/AzureDevOpsOrgMetadata.Serialization.cs @@ -114,7 +114,7 @@ internal static AzureDevOpsOrgMetadata DeserializeAzureDevOpsOrgMetadata(JsonEle List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(AzureDevOpsProjectMetadata.DeserializeAzureDevOpsProjectMetadata(item)); + array.Add(AzureDevOpsProjectMetadata.DeserializeAzureDevOpsProjectMetadata(item, options)); } projects = array; continue; diff --git a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/AzureDevOpsProjectListResponse.Serialization.cs b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/AzureDevOpsProjectListResponse.Serialization.cs index 407f4e0e276e8..b968805f3744c 100644 --- a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/AzureDevOpsProjectListResponse.Serialization.cs +++ b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/AzureDevOpsProjectListResponse.Serialization.cs @@ -95,7 +95,7 @@ internal static AzureDevOpsProjectListResponse DeserializeAzureDevOpsProjectList List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(AzureDevOpsProjectData.DeserializeAzureDevOpsProjectData(item)); + array.Add(AzureDevOpsProjectData.DeserializeAzureDevOpsProjectData(item, options)); } value = array; continue; diff --git a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/AzureDevOpsRepoListResponse.Serialization.cs b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/AzureDevOpsRepoListResponse.Serialization.cs index dd9c2c7d3c9ae..d1152b5d68780 100644 --- a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/AzureDevOpsRepoListResponse.Serialization.cs +++ b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/AzureDevOpsRepoListResponse.Serialization.cs @@ -95,7 +95,7 @@ internal static AzureDevOpsRepoListResponse DeserializeAzureDevOpsRepoListRespon List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(AzureDevOpsRepoData.DeserializeAzureDevOpsRepoData(item)); + array.Add(AzureDevOpsRepoData.DeserializeAzureDevOpsRepoData(item, options)); } value = array; continue; diff --git a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/AzureDevOpsRepoProperties.Serialization.cs b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/AzureDevOpsRepoProperties.Serialization.cs index 4414bd4ba7f86..5890eb2f47d87 100644 --- a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/AzureDevOpsRepoProperties.Serialization.cs +++ b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/AzureDevOpsRepoProperties.Serialization.cs @@ -154,7 +154,7 @@ internal static AzureDevOpsRepoProperties DeserializeAzureDevOpsRepoProperties(J { continue; } - actionableRemediation = ActionableRemediation.DeserializeActionableRemediation(property.Value); + actionableRemediation = ActionableRemediation.DeserializeActionableRemediation(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/GitHubConnectorListResponse.Serialization.cs b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/GitHubConnectorListResponse.Serialization.cs index e52a9acdff094..eee9f3b9ce72c 100644 --- a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/GitHubConnectorListResponse.Serialization.cs +++ b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/GitHubConnectorListResponse.Serialization.cs @@ -95,7 +95,7 @@ internal static GitHubConnectorListResponse DeserializeGitHubConnectorListRespon List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(GitHubConnectorData.DeserializeGitHubConnectorData(item)); + array.Add(GitHubConnectorData.DeserializeGitHubConnectorData(item, options)); } value = array; continue; diff --git a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/GitHubConnectorStats.Serialization.cs b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/GitHubConnectorStats.Serialization.cs index 129f1e2f7a0dd..a3e6fff50290b 100644 --- a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/GitHubConnectorStats.Serialization.cs +++ b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/GitHubConnectorStats.Serialization.cs @@ -105,7 +105,7 @@ internal static GitHubConnectorStats DeserializeGitHubConnectorStats(JsonElement { continue; } - properties = GitHubConnectorStatsProperties.DeserializeGitHubConnectorStatsProperties(property.Value); + properties = GitHubConnectorStatsProperties.DeserializeGitHubConnectorStatsProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/GitHubConnectorStatsListResponse.Serialization.cs b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/GitHubConnectorStatsListResponse.Serialization.cs index 40d4520f55012..410cfb762715e 100644 --- a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/GitHubConnectorStatsListResponse.Serialization.cs +++ b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/GitHubConnectorStatsListResponse.Serialization.cs @@ -94,7 +94,7 @@ internal static GitHubConnectorStatsListResponse DeserializeGitHubConnectorStats List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(GitHubConnectorStats.DeserializeGitHubConnectorStats(item)); + array.Add(GitHubConnectorStats.DeserializeGitHubConnectorStats(item, options)); } value = array; continue; diff --git a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/GitHubOwnerListResponse.Serialization.cs b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/GitHubOwnerListResponse.Serialization.cs index 0e8cb066483e5..afdb96b42f76b 100644 --- a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/GitHubOwnerListResponse.Serialization.cs +++ b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/GitHubOwnerListResponse.Serialization.cs @@ -95,7 +95,7 @@ internal static GitHubOwnerListResponse DeserializeGitHubOwnerListResponse(JsonE List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(GitHubOwnerData.DeserializeGitHubOwnerData(item)); + array.Add(GitHubOwnerData.DeserializeGitHubOwnerData(item, options)); } value = array; continue; diff --git a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/GitHubRepoListResponse.Serialization.cs b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/GitHubRepoListResponse.Serialization.cs index c55bd4802168d..b46dede922d24 100644 --- a/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/GitHubRepoListResponse.Serialization.cs +++ b/sdk/securitydevops/Azure.ResourceManager.SecurityDevOps/src/Generated/Models/GitHubRepoListResponse.Serialization.cs @@ -95,7 +95,7 @@ internal static GitHubRepoListResponse DeserializeGitHubRepoListResponse(JsonEle List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(GitHubRepoData.DeserializeGitHubRepoData(item)); + array.Add(GitHubRepoData.DeserializeGitHubRepoData(item, options)); } value = array; continue; diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/ActionsList.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/ActionsList.Serialization.cs index de410370c2f33..c04a4fb00df92 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/ActionsList.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/ActionsList.Serialization.cs @@ -93,7 +93,7 @@ internal static ActionsList DeserializeActionsList(JsonElement element, ModelRea List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityInsightsAlertRuleActionData.DeserializeSecurityInsightsAlertRuleActionData(item)); + array.Add(SecurityInsightsAlertRuleActionData.DeserializeSecurityInsightsAlertRuleActionData(item, options)); } value = array; continue; diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/AlertRuleTemplatesList.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/AlertRuleTemplatesList.Serialization.cs index 0afb75a0481f7..096999870c81f 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/AlertRuleTemplatesList.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/AlertRuleTemplatesList.Serialization.cs @@ -93,7 +93,7 @@ internal static AlertRuleTemplatesList DeserializeAlertRuleTemplatesList(JsonEle List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityInsightsAlertRuleTemplateData.DeserializeSecurityInsightsAlertRuleTemplateData(item)); + array.Add(SecurityInsightsAlertRuleTemplateData.DeserializeSecurityInsightsAlertRuleTemplateData(item, options)); } value = array; continue; diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/AlertRulesList.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/AlertRulesList.Serialization.cs index 1cf0b5b4f9939..8620fd91e0061 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/AlertRulesList.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/AlertRulesList.Serialization.cs @@ -93,7 +93,7 @@ internal static AlertRulesList DeserializeAlertRulesList(JsonElement element, Mo List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityInsightsAlertRuleData.DeserializeSecurityInsightsAlertRuleData(item)); + array.Add(SecurityInsightsAlertRuleData.DeserializeSecurityInsightsAlertRuleData(item, options)); } value = array; continue; diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/AnomalySecurityMLAnalyticsSettings.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/AnomalySecurityMLAnalyticsSettings.Serialization.cs index 782cb1b9ce1f5..74e308201f650 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/AnomalySecurityMLAnalyticsSettings.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/AnomalySecurityMLAnalyticsSettings.Serialization.cs @@ -296,7 +296,7 @@ internal static AnomalySecurityMLAnalyticsSettings DeserializeAnomalySecurityMLA List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(SecurityMLAnalyticsSettingsDataSource.DeserializeSecurityMLAnalyticsSettingsDataSource(item)); + array.Add(SecurityMLAnalyticsSettingsDataSource.DeserializeSecurityMLAnalyticsSettingsDataSource(item, options)); } requiredDataConnectors = array; continue; diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/AutomationRuleModifyPropertiesAction.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/AutomationRuleModifyPropertiesAction.Serialization.cs index 3dbd34e562c01..e72bb2a831ed4 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/AutomationRuleModifyPropertiesAction.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/AutomationRuleModifyPropertiesAction.Serialization.cs @@ -86,7 +86,7 @@ internal static AutomationRuleModifyPropertiesAction DeserializeAutomationRuleMo { continue; } - actionConfiguration = SecurityInsightsIncidentActionConfiguration.DeserializeSecurityInsightsIncidentActionConfiguration(property.Value); + actionConfiguration = SecurityInsightsIncidentActionConfiguration.DeserializeSecurityInsightsIncidentActionConfiguration(property.Value, options); continue; } if (property.NameEquals("order"u8)) diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/AutomationRuleRunPlaybookAction.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/AutomationRuleRunPlaybookAction.Serialization.cs index 6e6f992dadcb4..2985488b636d2 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/AutomationRuleRunPlaybookAction.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/AutomationRuleRunPlaybookAction.Serialization.cs @@ -86,7 +86,7 @@ internal static AutomationRuleRunPlaybookAction DeserializeAutomationRuleRunPlay { continue; } - actionConfiguration = AutomationRuleRunPlaybookActionProperties.DeserializeAutomationRuleRunPlaybookActionProperties(property.Value); + actionConfiguration = AutomationRuleRunPlaybookActionProperties.DeserializeAutomationRuleRunPlaybookActionProperties(property.Value, options); continue; } if (property.NameEquals("order"u8)) diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/AutomationRulesList.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/AutomationRulesList.Serialization.cs index c731120da199e..d634461b8422b 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/AutomationRulesList.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/AutomationRulesList.Serialization.cs @@ -95,7 +95,7 @@ internal static AutomationRulesList DeserializeAutomationRulesList(JsonElement e List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityInsightsAutomationRuleData.DeserializeSecurityInsightsAutomationRuleData(item)); + array.Add(SecurityInsightsAutomationRuleData.DeserializeSecurityInsightsAutomationRuleData(item, options)); } value = array; continue; diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/AwsCloudTrailDataConnectorDataTypes.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/AwsCloudTrailDataConnectorDataTypes.Serialization.cs index 4f648af76ed01..bc52bc0312784 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/AwsCloudTrailDataConnectorDataTypes.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/AwsCloudTrailDataConnectorDataTypes.Serialization.cs @@ -80,7 +80,7 @@ internal static AwsCloudTrailDataConnectorDataTypes DeserializeAwsCloudTrailData { continue; } - logs = AwsCloudTrailDataConnectorDataTypesLogs.DeserializeAwsCloudTrailDataConnectorDataTypesLogs(property.Value); + logs = AwsCloudTrailDataConnectorDataTypesLogs.DeserializeAwsCloudTrailDataConnectorDataTypesLogs(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/BookmarkList.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/BookmarkList.Serialization.cs index 176f787108925..bd4552761807c 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/BookmarkList.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/BookmarkList.Serialization.cs @@ -93,7 +93,7 @@ internal static BookmarkList DeserializeBookmarkList(JsonElement element, ModelR List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityInsightsBookmarkData.DeserializeSecurityInsightsBookmarkData(item)); + array.Add(SecurityInsightsBookmarkData.DeserializeSecurityInsightsBookmarkData(item, options)); } value = array; continue; diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/DataConnectorList.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/DataConnectorList.Serialization.cs index 92acfbb2dc9fa..e257373a8883d 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/DataConnectorList.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/DataConnectorList.Serialization.cs @@ -93,7 +93,7 @@ internal static DataConnectorList DeserializeDataConnectorList(JsonElement eleme List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityInsightsDataConnectorData.DeserializeSecurityInsightsDataConnectorData(item)); + array.Add(SecurityInsightsDataConnectorData.DeserializeSecurityInsightsDataConnectorData(item, options)); } value = array; continue; diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/IncidentAlertList.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/IncidentAlertList.Serialization.cs index 6055b82984161..d6b14bfd04202 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/IncidentAlertList.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/IncidentAlertList.Serialization.cs @@ -81,7 +81,7 @@ internal static IncidentAlertList DeserializeIncidentAlertList(JsonElement eleme List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityInsightsAlert.DeserializeSecurityInsightsAlert(item)); + array.Add(SecurityInsightsAlert.DeserializeSecurityInsightsAlert(item, options)); } value = array; continue; diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/IncidentBookmarkList.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/IncidentBookmarkList.Serialization.cs index 48468e6b9d423..da4410fc8f38f 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/IncidentBookmarkList.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/IncidentBookmarkList.Serialization.cs @@ -81,7 +81,7 @@ internal static IncidentBookmarkList DeserializeIncidentBookmarkList(JsonElement List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityInsightsHuntingBookmark.DeserializeSecurityInsightsHuntingBookmark(item)); + array.Add(SecurityInsightsHuntingBookmark.DeserializeSecurityInsightsHuntingBookmark(item, options)); } value = array; continue; diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/IncidentCommentList.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/IncidentCommentList.Serialization.cs index c46a0e25b9378..5dd7565cd3eec 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/IncidentCommentList.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/IncidentCommentList.Serialization.cs @@ -93,7 +93,7 @@ internal static IncidentCommentList DeserializeIncidentCommentList(JsonElement e List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityInsightsIncidentCommentData.DeserializeSecurityInsightsIncidentCommentData(item)); + array.Add(SecurityInsightsIncidentCommentData.DeserializeSecurityInsightsIncidentCommentData(item, options)); } value = array; continue; diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/IncidentList.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/IncidentList.Serialization.cs index b83b830e43887..5c3195a8fdb87 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/IncidentList.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/IncidentList.Serialization.cs @@ -93,7 +93,7 @@ internal static IncidentList DeserializeIncidentList(JsonElement element, ModelR List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityInsightsIncidentData.DeserializeSecurityInsightsIncidentData(item)); + array.Add(SecurityInsightsIncidentData.DeserializeSecurityInsightsIncidentData(item, options)); } value = array; continue; diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/McasDataConnector.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/McasDataConnector.Serialization.cs index 5ac260d0c736b..ca2667ba02488 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/McasDataConnector.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/McasDataConnector.Serialization.cs @@ -180,7 +180,7 @@ internal static McasDataConnector DeserializeMcasDataConnector(JsonElement eleme { continue; } - dataTypes = McasDataConnectorDataTypes.DeserializeMcasDataConnectorDataTypes(property0.Value); + dataTypes = McasDataConnectorDataTypes.DeserializeMcasDataConnectorDataTypes(property0.Value, options); continue; } } diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/McasDataConnectorDataTypes.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/McasDataConnectorDataTypes.Serialization.cs index 3e55325779389..f1626cc43261a 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/McasDataConnectorDataTypes.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/McasDataConnectorDataTypes.Serialization.cs @@ -86,7 +86,7 @@ internal static McasDataConnectorDataTypes DeserializeMcasDataConnectorDataTypes { continue; } - discoveryLogs = DataConnectorDataTypeCommon.DeserializeDataConnectorDataTypeCommon(property.Value); + discoveryLogs = DataConnectorDataTypeCommon.DeserializeDataConnectorDataTypeCommon(property.Value, options); continue; } if (property.NameEquals("alerts"u8)) @@ -95,7 +95,7 @@ internal static McasDataConnectorDataTypes DeserializeMcasDataConnectorDataTypes { continue; } - alerts = DataConnectorDataTypeCommon.DeserializeDataConnectorDataTypeCommon(property.Value); + alerts = DataConnectorDataTypeCommon.DeserializeDataConnectorDataTypeCommon(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/MdatpDataConnector.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/MdatpDataConnector.Serialization.cs index 5b12506cd5082..dd2e4b01465cf 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/MdatpDataConnector.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/MdatpDataConnector.Serialization.cs @@ -180,7 +180,7 @@ internal static MdatpDataConnector DeserializeMdatpDataConnector(JsonElement ele { continue; } - dataTypes = SecurityInsightsAlertsDataTypeOfDataConnector.DeserializeSecurityInsightsAlertsDataTypeOfDataConnector(property0.Value); + dataTypes = SecurityInsightsAlertsDataTypeOfDataConnector.DeserializeSecurityInsightsAlertsDataTypeOfDataConnector(property0.Value, options); continue; } } diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/MicrosoftSecurityIncidentCreationAlertRuleTemplate.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/MicrosoftSecurityIncidentCreationAlertRuleTemplate.Serialization.cs index 6aa9edab944c5..8530a3b111c3f 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/MicrosoftSecurityIncidentCreationAlertRuleTemplate.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/MicrosoftSecurityIncidentCreationAlertRuleTemplate.Serialization.cs @@ -269,7 +269,7 @@ internal static MicrosoftSecurityIncidentCreationAlertRuleTemplate DeserializeMi List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(AlertRuleTemplateDataSource.DeserializeAlertRuleTemplateDataSource(item)); + array.Add(AlertRuleTemplateDataSource.DeserializeAlertRuleTemplateDataSource(item, options)); } requiredDataConnectors = array; continue; diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/RelationList.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/RelationList.Serialization.cs index 7b14d8c28be43..f5d0e989cdba9 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/RelationList.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/RelationList.Serialization.cs @@ -93,7 +93,7 @@ internal static RelationList DeserializeRelationList(JsonElement element, ModelR List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityInsightsIncidentRelationData.DeserializeSecurityInsightsIncidentRelationData(item)); + array.Add(SecurityInsightsIncidentRelationData.DeserializeSecurityInsightsIncidentRelationData(item, options)); } value = array; continue; diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/ScheduledAlertRuleTemplate.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/ScheduledAlertRuleTemplate.Serialization.cs index 0fa195920938f..6b1cf7ec0cc5e 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/ScheduledAlertRuleTemplate.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/ScheduledAlertRuleTemplate.Serialization.cs @@ -329,7 +329,7 @@ internal static ScheduledAlertRuleTemplate DeserializeScheduledAlertRuleTemplate List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(AlertRuleTemplateDataSource.DeserializeAlertRuleTemplateDataSource(item)); + array.Add(AlertRuleTemplateDataSource.DeserializeAlertRuleTemplateDataSource(item, options)); } requiredDataConnectors = array; continue; @@ -432,7 +432,7 @@ internal static ScheduledAlertRuleTemplate DeserializeScheduledAlertRuleTemplate { continue; } - eventGroupingSettings = EventGroupingSettings.DeserializeEventGroupingSettings(property0.Value); + eventGroupingSettings = EventGroupingSettings.DeserializeEventGroupingSettings(property0.Value, options); continue; } if (property0.NameEquals("customDetails"u8)) @@ -458,7 +458,7 @@ internal static ScheduledAlertRuleTemplate DeserializeScheduledAlertRuleTemplate List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(SecurityInsightsAlertRuleEntityMapping.DeserializeSecurityInsightsAlertRuleEntityMapping(item)); + array.Add(SecurityInsightsAlertRuleEntityMapping.DeserializeSecurityInsightsAlertRuleEntityMapping(item, options)); } entityMappings = array; continue; @@ -469,7 +469,7 @@ internal static ScheduledAlertRuleTemplate DeserializeScheduledAlertRuleTemplate { continue; } - alertDetailsOverride = SecurityInsightsAlertDetailsOverride.DeserializeSecurityInsightsAlertDetailsOverride(property0.Value); + alertDetailsOverride = SecurityInsightsAlertDetailsOverride.DeserializeSecurityInsightsAlertDetailsOverride(property0.Value, options); continue; } } diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsAadDataConnector.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsAadDataConnector.Serialization.cs index 0fb2f08dd35f0..ebe49741a59b8 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsAadDataConnector.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsAadDataConnector.Serialization.cs @@ -180,7 +180,7 @@ internal static SecurityInsightsAadDataConnector DeserializeSecurityInsightsAadD { continue; } - dataTypes = SecurityInsightsAlertsDataTypeOfDataConnector.DeserializeSecurityInsightsAlertsDataTypeOfDataConnector(property0.Value); + dataTypes = SecurityInsightsAlertsDataTypeOfDataConnector.DeserializeSecurityInsightsAlertsDataTypeOfDataConnector(property0.Value, options); continue; } } diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsAatpDataConnector.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsAatpDataConnector.Serialization.cs index 9776763d7a881..109cb5fe31b2e 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsAatpDataConnector.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsAatpDataConnector.Serialization.cs @@ -180,7 +180,7 @@ internal static SecurityInsightsAatpDataConnector DeserializeSecurityInsightsAat { continue; } - dataTypes = SecurityInsightsAlertsDataTypeOfDataConnector.DeserializeSecurityInsightsAlertsDataTypeOfDataConnector(property0.Value); + dataTypes = SecurityInsightsAlertsDataTypeOfDataConnector.DeserializeSecurityInsightsAlertsDataTypeOfDataConnector(property0.Value, options); continue; } } diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsAlert.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsAlert.Serialization.cs index d4932a239a869..9cc7a78a98be5 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsAlert.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsAlert.Serialization.cs @@ -408,7 +408,7 @@ internal static SecurityInsightsAlert DeserializeSecurityInsightsAlert(JsonEleme List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(SecurityInsightsAlertConfidenceReason.DeserializeSecurityInsightsAlertConfidenceReason(item)); + array.Add(SecurityInsightsAlertConfidenceReason.DeserializeSecurityInsightsAlertConfidenceReason(item, options)); } confidenceReasons = array; continue; diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsAlertRuleEntityMapping.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsAlertRuleEntityMapping.Serialization.cs index e86219b6f40da..1fa69cc61d124 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsAlertRuleEntityMapping.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsAlertRuleEntityMapping.Serialization.cs @@ -103,7 +103,7 @@ internal static SecurityInsightsAlertRuleEntityMapping DeserializeSecurityInsigh List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityInsightsFieldMapping.DeserializeSecurityInsightsFieldMapping(item)); + array.Add(SecurityInsightsFieldMapping.DeserializeSecurityInsightsFieldMapping(item, options)); } fieldMappings = array; continue; diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsAlertsDataTypeOfDataConnector.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsAlertsDataTypeOfDataConnector.Serialization.cs index 2ff58a7c7485b..f1495b37a1056 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsAlertsDataTypeOfDataConnector.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsAlertsDataTypeOfDataConnector.Serialization.cs @@ -80,7 +80,7 @@ internal static SecurityInsightsAlertsDataTypeOfDataConnector DeserializeSecurit { continue; } - alerts = DataConnectorDataTypeCommon.DeserializeDataConnectorDataTypeCommon(property.Value); + alerts = DataConnectorDataTypeCommon.DeserializeDataConnectorDataTypeCommon(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsAscDataConnector.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsAscDataConnector.Serialization.cs index 6b1a341f45723..83a78a629fdb2 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsAscDataConnector.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsAscDataConnector.Serialization.cs @@ -171,7 +171,7 @@ internal static SecurityInsightsAscDataConnector DeserializeSecurityInsightsAscD { continue; } - dataTypes = SecurityInsightsAlertsDataTypeOfDataConnector.DeserializeSecurityInsightsAlertsDataTypeOfDataConnector(property0.Value); + dataTypes = SecurityInsightsAlertsDataTypeOfDataConnector.DeserializeSecurityInsightsAlertsDataTypeOfDataConnector(property0.Value, options); continue; } if (property0.NameEquals("subscriptionId"u8)) diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsAutomationRuleAction.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsAutomationRuleAction.Serialization.cs index 95bca54a142f3..1e02436daf378 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsAutomationRuleAction.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsAutomationRuleAction.Serialization.cs @@ -72,11 +72,11 @@ internal static SecurityInsightsAutomationRuleAction DeserializeSecurityInsights { switch (discriminator.GetString()) { - case "ModifyProperties": return AutomationRuleModifyPropertiesAction.DeserializeAutomationRuleModifyPropertiesAction(element); - case "RunPlaybook": return AutomationRuleRunPlaybookAction.DeserializeAutomationRuleRunPlaybookAction(element); + case "ModifyProperties": return AutomationRuleModifyPropertiesAction.DeserializeAutomationRuleModifyPropertiesAction(element, options); + case "RunPlaybook": return AutomationRuleRunPlaybookAction.DeserializeAutomationRuleRunPlaybookAction(element, options); } } - return UnknownAutomationRuleAction.DeserializeUnknownAutomationRuleAction(element); + return UnknownAutomationRuleAction.DeserializeUnknownAutomationRuleAction(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsAutomationRuleCondition.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsAutomationRuleCondition.Serialization.cs index 67546427dec82..a55de918b7fad 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsAutomationRuleCondition.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsAutomationRuleCondition.Serialization.cs @@ -70,12 +70,12 @@ internal static SecurityInsightsAutomationRuleCondition DeserializeSecurityInsig { switch (discriminator.GetString()) { - case "Property": return SecurityInsightsPropertyConditionProperties.DeserializeSecurityInsightsPropertyConditionProperties(element); - case "PropertyArrayChanged": return SecurityInsightsPropertyArrayChangedConditionProperties.DeserializeSecurityInsightsPropertyArrayChangedConditionProperties(element); - case "PropertyChanged": return SecurityInsightsPropertyChangedConditionProperties.DeserializeSecurityInsightsPropertyChangedConditionProperties(element); + case "Property": return SecurityInsightsPropertyConditionProperties.DeserializeSecurityInsightsPropertyConditionProperties(element, options); + case "PropertyArrayChanged": return SecurityInsightsPropertyArrayChangedConditionProperties.DeserializeSecurityInsightsPropertyArrayChangedConditionProperties(element, options); + case "PropertyChanged": return SecurityInsightsPropertyChangedConditionProperties.DeserializeSecurityInsightsPropertyChangedConditionProperties(element, options); } } - return UnknownAutomationRuleCondition.DeserializeUnknownAutomationRuleCondition(element); + return UnknownAutomationRuleCondition.DeserializeUnknownAutomationRuleCondition(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsAutomationRuleTriggeringLogic.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsAutomationRuleTriggeringLogic.Serialization.cs index 97a9bac6f8694..d72d6b7c4f4ca 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsAutomationRuleTriggeringLogic.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsAutomationRuleTriggeringLogic.Serialization.cs @@ -127,7 +127,7 @@ internal static SecurityInsightsAutomationRuleTriggeringLogic DeserializeSecurit List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityInsightsAutomationRuleCondition.DeserializeSecurityInsightsAutomationRuleCondition(item)); + array.Add(SecurityInsightsAutomationRuleCondition.DeserializeSecurityInsightsAutomationRuleCondition(item, options)); } conditions = array; continue; diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsAwsCloudTrailDataConnector.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsAwsCloudTrailDataConnector.Serialization.cs index fdc2deeafa620..d7afd2cfa5e00 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsAwsCloudTrailDataConnector.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsAwsCloudTrailDataConnector.Serialization.cs @@ -176,7 +176,7 @@ internal static SecurityInsightsAwsCloudTrailDataConnector DeserializeSecurityIn { continue; } - dataTypes = AwsCloudTrailDataConnectorDataTypes.DeserializeAwsCloudTrailDataConnectorDataTypes(property0.Value); + dataTypes = AwsCloudTrailDataConnectorDataTypes.DeserializeAwsCloudTrailDataConnectorDataTypes(property0.Value, options); continue; } } diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsEntity.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsEntity.Serialization.cs index eedcd97135b08..0f86972050ad0 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsEntity.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsEntity.Serialization.cs @@ -89,30 +89,30 @@ internal static SecurityInsightsEntity DeserializeSecurityInsightsEntity(JsonEle { switch (discriminator.GetString()) { - case "Account": return SecurityInsightsAccountEntity.DeserializeSecurityInsightsAccountEntity(element); - case "AzureResource": return SecurityInsightsAzureResourceEntity.DeserializeSecurityInsightsAzureResourceEntity(element); - case "Bookmark": return SecurityInsightsHuntingBookmark.DeserializeSecurityInsightsHuntingBookmark(element); - case "CloudApplication": return SecurityInsightsCloudApplicationEntity.DeserializeSecurityInsightsCloudApplicationEntity(element); - case "DnsResolution": return SecurityInsightsDnsEntity.DeserializeSecurityInsightsDnsEntity(element); - case "File": return SecurityInsightsFileEntity.DeserializeSecurityInsightsFileEntity(element); - case "FileHash": return SecurityInsightsFileHashEntity.DeserializeSecurityInsightsFileHashEntity(element); - case "Host": return SecurityInsightsHostEntity.DeserializeSecurityInsightsHostEntity(element); - case "IoTDevice": return SecurityInsightsIotDeviceEntity.DeserializeSecurityInsightsIotDeviceEntity(element); - case "Ip": return SecurityInsightsIPEntity.DeserializeSecurityInsightsIPEntity(element); - case "MailCluster": return SecurityInsightsMailClusterEntity.DeserializeSecurityInsightsMailClusterEntity(element); - case "MailMessage": return SecurityInsightsMailMessageEntity.DeserializeSecurityInsightsMailMessageEntity(element); - case "Mailbox": return SecurityInsightsMailboxEntity.DeserializeSecurityInsightsMailboxEntity(element); - case "Malware": return SecurityInsightsMalwareEntity.DeserializeSecurityInsightsMalwareEntity(element); - case "Process": return SecurityInsightsProcessEntity.DeserializeSecurityInsightsProcessEntity(element); - case "RegistryKey": return SecurityInsightsRegistryKeyEntity.DeserializeSecurityInsightsRegistryKeyEntity(element); - case "RegistryValue": return SecurityInsightsRegistryValueEntity.DeserializeSecurityInsightsRegistryValueEntity(element); - case "SecurityAlert": return SecurityInsightsAlert.DeserializeSecurityInsightsAlert(element); - case "SecurityGroup": return SecurityInsightsGroupEntity.DeserializeSecurityInsightsGroupEntity(element); - case "SubmissionMail": return SecurityInsightsSubmissionMailEntity.DeserializeSecurityInsightsSubmissionMailEntity(element); - case "Url": return SecurityInsightsUriEntity.DeserializeSecurityInsightsUriEntity(element); + case "Account": return SecurityInsightsAccountEntity.DeserializeSecurityInsightsAccountEntity(element, options); + case "AzureResource": return SecurityInsightsAzureResourceEntity.DeserializeSecurityInsightsAzureResourceEntity(element, options); + case "Bookmark": return SecurityInsightsHuntingBookmark.DeserializeSecurityInsightsHuntingBookmark(element, options); + case "CloudApplication": return SecurityInsightsCloudApplicationEntity.DeserializeSecurityInsightsCloudApplicationEntity(element, options); + case "DnsResolution": return SecurityInsightsDnsEntity.DeserializeSecurityInsightsDnsEntity(element, options); + case "File": return SecurityInsightsFileEntity.DeserializeSecurityInsightsFileEntity(element, options); + case "FileHash": return SecurityInsightsFileHashEntity.DeserializeSecurityInsightsFileHashEntity(element, options); + case "Host": return SecurityInsightsHostEntity.DeserializeSecurityInsightsHostEntity(element, options); + case "IoTDevice": return SecurityInsightsIotDeviceEntity.DeserializeSecurityInsightsIotDeviceEntity(element, options); + case "Ip": return SecurityInsightsIPEntity.DeserializeSecurityInsightsIPEntity(element, options); + case "MailCluster": return SecurityInsightsMailClusterEntity.DeserializeSecurityInsightsMailClusterEntity(element, options); + case "MailMessage": return SecurityInsightsMailMessageEntity.DeserializeSecurityInsightsMailMessageEntity(element, options); + case "Mailbox": return SecurityInsightsMailboxEntity.DeserializeSecurityInsightsMailboxEntity(element, options); + case "Malware": return SecurityInsightsMalwareEntity.DeserializeSecurityInsightsMalwareEntity(element, options); + case "Process": return SecurityInsightsProcessEntity.DeserializeSecurityInsightsProcessEntity(element, options); + case "RegistryKey": return SecurityInsightsRegistryKeyEntity.DeserializeSecurityInsightsRegistryKeyEntity(element, options); + case "RegistryValue": return SecurityInsightsRegistryValueEntity.DeserializeSecurityInsightsRegistryValueEntity(element, options); + case "SecurityAlert": return SecurityInsightsAlert.DeserializeSecurityInsightsAlert(element, options); + case "SecurityGroup": return SecurityInsightsGroupEntity.DeserializeSecurityInsightsGroupEntity(element, options); + case "SubmissionMail": return SecurityInsightsSubmissionMailEntity.DeserializeSecurityInsightsSubmissionMailEntity(element, options); + case "Url": return SecurityInsightsUriEntity.DeserializeSecurityInsightsUriEntity(element, options); } } - return UnknownEntity.DeserializeUnknownEntity(element); + return UnknownEntity.DeserializeUnknownEntity(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsFusionAlertRuleTemplate.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsFusionAlertRuleTemplate.Serialization.cs index 68930bc20226a..f23c82f4e8550 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsFusionAlertRuleTemplate.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsFusionAlertRuleTemplate.Serialization.cs @@ -258,7 +258,7 @@ internal static SecurityInsightsFusionAlertRuleTemplate DeserializeSecurityInsig List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(AlertRuleTemplateDataSource.DeserializeAlertRuleTemplateDataSource(item)); + array.Add(AlertRuleTemplateDataSource.DeserializeAlertRuleTemplateDataSource(item, options)); } requiredDataConnectors = array; continue; diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsHuntingBookmark.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsHuntingBookmark.Serialization.cs index 4cc1dfb1fc5a1..459da9af701f3 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsHuntingBookmark.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsHuntingBookmark.Serialization.cs @@ -279,7 +279,7 @@ internal static SecurityInsightsHuntingBookmark DeserializeSecurityInsightsHunti { continue; } - createdBy = SecurityInsightsUserInfo.DeserializeSecurityInsightsUserInfo(property0.Value); + createdBy = SecurityInsightsUserInfo.DeserializeSecurityInsightsUserInfo(property0.Value, options); continue; } if (property0.NameEquals("displayName"u8)) @@ -340,7 +340,7 @@ internal static SecurityInsightsHuntingBookmark DeserializeSecurityInsightsHunti { continue; } - updatedBy = SecurityInsightsUserInfo.DeserializeSecurityInsightsUserInfo(property0.Value); + updatedBy = SecurityInsightsUserInfo.DeserializeSecurityInsightsUserInfo(property0.Value, options); continue; } if (property0.NameEquals("incidentInfo"u8)) @@ -349,7 +349,7 @@ internal static SecurityInsightsHuntingBookmark DeserializeSecurityInsightsHunti { continue; } - incidentInfo = SecurityInsightsBookmarkIncidentInfo.DeserializeSecurityInsightsBookmarkIncidentInfo(property0.Value); + incidentInfo = SecurityInsightsBookmarkIncidentInfo.DeserializeSecurityInsightsBookmarkIncidentInfo(property0.Value, options); continue; } } diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsIPEntity.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsIPEntity.Serialization.cs index dd9c2a88e849c..7cab60d7606b3 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsIPEntity.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsIPEntity.Serialization.cs @@ -232,7 +232,7 @@ internal static SecurityInsightsIPEntity DeserializeSecurityInsightsIPEntity(Jso { continue; } - location = SecurityInsightsIPEntityGeoLocation.DeserializeSecurityInsightsIPEntityGeoLocation(property0.Value); + location = SecurityInsightsIPEntityGeoLocation.DeserializeSecurityInsightsIPEntityGeoLocation(property0.Value, options); continue; } if (property0.NameEquals("threatIntelligence"u8)) @@ -244,7 +244,7 @@ internal static SecurityInsightsIPEntity DeserializeSecurityInsightsIPEntity(Jso List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(SecurityInsightsThreatIntelligence.DeserializeSecurityInsightsThreatIntelligence(item)); + array.Add(SecurityInsightsThreatIntelligence.DeserializeSecurityInsightsThreatIntelligence(item, options)); } threatIntelligence = array; continue; diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsIncidentActionConfiguration.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsIncidentActionConfiguration.Serialization.cs index b985d91c51595..06fb8ea9477a4 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsIncidentActionConfiguration.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsIncidentActionConfiguration.Serialization.cs @@ -162,7 +162,7 @@ internal static SecurityInsightsIncidentActionConfiguration DeserializeSecurityI { continue; } - owner = SecurityInsightsIncidentOwnerInfo.DeserializeSecurityInsightsIncidentOwnerInfo(property.Value); + owner = SecurityInsightsIncidentOwnerInfo.DeserializeSecurityInsightsIncidentOwnerInfo(property.Value, options); continue; } if (property.NameEquals("labels"u8)) @@ -174,7 +174,7 @@ internal static SecurityInsightsIncidentActionConfiguration DeserializeSecurityI List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityInsightsIncidentLabel.DeserializeSecurityInsightsIncidentLabel(item)); + array.Add(SecurityInsightsIncidentLabel.DeserializeSecurityInsightsIncidentLabel(item, options)); } labels = array; continue; diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsIncidentConfiguration.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsIncidentConfiguration.Serialization.cs index 78a84f1cdd63e..60a4514bc0a2a 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsIncidentConfiguration.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsIncidentConfiguration.Serialization.cs @@ -88,7 +88,7 @@ internal static SecurityInsightsIncidentConfiguration DeserializeSecurityInsight { continue; } - groupingConfiguration = SecurityInsightsGroupingConfiguration.DeserializeSecurityInsightsGroupingConfiguration(property.Value); + groupingConfiguration = SecurityInsightsGroupingConfiguration.DeserializeSecurityInsightsGroupingConfiguration(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsIncidentEntitiesResult.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsIncidentEntitiesResult.Serialization.cs index 1dc7dc1894fd7..4188d1169b409 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsIncidentEntitiesResult.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsIncidentEntitiesResult.Serialization.cs @@ -99,7 +99,7 @@ internal static SecurityInsightsIncidentEntitiesResult DeserializeSecurityInsigh List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityInsightsEntity.DeserializeSecurityInsightsEntity(item)); + array.Add(SecurityInsightsEntity.DeserializeSecurityInsightsEntity(item, options)); } entities = array; continue; @@ -113,7 +113,7 @@ internal static SecurityInsightsIncidentEntitiesResult DeserializeSecurityInsigh List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityInsightsIncidentEntitiesMetadata.DeserializeSecurityInsightsIncidentEntitiesMetadata(item)); + array.Add(SecurityInsightsIncidentEntitiesMetadata.DeserializeSecurityInsightsIncidentEntitiesMetadata(item, options)); } metaData = array; continue; diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsIotDeviceEntity.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsIotDeviceEntity.Serialization.cs index f05fc4fc008f6..c7eeb1dd8401f 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsIotDeviceEntity.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsIotDeviceEntity.Serialization.cs @@ -393,7 +393,7 @@ internal static SecurityInsightsIotDeviceEntity DeserializeSecurityInsightsIotDe List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(SecurityInsightsThreatIntelligence.DeserializeSecurityInsightsThreatIntelligence(item)); + array.Add(SecurityInsightsThreatIntelligence.DeserializeSecurityInsightsThreatIntelligence(item, options)); } threatIntelligence = array; continue; diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsOfficeDataConnector.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsOfficeDataConnector.Serialization.cs index 7849a282cfd96..6d34fc7b1fdbb 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsOfficeDataConnector.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsOfficeDataConnector.Serialization.cs @@ -180,7 +180,7 @@ internal static SecurityInsightsOfficeDataConnector DeserializeSecurityInsightsO { continue; } - dataTypes = SecurityInsightsOfficeDataConnectorDataTypes.DeserializeSecurityInsightsOfficeDataConnectorDataTypes(property0.Value); + dataTypes = SecurityInsightsOfficeDataConnectorDataTypes.DeserializeSecurityInsightsOfficeDataConnectorDataTypes(property0.Value, options); continue; } } diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsOfficeDataConnectorDataTypes.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsOfficeDataConnectorDataTypes.Serialization.cs index 329515077095a..1d9c0f8c1575f 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsOfficeDataConnectorDataTypes.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsOfficeDataConnectorDataTypes.Serialization.cs @@ -92,7 +92,7 @@ internal static SecurityInsightsOfficeDataConnectorDataTypes DeserializeSecurity { continue; } - exchange = OfficeDataConnectorDataTypesExchange.DeserializeOfficeDataConnectorDataTypesExchange(property.Value); + exchange = OfficeDataConnectorDataTypesExchange.DeserializeOfficeDataConnectorDataTypesExchange(property.Value, options); continue; } if (property.NameEquals("sharePoint"u8)) @@ -101,7 +101,7 @@ internal static SecurityInsightsOfficeDataConnectorDataTypes DeserializeSecurity { continue; } - sharePoint = OfficeDataConnectorDataTypesSharePoint.DeserializeOfficeDataConnectorDataTypesSharePoint(property.Value); + sharePoint = OfficeDataConnectorDataTypesSharePoint.DeserializeOfficeDataConnectorDataTypesSharePoint(property.Value, options); continue; } if (property.NameEquals("teams"u8)) @@ -110,7 +110,7 @@ internal static SecurityInsightsOfficeDataConnectorDataTypes DeserializeSecurity { continue; } - teams = OfficeDataConnectorDataTypesTeams.DeserializeOfficeDataConnectorDataTypesTeams(property.Value); + teams = OfficeDataConnectorDataTypesTeams.DeserializeOfficeDataConnectorDataTypesTeams(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsPropertyArrayChangedConditionProperties.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsPropertyArrayChangedConditionProperties.Serialization.cs index 1cc2371ba57f9..7f82ca1e4abf8 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsPropertyArrayChangedConditionProperties.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsPropertyArrayChangedConditionProperties.Serialization.cs @@ -83,7 +83,7 @@ internal static SecurityInsightsPropertyArrayChangedConditionProperties Deserial { continue; } - conditionProperties = AutomationRulePropertyArrayChangedValuesCondition.DeserializeAutomationRulePropertyArrayChangedValuesCondition(property.Value); + conditionProperties = AutomationRulePropertyArrayChangedValuesCondition.DeserializeAutomationRulePropertyArrayChangedValuesCondition(property.Value, options); continue; } if (property.NameEquals("conditionType"u8)) diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsPropertyChangedConditionProperties.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsPropertyChangedConditionProperties.Serialization.cs index b6d5c5a39eb79..2e06750e98742 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsPropertyChangedConditionProperties.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsPropertyChangedConditionProperties.Serialization.cs @@ -83,7 +83,7 @@ internal static SecurityInsightsPropertyChangedConditionProperties DeserializeSe { continue; } - conditionProperties = AutomationRulePropertyValuesChangedCondition.DeserializeAutomationRulePropertyValuesChangedCondition(property.Value); + conditionProperties = AutomationRulePropertyValuesChangedCondition.DeserializeAutomationRulePropertyValuesChangedCondition(property.Value, options); continue; } if (property.NameEquals("conditionType"u8)) diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsPropertyConditionProperties.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsPropertyConditionProperties.Serialization.cs index aaf38385db7a8..4419aae394583 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsPropertyConditionProperties.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsPropertyConditionProperties.Serialization.cs @@ -83,7 +83,7 @@ internal static SecurityInsightsPropertyConditionProperties DeserializeSecurityI { continue; } - conditionProperties = AutomationRulePropertyValuesCondition.DeserializeAutomationRulePropertyValuesCondition(property.Value); + conditionProperties = AutomationRulePropertyValuesCondition.DeserializeAutomationRulePropertyValuesCondition(property.Value, options); continue; } if (property.NameEquals("conditionType"u8)) diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsScheduledAlertRule.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsScheduledAlertRule.Serialization.cs index 0d33ae555b07c..151292882eec9 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsScheduledAlertRule.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsScheduledAlertRule.Serialization.cs @@ -356,7 +356,7 @@ internal static SecurityInsightsScheduledAlertRule DeserializeSecurityInsightsSc { continue; } - eventGroupingSettings = EventGroupingSettings.DeserializeEventGroupingSettings(property0.Value); + eventGroupingSettings = EventGroupingSettings.DeserializeEventGroupingSettings(property0.Value, options); continue; } if (property0.NameEquals("customDetails"u8)) @@ -382,7 +382,7 @@ internal static SecurityInsightsScheduledAlertRule DeserializeSecurityInsightsSc List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(SecurityInsightsAlertRuleEntityMapping.DeserializeSecurityInsightsAlertRuleEntityMapping(item)); + array.Add(SecurityInsightsAlertRuleEntityMapping.DeserializeSecurityInsightsAlertRuleEntityMapping(item, options)); } entityMappings = array; continue; @@ -393,7 +393,7 @@ internal static SecurityInsightsScheduledAlertRule DeserializeSecurityInsightsSc { continue; } - alertDetailsOverride = SecurityInsightsAlertDetailsOverride.DeserializeSecurityInsightsAlertDetailsOverride(property0.Value); + alertDetailsOverride = SecurityInsightsAlertDetailsOverride.DeserializeSecurityInsightsAlertDetailsOverride(property0.Value, options); continue; } if (property0.NameEquals("alertRuleTemplateName"u8)) @@ -486,7 +486,7 @@ internal static SecurityInsightsScheduledAlertRule DeserializeSecurityInsightsSc { continue; } - incidentConfiguration = SecurityInsightsIncidentConfiguration.DeserializeSecurityInsightsIncidentConfiguration(property0.Value); + incidentConfiguration = SecurityInsightsIncidentConfiguration.DeserializeSecurityInsightsIncidentConfiguration(property0.Value, options); continue; } } diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsTIDataConnector.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsTIDataConnector.Serialization.cs index 74845275a372d..d296d15f96172 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsTIDataConnector.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsTIDataConnector.Serialization.cs @@ -203,7 +203,7 @@ internal static SecurityInsightsTIDataConnector DeserializeSecurityInsightsTIDat { continue; } - dataTypes = TIDataConnectorDataTypes.DeserializeTIDataConnectorDataTypes(property0.Value); + dataTypes = TIDataConnectorDataTypes.DeserializeTIDataConnectorDataTypes(property0.Value, options); continue; } } diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsThreatIntelligenceIndicatorData.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsThreatIntelligenceIndicatorData.Serialization.cs index 574b9a725a479..748e76897e749 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsThreatIntelligenceIndicatorData.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityInsightsThreatIntelligenceIndicatorData.Serialization.cs @@ -516,7 +516,7 @@ internal static SecurityInsightsThreatIntelligenceIndicatorData DeserializeSecur List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ThreatIntelligenceKillChainPhase.DeserializeThreatIntelligenceKillChainPhase(item)); + array.Add(ThreatIntelligenceKillChainPhase.DeserializeThreatIntelligenceKillChainPhase(item, options)); } killChainPhases = array; continue; @@ -530,7 +530,7 @@ internal static SecurityInsightsThreatIntelligenceIndicatorData DeserializeSecur List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ThreatIntelligenceParsedPattern.DeserializeThreatIntelligenceParsedPattern(item)); + array.Add(ThreatIntelligenceParsedPattern.DeserializeThreatIntelligenceParsedPattern(item, options)); } parsedPattern = array; continue; @@ -572,7 +572,7 @@ internal static SecurityInsightsThreatIntelligenceIndicatorData DeserializeSecur List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ThreatIntelligenceExternalReference.DeserializeThreatIntelligenceExternalReference(item)); + array.Add(ThreatIntelligenceExternalReference.DeserializeThreatIntelligenceExternalReference(item, options)); } externalReferences = array; continue; @@ -586,7 +586,7 @@ internal static SecurityInsightsThreatIntelligenceIndicatorData DeserializeSecur List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ThreatIntelligenceGranularMarkingEntity.DeserializeThreatIntelligenceGranularMarkingEntity(item)); + array.Add(ThreatIntelligenceGranularMarkingEntity.DeserializeThreatIntelligenceGranularMarkingEntity(item, options)); } granularMarkings = array; continue; diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityMLAnalyticsSettingsList.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityMLAnalyticsSettingsList.Serialization.cs index 808a9368ed176..b2b7d570ad654 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityMLAnalyticsSettingsList.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SecurityMLAnalyticsSettingsList.Serialization.cs @@ -93,7 +93,7 @@ internal static SecurityMLAnalyticsSettingsList DeserializeSecurityMLAnalyticsSe List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityMLAnalyticsSettingData.DeserializeSecurityMLAnalyticsSettingData(item)); + array.Add(SecurityMLAnalyticsSettingData.DeserializeSecurityMLAnalyticsSettingData(item, options)); } value = array; continue; diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SentinelOnboardingStatesList.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SentinelOnboardingStatesList.Serialization.cs index 0aeae4d02dd4e..779b483fd373c 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SentinelOnboardingStatesList.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/SentinelOnboardingStatesList.Serialization.cs @@ -82,7 +82,7 @@ internal static SentinelOnboardingStatesList DeserializeSentinelOnboardingStates List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityInsightsSentinelOnboardingStateData.DeserializeSecurityInsightsSentinelOnboardingStateData(item)); + array.Add(SecurityInsightsSentinelOnboardingStateData.DeserializeSecurityInsightsSentinelOnboardingStateData(item, options)); } value = array; continue; diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/TIDataConnectorDataTypes.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/TIDataConnectorDataTypes.Serialization.cs index 8a62626faf614..eaf94d65b0653 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/TIDataConnectorDataTypes.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/TIDataConnectorDataTypes.Serialization.cs @@ -80,7 +80,7 @@ internal static TIDataConnectorDataTypes DeserializeTIDataConnectorDataTypes(Jso { continue; } - indicators = TIDataConnectorDataTypesIndicators.DeserializeTIDataConnectorDataTypesIndicators(property.Value); + indicators = TIDataConnectorDataTypesIndicators.DeserializeTIDataConnectorDataTypesIndicators(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/ThreatIntelligenceFilteringCriteria.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/ThreatIntelligenceFilteringCriteria.Serialization.cs index a34a564c40efa..8b0403307b9b9 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/ThreatIntelligenceFilteringCriteria.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/ThreatIntelligenceFilteringCriteria.Serialization.cs @@ -239,7 +239,7 @@ internal static ThreatIntelligenceFilteringCriteria DeserializeThreatIntelligenc List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ThreatIntelligenceSortingCriteria.DeserializeThreatIntelligenceSortingCriteria(item)); + array.Add(ThreatIntelligenceSortingCriteria.DeserializeThreatIntelligenceSortingCriteria(item, options)); } sortBy = array; continue; diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/ThreatIntelligenceInformationList.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/ThreatIntelligenceInformationList.Serialization.cs index da13c7bdda62a..edf0b79420714 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/ThreatIntelligenceInformationList.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/ThreatIntelligenceInformationList.Serialization.cs @@ -93,7 +93,7 @@ internal static ThreatIntelligenceInformationList DeserializeThreatIntelligenceI List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityInsightsThreatIntelligenceIndicatorBaseData.DeserializeSecurityInsightsThreatIntelligenceIndicatorBaseData(item)); + array.Add(SecurityInsightsThreatIntelligenceIndicatorBaseData.DeserializeSecurityInsightsThreatIntelligenceIndicatorBaseData(item, options)); } value = array; continue; diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/ThreatIntelligenceMetric.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/ThreatIntelligenceMetric.Serialization.cs index bf1c9709a6524..a2a6c93d87174 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/ThreatIntelligenceMetric.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/ThreatIntelligenceMetric.Serialization.cs @@ -121,7 +121,7 @@ internal static ThreatIntelligenceMetric DeserializeThreatIntelligenceMetric(Jso List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ThreatIntelligenceMetricEntity.DeserializeThreatIntelligenceMetricEntity(item)); + array.Add(ThreatIntelligenceMetricEntity.DeserializeThreatIntelligenceMetricEntity(item, options)); } threatTypeMetrics = array; continue; @@ -135,7 +135,7 @@ internal static ThreatIntelligenceMetric DeserializeThreatIntelligenceMetric(Jso List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ThreatIntelligenceMetricEntity.DeserializeThreatIntelligenceMetricEntity(item)); + array.Add(ThreatIntelligenceMetricEntity.DeserializeThreatIntelligenceMetricEntity(item, options)); } patternTypeMetrics = array; continue; @@ -149,7 +149,7 @@ internal static ThreatIntelligenceMetric DeserializeThreatIntelligenceMetric(Jso List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ThreatIntelligenceMetricEntity.DeserializeThreatIntelligenceMetricEntity(item)); + array.Add(ThreatIntelligenceMetricEntity.DeserializeThreatIntelligenceMetricEntity(item, options)); } sourceMetrics = array; continue; diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/ThreatIntelligenceMetrics.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/ThreatIntelligenceMetrics.Serialization.cs index e3e5124554d9d..c76121250e507 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/ThreatIntelligenceMetrics.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/ThreatIntelligenceMetrics.Serialization.cs @@ -80,7 +80,7 @@ internal static ThreatIntelligenceMetrics DeserializeThreatIntelligenceMetrics(J { continue; } - properties = ThreatIntelligenceMetric.DeserializeThreatIntelligenceMetric(property.Value); + properties = ThreatIntelligenceMetric.DeserializeThreatIntelligenceMetric(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/ThreatIntelligenceMetricsList.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/ThreatIntelligenceMetricsList.Serialization.cs index fc7cdc40b2def..d11c305e5dbeb 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/ThreatIntelligenceMetricsList.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/ThreatIntelligenceMetricsList.Serialization.cs @@ -81,7 +81,7 @@ internal static ThreatIntelligenceMetricsList DeserializeThreatIntelligenceMetri List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ThreatIntelligenceMetrics.DeserializeThreatIntelligenceMetrics(item)); + array.Add(ThreatIntelligenceMetrics.DeserializeThreatIntelligenceMetrics(item, options)); } value = array; continue; diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/ThreatIntelligenceParsedPattern.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/ThreatIntelligenceParsedPattern.Serialization.cs index a397bbcfe5d6b..371bbec742f55 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/ThreatIntelligenceParsedPattern.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/ThreatIntelligenceParsedPattern.Serialization.cs @@ -99,7 +99,7 @@ internal static ThreatIntelligenceParsedPattern DeserializeThreatIntelligencePar List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ThreatIntelligenceParsedPatternTypeValue.DeserializeThreatIntelligenceParsedPatternTypeValue(item)); + array.Add(ThreatIntelligenceParsedPatternTypeValue.DeserializeThreatIntelligenceParsedPatternTypeValue(item, options)); } patternTypeValues = array; continue; diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/WatchlistItemList.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/WatchlistItemList.Serialization.cs index 9d7c4d0b4b8c7..0680954d36a10 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/WatchlistItemList.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/WatchlistItemList.Serialization.cs @@ -93,7 +93,7 @@ internal static WatchlistItemList DeserializeWatchlistItemList(JsonElement eleme List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityInsightsWatchlistItemData.DeserializeSecurityInsightsWatchlistItemData(item)); + array.Add(SecurityInsightsWatchlistItemData.DeserializeSecurityInsightsWatchlistItemData(item, options)); } value = array; continue; diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/WatchlistList.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/WatchlistList.Serialization.cs index cf97e05df70c4..c12a4191c3187 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/WatchlistList.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/Models/WatchlistList.Serialization.cs @@ -93,7 +93,7 @@ internal static WatchlistList DeserializeWatchlistList(JsonElement element, Mode List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityInsightsWatchlistData.DeserializeSecurityInsightsWatchlistData(item)); + array.Add(SecurityInsightsWatchlistData.DeserializeSecurityInsightsWatchlistData(item, options)); } value = array; continue; diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityInsightsAlertRuleData.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityInsightsAlertRuleData.Serialization.cs index 787810b32b9fb..ff4cb374c00bf 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityInsightsAlertRuleData.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityInsightsAlertRuleData.Serialization.cs @@ -95,12 +95,12 @@ internal static SecurityInsightsAlertRuleData DeserializeSecurityInsightsAlertRu { switch (discriminator.GetString()) { - case "Fusion": return SecurityInsightsFusionAlertRule.DeserializeSecurityInsightsFusionAlertRule(element); - case "MicrosoftSecurityIncidentCreation": return MicrosoftSecurityIncidentCreationAlertRule.DeserializeMicrosoftSecurityIncidentCreationAlertRule(element); - case "Scheduled": return SecurityInsightsScheduledAlertRule.DeserializeSecurityInsightsScheduledAlertRule(element); + case "Fusion": return SecurityInsightsFusionAlertRule.DeserializeSecurityInsightsFusionAlertRule(element, options); + case "MicrosoftSecurityIncidentCreation": return MicrosoftSecurityIncidentCreationAlertRule.DeserializeMicrosoftSecurityIncidentCreationAlertRule(element, options); + case "Scheduled": return SecurityInsightsScheduledAlertRule.DeserializeSecurityInsightsScheduledAlertRule(element, options); } } - return UnknownAlertRule.DeserializeUnknownAlertRule(element); + return UnknownAlertRule.DeserializeUnknownAlertRule(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityInsightsAlertRuleTemplateData.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityInsightsAlertRuleTemplateData.Serialization.cs index 80c2d9da255a3..0c831838154c2 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityInsightsAlertRuleTemplateData.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityInsightsAlertRuleTemplateData.Serialization.cs @@ -90,12 +90,12 @@ internal static SecurityInsightsAlertRuleTemplateData DeserializeSecurityInsight { switch (discriminator.GetString()) { - case "Fusion": return SecurityInsightsFusionAlertRuleTemplate.DeserializeSecurityInsightsFusionAlertRuleTemplate(element); - case "MicrosoftSecurityIncidentCreation": return MicrosoftSecurityIncidentCreationAlertRuleTemplate.DeserializeMicrosoftSecurityIncidentCreationAlertRuleTemplate(element); - case "Scheduled": return ScheduledAlertRuleTemplate.DeserializeScheduledAlertRuleTemplate(element); + case "Fusion": return SecurityInsightsFusionAlertRuleTemplate.DeserializeSecurityInsightsFusionAlertRuleTemplate(element, options); + case "MicrosoftSecurityIncidentCreation": return MicrosoftSecurityIncidentCreationAlertRuleTemplate.DeserializeMicrosoftSecurityIncidentCreationAlertRuleTemplate(element, options); + case "Scheduled": return ScheduledAlertRuleTemplate.DeserializeScheduledAlertRuleTemplate(element, options); } } - return UnknownAlertRuleTemplate.DeserializeUnknownAlertRuleTemplate(element); + return UnknownAlertRuleTemplate.DeserializeUnknownAlertRuleTemplate(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityInsightsAutomationRuleData.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityInsightsAutomationRuleData.Serialization.cs index d76c8e211e3cd..783b3f8b0f459 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityInsightsAutomationRuleData.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityInsightsAutomationRuleData.Serialization.cs @@ -199,7 +199,7 @@ internal static SecurityInsightsAutomationRuleData DeserializeSecurityInsightsAu } if (property0.NameEquals("triggeringLogic"u8)) { - triggeringLogic = SecurityInsightsAutomationRuleTriggeringLogic.DeserializeSecurityInsightsAutomationRuleTriggeringLogic(property0.Value); + triggeringLogic = SecurityInsightsAutomationRuleTriggeringLogic.DeserializeSecurityInsightsAutomationRuleTriggeringLogic(property0.Value, options); continue; } if (property0.NameEquals("actions"u8)) @@ -207,7 +207,7 @@ internal static SecurityInsightsAutomationRuleData DeserializeSecurityInsightsAu List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(SecurityInsightsAutomationRuleAction.DeserializeSecurityInsightsAutomationRuleAction(item)); + array.Add(SecurityInsightsAutomationRuleAction.DeserializeSecurityInsightsAutomationRuleAction(item, options)); } actions = array; continue; @@ -236,7 +236,7 @@ internal static SecurityInsightsAutomationRuleData DeserializeSecurityInsightsAu { continue; } - lastModifiedBy = SecurityInsightsClientInfo.DeserializeSecurityInsightsClientInfo(property0.Value); + lastModifiedBy = SecurityInsightsClientInfo.DeserializeSecurityInsightsClientInfo(property0.Value, options); continue; } if (property0.NameEquals("createdBy"u8)) @@ -245,7 +245,7 @@ internal static SecurityInsightsAutomationRuleData DeserializeSecurityInsightsAu { continue; } - createdBy = SecurityInsightsClientInfo.DeserializeSecurityInsightsClientInfo(property0.Value); + createdBy = SecurityInsightsClientInfo.DeserializeSecurityInsightsClientInfo(property0.Value, options); continue; } } diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityInsightsBookmarkData.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityInsightsBookmarkData.Serialization.cs index 24542c55fc5da..ed64cedd6a865 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityInsightsBookmarkData.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityInsightsBookmarkData.Serialization.cs @@ -244,7 +244,7 @@ internal static SecurityInsightsBookmarkData DeserializeSecurityInsightsBookmark { continue; } - createdBy = SecurityInsightsUserInfo.DeserializeSecurityInsightsUserInfo(property0.Value); + createdBy = SecurityInsightsUserInfo.DeserializeSecurityInsightsUserInfo(property0.Value, options); continue; } if (property0.NameEquals("displayName"u8)) @@ -296,7 +296,7 @@ internal static SecurityInsightsBookmarkData DeserializeSecurityInsightsBookmark { continue; } - updatedBy = SecurityInsightsUserInfo.DeserializeSecurityInsightsUserInfo(property0.Value); + updatedBy = SecurityInsightsUserInfo.DeserializeSecurityInsightsUserInfo(property0.Value, options); continue; } if (property0.NameEquals("eventTime"u8)) @@ -332,7 +332,7 @@ internal static SecurityInsightsBookmarkData DeserializeSecurityInsightsBookmark { continue; } - incidentInfo = SecurityInsightsBookmarkIncidentInfo.DeserializeSecurityInsightsBookmarkIncidentInfo(property0.Value); + incidentInfo = SecurityInsightsBookmarkIncidentInfo.DeserializeSecurityInsightsBookmarkIncidentInfo(property0.Value, options); continue; } } diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityInsightsDataConnectorData.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityInsightsDataConnectorData.Serialization.cs index 7c916756aee06..85b2086e817fe 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityInsightsDataConnectorData.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityInsightsDataConnectorData.Serialization.cs @@ -95,17 +95,17 @@ internal static SecurityInsightsDataConnectorData DeserializeSecurityInsightsDat { switch (discriminator.GetString()) { - case "AmazonWebServicesCloudTrail": return SecurityInsightsAwsCloudTrailDataConnector.DeserializeSecurityInsightsAwsCloudTrailDataConnector(element); - case "AzureActiveDirectory": return SecurityInsightsAadDataConnector.DeserializeSecurityInsightsAadDataConnector(element); - case "AzureAdvancedThreatProtection": return SecurityInsightsAatpDataConnector.DeserializeSecurityInsightsAatpDataConnector(element); - case "AzureSecurityCenter": return SecurityInsightsAscDataConnector.DeserializeSecurityInsightsAscDataConnector(element); - case "MicrosoftCloudAppSecurity": return McasDataConnector.DeserializeMcasDataConnector(element); - case "MicrosoftDefenderAdvancedThreatProtection": return MdatpDataConnector.DeserializeMdatpDataConnector(element); - case "Office365": return SecurityInsightsOfficeDataConnector.DeserializeSecurityInsightsOfficeDataConnector(element); - case "ThreatIntelligence": return SecurityInsightsTIDataConnector.DeserializeSecurityInsightsTIDataConnector(element); + case "AmazonWebServicesCloudTrail": return SecurityInsightsAwsCloudTrailDataConnector.DeserializeSecurityInsightsAwsCloudTrailDataConnector(element, options); + case "AzureActiveDirectory": return SecurityInsightsAadDataConnector.DeserializeSecurityInsightsAadDataConnector(element, options); + case "AzureAdvancedThreatProtection": return SecurityInsightsAatpDataConnector.DeserializeSecurityInsightsAatpDataConnector(element, options); + case "AzureSecurityCenter": return SecurityInsightsAscDataConnector.DeserializeSecurityInsightsAscDataConnector(element, options); + case "MicrosoftCloudAppSecurity": return McasDataConnector.DeserializeMcasDataConnector(element, options); + case "MicrosoftDefenderAdvancedThreatProtection": return MdatpDataConnector.DeserializeMdatpDataConnector(element, options); + case "Office365": return SecurityInsightsOfficeDataConnector.DeserializeSecurityInsightsOfficeDataConnector(element, options); + case "ThreatIntelligence": return SecurityInsightsTIDataConnector.DeserializeSecurityInsightsTIDataConnector(element, options); } } - return UnknownDataConnector.DeserializeUnknownDataConnector(element); + return UnknownDataConnector.DeserializeUnknownDataConnector(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityInsightsIncidentCommentData.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityInsightsIncidentCommentData.Serialization.cs index 0864115597a4e..ae74084c42e61 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityInsightsIncidentCommentData.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityInsightsIncidentCommentData.Serialization.cs @@ -199,7 +199,7 @@ internal static SecurityInsightsIncidentCommentData DeserializeSecurityInsightsI { continue; } - author = SecurityInsightsClientInfo.DeserializeSecurityInsightsClientInfo(property0.Value); + author = SecurityInsightsClientInfo.DeserializeSecurityInsightsClientInfo(property0.Value, options); continue; } } diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityInsightsIncidentData.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityInsightsIncidentData.Serialization.cs index cabb12cbae2f5..edc7e0f41293f 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityInsightsIncidentData.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityInsightsIncidentData.Serialization.cs @@ -269,7 +269,7 @@ internal static SecurityInsightsIncidentData DeserializeSecurityInsightsIncident { continue; } - additionalData = SecurityInsightsIncidentAdditionalInfo.DeserializeSecurityInsightsIncidentAdditionalInfo(property0.Value); + additionalData = SecurityInsightsIncidentAdditionalInfo.DeserializeSecurityInsightsIncidentAdditionalInfo(property0.Value, options); continue; } if (property0.NameEquals("classification"u8)) @@ -345,7 +345,7 @@ internal static SecurityInsightsIncidentData DeserializeSecurityInsightsIncident List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(SecurityInsightsIncidentLabel.DeserializeSecurityInsightsIncidentLabel(item)); + array.Add(SecurityInsightsIncidentLabel.DeserializeSecurityInsightsIncidentLabel(item, options)); } labels = array; continue; @@ -374,7 +374,7 @@ internal static SecurityInsightsIncidentData DeserializeSecurityInsightsIncident { continue; } - owner = SecurityInsightsIncidentOwnerInfo.DeserializeSecurityInsightsIncidentOwnerInfo(property0.Value); + owner = SecurityInsightsIncidentOwnerInfo.DeserializeSecurityInsightsIncidentOwnerInfo(property0.Value, options); continue; } if (property0.NameEquals("relatedAnalyticRuleIds"u8)) diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityInsightsThreatIntelligenceIndicatorBaseData.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityInsightsThreatIntelligenceIndicatorBaseData.Serialization.cs index 36a7ff911f874..af4f3b4bfba4c 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityInsightsThreatIntelligenceIndicatorBaseData.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityInsightsThreatIntelligenceIndicatorBaseData.Serialization.cs @@ -95,10 +95,10 @@ internal static SecurityInsightsThreatIntelligenceIndicatorBaseData DeserializeS { switch (discriminator.GetString()) { - case "indicator": return SecurityInsightsThreatIntelligenceIndicatorData.DeserializeSecurityInsightsThreatIntelligenceIndicatorData(element); + case "indicator": return SecurityInsightsThreatIntelligenceIndicatorData.DeserializeSecurityInsightsThreatIntelligenceIndicatorData(element, options); } } - return UnknownThreatIntelligenceInformation.DeserializeUnknownThreatIntelligenceInformation(element); + return UnknownThreatIntelligenceInformation.DeserializeUnknownThreatIntelligenceInformation(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityInsightsWatchlistData.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityInsightsWatchlistData.Serialization.cs index 4933a9ad4323b..38cf42e5113c8 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityInsightsWatchlistData.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityInsightsWatchlistData.Serialization.cs @@ -323,7 +323,7 @@ internal static SecurityInsightsWatchlistData DeserializeSecurityInsightsWatchli { continue; } - createdBy = SecurityInsightsUserInfo.DeserializeSecurityInsightsUserInfo(property0.Value); + createdBy = SecurityInsightsUserInfo.DeserializeSecurityInsightsUserInfo(property0.Value, options); continue; } if (property0.NameEquals("updatedBy"u8)) @@ -332,7 +332,7 @@ internal static SecurityInsightsWatchlistData DeserializeSecurityInsightsWatchli { continue; } - updatedBy = SecurityInsightsUserInfo.DeserializeSecurityInsightsUserInfo(property0.Value); + updatedBy = SecurityInsightsUserInfo.DeserializeSecurityInsightsUserInfo(property0.Value, options); continue; } if (property0.NameEquals("description"u8)) diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityInsightsWatchlistItemData.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityInsightsWatchlistItemData.Serialization.cs index 786d5e55dd2dc..dce5380d38fe8 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityInsightsWatchlistItemData.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityInsightsWatchlistItemData.Serialization.cs @@ -272,7 +272,7 @@ internal static SecurityInsightsWatchlistItemData DeserializeSecurityInsightsWat { continue; } - createdBy = SecurityInsightsUserInfo.DeserializeSecurityInsightsUserInfo(property0.Value); + createdBy = SecurityInsightsUserInfo.DeserializeSecurityInsightsUserInfo(property0.Value, options); continue; } if (property0.NameEquals("updatedBy"u8)) @@ -281,7 +281,7 @@ internal static SecurityInsightsWatchlistItemData DeserializeSecurityInsightsWat { continue; } - updatedBy = SecurityInsightsUserInfo.DeserializeSecurityInsightsUserInfo(property0.Value); + updatedBy = SecurityInsightsUserInfo.DeserializeSecurityInsightsUserInfo(property0.Value, options); continue; } if (property0.NameEquals("itemsKeyValue"u8)) diff --git a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityMLAnalyticsSettingData.Serialization.cs b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityMLAnalyticsSettingData.Serialization.cs index 4694beddb1c55..dcd8cbe20ac5d 100644 --- a/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityMLAnalyticsSettingData.Serialization.cs +++ b/sdk/securityinsights/Azure.ResourceManager.SecurityInsights/src/Generated/SecurityMLAnalyticsSettingData.Serialization.cs @@ -95,10 +95,10 @@ internal static SecurityMLAnalyticsSettingData DeserializeSecurityMLAnalyticsSet { switch (discriminator.GetString()) { - case "Anomaly": return AnomalySecurityMLAnalyticsSettings.DeserializeAnomalySecurityMLAnalyticsSettings(element); + case "Anomaly": return AnomalySecurityMLAnalyticsSettings.DeserializeAnomalySecurityMLAnalyticsSettings(element, options); } } - return UnknownSecurityMLAnalyticsSetting.DeserializeUnknownSecurityMLAnalyticsSetting(element); + return UnknownSecurityMLAnalyticsSetting.DeserializeUnknownSecurityMLAnalyticsSetting(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/ContinueRequestBody.Serialization.cs b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/ContinueRequestBody.Serialization.cs index b8efa01059120..3fdc8ab9f71e5 100644 --- a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/ContinueRequestBody.Serialization.cs +++ b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/ContinueRequestBody.Serialization.cs @@ -99,7 +99,7 @@ internal static ContinueRequestBody DeserializeContinueRequestBody(JsonElement e List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(TroubleshooterResult.DeserializeTroubleshooterResult(item)); + array.Add(TroubleshooterResult.DeserializeTroubleshooterResult(item, options)); } responses = array; continue; diff --git a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/FilterGroup.Serialization.cs b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/FilterGroup.Serialization.cs index 678c78bba5b4e..9845b8d0be1bf 100644 --- a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/FilterGroup.Serialization.cs +++ b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/FilterGroup.Serialization.cs @@ -88,7 +88,7 @@ internal static FilterGroup DeserializeFilterGroup(JsonElement element, ModelRea List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SelfHelpFilter.DeserializeSelfHelpFilter(item)); + array.Add(SelfHelpFilter.DeserializeSelfHelpFilter(item, options)); } filter = array; continue; diff --git a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/MetricsBasedChart.Serialization.cs b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/MetricsBasedChart.Serialization.cs index d29a8d5d5044b..cbf267ec1e999 100644 --- a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/MetricsBasedChart.Serialization.cs +++ b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/MetricsBasedChart.Serialization.cs @@ -138,7 +138,7 @@ internal static MetricsBasedChart DeserializeMetricsBasedChart(JsonElement eleme { continue; } - filterGroup = FilterGroup.DeserializeFilterGroup(property.Value); + filterGroup = FilterGroup.DeserializeFilterGroup(property.Value, options); continue; } if (property.NameEquals("replacementKey"u8)) diff --git a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/ReplacementMaps.Serialization.cs b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/ReplacementMaps.Serialization.cs index 98659694591a8..bb4b642a77abb 100644 --- a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/ReplacementMaps.Serialization.cs +++ b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/ReplacementMaps.Serialization.cs @@ -143,7 +143,7 @@ internal static ReplacementMaps DeserializeReplacementMaps(JsonElement element, List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(WebResult.DeserializeWebResult(item)); + array.Add(WebResult.DeserializeWebResult(item, options)); } webResults = array; continue; @@ -157,7 +157,7 @@ internal static ReplacementMaps DeserializeReplacementMaps(JsonElement element, List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SolutionsDiagnostic.DeserializeSolutionsDiagnostic(item)); + array.Add(SolutionsDiagnostic.DeserializeSolutionsDiagnostic(item, options)); } diagnostics = array; continue; @@ -171,7 +171,7 @@ internal static ReplacementMaps DeserializeReplacementMaps(JsonElement element, List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SolutionsTroubleshooters.DeserializeSolutionsTroubleshooters(item)); + array.Add(SolutionsTroubleshooters.DeserializeSolutionsTroubleshooters(item, options)); } troubleshooters = array; continue; @@ -185,7 +185,7 @@ internal static ReplacementMaps DeserializeReplacementMaps(JsonElement element, List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(MetricsBasedChart.DeserializeMetricsBasedChart(item)); + array.Add(MetricsBasedChart.DeserializeMetricsBasedChart(item, options)); } metricsBasedCharts = array; continue; @@ -199,7 +199,7 @@ internal static ReplacementMaps DeserializeReplacementMaps(JsonElement element, List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SelfHelpVideo.DeserializeSelfHelpVideo(item)); + array.Add(SelfHelpVideo.DeserializeSelfHelpVideo(item, options)); } videos = array; continue; @@ -213,7 +213,7 @@ internal static ReplacementMaps DeserializeReplacementMaps(JsonElement element, List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(VideoGroup.DeserializeVideoGroup(item)); + array.Add(VideoGroup.DeserializeVideoGroup(item, options)); } videoGroups = array; continue; diff --git a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/SelfHelpDiagnosticInfo.Serialization.cs b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/SelfHelpDiagnosticInfo.Serialization.cs index e5980aa75b197..24c2dbfcd35e4 100644 --- a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/SelfHelpDiagnosticInfo.Serialization.cs +++ b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/SelfHelpDiagnosticInfo.Serialization.cs @@ -120,7 +120,7 @@ internal static SelfHelpDiagnosticInfo DeserializeSelfHelpDiagnosticInfo(JsonEle List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SelfHelpDiagnosticInsight.DeserializeSelfHelpDiagnosticInsight(item)); + array.Add(SelfHelpDiagnosticInsight.DeserializeSelfHelpDiagnosticInsight(item, options)); } insights = array; continue; @@ -131,7 +131,7 @@ internal static SelfHelpDiagnosticInfo DeserializeSelfHelpDiagnosticInfo(JsonEle { continue; } - error = SelfHelpError.DeserializeSelfHelpError(property.Value); + error = SelfHelpError.DeserializeSelfHelpError(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/SelfHelpDiscoverySolutionResult.Serialization.cs b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/SelfHelpDiscoverySolutionResult.Serialization.cs index e27231a07deb4..022e763111321 100644 --- a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/SelfHelpDiscoverySolutionResult.Serialization.cs +++ b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/SelfHelpDiscoverySolutionResult.Serialization.cs @@ -94,7 +94,7 @@ internal static SelfHelpDiscoverySolutionResult DeserializeSelfHelpDiscoverySolu List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SelfHelpSolutionMetadata.DeserializeSelfHelpSolutionMetadata(item)); + array.Add(SelfHelpSolutionMetadata.DeserializeSelfHelpSolutionMetadata(item, options)); } value = array; continue; diff --git a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/SelfHelpError.Serialization.cs b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/SelfHelpError.Serialization.cs index 0a59e8e92f32a..96a9df4b472e3 100644 --- a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/SelfHelpError.Serialization.cs +++ b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/SelfHelpError.Serialization.cs @@ -121,7 +121,7 @@ internal static SelfHelpError DeserializeSelfHelpError(JsonElement element, Mode List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DeserializeSelfHelpError(item)); + array.Add(DeserializeSelfHelpError(item, options)); } details = array; continue; diff --git a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/SelfHelpSection.Serialization.cs b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/SelfHelpSection.Serialization.cs index 3b8d19c205abc..3e8f7543431c0 100644 --- a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/SelfHelpSection.Serialization.cs +++ b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/SelfHelpSection.Serialization.cs @@ -102,7 +102,7 @@ internal static SelfHelpSection DeserializeSelfHelpSection(JsonElement element, { continue; } - replacementMaps = ReplacementMaps.DeserializeReplacementMaps(property.Value); + replacementMaps = ReplacementMaps.DeserializeReplacementMaps(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/SelfHelpSolutionMetadata.Serialization.cs b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/SelfHelpSolutionMetadata.Serialization.cs index e531a6e524236..eb257ca6e307b 100644 --- a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/SelfHelpSolutionMetadata.Serialization.cs +++ b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/SelfHelpSolutionMetadata.Serialization.cs @@ -147,7 +147,7 @@ internal static SelfHelpSolutionMetadata DeserializeSelfHelpSolutionMetadata(Jso List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(SolutionMetadataProperties.DeserializeSolutionMetadataProperties(item)); + array.Add(SolutionMetadataProperties.DeserializeSolutionMetadataProperties(item, options)); } solutions = array; continue; diff --git a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/SelfHelpStep.Serialization.cs b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/SelfHelpStep.Serialization.cs index 92b2947e6e1cf..c5080a3dc7d57 100644 --- a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/SelfHelpStep.Serialization.cs +++ b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/SelfHelpStep.Serialization.cs @@ -212,7 +212,7 @@ internal static SelfHelpStep DeserializeSelfHelpStep(JsonElement element, ModelR List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(StepInput.DeserializeStepInput(item)); + array.Add(StepInput.DeserializeStepInput(item, options)); } inputs = array; continue; @@ -223,7 +223,7 @@ internal static SelfHelpStep DeserializeSelfHelpStep(JsonElement element, ModelR { continue; } - automatedCheckResults = AutomatedCheckResult.DeserializeAutomatedCheckResult(property.Value); + automatedCheckResults = AutomatedCheckResult.DeserializeAutomatedCheckResult(property.Value, options); continue; } if (property.NameEquals("insights"u8)) @@ -235,7 +235,7 @@ internal static SelfHelpStep DeserializeSelfHelpStep(JsonElement element, ModelR List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SelfHelpDiagnosticInsight.DeserializeSelfHelpDiagnosticInsight(item)); + array.Add(SelfHelpDiagnosticInsight.DeserializeSelfHelpDiagnosticInsight(item, options)); } insights = array; continue; diff --git a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/SolutionResourcePatch.Serialization.cs b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/SolutionResourcePatch.Serialization.cs index 82c93514aeba6..35bbf29dd2fff 100644 --- a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/SolutionResourcePatch.Serialization.cs +++ b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/SolutionResourcePatch.Serialization.cs @@ -80,7 +80,7 @@ internal static SolutionResourcePatch DeserializeSolutionResourcePatch(JsonEleme { continue; } - properties = SolutionResourceProperties.DeserializeSolutionResourceProperties(property.Value); + properties = SolutionResourceProperties.DeserializeSolutionResourceProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/SolutionResourceProperties.Serialization.cs b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/SolutionResourceProperties.Serialization.cs index 746ee5821dca4..890405e6738db 100644 --- a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/SolutionResourceProperties.Serialization.cs +++ b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/SolutionResourceProperties.Serialization.cs @@ -141,7 +141,7 @@ internal static SolutionResourceProperties DeserializeSolutionResourceProperties List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(TriggerCriterion.DeserializeTriggerCriterion(item)); + array.Add(TriggerCriterion.DeserializeTriggerCriterion(item, options)); } triggerCriteria = array; continue; @@ -190,7 +190,7 @@ internal static SolutionResourceProperties DeserializeSolutionResourceProperties { continue; } - replacementMaps = ReplacementMaps.DeserializeReplacementMaps(property.Value); + replacementMaps = ReplacementMaps.DeserializeReplacementMaps(property.Value, options); continue; } if (property.NameEquals("sections"u8)) @@ -202,7 +202,7 @@ internal static SolutionResourceProperties DeserializeSolutionResourceProperties List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SelfHelpSection.DeserializeSelfHelpSection(item)); + array.Add(SelfHelpSection.DeserializeSelfHelpSection(item, options)); } sections = array; continue; diff --git a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/SolutionsDiagnostic.Serialization.cs b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/SolutionsDiagnostic.Serialization.cs index cda20e60e0d97..7065cbe5f1a19 100644 --- a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/SolutionsDiagnostic.Serialization.cs +++ b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/SolutionsDiagnostic.Serialization.cs @@ -161,7 +161,7 @@ internal static SolutionsDiagnostic DeserializeSolutionsDiagnostic(JsonElement e List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SelfHelpDiagnosticInsight.DeserializeSelfHelpDiagnosticInsight(item)); + array.Add(SelfHelpDiagnosticInsight.DeserializeSelfHelpDiagnosticInsight(item, options)); } insights = array; continue; diff --git a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/StepInput.Serialization.cs b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/StepInput.Serialization.cs index 992ec71891c23..67409b41a02cd 100644 --- a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/StepInput.Serialization.cs +++ b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/StepInput.Serialization.cs @@ -172,7 +172,7 @@ internal static StepInput DeserializeStepInput(JsonElement element, ModelReaderW { continue; } - responseValidationProperties = ResponseValidationProperties.DeserializeResponseValidationProperties(property.Value); + responseValidationProperties = ResponseValidationProperties.DeserializeResponseValidationProperties(property.Value, options); continue; } if (property.NameEquals("responseOptions"u8)) @@ -184,7 +184,7 @@ internal static StepInput DeserializeStepInput(JsonElement element, ModelReaderW List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ResponseConfig.DeserializeResponseConfig(item)); + array.Add(ResponseConfig.DeserializeResponseConfig(item, options)); } responseOptions = array; continue; diff --git a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/VideoGroup.Serialization.cs b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/VideoGroup.Serialization.cs index 11556efc5b7fd..8104a78f78bed 100644 --- a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/VideoGroup.Serialization.cs +++ b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/VideoGroup.Serialization.cs @@ -94,7 +94,7 @@ internal static VideoGroup DeserializeVideoGroup(JsonElement element, ModelReade List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(VideoGroupVideo.DeserializeVideoGroupVideo(item)); + array.Add(VideoGroupVideo.DeserializeVideoGroupVideo(item, options)); } videos = array; continue; diff --git a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/WebResult.Serialization.cs b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/WebResult.Serialization.cs index b8f460b3df7d0..fa7072d4f789f 100644 --- a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/WebResult.Serialization.cs +++ b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/Models/WebResult.Serialization.cs @@ -99,7 +99,7 @@ internal static WebResult DeserializeWebResult(JsonElement element, ModelReaderW List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SearchResult.DeserializeSearchResult(item)); + array.Add(SearchResult.DeserializeSearchResult(item, options)); } searchResults = array; continue; diff --git a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/SelfHelpDiagnosticData.Serialization.cs b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/SelfHelpDiagnosticData.Serialization.cs index bf5b68e62f281..0f85d71dac98e 100644 --- a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/SelfHelpDiagnosticData.Serialization.cs +++ b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/SelfHelpDiagnosticData.Serialization.cs @@ -199,7 +199,7 @@ internal static SelfHelpDiagnosticData DeserializeSelfHelpDiagnosticData(JsonEle List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(SelfHelpDiagnosticInvocation.DeserializeSelfHelpDiagnosticInvocation(item)); + array.Add(SelfHelpDiagnosticInvocation.DeserializeSelfHelpDiagnosticInvocation(item, options)); } insights = array; continue; @@ -231,7 +231,7 @@ internal static SelfHelpDiagnosticData DeserializeSelfHelpDiagnosticData(JsonEle List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(SelfHelpDiagnosticInfo.DeserializeSelfHelpDiagnosticInfo(item)); + array.Add(SelfHelpDiagnosticInfo.DeserializeSelfHelpDiagnosticInfo(item, options)); } diagnostics = array; continue; diff --git a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/SolutionResourceData.Serialization.cs b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/SolutionResourceData.Serialization.cs index 8fbbaf6e46daf..71ec6269450cd 100644 --- a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/SolutionResourceData.Serialization.cs +++ b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/SolutionResourceData.Serialization.cs @@ -106,7 +106,7 @@ internal static SolutionResourceData DeserializeSolutionResourceData(JsonElement { continue; } - properties = SolutionResourceProperties.DeserializeSolutionResourceProperties(property.Value); + properties = SolutionResourceProperties.DeserializeSolutionResourceProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/TroubleshooterResourceData.Serialization.cs b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/TroubleshooterResourceData.Serialization.cs index 67a85835e6059..44af055570806 100644 --- a/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/TroubleshooterResourceData.Serialization.cs +++ b/sdk/selfhelp/Azure.ResourceManager.SelfHelp/src/Generated/TroubleshooterResourceData.Serialization.cs @@ -202,7 +202,7 @@ internal static TroubleshooterResourceData DeserializeTroubleshooterResourceData List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(SelfHelpStep.DeserializeSelfHelpStep(item)); + array.Add(SelfHelpStep.DeserializeSelfHelpStep(item, options)); } steps = array; continue; diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/ArmDisasterRecoveryListResult.Serialization.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/ArmDisasterRecoveryListResult.Serialization.cs index 095afd9a82473..1f14d0920f783 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/ArmDisasterRecoveryListResult.Serialization.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/ArmDisasterRecoveryListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ArmDisasterRecoveryListResult DeserializeArmDisasterRecoveryList List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ServiceBusDisasterRecoveryData.DeserializeServiceBusDisasterRecoveryData(item)); + array.Add(ServiceBusDisasterRecoveryData.DeserializeServiceBusDisasterRecoveryData(item, options)); } value = array; continue; diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/MigrationConfigListResult.Serialization.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/MigrationConfigListResult.Serialization.cs index 5d72bfb311a0d..cd8ad304f2d95 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/MigrationConfigListResult.Serialization.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/MigrationConfigListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static MigrationConfigListResult DeserializeMigrationConfigListResult(J List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(MigrationConfigurationData.DeserializeMigrationConfigurationData(item)); + array.Add(MigrationConfigurationData.DeserializeMigrationConfigurationData(item, options)); } value = array; continue; diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/NetworkRuleSetListResult.Serialization.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/NetworkRuleSetListResult.Serialization.cs index 8a88fbfa3a251..e8cba60c1adf1 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/NetworkRuleSetListResult.Serialization.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/NetworkRuleSetListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static NetworkRuleSetListResult DeserializeNetworkRuleSetListResult(Jso List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ServiceBusNetworkRuleSetData.DeserializeServiceBusNetworkRuleSetData(item)); + array.Add(ServiceBusNetworkRuleSetData.DeserializeServiceBusNetworkRuleSetData(item, options)); } value = array; continue; diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/PrivateLinkResourcesListResult.Serialization.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/PrivateLinkResourcesListResult.Serialization.cs index 2d4279fcc6f81..42f0d160519a6 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/PrivateLinkResourcesListResult.Serialization.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/PrivateLinkResourcesListResult.Serialization.cs @@ -94,7 +94,7 @@ internal static PrivateLinkResourcesListResult DeserializePrivateLinkResourcesLi List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ServiceBusPrivateLinkResource.DeserializeServiceBusPrivateLinkResource(item)); + array.Add(ServiceBusPrivateLinkResource.DeserializeServiceBusPrivateLinkResource(item, options)); } value = array; continue; diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/RuleListResult.Serialization.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/RuleListResult.Serialization.cs index 0ece05f762ed3..dbe25704f5600 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/RuleListResult.Serialization.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/RuleListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static RuleListResult DeserializeRuleListResult(JsonElement element, Mo List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ServiceBusRuleData.DeserializeServiceBusRuleData(item)); + array.Add(ServiceBusRuleData.DeserializeServiceBusRuleData(item, options)); } value = array; continue; diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/SBAuthorizationRuleListResult.Serialization.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/SBAuthorizationRuleListResult.Serialization.cs index dfbef7390302e..917ee3953c5f7 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/SBAuthorizationRuleListResult.Serialization.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/SBAuthorizationRuleListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static SBAuthorizationRuleListResult DeserializeSBAuthorizationRuleList List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ServiceBusAuthorizationRuleData.DeserializeServiceBusAuthorizationRuleData(item)); + array.Add(ServiceBusAuthorizationRuleData.DeserializeServiceBusAuthorizationRuleData(item, options)); } value = array; continue; diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/SBNamespaceListResult.Serialization.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/SBNamespaceListResult.Serialization.cs index 847ccfa0a00e4..937eb5c468203 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/SBNamespaceListResult.Serialization.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/SBNamespaceListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static SBNamespaceListResult DeserializeSBNamespaceListResult(JsonEleme List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ServiceBusNamespaceData.DeserializeServiceBusNamespaceData(item)); + array.Add(ServiceBusNamespaceData.DeserializeServiceBusNamespaceData(item, options)); } value = array; continue; diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/SBQueueListResult.Serialization.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/SBQueueListResult.Serialization.cs index 8f83be1a17ba4..054ec4f913934 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/SBQueueListResult.Serialization.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/SBQueueListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static SBQueueListResult DeserializeSBQueueListResult(JsonElement eleme List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ServiceBusQueueData.DeserializeServiceBusQueueData(item)); + array.Add(ServiceBusQueueData.DeserializeServiceBusQueueData(item, options)); } value = array; continue; diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/SBSubscriptionListResult.Serialization.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/SBSubscriptionListResult.Serialization.cs index 6f7acbb67c940..008d51e904e88 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/SBSubscriptionListResult.Serialization.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/SBSubscriptionListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static SBSubscriptionListResult DeserializeSBSubscriptionListResult(Jso List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ServiceBusSubscriptionData.DeserializeServiceBusSubscriptionData(item)); + array.Add(ServiceBusSubscriptionData.DeserializeServiceBusSubscriptionData(item, options)); } value = array; continue; diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/SBTopicListResult.Serialization.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/SBTopicListResult.Serialization.cs index e86077d53c8a9..5b36b751427d0 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/SBTopicListResult.Serialization.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/SBTopicListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static SBTopicListResult DeserializeSBTopicListResult(JsonElement eleme List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ServiceBusTopicData.DeserializeServiceBusTopicData(item)); + array.Add(ServiceBusTopicData.DeserializeServiceBusTopicData(item, options)); } value = array; continue; diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/ServiceBusEncryption.Serialization.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/ServiceBusEncryption.Serialization.cs index 22be393c94b5e..c66aab67051f2 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/ServiceBusEncryption.Serialization.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/ServiceBusEncryption.Serialization.cs @@ -100,7 +100,7 @@ internal static ServiceBusEncryption DeserializeServiceBusEncryption(JsonElement List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ServiceBusKeyVaultProperties.DeserializeServiceBusKeyVaultProperties(item)); + array.Add(ServiceBusKeyVaultProperties.DeserializeServiceBusKeyVaultProperties(item, options)); } keyVaultProperties = array; continue; diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/ServiceBusKeyVaultProperties.Serialization.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/ServiceBusKeyVaultProperties.Serialization.cs index 5d3aa0d884959..46ada2ba6d528 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/ServiceBusKeyVaultProperties.Serialization.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/ServiceBusKeyVaultProperties.Serialization.cs @@ -117,7 +117,7 @@ internal static ServiceBusKeyVaultProperties DeserializeServiceBusKeyVaultProper { continue; } - identity = UserAssignedIdentityProperties.DeserializeUserAssignedIdentityProperties(property.Value); + identity = UserAssignedIdentityProperties.DeserializeUserAssignedIdentityProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/ServiceBusNamespacePatch.Serialization.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/ServiceBusNamespacePatch.Serialization.cs index 8e10755cab29c..caeb742a39a1f 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/ServiceBusNamespacePatch.Serialization.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/ServiceBusNamespacePatch.Serialization.cs @@ -195,7 +195,7 @@ internal static ServiceBusNamespacePatch DeserializeServiceBusNamespacePatch(Jso { continue; } - sku = ServiceBusSku.DeserializeServiceBusSku(property.Value); + sku = ServiceBusSku.DeserializeServiceBusSku(property.Value, options); continue; } if (property.NameEquals("identity"u8)) @@ -303,7 +303,7 @@ internal static ServiceBusNamespacePatch DeserializeServiceBusNamespacePatch(Jso { continue; } - encryption = ServiceBusEncryption.DeserializeServiceBusEncryption(property0.Value); + encryption = ServiceBusEncryption.DeserializeServiceBusEncryption(property0.Value, options); continue; } if (property0.NameEquals("privateEndpointConnections"u8)) @@ -315,7 +315,7 @@ internal static ServiceBusNamespacePatch DeserializeServiceBusNamespacePatch(Jso List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ServiceBusPrivateEndpointConnectionData.DeserializeServiceBusPrivateEndpointConnectionData(item)); + array.Add(ServiceBusPrivateEndpointConnectionData.DeserializeServiceBusPrivateEndpointConnectionData(item, options)); } privateEndpointConnections = array; continue; diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/ServiceBusPrivateEndpointConnectionListResult.Serialization.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/ServiceBusPrivateEndpointConnectionListResult.Serialization.cs index 0572570a55b79..8b49fc58e58e7 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/ServiceBusPrivateEndpointConnectionListResult.Serialization.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/Models/ServiceBusPrivateEndpointConnectionListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ServiceBusPrivateEndpointConnectionListResult DeserializeService List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ServiceBusPrivateEndpointConnectionData.DeserializeServiceBusPrivateEndpointConnectionData(item)); + array.Add(ServiceBusPrivateEndpointConnectionData.DeserializeServiceBusPrivateEndpointConnectionData(item, options)); } value = array; continue; diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusNamespaceData.Serialization.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusNamespaceData.Serialization.cs index 42be78c0044fe..141a581561981 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusNamespaceData.Serialization.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusNamespaceData.Serialization.cs @@ -219,7 +219,7 @@ internal static ServiceBusNamespaceData DeserializeServiceBusNamespaceData(JsonE { continue; } - sku = ServiceBusSku.DeserializeServiceBusSku(property.Value); + sku = ServiceBusSku.DeserializeServiceBusSku(property.Value, options); continue; } if (property.NameEquals("identity"u8)) @@ -345,7 +345,7 @@ internal static ServiceBusNamespaceData DeserializeServiceBusNamespaceData(JsonE { continue; } - encryption = ServiceBusEncryption.DeserializeServiceBusEncryption(property0.Value); + encryption = ServiceBusEncryption.DeserializeServiceBusEncryption(property0.Value, options); continue; } if (property0.NameEquals("privateEndpointConnections"u8)) @@ -357,7 +357,7 @@ internal static ServiceBusNamespaceData DeserializeServiceBusNamespaceData(JsonE List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ServiceBusPrivateEndpointConnectionData.DeserializeServiceBusPrivateEndpointConnectionData(item)); + array.Add(ServiceBusPrivateEndpointConnectionData.DeserializeServiceBusPrivateEndpointConnectionData(item, options)); } privateEndpointConnections = array; continue; diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusNetworkRuleSetData.Serialization.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusNetworkRuleSetData.Serialization.cs index 5553330a5c508..b8c0431948276 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusNetworkRuleSetData.Serialization.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusNetworkRuleSetData.Serialization.cs @@ -212,7 +212,7 @@ internal static ServiceBusNetworkRuleSetData DeserializeServiceBusNetworkRuleSet List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ServiceBusNetworkRuleSetVirtualNetworkRules.DeserializeServiceBusNetworkRuleSetVirtualNetworkRules(item)); + array.Add(ServiceBusNetworkRuleSetVirtualNetworkRules.DeserializeServiceBusNetworkRuleSetVirtualNetworkRules(item, options)); } virtualNetworkRules = array; continue; @@ -226,7 +226,7 @@ internal static ServiceBusNetworkRuleSetData DeserializeServiceBusNetworkRuleSet List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ServiceBusNetworkRuleSetIPRules.DeserializeServiceBusNetworkRuleSetIPRules(item)); + array.Add(ServiceBusNetworkRuleSetIPRules.DeserializeServiceBusNetworkRuleSetIPRules(item, options)); } ipRules = array; continue; diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusPrivateEndpointConnectionData.Serialization.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusPrivateEndpointConnectionData.Serialization.cs index 8be2145a3dae9..a2c4a661d3148 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusPrivateEndpointConnectionData.Serialization.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusPrivateEndpointConnectionData.Serialization.cs @@ -179,7 +179,7 @@ internal static ServiceBusPrivateEndpointConnectionData DeserializeServiceBusPri { continue; } - privateLinkServiceConnectionState = ServiceBusPrivateLinkServiceConnectionState.DeserializeServiceBusPrivateLinkServiceConnectionState(property0.Value); + privateLinkServiceConnectionState = ServiceBusPrivateLinkServiceConnectionState.DeserializeServiceBusPrivateLinkServiceConnectionState(property0.Value, options); continue; } if (property0.NameEquals("provisioningState"u8)) diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusQueueData.Serialization.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusQueueData.Serialization.cs index 5764cfd9e8c3c..adea7c3ece76e 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusQueueData.Serialization.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusQueueData.Serialization.cs @@ -283,7 +283,7 @@ internal static ServiceBusQueueData DeserializeServiceBusQueueData(JsonElement e { continue; } - countDetails = MessageCountDetails.DeserializeMessageCountDetails(property0.Value); + countDetails = MessageCountDetails.DeserializeMessageCountDetails(property0.Value, options); continue; } if (property0.NameEquals("createdAt"u8)) diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusRuleData.Serialization.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusRuleData.Serialization.cs index 497aab6a0ea7b..4d9f438e4aaf4 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusRuleData.Serialization.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusRuleData.Serialization.cs @@ -175,7 +175,7 @@ internal static ServiceBusRuleData DeserializeServiceBusRuleData(JsonElement ele { continue; } - action = ServiceBusFilterAction.DeserializeServiceBusFilterAction(property0.Value); + action = ServiceBusFilterAction.DeserializeServiceBusFilterAction(property0.Value, options); continue; } if (property0.NameEquals("filterType"u8)) @@ -193,7 +193,7 @@ internal static ServiceBusRuleData DeserializeServiceBusRuleData(JsonElement ele { continue; } - sqlFilter = ServiceBusSqlFilter.DeserializeServiceBusSqlFilter(property0.Value); + sqlFilter = ServiceBusSqlFilter.DeserializeServiceBusSqlFilter(property0.Value, options); continue; } if (property0.NameEquals("correlationFilter"u8)) @@ -202,7 +202,7 @@ internal static ServiceBusRuleData DeserializeServiceBusRuleData(JsonElement ele { continue; } - correlationFilter = ServiceBusCorrelationFilter.DeserializeServiceBusCorrelationFilter(property0.Value); + correlationFilter = ServiceBusCorrelationFilter.DeserializeServiceBusCorrelationFilter(property0.Value, options); continue; } } diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusSubscriptionData.Serialization.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusSubscriptionData.Serialization.cs index 23e9ac85b61ab..dfa777d876259 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusSubscriptionData.Serialization.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusSubscriptionData.Serialization.cs @@ -301,7 +301,7 @@ internal static ServiceBusSubscriptionData DeserializeServiceBusSubscriptionData { continue; } - countDetails = MessageCountDetails.DeserializeMessageCountDetails(property0.Value); + countDetails = MessageCountDetails.DeserializeMessageCountDetails(property0.Value, options); continue; } if (property0.NameEquals("lockDuration"u8)) @@ -419,7 +419,7 @@ internal static ServiceBusSubscriptionData DeserializeServiceBusSubscriptionData { continue; } - clientAffineProperties = ServiceBusClientAffineProperties.DeserializeServiceBusClientAffineProperties(property0.Value); + clientAffineProperties = ServiceBusClientAffineProperties.DeserializeServiceBusClientAffineProperties(property0.Value, options); continue; } } diff --git a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusTopicData.Serialization.cs b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusTopicData.Serialization.cs index 7cbc3488e4ce3..fe62961243956 100644 --- a/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusTopicData.Serialization.cs +++ b/sdk/servicebus/Azure.ResourceManager.ServiceBus/src/Generated/ServiceBusTopicData.Serialization.cs @@ -298,7 +298,7 @@ internal static ServiceBusTopicData DeserializeServiceBusTopicData(JsonElement e { continue; } - countDetails = MessageCountDetails.DeserializeMessageCountDetails(property0.Value); + countDetails = MessageCountDetails.DeserializeMessageCountDetails(property0.Value, options); continue; } if (property0.NameEquals("defaultMessageTimeToLive"u8)) diff --git a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ApplicationDeltaHealthPolicy.Serialization.cs b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ApplicationDeltaHealthPolicy.Serialization.cs index 3236e17e18deb..eeea45d6a5c7e 100644 --- a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ApplicationDeltaHealthPolicy.Serialization.cs +++ b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ApplicationDeltaHealthPolicy.Serialization.cs @@ -92,7 +92,7 @@ internal static ApplicationDeltaHealthPolicy DeserializeApplicationDeltaHealthPo { continue; } - defaultServiceTypeDeltaHealthPolicy = ServiceTypeDeltaHealthPolicy.DeserializeServiceTypeDeltaHealthPolicy(property.Value); + defaultServiceTypeDeltaHealthPolicy = ServiceTypeDeltaHealthPolicy.DeserializeServiceTypeDeltaHealthPolicy(property.Value, options); continue; } if (property.NameEquals("serviceTypeDeltaHealthPolicies"u8)) @@ -104,7 +104,7 @@ internal static ApplicationDeltaHealthPolicy DeserializeApplicationDeltaHealthPo Dictionary dictionary = new Dictionary(); foreach (var property0 in property.Value.EnumerateObject()) { - dictionary.Add(property0.Name, ServiceTypeDeltaHealthPolicy.DeserializeServiceTypeDeltaHealthPolicy(property0.Value)); + dictionary.Add(property0.Name, ServiceTypeDeltaHealthPolicy.DeserializeServiceTypeDeltaHealthPolicy(property0.Value, options)); } serviceTypeDeltaHealthPolicies = dictionary; continue; diff --git a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ApplicationHealthPolicy.Serialization.cs b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ApplicationHealthPolicy.Serialization.cs index 5590adf1a5908..8ee7bea497a1d 100644 --- a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ApplicationHealthPolicy.Serialization.cs +++ b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ApplicationHealthPolicy.Serialization.cs @@ -92,7 +92,7 @@ internal static ApplicationHealthPolicy DeserializeApplicationHealthPolicy(JsonE { continue; } - defaultServiceTypeHealthPolicy = ServiceTypeHealthPolicy.DeserializeServiceTypeHealthPolicy(property.Value); + defaultServiceTypeHealthPolicy = ServiceTypeHealthPolicy.DeserializeServiceTypeHealthPolicy(property.Value, options); continue; } if (property.NameEquals("serviceTypeHealthPolicies"u8)) @@ -104,7 +104,7 @@ internal static ApplicationHealthPolicy DeserializeApplicationHealthPolicy(JsonE Dictionary dictionary = new Dictionary(); foreach (var property0 in property.Value.EnumerateObject()) { - dictionary.Add(property0.Name, ServiceTypeHealthPolicy.DeserializeServiceTypeHealthPolicy(property0.Value)); + dictionary.Add(property0.Name, ServiceTypeHealthPolicy.DeserializeServiceTypeHealthPolicy(property0.Value, options)); } serviceTypeHealthPolicies = dictionary; continue; diff --git a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ApplicationUpgradePolicy.Serialization.cs b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ApplicationUpgradePolicy.Serialization.cs index fe385d3294c5c..ccc0b61d8e23a 100644 --- a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ApplicationUpgradePolicy.Serialization.cs +++ b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ApplicationUpgradePolicy.Serialization.cs @@ -128,7 +128,7 @@ internal static ApplicationUpgradePolicy DeserializeApplicationUpgradePolicy(Jso { continue; } - rollingUpgradeMonitoringPolicy = ArmRollingUpgradeMonitoringPolicy.DeserializeArmRollingUpgradeMonitoringPolicy(property.Value); + rollingUpgradeMonitoringPolicy = ArmRollingUpgradeMonitoringPolicy.DeserializeArmRollingUpgradeMonitoringPolicy(property.Value, options); continue; } if (property.NameEquals("applicationHealthPolicy"u8)) @@ -137,7 +137,7 @@ internal static ApplicationUpgradePolicy DeserializeApplicationUpgradePolicy(Jso { continue; } - applicationHealthPolicy = ArmApplicationHealthPolicy.DeserializeArmApplicationHealthPolicy(property.Value); + applicationHealthPolicy = ArmApplicationHealthPolicy.DeserializeArmApplicationHealthPolicy(property.Value, options); continue; } if (property.NameEquals("upgradeMode"u8)) diff --git a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ArmApplicationHealthPolicy.Serialization.cs b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ArmApplicationHealthPolicy.Serialization.cs index b439ca7f54ff5..7f77b6fd0fcd7 100644 --- a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ArmApplicationHealthPolicy.Serialization.cs +++ b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ArmApplicationHealthPolicy.Serialization.cs @@ -122,7 +122,7 @@ internal static ArmApplicationHealthPolicy DeserializeArmApplicationHealthPolicy { continue; } - defaultServiceTypeHealthPolicy = ArmServiceTypeHealthPolicy.DeserializeArmServiceTypeHealthPolicy(property.Value); + defaultServiceTypeHealthPolicy = ArmServiceTypeHealthPolicy.DeserializeArmServiceTypeHealthPolicy(property.Value, options); continue; } if (property.NameEquals("serviceTypeHealthPolicyMap"u8)) @@ -134,7 +134,7 @@ internal static ArmApplicationHealthPolicy DeserializeArmApplicationHealthPolicy Dictionary dictionary = new Dictionary(); foreach (var property0 in property.Value.EnumerateObject()) { - dictionary.Add(property0.Name, ArmServiceTypeHealthPolicy.DeserializeArmServiceTypeHealthPolicy(property0.Value)); + dictionary.Add(property0.Name, ArmServiceTypeHealthPolicy.DeserializeArmServiceTypeHealthPolicy(property0.Value, options)); } serviceTypeHealthPolicyMap = dictionary; continue; diff --git a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ClusterCodeVersionsListResult.Serialization.cs b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ClusterCodeVersionsListResult.Serialization.cs index be608392dd57d..a47df761e2d38 100644 --- a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ClusterCodeVersionsListResult.Serialization.cs +++ b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ClusterCodeVersionsListResult.Serialization.cs @@ -94,7 +94,7 @@ internal static ClusterCodeVersionsListResult DeserializeClusterCodeVersionsList List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ClusterCodeVersionsResult.DeserializeClusterCodeVersionsResult(item)); + array.Add(ClusterCodeVersionsResult.DeserializeClusterCodeVersionsResult(item, options)); } value = array; continue; diff --git a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ClusterHealthPolicy.Serialization.cs b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ClusterHealthPolicy.Serialization.cs index 7ec015556e1f1..45bd14013b9e0 100644 --- a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ClusterHealthPolicy.Serialization.cs +++ b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ClusterHealthPolicy.Serialization.cs @@ -119,7 +119,7 @@ internal static ClusterHealthPolicy DeserializeClusterHealthPolicy(JsonElement e Dictionary dictionary = new Dictionary(); foreach (var property0 in property.Value.EnumerateObject()) { - dictionary.Add(property0.Name, ApplicationHealthPolicy.DeserializeApplicationHealthPolicy(property0.Value)); + dictionary.Add(property0.Name, ApplicationHealthPolicy.DeserializeApplicationHealthPolicy(property0.Value, options)); } applicationHealthPolicies = dictionary; continue; diff --git a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ClusterNodeTypeDescription.Serialization.cs b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ClusterNodeTypeDescription.Serialization.cs index 16da3fad13dda..5446c23736312 100644 --- a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ClusterNodeTypeDescription.Serialization.cs +++ b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ClusterNodeTypeDescription.Serialization.cs @@ -207,7 +207,7 @@ internal static ClusterNodeTypeDescription DeserializeClusterNodeTypeDescription { continue; } - applicationPorts = ClusterEndpointRangeDescription.DeserializeClusterEndpointRangeDescription(property.Value); + applicationPorts = ClusterEndpointRangeDescription.DeserializeClusterEndpointRangeDescription(property.Value, options); continue; } if (property.NameEquals("ephemeralPorts"u8)) @@ -216,7 +216,7 @@ internal static ClusterNodeTypeDescription DeserializeClusterNodeTypeDescription { continue; } - ephemeralPorts = ClusterEndpointRangeDescription.DeserializeClusterEndpointRangeDescription(property.Value); + ephemeralPorts = ClusterEndpointRangeDescription.DeserializeClusterEndpointRangeDescription(property.Value, options); continue; } if (property.NameEquals("isPrimary"u8)) diff --git a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ClusterNotification.Serialization.cs b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ClusterNotification.Serialization.cs index e439af566eed6..7044c72be89e4 100644 --- a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ClusterNotification.Serialization.cs +++ b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ClusterNotification.Serialization.cs @@ -105,7 +105,7 @@ internal static ClusterNotification DeserializeClusterNotification(JsonElement e List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ClusterNotificationTarget.DeserializeClusterNotificationTarget(item)); + array.Add(ClusterNotificationTarget.DeserializeClusterNotificationTarget(item, options)); } notificationTargets = array; continue; diff --git a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ClusterServerCertificateCommonNames.Serialization.cs b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ClusterServerCertificateCommonNames.Serialization.cs index 91bdd36286100..a4ccf8fbf78f9 100644 --- a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ClusterServerCertificateCommonNames.Serialization.cs +++ b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ClusterServerCertificateCommonNames.Serialization.cs @@ -94,7 +94,7 @@ internal static ClusterServerCertificateCommonNames DeserializeClusterServerCert List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ClusterServerCertificateCommonName.DeserializeClusterServerCertificateCommonName(item)); + array.Add(ClusterServerCertificateCommonName.DeserializeClusterServerCertificateCommonName(item, options)); } commonNames = array; continue; diff --git a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ClusterUpgradeDeltaHealthPolicy.Serialization.cs b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ClusterUpgradeDeltaHealthPolicy.Serialization.cs index d0cfa5ad55454..747ec87117129 100644 --- a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ClusterUpgradeDeltaHealthPolicy.Serialization.cs +++ b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ClusterUpgradeDeltaHealthPolicy.Serialization.cs @@ -113,7 +113,7 @@ internal static ClusterUpgradeDeltaHealthPolicy DeserializeClusterUpgradeDeltaHe Dictionary dictionary = new Dictionary(); foreach (var property0 in property.Value.EnumerateObject()) { - dictionary.Add(property0.Name, ApplicationDeltaHealthPolicy.DeserializeApplicationDeltaHealthPolicy(property0.Value)); + dictionary.Add(property0.Name, ApplicationDeltaHealthPolicy.DeserializeApplicationDeltaHealthPolicy(property0.Value, options)); } applicationDeltaHealthPolicies = dictionary; continue; diff --git a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ClusterUpgradePolicy.Serialization.cs b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ClusterUpgradePolicy.Serialization.cs index eb9e97b72809d..8d63b5c0c1eeb 100644 --- a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ClusterUpgradePolicy.Serialization.cs +++ b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ClusterUpgradePolicy.Serialization.cs @@ -142,7 +142,7 @@ internal static ClusterUpgradePolicy DeserializeClusterUpgradePolicy(JsonElement } if (property.NameEquals("healthPolicy"u8)) { - healthPolicy = ClusterHealthPolicy.DeserializeClusterHealthPolicy(property.Value); + healthPolicy = ClusterHealthPolicy.DeserializeClusterHealthPolicy(property.Value, options); continue; } if (property.NameEquals("deltaHealthPolicy"u8)) @@ -151,7 +151,7 @@ internal static ClusterUpgradePolicy DeserializeClusterUpgradePolicy(JsonElement { continue; } - deltaHealthPolicy = ClusterUpgradeDeltaHealthPolicy.DeserializeClusterUpgradeDeltaHealthPolicy(property.Value); + deltaHealthPolicy = ClusterUpgradeDeltaHealthPolicy.DeserializeClusterUpgradeDeltaHealthPolicy(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/PartitionSchemeDescription.Serialization.cs b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/PartitionSchemeDescription.Serialization.cs index 014d775af6024..f455a54f66060 100644 --- a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/PartitionSchemeDescription.Serialization.cs +++ b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/PartitionSchemeDescription.Serialization.cs @@ -70,12 +70,12 @@ internal static PartitionSchemeDescription DeserializePartitionSchemeDescription { switch (discriminator.GetString()) { - case "Named": return NamedPartitionSchemeDescription.DeserializeNamedPartitionSchemeDescription(element); - case "Singleton": return SingletonPartitionSchemeDescription.DeserializeSingletonPartitionSchemeDescription(element); - case "UniformInt64Range": return UniformInt64RangePartitionSchemeDescription.DeserializeUniformInt64RangePartitionSchemeDescription(element); + case "Named": return NamedPartitionSchemeDescription.DeserializeNamedPartitionSchemeDescription(element, options); + case "Singleton": return SingletonPartitionSchemeDescription.DeserializeSingletonPartitionSchemeDescription(element, options); + case "UniformInt64Range": return UniformInt64RangePartitionSchemeDescription.DeserializeUniformInt64RangePartitionSchemeDescription(element, options); } } - return UnknownPartitionSchemeDescription.DeserializeUnknownPartitionSchemeDescription(element); + return UnknownPartitionSchemeDescription.DeserializeUnknownPartitionSchemeDescription(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ServiceFabricApplicationList.Serialization.cs b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ServiceFabricApplicationList.Serialization.cs index d3f6ff9c52329..381549e167d1c 100644 --- a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ServiceFabricApplicationList.Serialization.cs +++ b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ServiceFabricApplicationList.Serialization.cs @@ -95,7 +95,7 @@ internal static ServiceFabricApplicationList DeserializeServiceFabricApplication List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ServiceFabricApplicationData.DeserializeServiceFabricApplicationData(item)); + array.Add(ServiceFabricApplicationData.DeserializeServiceFabricApplicationData(item, options)); } value = array; continue; diff --git a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ServiceFabricApplicationPatch.Serialization.cs b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ServiceFabricApplicationPatch.Serialization.cs index 32d03e61045c5..7dba170d0f295 100644 --- a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ServiceFabricApplicationPatch.Serialization.cs +++ b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ServiceFabricApplicationPatch.Serialization.cs @@ -268,7 +268,7 @@ internal static ServiceFabricApplicationPatch DeserializeServiceFabricApplicatio { continue; } - upgradePolicy = ApplicationUpgradePolicy.DeserializeApplicationUpgradePolicy(property0.Value); + upgradePolicy = ApplicationUpgradePolicy.DeserializeApplicationUpgradePolicy(property0.Value, options); continue; } if (property0.NameEquals("minimumNodes"u8)) @@ -307,7 +307,7 @@ internal static ServiceFabricApplicationPatch DeserializeServiceFabricApplicatio List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ApplicationMetricDescription.DeserializeApplicationMetricDescription(item)); + array.Add(ApplicationMetricDescription.DeserializeApplicationMetricDescription(item, options)); } metrics = array; continue; @@ -321,7 +321,7 @@ internal static ServiceFabricApplicationPatch DeserializeServiceFabricApplicatio List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ApplicationUserAssignedIdentity.DeserializeApplicationUserAssignedIdentity(item)); + array.Add(ApplicationUserAssignedIdentity.DeserializeApplicationUserAssignedIdentity(item, options)); } managedIdentities = array; continue; diff --git a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ServiceFabricApplicationTypeList.Serialization.cs b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ServiceFabricApplicationTypeList.Serialization.cs index 979e45935e651..29eb59f80e1a1 100644 --- a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ServiceFabricApplicationTypeList.Serialization.cs +++ b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ServiceFabricApplicationTypeList.Serialization.cs @@ -95,7 +95,7 @@ internal static ServiceFabricApplicationTypeList DeserializeServiceFabricApplica List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ServiceFabricApplicationTypeData.DeserializeServiceFabricApplicationTypeData(item)); + array.Add(ServiceFabricApplicationTypeData.DeserializeServiceFabricApplicationTypeData(item, options)); } value = array; continue; diff --git a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ServiceFabricApplicationTypeVersionList.Serialization.cs b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ServiceFabricApplicationTypeVersionList.Serialization.cs index 31442ecac518d..40a939f4c8297 100644 --- a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ServiceFabricApplicationTypeVersionList.Serialization.cs +++ b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ServiceFabricApplicationTypeVersionList.Serialization.cs @@ -95,7 +95,7 @@ internal static ServiceFabricApplicationTypeVersionList DeserializeServiceFabric List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ServiceFabricApplicationTypeVersionData.DeserializeServiceFabricApplicationTypeVersionData(item)); + array.Add(ServiceFabricApplicationTypeVersionData.DeserializeServiceFabricApplicationTypeVersionData(item, options)); } value = array; continue; diff --git a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ServiceFabricClusterListResult.Serialization.cs b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ServiceFabricClusterListResult.Serialization.cs index 9f959c89716e0..4f5a3f6d0d3b8 100644 --- a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ServiceFabricClusterListResult.Serialization.cs +++ b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ServiceFabricClusterListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ServiceFabricClusterListResult DeserializeServiceFabricClusterLi List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ServiceFabricClusterData.DeserializeServiceFabricClusterData(item)); + array.Add(ServiceFabricClusterData.DeserializeServiceFabricClusterData(item, options)); } value = array; continue; diff --git a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ServiceFabricClusterPatch.Serialization.cs b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ServiceFabricClusterPatch.Serialization.cs index 58b3120879895..9609c4f961dad 100644 --- a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ServiceFabricClusterPatch.Serialization.cs +++ b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ServiceFabricClusterPatch.Serialization.cs @@ -294,7 +294,7 @@ internal static ServiceFabricClusterPatch DeserializeServiceFabricClusterPatch(J { continue; } - certificate = ClusterCertificateDescription.DeserializeClusterCertificateDescription(property0.Value); + certificate = ClusterCertificateDescription.DeserializeClusterCertificateDescription(property0.Value, options); continue; } if (property0.NameEquals("certificateCommonNames"u8)) @@ -303,7 +303,7 @@ internal static ServiceFabricClusterPatch DeserializeServiceFabricClusterPatch(J { continue; } - certificateCommonNames = ClusterServerCertificateCommonNames.DeserializeClusterServerCertificateCommonNames(property0.Value); + certificateCommonNames = ClusterServerCertificateCommonNames.DeserializeClusterServerCertificateCommonNames(property0.Value, options); continue; } if (property0.NameEquals("clientCertificateCommonNames"u8)) @@ -315,7 +315,7 @@ internal static ServiceFabricClusterPatch DeserializeServiceFabricClusterPatch(J List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ClusterClientCertificateCommonName.DeserializeClusterClientCertificateCommonName(item)); + array.Add(ClusterClientCertificateCommonName.DeserializeClusterClientCertificateCommonName(item, options)); } clientCertificateCommonNames = array; continue; @@ -329,7 +329,7 @@ internal static ServiceFabricClusterPatch DeserializeServiceFabricClusterPatch(J List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ClusterClientCertificateThumbprint.DeserializeClusterClientCertificateThumbprint(item)); + array.Add(ClusterClientCertificateThumbprint.DeserializeClusterClientCertificateThumbprint(item, options)); } clientCertificateThumbprints = array; continue; @@ -357,7 +357,7 @@ internal static ServiceFabricClusterPatch DeserializeServiceFabricClusterPatch(J List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(SettingsSectionDescription.DeserializeSettingsSectionDescription(item)); + array.Add(SettingsSectionDescription.DeserializeSettingsSectionDescription(item, options)); } fabricSettings = array; continue; @@ -371,7 +371,7 @@ internal static ServiceFabricClusterPatch DeserializeServiceFabricClusterPatch(J List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ClusterNodeTypeDescription.DeserializeClusterNodeTypeDescription(item)); + array.Add(ClusterNodeTypeDescription.DeserializeClusterNodeTypeDescription(item, options)); } nodeTypes = array; continue; @@ -391,7 +391,7 @@ internal static ServiceFabricClusterPatch DeserializeServiceFabricClusterPatch(J { continue; } - reverseProxyCertificate = ClusterCertificateDescription.DeserializeClusterCertificateDescription(property0.Value); + reverseProxyCertificate = ClusterCertificateDescription.DeserializeClusterCertificateDescription(property0.Value, options); continue; } if (property0.NameEquals("upgradeDescription"u8)) @@ -400,7 +400,7 @@ internal static ServiceFabricClusterPatch DeserializeServiceFabricClusterPatch(J { continue; } - upgradeDescription = ClusterUpgradePolicy.DeserializeClusterUpgradePolicy(property0.Value); + upgradeDescription = ClusterUpgradePolicy.DeserializeClusterUpgradePolicy(property0.Value, options); continue; } if (property0.NameEquals("applicationTypeVersionsCleanupPolicy"u8)) @@ -409,7 +409,7 @@ internal static ServiceFabricClusterPatch DeserializeServiceFabricClusterPatch(J { continue; } - applicationTypeVersionsCleanupPolicy = ApplicationTypeVersionsCleanupPolicy.DeserializeApplicationTypeVersionsCleanupPolicy(property0.Value); + applicationTypeVersionsCleanupPolicy = ApplicationTypeVersionsCleanupPolicy.DeserializeApplicationTypeVersionsCleanupPolicy(property0.Value, options); continue; } if (property0.NameEquals("upgradeMode"u8)) @@ -493,7 +493,7 @@ internal static ServiceFabricClusterPatch DeserializeServiceFabricClusterPatch(J List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ClusterNotification.DeserializeClusterNotification(item)); + array.Add(ClusterNotification.DeserializeClusterNotification(item, options)); } notifications = array; continue; diff --git a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ServiceFabricServicePatch.Serialization.cs b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ServiceFabricServicePatch.Serialization.cs index 1613c7b9d0027..6bfde66e91eda 100644 --- a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ServiceFabricServicePatch.Serialization.cs +++ b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ServiceFabricServicePatch.Serialization.cs @@ -244,7 +244,7 @@ internal static ServiceFabricServicePatch DeserializeServiceFabricServicePatch(J List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ServiceCorrelationDescription.DeserializeServiceCorrelationDescription(item)); + array.Add(ServiceCorrelationDescription.DeserializeServiceCorrelationDescription(item, options)); } correlationScheme = array; continue; @@ -258,7 +258,7 @@ internal static ServiceFabricServicePatch DeserializeServiceFabricServicePatch(J List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ServiceLoadMetricDescription.DeserializeServiceLoadMetricDescription(item)); + array.Add(ServiceLoadMetricDescription.DeserializeServiceLoadMetricDescription(item, options)); } serviceLoadMetrics = array; continue; @@ -272,7 +272,7 @@ internal static ServiceFabricServicePatch DeserializeServiceFabricServicePatch(J List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ServicePlacementPolicyDescription.DeserializeServicePlacementPolicyDescription(item)); + array.Add(ServicePlacementPolicyDescription.DeserializeServicePlacementPolicyDescription(item, options)); } servicePlacementPolicies = array; continue; diff --git a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ServicePlacementPolicyDescription.Serialization.cs b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ServicePlacementPolicyDescription.Serialization.cs index f5961333dc006..94097b4d005bb 100644 --- a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ServicePlacementPolicyDescription.Serialization.cs +++ b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ServicePlacementPolicyDescription.Serialization.cs @@ -66,7 +66,7 @@ internal static ServicePlacementPolicyDescription DeserializeServicePlacementPol { return null; } - return UnknownServicePlacementPolicyDescription.DeserializeUnknownServicePlacementPolicyDescription(element); + return UnknownServicePlacementPolicyDescription.DeserializeUnknownServicePlacementPolicyDescription(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ServiceResourceList.Serialization.cs b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ServiceResourceList.Serialization.cs index f7c414ac17741..16ab11d6a8bd0 100644 --- a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ServiceResourceList.Serialization.cs +++ b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/ServiceResourceList.Serialization.cs @@ -95,7 +95,7 @@ internal static ServiceResourceList DeserializeServiceResourceList(JsonElement e List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ServiceFabricServiceData.DeserializeServiceFabricServiceData(item)); + array.Add(ServiceFabricServiceData.DeserializeServiceFabricServiceData(item, options)); } value = array; continue; diff --git a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/SettingsSectionDescription.Serialization.cs b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/SettingsSectionDescription.Serialization.cs index 625996b420aae..f7dcb67b6de9f 100644 --- a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/SettingsSectionDescription.Serialization.cs +++ b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/SettingsSectionDescription.Serialization.cs @@ -89,7 +89,7 @@ internal static SettingsSectionDescription DeserializeSettingsSectionDescription List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SettingsParameterDescription.DeserializeSettingsParameterDescription(item)); + array.Add(SettingsParameterDescription.DeserializeSettingsParameterDescription(item, options)); } parameters = array; continue; diff --git a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/VmSizesResult.Serialization.cs b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/VmSizesResult.Serialization.cs index 170688dabcc36..ed9a6a2a1dee2 100644 --- a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/VmSizesResult.Serialization.cs +++ b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/Models/VmSizesResult.Serialization.cs @@ -95,7 +95,7 @@ internal static VmSizesResult DeserializeVmSizesResult(JsonElement element, Mode List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ServiceFabricVmSizeResourceData.DeserializeServiceFabricVmSizeResourceData(item)); + array.Add(ServiceFabricVmSizeResourceData.DeserializeServiceFabricVmSizeResourceData(item, options)); } value = array; continue; diff --git a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/ServiceFabricApplicationData.Serialization.cs b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/ServiceFabricApplicationData.Serialization.cs index 5050ce74e5de1..6b8d2bf3e5be0 100644 --- a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/ServiceFabricApplicationData.Serialization.cs +++ b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/ServiceFabricApplicationData.Serialization.cs @@ -296,7 +296,7 @@ internal static ServiceFabricApplicationData DeserializeServiceFabricApplication { continue; } - upgradePolicy = ApplicationUpgradePolicy.DeserializeApplicationUpgradePolicy(property0.Value); + upgradePolicy = ApplicationUpgradePolicy.DeserializeApplicationUpgradePolicy(property0.Value, options); continue; } if (property0.NameEquals("minimumNodes"u8)) @@ -335,7 +335,7 @@ internal static ServiceFabricApplicationData DeserializeServiceFabricApplication List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ApplicationMetricDescription.DeserializeApplicationMetricDescription(item)); + array.Add(ApplicationMetricDescription.DeserializeApplicationMetricDescription(item, options)); } metrics = array; continue; @@ -349,7 +349,7 @@ internal static ServiceFabricApplicationData DeserializeServiceFabricApplication List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ApplicationUserAssignedIdentity.DeserializeApplicationUserAssignedIdentity(item)); + array.Add(ApplicationUserAssignedIdentity.DeserializeApplicationUserAssignedIdentity(item, options)); } managedIdentities = array; continue; diff --git a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/ServiceFabricClusterData.Serialization.cs b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/ServiceFabricClusterData.Serialization.cs index 156b74e73c9de..808b0c2e1721f 100644 --- a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/ServiceFabricClusterData.Serialization.cs +++ b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/ServiceFabricClusterData.Serialization.cs @@ -436,7 +436,7 @@ internal static ServiceFabricClusterData DeserializeServiceFabricClusterData(Jso List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ClusterVersionDetails.DeserializeClusterVersionDetails(item)); + array.Add(ClusterVersionDetails.DeserializeClusterVersionDetails(item, options)); } availableClusterVersions = array; continue; @@ -447,7 +447,7 @@ internal static ServiceFabricClusterData DeserializeServiceFabricClusterData(Jso { continue; } - azureActiveDirectory = ClusterAadSetting.DeserializeClusterAadSetting(property0.Value); + azureActiveDirectory = ClusterAadSetting.DeserializeClusterAadSetting(property0.Value, options); continue; } if (property0.NameEquals("certificate"u8)) @@ -456,7 +456,7 @@ internal static ServiceFabricClusterData DeserializeServiceFabricClusterData(Jso { continue; } - certificate = ClusterCertificateDescription.DeserializeClusterCertificateDescription(property0.Value); + certificate = ClusterCertificateDescription.DeserializeClusterCertificateDescription(property0.Value, options); continue; } if (property0.NameEquals("certificateCommonNames"u8)) @@ -465,7 +465,7 @@ internal static ServiceFabricClusterData DeserializeServiceFabricClusterData(Jso { continue; } - certificateCommonNames = ClusterServerCertificateCommonNames.DeserializeClusterServerCertificateCommonNames(property0.Value); + certificateCommonNames = ClusterServerCertificateCommonNames.DeserializeClusterServerCertificateCommonNames(property0.Value, options); continue; } if (property0.NameEquals("clientCertificateCommonNames"u8)) @@ -477,7 +477,7 @@ internal static ServiceFabricClusterData DeserializeServiceFabricClusterData(Jso List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ClusterClientCertificateCommonName.DeserializeClusterClientCertificateCommonName(item)); + array.Add(ClusterClientCertificateCommonName.DeserializeClusterClientCertificateCommonName(item, options)); } clientCertificateCommonNames = array; continue; @@ -491,7 +491,7 @@ internal static ServiceFabricClusterData DeserializeServiceFabricClusterData(Jso List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ClusterClientCertificateThumbprint.DeserializeClusterClientCertificateThumbprint(item)); + array.Add(ClusterClientCertificateThumbprint.DeserializeClusterClientCertificateThumbprint(item, options)); } clientCertificateThumbprints = array; continue; @@ -534,7 +534,7 @@ internal static ServiceFabricClusterData DeserializeServiceFabricClusterData(Jso { continue; } - diagnosticsStorageAccountConfig = DiagnosticsStorageAccountConfig.DeserializeDiagnosticsStorageAccountConfig(property0.Value); + diagnosticsStorageAccountConfig = DiagnosticsStorageAccountConfig.DeserializeDiagnosticsStorageAccountConfig(property0.Value, options); continue; } if (property0.NameEquals("eventStoreServiceEnabled"u8)) @@ -555,7 +555,7 @@ internal static ServiceFabricClusterData DeserializeServiceFabricClusterData(Jso List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(SettingsSectionDescription.DeserializeSettingsSectionDescription(item)); + array.Add(SettingsSectionDescription.DeserializeSettingsSectionDescription(item, options)); } fabricSettings = array; continue; @@ -578,7 +578,7 @@ internal static ServiceFabricClusterData DeserializeServiceFabricClusterData(Jso List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ClusterNodeTypeDescription.DeserializeClusterNodeTypeDescription(item)); + array.Add(ClusterNodeTypeDescription.DeserializeClusterNodeTypeDescription(item, options)); } nodeTypes = array; continue; @@ -607,7 +607,7 @@ internal static ServiceFabricClusterData DeserializeServiceFabricClusterData(Jso { continue; } - reverseProxyCertificate = ClusterCertificateDescription.DeserializeClusterCertificateDescription(property0.Value); + reverseProxyCertificate = ClusterCertificateDescription.DeserializeClusterCertificateDescription(property0.Value, options); continue; } if (property0.NameEquals("reverseProxyCertificateCommonNames"u8)) @@ -616,7 +616,7 @@ internal static ServiceFabricClusterData DeserializeServiceFabricClusterData(Jso { continue; } - reverseProxyCertificateCommonNames = ClusterServerCertificateCommonNames.DeserializeClusterServerCertificateCommonNames(property0.Value); + reverseProxyCertificateCommonNames = ClusterServerCertificateCommonNames.DeserializeClusterServerCertificateCommonNames(property0.Value, options); continue; } if (property0.NameEquals("upgradeDescription"u8)) @@ -625,7 +625,7 @@ internal static ServiceFabricClusterData DeserializeServiceFabricClusterData(Jso { continue; } - upgradeDescription = ClusterUpgradePolicy.DeserializeClusterUpgradePolicy(property0.Value); + upgradeDescription = ClusterUpgradePolicy.DeserializeClusterUpgradePolicy(property0.Value, options); continue; } if (property0.NameEquals("upgradeMode"u8)) @@ -643,7 +643,7 @@ internal static ServiceFabricClusterData DeserializeServiceFabricClusterData(Jso { continue; } - applicationTypeVersionsCleanupPolicy = ApplicationTypeVersionsCleanupPolicy.DeserializeApplicationTypeVersionsCleanupPolicy(property0.Value); + applicationTypeVersionsCleanupPolicy = ApplicationTypeVersionsCleanupPolicy.DeserializeApplicationTypeVersionsCleanupPolicy(property0.Value, options); continue; } if (property0.NameEquals("vmImage"u8)) @@ -723,7 +723,7 @@ internal static ServiceFabricClusterData DeserializeServiceFabricClusterData(Jso List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ClusterNotification.DeserializeClusterNotification(item)); + array.Add(ClusterNotification.DeserializeClusterNotification(item, options)); } notifications = array; continue; diff --git a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/ServiceFabricServiceData.Serialization.cs b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/ServiceFabricServiceData.Serialization.cs index b321a694b47d0..2250f34afdad0 100644 --- a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/ServiceFabricServiceData.Serialization.cs +++ b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/ServiceFabricServiceData.Serialization.cs @@ -275,7 +275,7 @@ internal static ServiceFabricServiceData DeserializeServiceFabricServiceData(Jso List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ServiceCorrelationDescription.DeserializeServiceCorrelationDescription(item)); + array.Add(ServiceCorrelationDescription.DeserializeServiceCorrelationDescription(item, options)); } correlationScheme = array; continue; @@ -289,7 +289,7 @@ internal static ServiceFabricServiceData DeserializeServiceFabricServiceData(Jso List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ServiceLoadMetricDescription.DeserializeServiceLoadMetricDescription(item)); + array.Add(ServiceLoadMetricDescription.DeserializeServiceLoadMetricDescription(item, options)); } serviceLoadMetrics = array; continue; @@ -303,7 +303,7 @@ internal static ServiceFabricServiceData DeserializeServiceFabricServiceData(Jso List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ServicePlacementPolicyDescription.DeserializeServicePlacementPolicyDescription(item)); + array.Add(ServicePlacementPolicyDescription.DeserializeServicePlacementPolicyDescription(item, options)); } servicePlacementPolicies = array; continue; @@ -342,7 +342,7 @@ internal static ServiceFabricServiceData DeserializeServiceFabricServiceData(Jso { continue; } - partitionDescription = PartitionSchemeDescription.DeserializePartitionSchemeDescription(property0.Value); + partitionDescription = PartitionSchemeDescription.DeserializePartitionSchemeDescription(property0.Value, options); continue; } if (property0.NameEquals("servicePackageActivationMode"u8)) diff --git a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/ServiceFabricVmSizeResourceData.Serialization.cs b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/ServiceFabricVmSizeResourceData.Serialization.cs index 02f3047033722..e15ec98c7cf26 100644 --- a/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/ServiceFabricVmSizeResourceData.Serialization.cs +++ b/sdk/servicefabric/Azure.ResourceManager.ServiceFabric/src/Generated/ServiceFabricVmSizeResourceData.Serialization.cs @@ -106,7 +106,7 @@ internal static ServiceFabricVmSizeResourceData DeserializeServiceFabricVmSizeRe { continue; } - properties = Models.VmSize.DeserializeVmSize(property.Value); + properties = Models.VmSize.DeserializeVmSize(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/AdditionalNetworkInterfaceConfiguration.Serialization.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/AdditionalNetworkInterfaceConfiguration.Serialization.cs index 09ece21e6f8be..44559b2d0c5b0 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/AdditionalNetworkInterfaceConfiguration.Serialization.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/AdditionalNetworkInterfaceConfiguration.Serialization.cs @@ -120,7 +120,7 @@ internal static AdditionalNetworkInterfaceConfiguration DeserializeAdditionalNet List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ServiceFabricManagedClusterIPConfiguration.DeserializeServiceFabricManagedClusterIPConfiguration(item)); + array.Add(ServiceFabricManagedClusterIPConfiguration.DeserializeServiceFabricManagedClusterIPConfiguration(item, options)); } ipConfigurations = array; continue; diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ApplicationHealthPolicy.Serialization.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ApplicationHealthPolicy.Serialization.cs index 74f27fa93e31b..f7234b1eceb47 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ApplicationHealthPolicy.Serialization.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ApplicationHealthPolicy.Serialization.cs @@ -108,7 +108,7 @@ internal static ApplicationHealthPolicy DeserializeApplicationHealthPolicy(JsonE { continue; } - defaultServiceTypeHealthPolicy = ServiceTypeHealthPolicy.DeserializeServiceTypeHealthPolicy(property.Value); + defaultServiceTypeHealthPolicy = ServiceTypeHealthPolicy.DeserializeServiceTypeHealthPolicy(property.Value, options); continue; } if (property.NameEquals("serviceTypeHealthPolicyMap"u8)) @@ -120,7 +120,7 @@ internal static ApplicationHealthPolicy DeserializeApplicationHealthPolicy(JsonE Dictionary dictionary = new Dictionary(); foreach (var property0 in property.Value.EnumerateObject()) { - dictionary.Add(property0.Name, ServiceTypeHealthPolicy.DeserializeServiceTypeHealthPolicy(property0.Value)); + dictionary.Add(property0.Name, ServiceTypeHealthPolicy.DeserializeServiceTypeHealthPolicy(property0.Value, options)); } serviceTypeHealthPolicyMap = dictionary; continue; diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ApplicationResourceList.Serialization.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ApplicationResourceList.Serialization.cs index 842c9f2fa618b..6582fc799c8d3 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ApplicationResourceList.Serialization.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ApplicationResourceList.Serialization.cs @@ -95,7 +95,7 @@ internal static ApplicationResourceList DeserializeApplicationResourceList(JsonE List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ServiceFabricManagedApplicationData.DeserializeServiceFabricManagedApplicationData(item)); + array.Add(ServiceFabricManagedApplicationData.DeserializeServiceFabricManagedApplicationData(item, options)); } value = array; continue; diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ApplicationTypeResourceList.Serialization.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ApplicationTypeResourceList.Serialization.cs index 078faf5fecb75..5990ebcb59284 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ApplicationTypeResourceList.Serialization.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ApplicationTypeResourceList.Serialization.cs @@ -95,7 +95,7 @@ internal static ApplicationTypeResourceList DeserializeApplicationTypeResourceLi List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ServiceFabricManagedApplicationTypeData.DeserializeServiceFabricManagedApplicationTypeData(item)); + array.Add(ServiceFabricManagedApplicationTypeData.DeserializeServiceFabricManagedApplicationTypeData(item, options)); } value = array; continue; diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ApplicationTypeVersionResourceList.Serialization.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ApplicationTypeVersionResourceList.Serialization.cs index 59fbf3b795965..610638e663dbe 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ApplicationTypeVersionResourceList.Serialization.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ApplicationTypeVersionResourceList.Serialization.cs @@ -95,7 +95,7 @@ internal static ApplicationTypeVersionResourceList DeserializeApplicationTypeVer List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ServiceFabricManagedApplicationTypeVersionData.DeserializeServiceFabricManagedApplicationTypeVersionData(item)); + array.Add(ServiceFabricManagedApplicationTypeVersionData.DeserializeServiceFabricManagedApplicationTypeVersionData(item, options)); } value = array; continue; diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ApplicationUpgradePolicy.Serialization.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ApplicationUpgradePolicy.Serialization.cs index 4a76391c22949..3d59da74510e0 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ApplicationUpgradePolicy.Serialization.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ApplicationUpgradePolicy.Serialization.cs @@ -116,7 +116,7 @@ internal static ApplicationUpgradePolicy DeserializeApplicationUpgradePolicy(Jso { continue; } - applicationHealthPolicy = ApplicationHealthPolicy.DeserializeApplicationHealthPolicy(property.Value); + applicationHealthPolicy = ApplicationHealthPolicy.DeserializeApplicationHealthPolicy(property.Value, options); continue; } if (property.NameEquals("forceRestart"u8)) @@ -134,7 +134,7 @@ internal static ApplicationUpgradePolicy DeserializeApplicationUpgradePolicy(Jso { continue; } - rollingUpgradeMonitoringPolicy = RollingUpgradeMonitoringPolicy.DeserializeRollingUpgradeMonitoringPolicy(property.Value); + rollingUpgradeMonitoringPolicy = RollingUpgradeMonitoringPolicy.DeserializeRollingUpgradeMonitoringPolicy(property.Value, options); continue; } if (property.NameEquals("instanceCloseDelayDuration"u8)) diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ClusterFabricSettingsSection.Serialization.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ClusterFabricSettingsSection.Serialization.cs index 698594f327e87..a27ef48377f08 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ClusterFabricSettingsSection.Serialization.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ClusterFabricSettingsSection.Serialization.cs @@ -89,7 +89,7 @@ internal static ClusterFabricSettingsSection DeserializeClusterFabricSettingsSec List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ClusterFabricSettingsParameterDescription.DeserializeClusterFabricSettingsParameterDescription(item)); + array.Add(ClusterFabricSettingsParameterDescription.DeserializeClusterFabricSettingsParameterDescription(item, options)); } parameters = array; continue; diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedAzResiliencyStatus.Serialization.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedAzResiliencyStatus.Serialization.cs index ff87415f3ee91..9ea492de4620a 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedAzResiliencyStatus.Serialization.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedAzResiliencyStatus.Serialization.cs @@ -94,7 +94,7 @@ internal static ManagedAzResiliencyStatus DeserializeManagedAzResiliencyStatus(J List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ResourceAzStatus.DeserializeResourceAzStatus(item)); + array.Add(ResourceAzStatus.DeserializeResourceAzStatus(item, options)); } baseResourceStatus = array; continue; diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedClusterListResult.Serialization.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedClusterListResult.Serialization.cs index 01bff428d4e28..573944dc6d0d9 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedClusterListResult.Serialization.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedClusterListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ManagedClusterListResult DeserializeManagedClusterListResult(Jso List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ServiceFabricManagedClusterData.DeserializeServiceFabricManagedClusterData(item)); + array.Add(ServiceFabricManagedClusterData.DeserializeServiceFabricManagedClusterData(item, options)); } value = array; continue; diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedClusterUpgradePolicy.Serialization.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedClusterUpgradePolicy.Serialization.cs index 2b99dd5e80690..1506ba70fc742 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedClusterUpgradePolicy.Serialization.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedClusterUpgradePolicy.Serialization.cs @@ -113,7 +113,7 @@ internal static ManagedClusterUpgradePolicy DeserializeManagedClusterUpgradePoli { continue; } - healthPolicy = ManagedClusterHealthPolicy.DeserializeManagedClusterHealthPolicy(property.Value); + healthPolicy = ManagedClusterHealthPolicy.DeserializeManagedClusterHealthPolicy(property.Value, options); continue; } if (property.NameEquals("deltaHealthPolicy"u8)) @@ -122,7 +122,7 @@ internal static ManagedClusterUpgradePolicy DeserializeManagedClusterUpgradePoli { continue; } - deltaHealthPolicy = ManagedClusterUpgradeDeltaHealthPolicy.DeserializeManagedClusterUpgradeDeltaHealthPolicy(property.Value); + deltaHealthPolicy = ManagedClusterUpgradeDeltaHealthPolicy.DeserializeManagedClusterUpgradeDeltaHealthPolicy(property.Value, options); continue; } if (property.NameEquals("monitoringPolicy"u8)) @@ -131,7 +131,7 @@ internal static ManagedClusterUpgradePolicy DeserializeManagedClusterUpgradePoli { continue; } - monitoringPolicy = ManagedClusterMonitoringPolicy.DeserializeManagedClusterMonitoringPolicy(property.Value); + monitoringPolicy = ManagedClusterMonitoringPolicy.DeserializeManagedClusterMonitoringPolicy(property.Value, options); continue; } if (property.NameEquals("upgradeReplicaSetCheckTimeout"u8)) diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedServiceBaseProperties.Serialization.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedServiceBaseProperties.Serialization.cs index 6f1701828a18f..ad2f17ed404a9 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedServiceBaseProperties.Serialization.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedServiceBaseProperties.Serialization.cs @@ -138,7 +138,7 @@ internal static ManagedServiceBaseProperties DeserializeManagedServiceBaseProper List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedServiceCorrelation.DeserializeManagedServiceCorrelation(item)); + array.Add(ManagedServiceCorrelation.DeserializeManagedServiceCorrelation(item, options)); } correlationScheme = array; continue; @@ -152,7 +152,7 @@ internal static ManagedServiceBaseProperties DeserializeManagedServiceBaseProper List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedServiceLoadMetric.DeserializeManagedServiceLoadMetric(item)); + array.Add(ManagedServiceLoadMetric.DeserializeManagedServiceLoadMetric(item, options)); } serviceLoadMetrics = array; continue; @@ -166,7 +166,7 @@ internal static ManagedServiceBaseProperties DeserializeManagedServiceBaseProper List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedServicePlacementPolicy.DeserializeManagedServicePlacementPolicy(item)); + array.Add(ManagedServicePlacementPolicy.DeserializeManagedServicePlacementPolicy(item, options)); } servicePlacementPolicies = array; continue; @@ -189,7 +189,7 @@ internal static ManagedServiceBaseProperties DeserializeManagedServiceBaseProper List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedServiceScalingPolicy.DeserializeManagedServiceScalingPolicy(item)); + array.Add(ManagedServiceScalingPolicy.DeserializeManagedServiceScalingPolicy(item, options)); } scalingPolicies = array; continue; diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedServicePartitionScheme.Serialization.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedServicePartitionScheme.Serialization.cs index 55d3644f645ee..ee1058c95a17f 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedServicePartitionScheme.Serialization.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedServicePartitionScheme.Serialization.cs @@ -70,12 +70,12 @@ internal static ManagedServicePartitionScheme DeserializeManagedServicePartition { switch (discriminator.GetString()) { - case "Named": return NamedPartitionScheme.DeserializeNamedPartitionScheme(element); - case "Singleton": return SingletonPartitionScheme.DeserializeSingletonPartitionScheme(element); - case "UniformInt64Range": return UniformInt64RangePartitionScheme.DeserializeUniformInt64RangePartitionScheme(element); + case "Named": return NamedPartitionScheme.DeserializeNamedPartitionScheme(element, options); + case "Singleton": return SingletonPartitionScheme.DeserializeSingletonPartitionScheme(element, options); + case "UniformInt64Range": return UniformInt64RangePartitionScheme.DeserializeUniformInt64RangePartitionScheme(element, options); } } - return UnknownPartition.DeserializeUnknownPartition(element); + return UnknownPartition.DeserializeUnknownPartition(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedServicePlacementPolicy.Serialization.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedServicePlacementPolicy.Serialization.cs index a0f92c84a2dfe..a60da96e92602 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedServicePlacementPolicy.Serialization.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedServicePlacementPolicy.Serialization.cs @@ -70,14 +70,14 @@ internal static ManagedServicePlacementPolicy DeserializeManagedServicePlacement { switch (discriminator.GetString()) { - case "InvalidDomain": return ServicePlacementInvalidDomainPolicy.DeserializeServicePlacementInvalidDomainPolicy(element); - case "NonPartiallyPlaceService": return ServicePlacementNonPartiallyPlaceServicePolicy.DeserializeServicePlacementNonPartiallyPlaceServicePolicy(element); - case "PreferredPrimaryDomain": return ServicePlacementPreferPrimaryDomainPolicy.DeserializeServicePlacementPreferPrimaryDomainPolicy(element); - case "RequiredDomain": return ServicePlacementRequiredDomainPolicy.DeserializeServicePlacementRequiredDomainPolicy(element); - case "RequiredDomainDistribution": return ServicePlacementRequireDomainDistributionPolicy.DeserializeServicePlacementRequireDomainDistributionPolicy(element); + case "InvalidDomain": return ServicePlacementInvalidDomainPolicy.DeserializeServicePlacementInvalidDomainPolicy(element, options); + case "NonPartiallyPlaceService": return ServicePlacementNonPartiallyPlaceServicePolicy.DeserializeServicePlacementNonPartiallyPlaceServicePolicy(element, options); + case "PreferredPrimaryDomain": return ServicePlacementPreferPrimaryDomainPolicy.DeserializeServicePlacementPreferPrimaryDomainPolicy(element, options); + case "RequiredDomain": return ServicePlacementRequiredDomainPolicy.DeserializeServicePlacementRequiredDomainPolicy(element, options); + case "RequiredDomainDistribution": return ServicePlacementRequireDomainDistributionPolicy.DeserializeServicePlacementRequireDomainDistributionPolicy(element, options); } } - return UnknownServicePlacementPolicy.DeserializeUnknownServicePlacementPolicy(element); + return UnknownServicePlacementPolicy.DeserializeUnknownServicePlacementPolicy(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedServiceProperties.Serialization.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedServiceProperties.Serialization.cs index 92760c038ac1e..929bd01cd03e9 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedServiceProperties.Serialization.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedServiceProperties.Serialization.cs @@ -138,11 +138,11 @@ internal static ManagedServiceProperties DeserializeManagedServiceProperties(Jso { switch (discriminator.GetString()) { - case "Stateful": return StatefulServiceProperties.DeserializeStatefulServiceProperties(element); - case "Stateless": return StatelessServiceProperties.DeserializeStatelessServiceProperties(element); + case "Stateful": return StatefulServiceProperties.DeserializeStatefulServiceProperties(element, options); + case "Stateless": return StatelessServiceProperties.DeserializeStatelessServiceProperties(element, options); } } - return UnknownServiceResourceProperties.DeserializeUnknownServiceResourceProperties(element); + return UnknownServiceResourceProperties.DeserializeUnknownServiceResourceProperties(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedServiceScalingMechanism.Serialization.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedServiceScalingMechanism.Serialization.cs index 70d20504fe5d5..0cafb9aaa41f4 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedServiceScalingMechanism.Serialization.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedServiceScalingMechanism.Serialization.cs @@ -70,11 +70,11 @@ internal static ManagedServiceScalingMechanism DeserializeManagedServiceScalingM { switch (discriminator.GetString()) { - case "AddRemoveIncrementalNamedPartition": return NamedPartitionAddOrRemoveScalingMechanism.DeserializeNamedPartitionAddOrRemoveScalingMechanism(element); - case "ScalePartitionInstanceCount": return PartitionInstanceCountScalingMechanism.DeserializePartitionInstanceCountScalingMechanism(element); + case "AddRemoveIncrementalNamedPartition": return NamedPartitionAddOrRemoveScalingMechanism.DeserializeNamedPartitionAddOrRemoveScalingMechanism(element, options); + case "ScalePartitionInstanceCount": return PartitionInstanceCountScalingMechanism.DeserializePartitionInstanceCountScalingMechanism(element, options); } } - return UnknownScalingMechanism.DeserializeUnknownScalingMechanism(element); + return UnknownScalingMechanism.DeserializeUnknownScalingMechanism(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedServiceScalingPolicy.Serialization.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedServiceScalingPolicy.Serialization.cs index eb34fc3c09d6c..641973ac3a115 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedServiceScalingPolicy.Serialization.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedServiceScalingPolicy.Serialization.cs @@ -76,12 +76,12 @@ internal static ManagedServiceScalingPolicy DeserializeManagedServiceScalingPoli { if (property.NameEquals("scalingMechanism"u8)) { - scalingMechanism = ManagedServiceScalingMechanism.DeserializeManagedServiceScalingMechanism(property.Value); + scalingMechanism = ManagedServiceScalingMechanism.DeserializeManagedServiceScalingMechanism(property.Value, options); continue; } if (property.NameEquals("scalingTrigger"u8)) { - scalingTrigger = ManagedServiceScalingTrigger.DeserializeManagedServiceScalingTrigger(property.Value); + scalingTrigger = ManagedServiceScalingTrigger.DeserializeManagedServiceScalingTrigger(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedServiceScalingTrigger.Serialization.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedServiceScalingTrigger.Serialization.cs index 40e70d2c8feb1..7b16129393034 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedServiceScalingTrigger.Serialization.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedServiceScalingTrigger.Serialization.cs @@ -70,11 +70,11 @@ internal static ManagedServiceScalingTrigger DeserializeManagedServiceScalingTri { switch (discriminator.GetString()) { - case "AveragePartitionLoadTrigger": return AveragePartitionLoadScalingTrigger.DeserializeAveragePartitionLoadScalingTrigger(element); - case "AverageServiceLoadTrigger": return AverageServiceLoadScalingTrigger.DeserializeAverageServiceLoadScalingTrigger(element); + case "AveragePartitionLoadTrigger": return AveragePartitionLoadScalingTrigger.DeserializeAveragePartitionLoadScalingTrigger(element, options); + case "AverageServiceLoadTrigger": return AverageServiceLoadScalingTrigger.DeserializeAverageServiceLoadScalingTrigger(element, options); } } - return UnknownScalingTrigger.DeserializeUnknownScalingTrigger(element); + return UnknownScalingTrigger.DeserializeUnknownScalingTrigger(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedVmSizesResult.Serialization.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedVmSizesResult.Serialization.cs index 442c694beaeac..bbd0b7f511c16 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedVmSizesResult.Serialization.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ManagedVmSizesResult.Serialization.cs @@ -94,7 +94,7 @@ internal static ManagedVmSizesResult DeserializeManagedVmSizesResult(JsonElement List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ServiceFabricManagedUnsupportedVmSize.DeserializeServiceFabricManagedUnsupportedVmSize(item)); + array.Add(ServiceFabricManagedUnsupportedVmSize.DeserializeServiceFabricManagedUnsupportedVmSize(item, options)); } value = array; continue; diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/NodeTypeAvailableSku.Serialization.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/NodeTypeAvailableSku.Serialization.cs index 7120aa7bae461..562d3d48f4312 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/NodeTypeAvailableSku.Serialization.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/NodeTypeAvailableSku.Serialization.cs @@ -101,7 +101,7 @@ internal static NodeTypeAvailableSku DeserializeNodeTypeAvailableSku(JsonElement { continue; } - sku = NodeTypeSupportedSku.DeserializeNodeTypeSupportedSku(property.Value); + sku = NodeTypeSupportedSku.DeserializeNodeTypeSupportedSku(property.Value, options); continue; } if (property.NameEquals("capacity"u8)) @@ -110,7 +110,7 @@ internal static NodeTypeAvailableSku DeserializeNodeTypeAvailableSku(JsonElement { continue; } - capacity = NodeTypeSkuCapacity.DeserializeNodeTypeSkuCapacity(property.Value); + capacity = NodeTypeSkuCapacity.DeserializeNodeTypeSkuCapacity(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/NodeTypeListResult.Serialization.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/NodeTypeListResult.Serialization.cs index fded0fd03024d..0c235d6e70502 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/NodeTypeListResult.Serialization.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/NodeTypeListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static NodeTypeListResult DeserializeNodeTypeListResult(JsonElement ele List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ServiceFabricManagedNodeTypeData.DeserializeServiceFabricManagedNodeTypeData(item)); + array.Add(ServiceFabricManagedNodeTypeData.DeserializeServiceFabricManagedNodeTypeData(item, options)); } value = array; continue; diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/NodeTypeListSkuResult.Serialization.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/NodeTypeListSkuResult.Serialization.cs index 2a7ff7f88eaa4..575ae2ed79faa 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/NodeTypeListSkuResult.Serialization.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/NodeTypeListSkuResult.Serialization.cs @@ -94,7 +94,7 @@ internal static NodeTypeListSkuResult DeserializeNodeTypeListSkuResult(JsonEleme List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(NodeTypeAvailableSku.DeserializeNodeTypeAvailableSku(item)); + array.Add(NodeTypeAvailableSku.DeserializeNodeTypeAvailableSku(item, options)); } value = array; continue; diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/NodeTypeVaultSecretGroup.Serialization.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/NodeTypeVaultSecretGroup.Serialization.cs index 790df77fc45ee..0c9c2752a1268 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/NodeTypeVaultSecretGroup.Serialization.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/NodeTypeVaultSecretGroup.Serialization.cs @@ -90,7 +90,7 @@ internal static NodeTypeVaultSecretGroup DeserializeNodeTypeVaultSecretGroup(Jso List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(NodeTypeVaultCertificate.DeserializeNodeTypeVaultCertificate(item)); + array.Add(NodeTypeVaultCertificate.DeserializeNodeTypeVaultCertificate(item, options)); } vaultCertificates = array; continue; diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ServiceFabricManagedClusterIPConfiguration.Serialization.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ServiceFabricManagedClusterIPConfiguration.Serialization.cs index e75060683a4bb..9cfe19cfae098 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ServiceFabricManagedClusterIPConfiguration.Serialization.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ServiceFabricManagedClusterIPConfiguration.Serialization.cs @@ -194,7 +194,7 @@ internal static ServiceFabricManagedClusterIPConfiguration DeserializeServiceFab { continue; } - publicIPAddressConfiguration = ServiceFabricManagedClusterPublicIPAddressConfiguration.DeserializeServiceFabricManagedClusterPublicIPAddressConfiguration(property.Value); + publicIPAddressConfiguration = ServiceFabricManagedClusterPublicIPAddressConfiguration.DeserializeServiceFabricManagedClusterPublicIPAddressConfiguration(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ServiceFabricManagedClusterPublicIPAddressConfiguration.Serialization.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ServiceFabricManagedClusterPublicIPAddressConfiguration.Serialization.cs index b939e6ca6a36d..651a8b4fd29c9 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ServiceFabricManagedClusterPublicIPAddressConfiguration.Serialization.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ServiceFabricManagedClusterPublicIPAddressConfiguration.Serialization.cs @@ -102,7 +102,7 @@ internal static ServiceFabricManagedClusterPublicIPAddressConfiguration Deserial List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ServiceFabricManagedClusterIPTag.DeserializeServiceFabricManagedClusterIPTag(item)); + array.Add(ServiceFabricManagedClusterIPTag.DeserializeServiceFabricManagedClusterIPTag(item, options)); } ipTags = array; continue; diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ServiceFabricManagedNodeTypePatch.Serialization.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ServiceFabricManagedNodeTypePatch.Serialization.cs index fc8348be5aed6..f0fd526227095 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ServiceFabricManagedNodeTypePatch.Serialization.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ServiceFabricManagedNodeTypePatch.Serialization.cs @@ -106,7 +106,7 @@ internal static ServiceFabricManagedNodeTypePatch DeserializeServiceFabricManage { continue; } - sku = NodeTypeSku.DeserializeNodeTypeSku(property.Value); + sku = NodeTypeSku.DeserializeNodeTypeSku(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ServiceFabricManagedUnsupportedVmSize.Serialization.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ServiceFabricManagedUnsupportedVmSize.Serialization.cs index da4e0bbf5fb74..823848c6f2301 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ServiceFabricManagedUnsupportedVmSize.Serialization.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ServiceFabricManagedUnsupportedVmSize.Serialization.cs @@ -105,7 +105,7 @@ internal static ServiceFabricManagedUnsupportedVmSize DeserializeServiceFabricMa { continue; } - properties = Models.VmSize.DeserializeVmSize(property.Value); + properties = Models.VmSize.DeserializeVmSize(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ServiceResourceList.Serialization.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ServiceResourceList.Serialization.cs index 1b49ac2d7548d..1f5795d5de7f5 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ServiceResourceList.Serialization.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/ServiceResourceList.Serialization.cs @@ -95,7 +95,7 @@ internal static ServiceResourceList DeserializeServiceResourceList(JsonElement e List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ServiceFabricManagedServiceData.DeserializeServiceFabricManagedServiceData(item)); + array.Add(ServiceFabricManagedServiceData.DeserializeServiceFabricManagedServiceData(item, options)); } value = array; continue; diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/StatefulServiceProperties.Serialization.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/StatefulServiceProperties.Serialization.cs index fb92141ae2935..77ed117732ed0 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/StatefulServiceProperties.Serialization.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/StatefulServiceProperties.Serialization.cs @@ -273,7 +273,7 @@ internal static StatefulServiceProperties DeserializeStatefulServiceProperties(J } if (property.NameEquals("partitionDescription"u8)) { - partitionDescription = ManagedServicePartitionScheme.DeserializeManagedServicePartitionScheme(property.Value); + partitionDescription = ManagedServicePartitionScheme.DeserializeManagedServicePartitionScheme(property.Value, options); continue; } if (property.NameEquals("servicePackageActivationMode"u8)) @@ -304,7 +304,7 @@ internal static StatefulServiceProperties DeserializeStatefulServiceProperties(J List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedServiceCorrelation.DeserializeManagedServiceCorrelation(item)); + array.Add(ManagedServiceCorrelation.DeserializeManagedServiceCorrelation(item, options)); } correlationScheme = array; continue; @@ -318,7 +318,7 @@ internal static StatefulServiceProperties DeserializeStatefulServiceProperties(J List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedServiceLoadMetric.DeserializeManagedServiceLoadMetric(item)); + array.Add(ManagedServiceLoadMetric.DeserializeManagedServiceLoadMetric(item, options)); } serviceLoadMetrics = array; continue; @@ -332,7 +332,7 @@ internal static StatefulServiceProperties DeserializeStatefulServiceProperties(J List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedServicePlacementPolicy.DeserializeManagedServicePlacementPolicy(item)); + array.Add(ManagedServicePlacementPolicy.DeserializeManagedServicePlacementPolicy(item, options)); } servicePlacementPolicies = array; continue; @@ -355,7 +355,7 @@ internal static StatefulServiceProperties DeserializeStatefulServiceProperties(J List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedServiceScalingPolicy.DeserializeManagedServiceScalingPolicy(item)); + array.Add(ManagedServiceScalingPolicy.DeserializeManagedServiceScalingPolicy(item, options)); } scalingPolicies = array; continue; diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/StatelessServiceProperties.Serialization.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/StatelessServiceProperties.Serialization.cs index a70feeb034f07..d6cd6d0f5b2ef 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/StatelessServiceProperties.Serialization.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/StatelessServiceProperties.Serialization.cs @@ -206,7 +206,7 @@ internal static StatelessServiceProperties DeserializeStatelessServiceProperties } if (property.NameEquals("partitionDescription"u8)) { - partitionDescription = ManagedServicePartitionScheme.DeserializeManagedServicePartitionScheme(property.Value); + partitionDescription = ManagedServicePartitionScheme.DeserializeManagedServicePartitionScheme(property.Value, options); continue; } if (property.NameEquals("servicePackageActivationMode"u8)) @@ -237,7 +237,7 @@ internal static StatelessServiceProperties DeserializeStatelessServiceProperties List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedServiceCorrelation.DeserializeManagedServiceCorrelation(item)); + array.Add(ManagedServiceCorrelation.DeserializeManagedServiceCorrelation(item, options)); } correlationScheme = array; continue; @@ -251,7 +251,7 @@ internal static StatelessServiceProperties DeserializeStatelessServiceProperties List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedServiceLoadMetric.DeserializeManagedServiceLoadMetric(item)); + array.Add(ManagedServiceLoadMetric.DeserializeManagedServiceLoadMetric(item, options)); } serviceLoadMetrics = array; continue; @@ -265,7 +265,7 @@ internal static StatelessServiceProperties DeserializeStatelessServiceProperties List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedServicePlacementPolicy.DeserializeManagedServicePlacementPolicy(item)); + array.Add(ManagedServicePlacementPolicy.DeserializeManagedServicePlacementPolicy(item, options)); } servicePlacementPolicies = array; continue; @@ -288,7 +288,7 @@ internal static StatelessServiceProperties DeserializeStatelessServiceProperties List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedServiceScalingPolicy.DeserializeManagedServiceScalingPolicy(item)); + array.Add(ManagedServiceScalingPolicy.DeserializeManagedServiceScalingPolicy(item, options)); } scalingPolicies = array; continue; diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/UnknownServiceResourceProperties.Serialization.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/UnknownServiceResourceProperties.Serialization.cs index 240c250598948..b85ad8d77805d 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/UnknownServiceResourceProperties.Serialization.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/Models/UnknownServiceResourceProperties.Serialization.cs @@ -168,7 +168,7 @@ internal static UnknownServiceResourceProperties DeserializeUnknownServiceResour } if (property.NameEquals("partitionDescription"u8)) { - partitionDescription = ManagedServicePartitionScheme.DeserializeManagedServicePartitionScheme(property.Value); + partitionDescription = ManagedServicePartitionScheme.DeserializeManagedServicePartitionScheme(property.Value, options); continue; } if (property.NameEquals("servicePackageActivationMode"u8)) @@ -199,7 +199,7 @@ internal static UnknownServiceResourceProperties DeserializeUnknownServiceResour List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedServiceCorrelation.DeserializeManagedServiceCorrelation(item)); + array.Add(ManagedServiceCorrelation.DeserializeManagedServiceCorrelation(item, options)); } correlationScheme = array; continue; @@ -213,7 +213,7 @@ internal static UnknownServiceResourceProperties DeserializeUnknownServiceResour List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedServiceLoadMetric.DeserializeManagedServiceLoadMetric(item)); + array.Add(ManagedServiceLoadMetric.DeserializeManagedServiceLoadMetric(item, options)); } serviceLoadMetrics = array; continue; @@ -227,7 +227,7 @@ internal static UnknownServiceResourceProperties DeserializeUnknownServiceResour List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedServicePlacementPolicy.DeserializeManagedServicePlacementPolicy(item)); + array.Add(ManagedServicePlacementPolicy.DeserializeManagedServicePlacementPolicy(item, options)); } servicePlacementPolicies = array; continue; @@ -250,7 +250,7 @@ internal static UnknownServiceResourceProperties DeserializeUnknownServiceResour List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedServiceScalingPolicy.DeserializeManagedServiceScalingPolicy(item)); + array.Add(ManagedServiceScalingPolicy.DeserializeManagedServiceScalingPolicy(item, options)); } scalingPolicies = array; continue; diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/ServiceFabricManagedApplicationData.Serialization.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/ServiceFabricManagedApplicationData.Serialization.cs index 330d21fbd5c98..1d903d6fcebb9 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/ServiceFabricManagedApplicationData.Serialization.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/ServiceFabricManagedApplicationData.Serialization.cs @@ -250,7 +250,7 @@ internal static ServiceFabricManagedApplicationData DeserializeServiceFabricMana { continue; } - upgradePolicy = ApplicationUpgradePolicy.DeserializeApplicationUpgradePolicy(property0.Value); + upgradePolicy = ApplicationUpgradePolicy.DeserializeApplicationUpgradePolicy(property0.Value, options); continue; } if (property0.NameEquals("managedIdentities"u8)) @@ -262,7 +262,7 @@ internal static ServiceFabricManagedApplicationData DeserializeServiceFabricMana List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ApplicationUserAssignedIdentityInfo.DeserializeApplicationUserAssignedIdentityInfo(item)); + array.Add(ApplicationUserAssignedIdentityInfo.DeserializeApplicationUserAssignedIdentityInfo(item, options)); } managedIdentities = array; continue; diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/ServiceFabricManagedClusterData.Serialization.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/ServiceFabricManagedClusterData.Serialization.cs index 376244a056322..09764140a9eae 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/ServiceFabricManagedClusterData.Serialization.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/ServiceFabricManagedClusterData.Serialization.cs @@ -416,7 +416,7 @@ internal static ServiceFabricManagedClusterData DeserializeServiceFabricManagedC { if (property.NameEquals("sku"u8)) { - sku = ServiceFabricManagedClustersSku.DeserializeServiceFabricManagedClustersSku(property.Value); + sku = ServiceFabricManagedClustersSku.DeserializeServiceFabricManagedClustersSku(property.Value, options); continue; } if (property.NameEquals("etag"u8)) @@ -575,7 +575,7 @@ internal static ServiceFabricManagedClusterData DeserializeServiceFabricManagedC List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ManagedClusterLoadBalancingRule.DeserializeManagedClusterLoadBalancingRule(item)); + array.Add(ManagedClusterLoadBalancingRule.DeserializeManagedClusterLoadBalancingRule(item, options)); } loadBalancingRules = array; continue; @@ -598,7 +598,7 @@ internal static ServiceFabricManagedClusterData DeserializeServiceFabricManagedC List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ServiceFabricManagedNetworkSecurityRule.DeserializeServiceFabricManagedNetworkSecurityRule(item)); + array.Add(ServiceFabricManagedNetworkSecurityRule.DeserializeServiceFabricManagedNetworkSecurityRule(item, options)); } networkSecurityRules = array; continue; @@ -612,7 +612,7 @@ internal static ServiceFabricManagedClusterData DeserializeServiceFabricManagedC List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ManagedClusterClientCertificate.DeserializeManagedClusterClientCertificate(item)); + array.Add(ManagedClusterClientCertificate.DeserializeManagedClusterClientCertificate(item, options)); } clients = array; continue; @@ -623,7 +623,7 @@ internal static ServiceFabricManagedClusterData DeserializeServiceFabricManagedC { continue; } - azureActiveDirectory = ManagedClusterAzureActiveDirectory.DeserializeManagedClusterAzureActiveDirectory(property0.Value); + azureActiveDirectory = ManagedClusterAzureActiveDirectory.DeserializeManagedClusterAzureActiveDirectory(property0.Value, options); continue; } if (property0.NameEquals("fabricSettings"u8)) @@ -635,7 +635,7 @@ internal static ServiceFabricManagedClusterData DeserializeServiceFabricManagedC List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ClusterFabricSettingsSection.DeserializeClusterFabricSettingsSection(item)); + array.Add(ClusterFabricSettingsSection.DeserializeClusterFabricSettingsSection(item, options)); } fabricSettings = array; continue; @@ -710,7 +710,7 @@ internal static ServiceFabricManagedClusterData DeserializeServiceFabricManagedC { continue; } - applicationTypeVersionsCleanupPolicy = ApplicationTypeVersionsCleanupPolicy.DeserializeApplicationTypeVersionsCleanupPolicy(property0.Value); + applicationTypeVersionsCleanupPolicy = ApplicationTypeVersionsCleanupPolicy.DeserializeApplicationTypeVersionsCleanupPolicy(property0.Value, options); continue; } if (property0.NameEquals("enableIpv6"u8)) @@ -736,7 +736,7 @@ internal static ServiceFabricManagedClusterData DeserializeServiceFabricManagedC List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ManagedClusterIPTag.DeserializeManagedClusterIPTag(item)); + array.Add(ManagedClusterIPTag.DeserializeManagedClusterIPTag(item, options)); } ipTags = array; continue; @@ -768,7 +768,7 @@ internal static ServiceFabricManagedClusterData DeserializeServiceFabricManagedC List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ManagedClusterSubnet.DeserializeManagedClusterSubnet(item)); + array.Add(ManagedClusterSubnet.DeserializeManagedClusterSubnet(item, options)); } auxiliarySubnets = array; continue; @@ -782,7 +782,7 @@ internal static ServiceFabricManagedClusterData DeserializeServiceFabricManagedC List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ManagedClusterServiceEndpoint.DeserializeManagedClusterServiceEndpoint(item)); + array.Add(ManagedClusterServiceEndpoint.DeserializeManagedClusterServiceEndpoint(item, options)); } serviceEndpoints = array; continue; @@ -838,7 +838,7 @@ internal static ServiceFabricManagedClusterData DeserializeServiceFabricManagedC { continue; } - upgradeDescription = ManagedClusterUpgradePolicy.DeserializeManagedClusterUpgradePolicy(property0.Value); + upgradeDescription = ManagedClusterUpgradePolicy.DeserializeManagedClusterUpgradePolicy(property0.Value, options); continue; } if (property0.NameEquals("httpGatewayTokenAuthConnectionPort"u8)) diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/ServiceFabricManagedNodeTypeData.Serialization.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/ServiceFabricManagedNodeTypeData.Serialization.cs index 738b5dc9436d1..1606a27c667c3 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/ServiceFabricManagedNodeTypeData.Serialization.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/ServiceFabricManagedNodeTypeData.Serialization.cs @@ -455,7 +455,7 @@ internal static ServiceFabricManagedNodeTypeData DeserializeServiceFabricManaged { continue; } - sku = NodeTypeSku.DeserializeNodeTypeSku(property.Value); + sku = NodeTypeSku.DeserializeNodeTypeSku(property.Value, options); continue; } if (property.NameEquals("tags"u8)) @@ -580,7 +580,7 @@ internal static ServiceFabricManagedNodeTypeData DeserializeServiceFabricManaged { continue; } - applicationPorts = EndpointRangeDescription.DeserializeEndpointRangeDescription(property0.Value); + applicationPorts = EndpointRangeDescription.DeserializeEndpointRangeDescription(property0.Value, options); continue; } if (property0.NameEquals("ephemeralPorts"u8)) @@ -589,7 +589,7 @@ internal static ServiceFabricManagedNodeTypeData DeserializeServiceFabricManaged { continue; } - ephemeralPorts = EndpointRangeDescription.DeserializeEndpointRangeDescription(property0.Value); + ephemeralPorts = EndpointRangeDescription.DeserializeEndpointRangeDescription(property0.Value, options); continue; } if (property0.NameEquals("vmSize"u8)) @@ -626,7 +626,7 @@ internal static ServiceFabricManagedNodeTypeData DeserializeServiceFabricManaged List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(NodeTypeVaultSecretGroup.DeserializeNodeTypeVaultSecretGroup(item)); + array.Add(NodeTypeVaultSecretGroup.DeserializeNodeTypeVaultSecretGroup(item, options)); } vmSecrets = array; continue; @@ -640,7 +640,7 @@ internal static ServiceFabricManagedNodeTypeData DeserializeServiceFabricManaged List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(NodeTypeVmssExtension.DeserializeNodeTypeVmssExtension(item)); + array.Add(NodeTypeVmssExtension.DeserializeNodeTypeVmssExtension(item, options)); } vmExtensions = array; continue; @@ -651,7 +651,7 @@ internal static ServiceFabricManagedNodeTypeData DeserializeServiceFabricManaged { continue; } - vmManagedIdentity = VmManagedIdentity.DeserializeVmManagedIdentity(property0.Value); + vmManagedIdentity = VmManagedIdentity.DeserializeVmManagedIdentity(property0.Value, options); continue; } if (property0.NameEquals("isStateless"u8)) @@ -681,7 +681,7 @@ internal static ServiceFabricManagedNodeTypeData DeserializeServiceFabricManaged List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(NodeTypeFrontendConfiguration.DeserializeNodeTypeFrontendConfiguration(item)); + array.Add(NodeTypeFrontendConfiguration.DeserializeNodeTypeFrontendConfiguration(item, options)); } frontendConfigurations = array; continue; @@ -695,7 +695,7 @@ internal static ServiceFabricManagedNodeTypeData DeserializeServiceFabricManaged List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ServiceFabricManagedNetworkSecurityRule.DeserializeServiceFabricManagedNetworkSecurityRule(item)); + array.Add(ServiceFabricManagedNetworkSecurityRule.DeserializeServiceFabricManagedNetworkSecurityRule(item, options)); } networkSecurityRules = array; continue; @@ -709,7 +709,7 @@ internal static ServiceFabricManagedNodeTypeData DeserializeServiceFabricManaged List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(NodeTypeVmssDataDisk.DeserializeNodeTypeVmssDataDisk(item)); + array.Add(NodeTypeVmssDataDisk.DeserializeNodeTypeVmssDataDisk(item, options)); } additionalDataDisks = array; continue; @@ -911,7 +911,7 @@ internal static ServiceFabricManagedNodeTypeData DeserializeServiceFabricManaged { continue; } - vmImagePlan = VmImagePlan.DeserializeVmImagePlan(property0.Value); + vmImagePlan = VmImagePlan.DeserializeVmImagePlan(property0.Value, options); continue; } if (property0.NameEquals("serviceArtifactReferenceId"u8)) @@ -941,7 +941,7 @@ internal static ServiceFabricManagedNodeTypeData DeserializeServiceFabricManaged List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(AdditionalNetworkInterfaceConfiguration.DeserializeAdditionalNetworkInterfaceConfiguration(item)); + array.Add(AdditionalNetworkInterfaceConfiguration.DeserializeAdditionalNetworkInterfaceConfiguration(item, options)); } additionalNetworkInterfaceConfigurations = array; continue; diff --git a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/ServiceFabricManagedServiceData.Serialization.cs b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/ServiceFabricManagedServiceData.Serialization.cs index 9f433d8bd091b..a92ff30b999a8 100644 --- a/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/ServiceFabricManagedServiceData.Serialization.cs +++ b/sdk/servicefabricmanagedclusters/Azure.ResourceManager.ServiceFabricManagedClusters/src/Generated/ServiceFabricManagedServiceData.Serialization.cs @@ -121,7 +121,7 @@ internal static ServiceFabricManagedServiceData DeserializeServiceFabricManagedS { continue; } - properties = ManagedServiceProperties.DeserializeManagedServiceProperties(property.Value); + properties = ManagedServiceProperties.DeserializeManagedServiceProperties(property.Value, options); continue; } if (property.NameEquals("tags"u8)) diff --git a/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/LinkerResourceData.Serialization.cs b/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/LinkerResourceData.Serialization.cs index b6991a72f2ee0..311a554080381 100644 --- a/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/LinkerResourceData.Serialization.cs +++ b/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/LinkerResourceData.Serialization.cs @@ -199,7 +199,7 @@ internal static LinkerResourceData DeserializeLinkerResourceData(JsonElement ele { continue; } - targetService = TargetServiceBaseInfo.DeserializeTargetServiceBaseInfo(property0.Value); + targetService = TargetServiceBaseInfo.DeserializeTargetServiceBaseInfo(property0.Value, options); continue; } if (property0.NameEquals("authInfo"u8)) @@ -208,7 +208,7 @@ internal static LinkerResourceData DeserializeLinkerResourceData(JsonElement ele { continue; } - authInfo = AuthBaseInfo.DeserializeAuthBaseInfo(property0.Value); + authInfo = AuthBaseInfo.DeserializeAuthBaseInfo(property0.Value, options); continue; } if (property0.NameEquals("clientType"u8)) @@ -232,7 +232,7 @@ internal static LinkerResourceData DeserializeLinkerResourceData(JsonElement ele vnetSolution = null; continue; } - vnetSolution = VnetSolution.DeserializeVnetSolution(property0.Value); + vnetSolution = VnetSolution.DeserializeVnetSolution(property0.Value, options); continue; } if (property0.NameEquals("secretStore"u8)) @@ -242,7 +242,7 @@ internal static LinkerResourceData DeserializeLinkerResourceData(JsonElement ele secretStore = null; continue; } - secretStore = LinkerSecretStore.DeserializeLinkerSecretStore(property0.Value); + secretStore = LinkerSecretStore.DeserializeLinkerSecretStore(property0.Value, options); continue; } if (property0.NameEquals("scope"u8)) diff --git a/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/Models/AuthBaseInfo.Serialization.cs b/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/Models/AuthBaseInfo.Serialization.cs index 02c01e7390ef6..1dcd7a1618f29 100644 --- a/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/Models/AuthBaseInfo.Serialization.cs +++ b/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/Models/AuthBaseInfo.Serialization.cs @@ -70,14 +70,14 @@ internal static AuthBaseInfo DeserializeAuthBaseInfo(JsonElement element, ModelR { switch (discriminator.GetString()) { - case "secret": return SecretAuthInfo.DeserializeSecretAuthInfo(element); - case "servicePrincipalCertificate": return ServicePrincipalCertificateAuthInfo.DeserializeServicePrincipalCertificateAuthInfo(element); - case "servicePrincipalSecret": return ServicePrincipalSecretAuthInfo.DeserializeServicePrincipalSecretAuthInfo(element); - case "systemAssignedIdentity": return SystemAssignedIdentityAuthInfo.DeserializeSystemAssignedIdentityAuthInfo(element); - case "userAssignedIdentity": return UserAssignedIdentityAuthInfo.DeserializeUserAssignedIdentityAuthInfo(element); + case "secret": return SecretAuthInfo.DeserializeSecretAuthInfo(element, options); + case "servicePrincipalCertificate": return ServicePrincipalCertificateAuthInfo.DeserializeServicePrincipalCertificateAuthInfo(element, options); + case "servicePrincipalSecret": return ServicePrincipalSecretAuthInfo.DeserializeServicePrincipalSecretAuthInfo(element, options); + case "systemAssignedIdentity": return SystemAssignedIdentityAuthInfo.DeserializeSystemAssignedIdentityAuthInfo(element, options); + case "userAssignedIdentity": return UserAssignedIdentityAuthInfo.DeserializeUserAssignedIdentityAuthInfo(element, options); } } - return UnknownAuthInfoBase.DeserializeUnknownAuthInfoBase(element); + return UnknownAuthInfoBase.DeserializeUnknownAuthInfoBase(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/Models/AzureResourceBaseProperties.Serialization.cs b/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/Models/AzureResourceBaseProperties.Serialization.cs index db77f2e0a6fb9..d4b05dc808a88 100644 --- a/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/Models/AzureResourceBaseProperties.Serialization.cs +++ b/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/Models/AzureResourceBaseProperties.Serialization.cs @@ -70,10 +70,10 @@ internal static AzureResourceBaseProperties DeserializeAzureResourceBaseProperti { switch (discriminator.GetString()) { - case "KeyVault": return AzureKeyVaultProperties.DeserializeAzureKeyVaultProperties(element); + case "KeyVault": return AzureKeyVaultProperties.DeserializeAzureKeyVaultProperties(element, options); } } - return UnknownAzureResourcePropertiesBase.DeserializeUnknownAzureResourcePropertiesBase(element); + return UnknownAzureResourcePropertiesBase.DeserializeUnknownAzureResourcePropertiesBase(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/Models/AzureResourceInfo.Serialization.cs b/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/Models/AzureResourceInfo.Serialization.cs index e27aa726af142..8df50dd6612c8 100644 --- a/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/Models/AzureResourceInfo.Serialization.cs +++ b/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/Models/AzureResourceInfo.Serialization.cs @@ -106,7 +106,7 @@ internal static AzureResourceInfo DeserializeAzureResourceInfo(JsonElement eleme resourceProperties = null; continue; } - resourceProperties = AzureResourceBaseProperties.DeserializeAzureResourceBaseProperties(property.Value); + resourceProperties = AzureResourceBaseProperties.DeserializeAzureResourceBaseProperties(property.Value, options); continue; } if (property.NameEquals("type"u8)) diff --git a/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/Models/LinkerList.Serialization.cs b/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/Models/LinkerList.Serialization.cs index ff7533c55be51..9a8e9d3b2b353 100644 --- a/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/Models/LinkerList.Serialization.cs +++ b/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/Models/LinkerList.Serialization.cs @@ -112,7 +112,7 @@ internal static LinkerList DeserializeLinkerList(JsonElement element, ModelReade List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(LinkerResourceData.DeserializeLinkerResourceData(item)); + array.Add(LinkerResourceData.DeserializeLinkerResourceData(item, options)); } value = array; continue; diff --git a/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/Models/LinkerResourcePatch.Serialization.cs b/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/Models/LinkerResourcePatch.Serialization.cs index 0afa1c4ed7370..46a1587a6719e 100644 --- a/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/Models/LinkerResourcePatch.Serialization.cs +++ b/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/Models/LinkerResourcePatch.Serialization.cs @@ -149,7 +149,7 @@ internal static LinkerResourcePatch DeserializeLinkerResourcePatch(JsonElement e { continue; } - targetService = TargetServiceBaseInfo.DeserializeTargetServiceBaseInfo(property0.Value); + targetService = TargetServiceBaseInfo.DeserializeTargetServiceBaseInfo(property0.Value, options); continue; } if (property0.NameEquals("authInfo"u8)) @@ -158,7 +158,7 @@ internal static LinkerResourcePatch DeserializeLinkerResourcePatch(JsonElement e { continue; } - authInfo = AuthBaseInfo.DeserializeAuthBaseInfo(property0.Value); + authInfo = AuthBaseInfo.DeserializeAuthBaseInfo(property0.Value, options); continue; } if (property0.NameEquals("clientType"u8)) @@ -182,7 +182,7 @@ internal static LinkerResourcePatch DeserializeLinkerResourcePatch(JsonElement e vnetSolution = null; continue; } - vnetSolution = VnetSolution.DeserializeVnetSolution(property0.Value); + vnetSolution = VnetSolution.DeserializeVnetSolution(property0.Value, options); continue; } if (property0.NameEquals("secretStore"u8)) @@ -192,7 +192,7 @@ internal static LinkerResourcePatch DeserializeLinkerResourcePatch(JsonElement e secretStore = null; continue; } - secretStore = LinkerSecretStore.DeserializeLinkerSecretStore(property0.Value); + secretStore = LinkerSecretStore.DeserializeLinkerSecretStore(property0.Value, options); continue; } if (property0.NameEquals("scope"u8)) diff --git a/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/Models/LinkerValidateOperationResult.Serialization.cs b/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/Models/LinkerValidateOperationResult.Serialization.cs index 6849126bfd1e8..3db90cafbad37 100644 --- a/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/Models/LinkerValidateOperationResult.Serialization.cs +++ b/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/Models/LinkerValidateOperationResult.Serialization.cs @@ -315,7 +315,7 @@ internal static LinkerValidateOperationResult DeserializeLinkerValidateOperation List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(LinkerValidationResultItemInfo.DeserializeLinkerValidationResultItemInfo(item)); + array.Add(LinkerValidationResultItemInfo.DeserializeLinkerValidationResultItemInfo(item, options)); } validationDetail = array; continue; diff --git a/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/Models/SecretAuthInfo.Serialization.cs b/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/Models/SecretAuthInfo.Serialization.cs index 675d7d9eeb1ff..287cf80e6675d 100644 --- a/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/Models/SecretAuthInfo.Serialization.cs +++ b/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/Models/SecretAuthInfo.Serialization.cs @@ -114,7 +114,7 @@ internal static SecretAuthInfo DeserializeSecretAuthInfo(JsonElement element, Mo secretInfo = null; continue; } - secretInfo = SecretBaseInfo.DeserializeSecretBaseInfo(property.Value); + secretInfo = SecretBaseInfo.DeserializeSecretBaseInfo(property.Value, options); continue; } if (property.NameEquals("authType"u8)) diff --git a/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/Models/SecretBaseInfo.Serialization.cs b/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/Models/SecretBaseInfo.Serialization.cs index b3ab67e67e3e3..43b049f73002d 100644 --- a/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/Models/SecretBaseInfo.Serialization.cs +++ b/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/Models/SecretBaseInfo.Serialization.cs @@ -70,12 +70,12 @@ internal static SecretBaseInfo DeserializeSecretBaseInfo(JsonElement element, Mo { switch (discriminator.GetString()) { - case "keyVaultSecretReference": return KeyVaultSecretReferenceSecretInfo.DeserializeKeyVaultSecretReferenceSecretInfo(element); - case "keyVaultSecretUri": return KeyVaultSecretUriSecretInfo.DeserializeKeyVaultSecretUriSecretInfo(element); - case "rawValue": return RawValueSecretInfo.DeserializeRawValueSecretInfo(element); + case "keyVaultSecretReference": return KeyVaultSecretReferenceSecretInfo.DeserializeKeyVaultSecretReferenceSecretInfo(element, options); + case "keyVaultSecretUri": return KeyVaultSecretUriSecretInfo.DeserializeKeyVaultSecretUriSecretInfo(element, options); + case "rawValue": return RawValueSecretInfo.DeserializeRawValueSecretInfo(element, options); } } - return UnknownSecretInfoBase.DeserializeUnknownSecretInfoBase(element); + return UnknownSecretInfoBase.DeserializeUnknownSecretInfoBase(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/Models/SourceConfigurationResult.Serialization.cs b/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/Models/SourceConfigurationResult.Serialization.cs index 609cf037dcf81..43808be75918d 100644 --- a/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/Models/SourceConfigurationResult.Serialization.cs +++ b/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/Models/SourceConfigurationResult.Serialization.cs @@ -88,7 +88,7 @@ internal static SourceConfigurationResult DeserializeSourceConfigurationResult(J List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SourceConfiguration.DeserializeSourceConfiguration(item)); + array.Add(SourceConfiguration.DeserializeSourceConfiguration(item, options)); } configurations = array; continue; diff --git a/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/Models/TargetServiceBaseInfo.Serialization.cs b/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/Models/TargetServiceBaseInfo.Serialization.cs index 7da94c3889e2b..dbf054cd59b1d 100644 --- a/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/Models/TargetServiceBaseInfo.Serialization.cs +++ b/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Generated/Models/TargetServiceBaseInfo.Serialization.cs @@ -70,12 +70,12 @@ internal static TargetServiceBaseInfo DeserializeTargetServiceBaseInfo(JsonEleme { switch (discriminator.GetString()) { - case "AzureResource": return AzureResourceInfo.DeserializeAzureResourceInfo(element); - case "ConfluentBootstrapServer": return ConfluentBootstrapServerInfo.DeserializeConfluentBootstrapServerInfo(element); - case "ConfluentSchemaRegistry": return ConfluentSchemaRegistryInfo.DeserializeConfluentSchemaRegistryInfo(element); + case "AzureResource": return AzureResourceInfo.DeserializeAzureResourceInfo(element, options); + case "ConfluentBootstrapServer": return ConfluentBootstrapServerInfo.DeserializeConfluentBootstrapServerInfo(element, options); + case "ConfluentSchemaRegistry": return ConfluentSchemaRegistryInfo.DeserializeConfluentSchemaRegistryInfo(element, options); } } - return UnknownTargetServiceBase.DeserializeUnknownTargetServiceBase(element); + return UnknownTargetServiceBase.DeserializeUnknownTargetServiceBase(element, options); } BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) diff --git a/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/src/Generated/Models/AssociationListResult.Serialization.cs b/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/src/Generated/Models/AssociationListResult.Serialization.cs index b8d04ce17d433..b64fc664d7c6d 100644 --- a/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/src/Generated/Models/AssociationListResult.Serialization.cs +++ b/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/src/Generated/Models/AssociationListResult.Serialization.cs @@ -88,7 +88,7 @@ internal static AssociationListResult DeserializeAssociationListResult(JsonEleme List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(AssociationData.DeserializeAssociationData(item)); + array.Add(AssociationData.DeserializeAssociationData(item, options)); } value = array; continue; diff --git a/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/src/Generated/Models/FrontendListResult.Serialization.cs b/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/src/Generated/Models/FrontendListResult.Serialization.cs index b2836135db13b..60bbae3813cc7 100644 --- a/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/src/Generated/Models/FrontendListResult.Serialization.cs +++ b/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/src/Generated/Models/FrontendListResult.Serialization.cs @@ -88,7 +88,7 @@ internal static FrontendListResult DeserializeFrontendListResult(JsonElement ele List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(FrontendData.DeserializeFrontendData(item)); + array.Add(FrontendData.DeserializeFrontendData(item, options)); } value = array; continue; diff --git a/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/src/Generated/Models/TrafficControllerListResult.Serialization.cs b/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/src/Generated/Models/TrafficControllerListResult.Serialization.cs index 90b6a9effdd86..4b02eb31a4395 100644 --- a/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/src/Generated/Models/TrafficControllerListResult.Serialization.cs +++ b/sdk/servicenetworking/Azure.ResourceManager.ServiceNetworking/src/Generated/Models/TrafficControllerListResult.Serialization.cs @@ -88,7 +88,7 @@ internal static TrafficControllerListResult DeserializeTrafficControllerListResu List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(TrafficControllerData.DeserializeTrafficControllerData(item)); + array.Add(TrafficControllerData.DeserializeTrafficControllerData(item, options)); } value = array; continue; diff --git a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/ServerlessUpstreamSettings.Serialization.cs b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/ServerlessUpstreamSettings.Serialization.cs index f1f08032479a3..bb7d31c662228 100644 --- a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/ServerlessUpstreamSettings.Serialization.cs +++ b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/ServerlessUpstreamSettings.Serialization.cs @@ -88,7 +88,7 @@ internal static ServerlessUpstreamSettings DeserializeServerlessUpstreamSettings List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SignalRUpstreamTemplate.DeserializeSignalRUpstreamTemplate(item)); + array.Add(SignalRUpstreamTemplate.DeserializeSignalRUpstreamTemplate(item, options)); } templates = array; continue; diff --git a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/ShareablePrivateLinkResourceType.Serialization.cs b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/ShareablePrivateLinkResourceType.Serialization.cs index 287cae9b62db8..baf3dab894fb7 100644 --- a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/ShareablePrivateLinkResourceType.Serialization.cs +++ b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/ShareablePrivateLinkResourceType.Serialization.cs @@ -91,7 +91,7 @@ internal static ShareablePrivateLinkResourceType DeserializeShareablePrivateLink { continue; } - properties = ShareablePrivateLinkResourceProperties.DeserializeShareablePrivateLinkResourceProperties(property.Value); + properties = ShareablePrivateLinkResourceProperties.DeserializeShareablePrivateLinkResourceProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRCustomCertificateListResult.Serialization.cs b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRCustomCertificateListResult.Serialization.cs index 91535846cf463..a6eed4acdd2f4 100644 --- a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRCustomCertificateListResult.Serialization.cs +++ b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRCustomCertificateListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static SignalRCustomCertificateListResult DeserializeSignalRCustomCerti List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SignalRCustomCertificateData.DeserializeSignalRCustomCertificateData(item)); + array.Add(SignalRCustomCertificateData.DeserializeSignalRCustomCertificateData(item, options)); } value = array; continue; diff --git a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRCustomDomainListResult.Serialization.cs b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRCustomDomainListResult.Serialization.cs index e05171819acd2..24e0f222350d9 100644 --- a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRCustomDomainListResult.Serialization.cs +++ b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRCustomDomainListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static SignalRCustomDomainListResult DeserializeSignalRCustomDomainList List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SignalRCustomDomainData.DeserializeSignalRCustomDomainData(item)); + array.Add(SignalRCustomDomainData.DeserializeSignalRCustomDomainData(item, options)); } value = array; continue; diff --git a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRLiveTraceConfiguration.Serialization.cs b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRLiveTraceConfiguration.Serialization.cs index 3eb00bf924849..a76866a3344e4 100644 --- a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRLiveTraceConfiguration.Serialization.cs +++ b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRLiveTraceConfiguration.Serialization.cs @@ -99,7 +99,7 @@ internal static SignalRLiveTraceConfiguration DeserializeSignalRLiveTraceConfigu List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SignalRLiveTraceCategory.DeserializeSignalRLiveTraceCategory(item)); + array.Add(SignalRLiveTraceCategory.DeserializeSignalRLiveTraceCategory(item, options)); } categories = array; continue; diff --git a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRNetworkAcls.Serialization.cs b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRNetworkAcls.Serialization.cs index 70c71d8a9c37f..2d7c869dc13d5 100644 --- a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRNetworkAcls.Serialization.cs +++ b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRNetworkAcls.Serialization.cs @@ -106,7 +106,7 @@ internal static SignalRNetworkAcls DeserializeSignalRNetworkAcls(JsonElement ele { continue; } - publicNetwork = SignalRNetworkAcl.DeserializeSignalRNetworkAcl(property.Value); + publicNetwork = SignalRNetworkAcl.DeserializeSignalRNetworkAcl(property.Value, options); continue; } if (property.NameEquals("privateEndpoints"u8)) @@ -118,7 +118,7 @@ internal static SignalRNetworkAcls DeserializeSignalRNetworkAcls(JsonElement ele List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SignalRPrivateEndpointAcl.DeserializeSignalRPrivateEndpointAcl(item)); + array.Add(SignalRPrivateEndpointAcl.DeserializeSignalRPrivateEndpointAcl(item, options)); } privateEndpoints = array; continue; diff --git a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRPrivateEndpointConnectionListResult.Serialization.cs b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRPrivateEndpointConnectionListResult.Serialization.cs index d0b53a1c17817..34bc75f0a8949 100644 --- a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRPrivateEndpointConnectionListResult.Serialization.cs +++ b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRPrivateEndpointConnectionListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static SignalRPrivateEndpointConnectionListResult DeserializeSignalRPri List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SignalRPrivateEndpointConnectionData.DeserializeSignalRPrivateEndpointConnectionData(item)); + array.Add(SignalRPrivateEndpointConnectionData.DeserializeSignalRPrivateEndpointConnectionData(item, options)); } value = array; continue; diff --git a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRPrivateLinkResource.Serialization.cs b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRPrivateLinkResource.Serialization.cs index 591db32d17611..0d8827a149263 100644 --- a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRPrivateLinkResource.Serialization.cs +++ b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRPrivateLinkResource.Serialization.cs @@ -210,7 +210,7 @@ internal static SignalRPrivateLinkResource DeserializeSignalRPrivateLinkResource List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ShareablePrivateLinkResourceType.DeserializeShareablePrivateLinkResourceType(item)); + array.Add(ShareablePrivateLinkResourceType.DeserializeShareablePrivateLinkResourceType(item, options)); } shareablePrivateLinkResourceTypes = array; continue; diff --git a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRPrivateLinkResourceListResult.Serialization.cs b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRPrivateLinkResourceListResult.Serialization.cs index 5edd74bd2927c..073467228eff5 100644 --- a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRPrivateLinkResourceListResult.Serialization.cs +++ b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRPrivateLinkResourceListResult.Serialization.cs @@ -94,7 +94,7 @@ internal static SignalRPrivateLinkResourceListResult DeserializeSignalRPrivateLi List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SignalRPrivateLinkResource.DeserializeSignalRPrivateLinkResource(item)); + array.Add(SignalRPrivateLinkResource.DeserializeSignalRPrivateLinkResource(item, options)); } value = array; continue; diff --git a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRResourceList.Serialization.cs b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRResourceList.Serialization.cs index 27897b6940a97..e80b23c36c480 100644 --- a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRResourceList.Serialization.cs +++ b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRResourceList.Serialization.cs @@ -95,7 +95,7 @@ internal static SignalRResourceList DeserializeSignalRResourceList(JsonElement e List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SignalRData.DeserializeSignalRData(item)); + array.Add(SignalRData.DeserializeSignalRData(item, options)); } value = array; continue; diff --git a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRResourceLogCategoryListResult.Serialization.cs b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRResourceLogCategoryListResult.Serialization.cs index 7187366dcb4fe..8e00ee8cb97f1 100644 --- a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRResourceLogCategoryListResult.Serialization.cs +++ b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRResourceLogCategoryListResult.Serialization.cs @@ -88,7 +88,7 @@ internal static SignalRResourceLogCategoryListResult DeserializeSignalRResourceL List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SignalRResourceLogCategory.DeserializeSignalRResourceLogCategory(item)); + array.Add(SignalRResourceLogCategory.DeserializeSignalRResourceLogCategory(item, options)); } categories = array; continue; diff --git a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRSharedPrivateLinkResourceListResult.Serialization.cs b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRSharedPrivateLinkResourceListResult.Serialization.cs index e8ee0bffc6823..bee213c0898df 100644 --- a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRSharedPrivateLinkResourceListResult.Serialization.cs +++ b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRSharedPrivateLinkResourceListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static SignalRSharedPrivateLinkResourceListResult DeserializeSignalRSha List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SignalRSharedPrivateLinkResourceData.DeserializeSignalRSharedPrivateLinkResourceData(item)); + array.Add(SignalRSharedPrivateLinkResourceData.DeserializeSignalRSharedPrivateLinkResourceData(item, options)); } value = array; continue; diff --git a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRSku.Serialization.cs b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRSku.Serialization.cs index 60c7e7506364b..3bb4aac30fd40 100644 --- a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRSku.Serialization.cs +++ b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRSku.Serialization.cs @@ -101,7 +101,7 @@ internal static SignalRSku DeserializeSignalRSku(JsonElement element, ModelReade { continue; } - sku = SignalRResourceSku.DeserializeSignalRResourceSku(property.Value); + sku = SignalRResourceSku.DeserializeSignalRResourceSku(property.Value, options); continue; } if (property.NameEquals("capacity"u8)) @@ -110,7 +110,7 @@ internal static SignalRSku DeserializeSignalRSku(JsonElement element, ModelReade { continue; } - capacity = SignalRSkuCapacity.DeserializeSignalRSkuCapacity(property.Value); + capacity = SignalRSkuCapacity.DeserializeSignalRSkuCapacity(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRSkuListResult.Serialization.cs b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRSkuListResult.Serialization.cs index eecffcecacbf2..bdee42a8c2610 100644 --- a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRSkuListResult.Serialization.cs +++ b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRSkuListResult.Serialization.cs @@ -94,7 +94,7 @@ internal static SignalRSkuListResult DeserializeSignalRSkuListResult(JsonElement List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SignalRSku.DeserializeSignalRSku(item)); + array.Add(SignalRSku.DeserializeSignalRSku(item, options)); } value = array; continue; diff --git a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRUpstreamAuthSettings.Serialization.cs b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRUpstreamAuthSettings.Serialization.cs index 3b513bf82c1e7..70e87ab0bb93b 100644 --- a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRUpstreamAuthSettings.Serialization.cs +++ b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRUpstreamAuthSettings.Serialization.cs @@ -95,7 +95,7 @@ internal static SignalRUpstreamAuthSettings DeserializeSignalRUpstreamAuthSettin { continue; } - managedIdentity = ManagedIdentitySettings.DeserializeManagedIdentitySettings(property.Value); + managedIdentity = ManagedIdentitySettings.DeserializeManagedIdentitySettings(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRUpstreamTemplate.Serialization.cs b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRUpstreamTemplate.Serialization.cs index 10fe060a9438d..35d9f4889882f 100644 --- a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRUpstreamTemplate.Serialization.cs +++ b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRUpstreamTemplate.Serialization.cs @@ -121,7 +121,7 @@ internal static SignalRUpstreamTemplate DeserializeSignalRUpstreamTemplate(JsonE { continue; } - auth = SignalRUpstreamAuthSettings.DeserializeSignalRUpstreamAuthSettings(property.Value); + auth = SignalRUpstreamAuthSettings.DeserializeSignalRUpstreamAuthSettings(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRUsage.Serialization.cs b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRUsage.Serialization.cs index 22a90ed0a7b66..7130f100eeccb 100644 --- a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRUsage.Serialization.cs +++ b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRUsage.Serialization.cs @@ -131,7 +131,7 @@ internal static SignalRUsage DeserializeSignalRUsage(JsonElement element, ModelR { continue; } - name = SignalRUsageName.DeserializeSignalRUsageName(property.Value); + name = SignalRUsageName.DeserializeSignalRUsageName(property.Value, options); continue; } if (property.NameEquals("unit"u8)) diff --git a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRUsageList.Serialization.cs b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRUsageList.Serialization.cs index 50660f9633a78..9dc39af434d56 100644 --- a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRUsageList.Serialization.cs +++ b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Models/SignalRUsageList.Serialization.cs @@ -94,7 +94,7 @@ internal static SignalRUsageList DeserializeSignalRUsageList(JsonElement element List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SignalRUsage.DeserializeSignalRUsage(item)); + array.Add(SignalRUsage.DeserializeSignalRUsage(item, options)); } value = array; continue; diff --git a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/SignalRData.Serialization.cs b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/SignalRData.Serialization.cs index d413888d831f2..ae938ff4584ba 100644 --- a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/SignalRData.Serialization.cs +++ b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/SignalRData.Serialization.cs @@ -265,7 +265,7 @@ internal static SignalRData DeserializeSignalRData(JsonElement element, ModelRea { continue; } - sku = SignalRResourceSku.DeserializeSignalRResourceSku(property.Value); + sku = SignalRResourceSku.DeserializeSignalRResourceSku(property.Value, options); continue; } if (property.NameEquals("kind"u8)) @@ -389,7 +389,7 @@ internal static SignalRData DeserializeSignalRData(JsonElement element, ModelRea List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(SignalRPrivateEndpointConnectionData.DeserializeSignalRPrivateEndpointConnectionData(item)); + array.Add(SignalRPrivateEndpointConnectionData.DeserializeSignalRPrivateEndpointConnectionData(item, options)); } privateEndpointConnections = array; continue; @@ -403,7 +403,7 @@ internal static SignalRData DeserializeSignalRData(JsonElement element, ModelRea List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(SignalRSharedPrivateLinkResourceData.DeserializeSignalRSharedPrivateLinkResourceData(item)); + array.Add(SignalRSharedPrivateLinkResourceData.DeserializeSignalRSharedPrivateLinkResourceData(item, options)); } sharedPrivateLinkResources = array; continue; @@ -414,7 +414,7 @@ internal static SignalRData DeserializeSignalRData(JsonElement element, ModelRea { continue; } - tls = SignalRTlsSettings.DeserializeSignalRTlsSettings(property0.Value); + tls = SignalRTlsSettings.DeserializeSignalRTlsSettings(property0.Value, options); continue; } if (property0.NameEquals("hostNamePrefix"u8)) @@ -431,7 +431,7 @@ internal static SignalRData DeserializeSignalRData(JsonElement element, ModelRea List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(SignalRFeature.DeserializeSignalRFeature(item)); + array.Add(SignalRFeature.DeserializeSignalRFeature(item, options)); } features = array; continue; @@ -442,7 +442,7 @@ internal static SignalRData DeserializeSignalRData(JsonElement element, ModelRea { continue; } - liveTraceConfiguration = SignalRLiveTraceConfiguration.DeserializeSignalRLiveTraceConfiguration(property0.Value); + liveTraceConfiguration = SignalRLiveTraceConfiguration.DeserializeSignalRLiveTraceConfiguration(property0.Value, options); continue; } if (property0.NameEquals("resourceLogConfiguration"u8)) @@ -451,7 +451,7 @@ internal static SignalRData DeserializeSignalRData(JsonElement element, ModelRea { continue; } - resourceLogConfiguration = SignalRResourceLogCategoryListResult.DeserializeSignalRResourceLogCategoryListResult(property0.Value); + resourceLogConfiguration = SignalRResourceLogCategoryListResult.DeserializeSignalRResourceLogCategoryListResult(property0.Value, options); continue; } if (property0.NameEquals("cors"u8)) @@ -460,7 +460,7 @@ internal static SignalRData DeserializeSignalRData(JsonElement element, ModelRea { continue; } - cors = SignalRCorsSettings.DeserializeSignalRCorsSettings(property0.Value); + cors = SignalRCorsSettings.DeserializeSignalRCorsSettings(property0.Value, options); continue; } if (property0.NameEquals("upstream"u8)) @@ -469,7 +469,7 @@ internal static SignalRData DeserializeSignalRData(JsonElement element, ModelRea { continue; } - upstream = ServerlessUpstreamSettings.DeserializeServerlessUpstreamSettings(property0.Value); + upstream = ServerlessUpstreamSettings.DeserializeServerlessUpstreamSettings(property0.Value, options); continue; } if (property0.NameEquals("networkACLs"u8)) @@ -478,7 +478,7 @@ internal static SignalRData DeserializeSignalRData(JsonElement element, ModelRea { continue; } - networkACLs = SignalRNetworkAcls.DeserializeSignalRNetworkAcls(property0.Value); + networkACLs = SignalRNetworkAcls.DeserializeSignalRNetworkAcls(property0.Value, options); continue; } if (property0.NameEquals("publicNetworkAccess"u8)) diff --git a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/SignalRPrivateEndpointConnectionData.Serialization.cs b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/SignalRPrivateEndpointConnectionData.Serialization.cs index ef38217e40386..4f1211a8e1119 100644 --- a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/SignalRPrivateEndpointConnectionData.Serialization.cs +++ b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/SignalRPrivateEndpointConnectionData.Serialization.cs @@ -198,7 +198,7 @@ internal static SignalRPrivateEndpointConnectionData DeserializeSignalRPrivateEn { continue; } - privateLinkServiceConnectionState = SignalRPrivateLinkServiceConnectionState.DeserializeSignalRPrivateLinkServiceConnectionState(property0.Value); + privateLinkServiceConnectionState = SignalRPrivateLinkServiceConnectionState.DeserializeSignalRPrivateLinkServiceConnectionState(property0.Value, options); continue; } } diff --git a/sdk/sphere/Azure.ResourceManager.Sphere/src/Generated/Models/CatalogListResult.Serialization.cs b/sdk/sphere/Azure.ResourceManager.Sphere/src/Generated/Models/CatalogListResult.Serialization.cs index 63c648e357136..cc20ceb5cc849 100644 --- a/sdk/sphere/Azure.ResourceManager.Sphere/src/Generated/Models/CatalogListResult.Serialization.cs +++ b/sdk/sphere/Azure.ResourceManager.Sphere/src/Generated/Models/CatalogListResult.Serialization.cs @@ -88,7 +88,7 @@ internal static CatalogListResult DeserializeCatalogListResult(JsonElement eleme List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SphereCatalogData.DeserializeSphereCatalogData(item)); + array.Add(SphereCatalogData.DeserializeSphereCatalogData(item, options)); } value = array; continue; diff --git a/sdk/sphere/Azure.ResourceManager.Sphere/src/Generated/Models/CertificateListResult.Serialization.cs b/sdk/sphere/Azure.ResourceManager.Sphere/src/Generated/Models/CertificateListResult.Serialization.cs index b8dbe5e62216d..1a6dd709f6a4d 100644 --- a/sdk/sphere/Azure.ResourceManager.Sphere/src/Generated/Models/CertificateListResult.Serialization.cs +++ b/sdk/sphere/Azure.ResourceManager.Sphere/src/Generated/Models/CertificateListResult.Serialization.cs @@ -88,7 +88,7 @@ internal static CertificateListResult DeserializeCertificateListResult(JsonEleme List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SphereCertificateData.DeserializeSphereCertificateData(item)); + array.Add(SphereCertificateData.DeserializeSphereCertificateData(item, options)); } value = array; continue; diff --git a/sdk/sphere/Azure.ResourceManager.Sphere/src/Generated/Models/DeploymentListResult.Serialization.cs b/sdk/sphere/Azure.ResourceManager.Sphere/src/Generated/Models/DeploymentListResult.Serialization.cs index 39c283b5f8bee..5e34e68d6506f 100644 --- a/sdk/sphere/Azure.ResourceManager.Sphere/src/Generated/Models/DeploymentListResult.Serialization.cs +++ b/sdk/sphere/Azure.ResourceManager.Sphere/src/Generated/Models/DeploymentListResult.Serialization.cs @@ -88,7 +88,7 @@ internal static DeploymentListResult DeserializeDeploymentListResult(JsonElement List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SphereDeploymentData.DeserializeSphereDeploymentData(item)); + array.Add(SphereDeploymentData.DeserializeSphereDeploymentData(item, options)); } value = array; continue; diff --git a/sdk/sphere/Azure.ResourceManager.Sphere/src/Generated/Models/DeviceGroupListResult.Serialization.cs b/sdk/sphere/Azure.ResourceManager.Sphere/src/Generated/Models/DeviceGroupListResult.Serialization.cs index 4386b50e2bd39..5dd31f849a229 100644 --- a/sdk/sphere/Azure.ResourceManager.Sphere/src/Generated/Models/DeviceGroupListResult.Serialization.cs +++ b/sdk/sphere/Azure.ResourceManager.Sphere/src/Generated/Models/DeviceGroupListResult.Serialization.cs @@ -88,7 +88,7 @@ internal static DeviceGroupListResult DeserializeDeviceGroupListResult(JsonEleme List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SphereDeviceGroupData.DeserializeSphereDeviceGroupData(item)); + array.Add(SphereDeviceGroupData.DeserializeSphereDeviceGroupData(item, options)); } value = array; continue; diff --git a/sdk/sphere/Azure.ResourceManager.Sphere/src/Generated/Models/DeviceListResult.Serialization.cs b/sdk/sphere/Azure.ResourceManager.Sphere/src/Generated/Models/DeviceListResult.Serialization.cs index 9a3c1b8fe7cee..8479e81c395ab 100644 --- a/sdk/sphere/Azure.ResourceManager.Sphere/src/Generated/Models/DeviceListResult.Serialization.cs +++ b/sdk/sphere/Azure.ResourceManager.Sphere/src/Generated/Models/DeviceListResult.Serialization.cs @@ -88,7 +88,7 @@ internal static DeviceListResult DeserializeDeviceListResult(JsonElement element List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SphereDeviceData.DeserializeSphereDeviceData(item)); + array.Add(SphereDeviceData.DeserializeSphereDeviceData(item, options)); } value = array; continue; diff --git a/sdk/sphere/Azure.ResourceManager.Sphere/src/Generated/Models/ImageListResult.Serialization.cs b/sdk/sphere/Azure.ResourceManager.Sphere/src/Generated/Models/ImageListResult.Serialization.cs index 38d686829b2e3..f9c04e8dfaca7 100644 --- a/sdk/sphere/Azure.ResourceManager.Sphere/src/Generated/Models/ImageListResult.Serialization.cs +++ b/sdk/sphere/Azure.ResourceManager.Sphere/src/Generated/Models/ImageListResult.Serialization.cs @@ -88,7 +88,7 @@ internal static ImageListResult DeserializeImageListResult(JsonElement element, List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SphereImageData.DeserializeSphereImageData(item)); + array.Add(SphereImageData.DeserializeSphereImageData(item, options)); } value = array; continue; diff --git a/sdk/sphere/Azure.ResourceManager.Sphere/src/Generated/Models/PagedDeviceInsight.Serialization.cs b/sdk/sphere/Azure.ResourceManager.Sphere/src/Generated/Models/PagedDeviceInsight.Serialization.cs index 24940fb099ab0..8c0a2b3873899 100644 --- a/sdk/sphere/Azure.ResourceManager.Sphere/src/Generated/Models/PagedDeviceInsight.Serialization.cs +++ b/sdk/sphere/Azure.ResourceManager.Sphere/src/Generated/Models/PagedDeviceInsight.Serialization.cs @@ -87,7 +87,7 @@ internal static PagedDeviceInsight DeserializePagedDeviceInsight(JsonElement ele List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SphereDeviceInsight.DeserializeSphereDeviceInsight(item)); + array.Add(SphereDeviceInsight.DeserializeSphereDeviceInsight(item, options)); } value = array; continue; diff --git a/sdk/sphere/Azure.ResourceManager.Sphere/src/Generated/Models/ProductListResult.Serialization.cs b/sdk/sphere/Azure.ResourceManager.Sphere/src/Generated/Models/ProductListResult.Serialization.cs index a2572e3e49be9..fdb1c98ee0516 100644 --- a/sdk/sphere/Azure.ResourceManager.Sphere/src/Generated/Models/ProductListResult.Serialization.cs +++ b/sdk/sphere/Azure.ResourceManager.Sphere/src/Generated/Models/ProductListResult.Serialization.cs @@ -88,7 +88,7 @@ internal static ProductListResult DeserializeProductListResult(JsonElement eleme List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SphereProductData.DeserializeSphereProductData(item)); + array.Add(SphereProductData.DeserializeSphereProductData(item, options)); } value = array; continue; diff --git a/sdk/sphere/Azure.ResourceManager.Sphere/src/Generated/SphereDeploymentData.Serialization.cs b/sdk/sphere/Azure.ResourceManager.Sphere/src/Generated/SphereDeploymentData.Serialization.cs index 10be719750889..31e040bbb93bf 100644 --- a/sdk/sphere/Azure.ResourceManager.Sphere/src/Generated/SphereDeploymentData.Serialization.cs +++ b/sdk/sphere/Azure.ResourceManager.Sphere/src/Generated/SphereDeploymentData.Serialization.cs @@ -173,7 +173,7 @@ internal static SphereDeploymentData DeserializeSphereDeploymentData(JsonElement List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(SphereImageData.DeserializeSphereImageData(item)); + array.Add(SphereImageData.DeserializeSphereImageData(item, options)); } deployedImages = array; continue; diff --git a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/ErrorSummaryList.Serialization.cs b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/ErrorSummaryList.Serialization.cs index 8ab758028309f..367f288878b97 100644 --- a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/ErrorSummaryList.Serialization.cs +++ b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/ErrorSummaryList.Serialization.cs @@ -95,7 +95,7 @@ internal static ErrorSummaryList DeserializeErrorSummaryList(JsonElement element List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SpringBootSiteErrorSummaryData.DeserializeSpringBootSiteErrorSummaryData(item)); + array.Add(SpringBootSiteErrorSummaryData.DeserializeSpringBootSiteErrorSummaryData(item, options)); } value = array; continue; diff --git a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SpringBootAppList.Serialization.cs b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SpringBootAppList.Serialization.cs index c18ef7f28ab16..2ab94e8597758 100644 --- a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SpringBootAppList.Serialization.cs +++ b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SpringBootAppList.Serialization.cs @@ -95,7 +95,7 @@ internal static SpringBootAppList DeserializeSpringBootAppList(JsonElement eleme List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SpringBootAppData.DeserializeSpringBootAppData(item)); + array.Add(SpringBootAppData.DeserializeSpringBootAppData(item, options)); } value = array; continue; diff --git a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SpringBootAppPatch.Serialization.cs b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SpringBootAppPatch.Serialization.cs index b92087fb9fbea..721bff9c1b6e9 100644 --- a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SpringBootAppPatch.Serialization.cs +++ b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SpringBootAppPatch.Serialization.cs @@ -117,7 +117,7 @@ internal static SpringBootAppPatch DeserializeSpringBootAppPatch(JsonElement ele { continue; } - properties = SpringBootAppProperties.DeserializeSpringBootAppProperties(property.Value); + properties = SpringBootAppProperties.DeserializeSpringBootAppProperties(property.Value, options); continue; } if (property.NameEquals("tags"u8)) diff --git a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SpringBootAppProperties.Serialization.cs b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SpringBootAppProperties.Serialization.cs index a0c157eff6124..38fe646b345c6 100644 --- a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SpringBootAppProperties.Serialization.cs +++ b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SpringBootAppProperties.Serialization.cs @@ -339,7 +339,7 @@ internal static SpringBootAppProperties DeserializeSpringBootAppProperties(JsonE List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SpringBootAppApplicationConfigurationsItem.DeserializeSpringBootAppApplicationConfigurationsItem(item)); + array.Add(SpringBootAppApplicationConfigurationsItem.DeserializeSpringBootAppApplicationConfigurationsItem(item, options)); } applicationConfigurations = array; continue; @@ -456,7 +456,7 @@ internal static SpringBootAppProperties DeserializeSpringBootAppProperties(JsonE List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SpringBootAppMiscsItem.DeserializeSpringBootAppMiscsItem(item)); + array.Add(SpringBootAppMiscsItem.DeserializeSpringBootAppMiscsItem(item, options)); } miscs = array; continue; @@ -470,7 +470,7 @@ internal static SpringBootAppProperties DeserializeSpringBootAppProperties(JsonE List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SpringBootAppInstancesItem.DeserializeSpringBootAppInstancesItem(item)); + array.Add(SpringBootAppInstancesItem.DeserializeSpringBootAppInstancesItem(item, options)); } instances = array; continue; @@ -589,7 +589,7 @@ internal static SpringBootAppProperties DeserializeSpringBootAppProperties(JsonE List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SpringBootSiteError.DeserializeSpringBootSiteError(item)); + array.Add(SpringBootSiteError.DeserializeSpringBootSiteError(item, options)); } errors = array; continue; diff --git a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SpringBootServerList.Serialization.cs b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SpringBootServerList.Serialization.cs index 64c3dbbd12770..90ca0eb8fc67b 100644 --- a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SpringBootServerList.Serialization.cs +++ b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SpringBootServerList.Serialization.cs @@ -95,7 +95,7 @@ internal static SpringBootServerList DeserializeSpringBootServerList(JsonElement List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SpringBootServerData.DeserializeSpringBootServerData(item)); + array.Add(SpringBootServerData.DeserializeSpringBootServerData(item, options)); } value = array; continue; diff --git a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SpringBootServerPatch.Serialization.cs b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SpringBootServerPatch.Serialization.cs index f37136bb912cc..678b4a32ed093 100644 --- a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SpringBootServerPatch.Serialization.cs +++ b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SpringBootServerPatch.Serialization.cs @@ -131,7 +131,7 @@ internal static SpringBootServerPatch DeserializeSpringBootServerPatch(JsonEleme { continue; } - properties = SpringBootServerProperties.DeserializeSpringBootServerProperties(property.Value); + properties = SpringBootServerProperties.DeserializeSpringBootServerProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SpringBootServerProperties.Serialization.cs b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SpringBootServerProperties.Serialization.cs index 3de700b530076..5733e612dd9e9 100644 --- a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SpringBootServerProperties.Serialization.cs +++ b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SpringBootServerProperties.Serialization.cs @@ -200,7 +200,7 @@ internal static SpringBootServerProperties DeserializeSpringBootServerProperties List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SpringBootSiteError.DeserializeSpringBootSiteError(item)); + array.Add(SpringBootSiteError.DeserializeSpringBootSiteError(item, options)); } errors = array; continue; diff --git a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SpringBootSiteErrorSummariesProperties.Serialization.cs b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SpringBootSiteErrorSummariesProperties.Serialization.cs index d47b3fc604986..ccb875a854924 100644 --- a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SpringBootSiteErrorSummariesProperties.Serialization.cs +++ b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SpringBootSiteErrorSummariesProperties.Serialization.cs @@ -105,7 +105,7 @@ internal static SpringBootSiteErrorSummariesProperties DeserializeSpringBootSite List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SpringBootSiteErrorSummaryModel.DeserializeSpringBootSiteErrorSummaryModel(item)); + array.Add(SpringBootSiteErrorSummaryModel.DeserializeSpringBootSiteErrorSummaryModel(item, options)); } discoveryScopeErrorSummaries = array; continue; @@ -119,7 +119,7 @@ internal static SpringBootSiteErrorSummariesProperties DeserializeSpringBootSite List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SpringBootSiteError.DeserializeSpringBootSiteError(item)); + array.Add(SpringBootSiteError.DeserializeSpringBootSiteError(item, options)); } errors = array; continue; diff --git a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SpringBootSiteList.Serialization.cs b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SpringBootSiteList.Serialization.cs index 2f0d7dd2b03ad..749b613353e57 100644 --- a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SpringBootSiteList.Serialization.cs +++ b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SpringBootSiteList.Serialization.cs @@ -95,7 +95,7 @@ internal static SpringBootSiteList DeserializeSpringBootSiteList(JsonElement ele List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SpringBootSiteData.DeserializeSpringBootSiteData(item)); + array.Add(SpringBootSiteData.DeserializeSpringBootSiteData(item, options)); } value = array; continue; diff --git a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SpringBootSitePatch.Serialization.cs b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SpringBootSitePatch.Serialization.cs index 3505e158c58d9..443884d43b32e 100644 --- a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SpringBootSitePatch.Serialization.cs +++ b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SpringBootSitePatch.Serialization.cs @@ -120,7 +120,7 @@ internal static SpringBootSitePatch DeserializeSpringBootSitePatch(JsonElement e { continue; } - properties = SpringBootSiteProperties.DeserializeSpringBootSiteProperties(property.Value); + properties = SpringBootSiteProperties.DeserializeSpringBootSiteProperties(property.Value, options); continue; } if (property.NameEquals("tags"u8)) diff --git a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SpringBootSiteSummariesProperties.Serialization.cs b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SpringBootSiteSummariesProperties.Serialization.cs index 86aed735b12d7..49f18b9bf2732 100644 --- a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SpringBootSiteSummariesProperties.Serialization.cs +++ b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SpringBootSiteSummariesProperties.Serialization.cs @@ -124,7 +124,7 @@ internal static SpringBootSiteSummariesProperties DeserializeSpringBootSiteSumma List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SpringBootSiteError.DeserializeSpringBootSiteError(item)); + array.Add(SpringBootSiteError.DeserializeSpringBootSiteError(item, options)); } errors = array; continue; diff --git a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SummaryList.Serialization.cs b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SummaryList.Serialization.cs index fae477ff29cd5..f9c140aadb6cf 100644 --- a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SummaryList.Serialization.cs +++ b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/Models/SummaryList.Serialization.cs @@ -95,7 +95,7 @@ internal static SummaryList DeserializeSummaryList(JsonElement element, ModelRea List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SpringBootSiteSummaryData.DeserializeSpringBootSiteSummaryData(item)); + array.Add(SpringBootSiteSummaryData.DeserializeSpringBootSiteSummaryData(item, options)); } value = array; continue; diff --git a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/SpringBootAppData.Serialization.cs b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/SpringBootAppData.Serialization.cs index df445ce9bc8b7..c206b3711bb55 100644 --- a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/SpringBootAppData.Serialization.cs +++ b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/SpringBootAppData.Serialization.cs @@ -118,7 +118,7 @@ internal static SpringBootAppData DeserializeSpringBootAppData(JsonElement eleme { continue; } - properties = SpringBootAppProperties.DeserializeSpringBootAppProperties(property.Value); + properties = SpringBootAppProperties.DeserializeSpringBootAppProperties(property.Value, options); continue; } if (property.NameEquals("tags"u8)) diff --git a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/SpringBootServerData.Serialization.cs b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/SpringBootServerData.Serialization.cs index 77e485f027560..923dc347d2a69 100644 --- a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/SpringBootServerData.Serialization.cs +++ b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/SpringBootServerData.Serialization.cs @@ -132,7 +132,7 @@ internal static SpringBootServerData DeserializeSpringBootServerData(JsonElement { continue; } - properties = SpringBootServerProperties.DeserializeSpringBootServerProperties(property.Value); + properties = SpringBootServerProperties.DeserializeSpringBootServerProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/SpringBootSiteData.Serialization.cs b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/SpringBootSiteData.Serialization.cs index ad8a92f35e788..96577e4b39600 100644 --- a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/SpringBootSiteData.Serialization.cs +++ b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/SpringBootSiteData.Serialization.cs @@ -127,7 +127,7 @@ internal static SpringBootSiteData DeserializeSpringBootSiteData(JsonElement ele { continue; } - properties = SpringBootSiteProperties.DeserializeSpringBootSiteProperties(property.Value); + properties = SpringBootSiteProperties.DeserializeSpringBootSiteProperties(property.Value, options); continue; } if (property.NameEquals("extendedLocation"u8)) @@ -136,7 +136,7 @@ internal static SpringBootSiteData DeserializeSpringBootSiteData(JsonElement ele { continue; } - extendedLocation = SpringBootSiteModelExtendedLocation.DeserializeSpringBootSiteModelExtendedLocation(property.Value); + extendedLocation = SpringBootSiteModelExtendedLocation.DeserializeSpringBootSiteModelExtendedLocation(property.Value, options); continue; } if (property.NameEquals("tags"u8)) diff --git a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/SpringBootSiteErrorSummaryData.Serialization.cs b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/SpringBootSiteErrorSummaryData.Serialization.cs index 670a9680e09c0..7deb9dd555abe 100644 --- a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/SpringBootSiteErrorSummaryData.Serialization.cs +++ b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/SpringBootSiteErrorSummaryData.Serialization.cs @@ -118,7 +118,7 @@ internal static SpringBootSiteErrorSummaryData DeserializeSpringBootSiteErrorSum { continue; } - properties = SpringBootSiteErrorSummariesProperties.DeserializeSpringBootSiteErrorSummariesProperties(property.Value); + properties = SpringBootSiteErrorSummariesProperties.DeserializeSpringBootSiteErrorSummariesProperties(property.Value, options); continue; } if (property.NameEquals("tags"u8)) diff --git a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/SpringBootSiteSummaryData.Serialization.cs b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/SpringBootSiteSummaryData.Serialization.cs index b5e00d196cabb..c9646885aba7f 100644 --- a/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/SpringBootSiteSummaryData.Serialization.cs +++ b/sdk/springappdiscovery/Azure.ResourceManager.SpringAppDiscovery/src/Generated/SpringBootSiteSummaryData.Serialization.cs @@ -118,7 +118,7 @@ internal static SpringBootSiteSummaryData DeserializeSpringBootSiteSummaryData(J { continue; } - properties = SpringBootSiteSummariesProperties.DeserializeSpringBootSiteSummariesProperties(property.Value); + properties = SpringBootSiteSummariesProperties.DeserializeSpringBootSiteSummariesProperties(property.Value, options); continue; } if (property.NameEquals("tags"u8)) diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DatabaseVulnerabilityAssessmentData.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DatabaseVulnerabilityAssessmentData.Serialization.cs index 91fda0aa101be..b5def35a0b8b2 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DatabaseVulnerabilityAssessmentData.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DatabaseVulnerabilityAssessmentData.Serialization.cs @@ -175,7 +175,7 @@ internal static DatabaseVulnerabilityAssessmentData DeserializeDatabaseVulnerabi { continue; } - recurringScans = VulnerabilityAssessmentRecurringScansProperties.DeserializeVulnerabilityAssessmentRecurringScansProperties(property0.Value); + recurringScans = VulnerabilityAssessmentRecurringScansProperties.DeserializeVulnerabilityAssessmentRecurringScansProperties(property0.Value, options); continue; } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DatabaseVulnerabilityAssessmentRuleBaselineData.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DatabaseVulnerabilityAssessmentRuleBaselineData.Serialization.cs index 27a8b3e8c7e5f..80ac2537c445f 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DatabaseVulnerabilityAssessmentRuleBaselineData.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/DatabaseVulnerabilityAssessmentRuleBaselineData.Serialization.cs @@ -150,7 +150,7 @@ internal static DatabaseVulnerabilityAssessmentRuleBaselineData DeserializeDatab List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(DatabaseVulnerabilityAssessmentRuleBaselineItem.DeserializeDatabaseVulnerabilityAssessmentRuleBaselineItem(item)); + array.Add(DatabaseVulnerabilityAssessmentRuleBaselineItem.DeserializeDatabaseVulnerabilityAssessmentRuleBaselineItem(item, options)); } baselineResults = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ElasticPoolData.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ElasticPoolData.Serialization.cs index 09ac1ff9497f8..f8ac03146ae6e 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ElasticPoolData.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ElasticPoolData.Serialization.cs @@ -196,7 +196,7 @@ internal static ElasticPoolData DeserializeElasticPoolData(JsonElement element, { continue; } - sku = SqlSku.DeserializeSqlSku(property.Value); + sku = SqlSku.DeserializeSqlSku(property.Value, options); continue; } if (property.NameEquals("kind"u8)) @@ -298,7 +298,7 @@ internal static ElasticPoolData DeserializeElasticPoolData(JsonElement element, { continue; } - perDatabaseSettings = ElasticPoolPerDatabaseSettings.DeserializeElasticPoolPerDatabaseSettings(property0.Value); + perDatabaseSettings = ElasticPoolPerDatabaseSettings.DeserializeElasticPoolPerDatabaseSettings(property0.Value, options); continue; } if (property0.NameEquals("zoneRedundant"u8)) diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/FailoverGroupData.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/FailoverGroupData.Serialization.cs index e880618a95cc1..c0bdaaf9d87de 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/FailoverGroupData.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/FailoverGroupData.Serialization.cs @@ -228,7 +228,7 @@ internal static FailoverGroupData DeserializeFailoverGroupData(JsonElement eleme { continue; } - readWriteEndpoint = FailoverGroupReadWriteEndpoint.DeserializeFailoverGroupReadWriteEndpoint(property0.Value); + readWriteEndpoint = FailoverGroupReadWriteEndpoint.DeserializeFailoverGroupReadWriteEndpoint(property0.Value, options); continue; } if (property0.NameEquals("readOnlyEndpoint"u8)) @@ -237,7 +237,7 @@ internal static FailoverGroupData DeserializeFailoverGroupData(JsonElement eleme { continue; } - readOnlyEndpoint = FailoverGroupReadOnlyEndpoint.DeserializeFailoverGroupReadOnlyEndpoint(property0.Value); + readOnlyEndpoint = FailoverGroupReadOnlyEndpoint.DeserializeFailoverGroupReadOnlyEndpoint(property0.Value, options); continue; } if (property0.NameEquals("replicationRole"u8)) @@ -263,7 +263,7 @@ internal static FailoverGroupData DeserializeFailoverGroupData(JsonElement eleme List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(PartnerServerInfo.DeserializePartnerServerInfo(item)); + array.Add(PartnerServerInfo.DeserializePartnerServerInfo(item, options)); } partnerServers = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/InstanceFailoverGroupData.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/InstanceFailoverGroupData.Serialization.cs index 8126e0b4d4c89..c19862006d054 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/InstanceFailoverGroupData.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/InstanceFailoverGroupData.Serialization.cs @@ -197,7 +197,7 @@ internal static InstanceFailoverGroupData DeserializeInstanceFailoverGroupData(J { continue; } - readWriteEndpoint = InstanceFailoverGroupReadWriteEndpoint.DeserializeInstanceFailoverGroupReadWriteEndpoint(property0.Value); + readWriteEndpoint = InstanceFailoverGroupReadWriteEndpoint.DeserializeInstanceFailoverGroupReadWriteEndpoint(property0.Value, options); continue; } if (property0.NameEquals("readOnlyEndpoint"u8)) @@ -206,7 +206,7 @@ internal static InstanceFailoverGroupData DeserializeInstanceFailoverGroupData(J { continue; } - readOnlyEndpoint = InstanceFailoverGroupReadOnlyEndpoint.DeserializeInstanceFailoverGroupReadOnlyEndpoint(property0.Value); + readOnlyEndpoint = InstanceFailoverGroupReadOnlyEndpoint.DeserializeInstanceFailoverGroupReadOnlyEndpoint(property0.Value, options); continue; } if (property0.NameEquals("replicationRole"u8)) @@ -232,7 +232,7 @@ internal static InstanceFailoverGroupData DeserializeInstanceFailoverGroupData(J List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(PartnerRegionInfo.DeserializePartnerRegionInfo(item)); + array.Add(PartnerRegionInfo.DeserializePartnerRegionInfo(item, options)); } partnerRegions = array; continue; @@ -246,7 +246,7 @@ internal static InstanceFailoverGroupData DeserializeInstanceFailoverGroupData(J List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ManagedInstancePairInfo.DeserializeManagedInstancePairInfo(item)); + array.Add(ManagedInstancePairInfo.DeserializeManagedInstancePairInfo(item, options)); } managedInstancePairs = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/InstancePoolData.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/InstancePoolData.Serialization.cs index c3462ec849229..f551223226e91 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/InstancePoolData.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/InstancePoolData.Serialization.cs @@ -154,7 +154,7 @@ internal static InstancePoolData DeserializeInstancePoolData(JsonElement element { continue; } - sku = SqlSku.DeserializeSqlSku(property.Value); + sku = SqlSku.DeserializeSqlSku(property.Value, options); continue; } if (property.NameEquals("tags"u8)) diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/MaintenanceWindowOptionData.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/MaintenanceWindowOptionData.Serialization.cs index 91aa4b6ed70b4..953197678f147 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/MaintenanceWindowOptionData.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/MaintenanceWindowOptionData.Serialization.cs @@ -195,7 +195,7 @@ internal static MaintenanceWindowOptionData DeserializeMaintenanceWindowOptionDa List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(MaintenanceWindowTimeRange.DeserializeMaintenanceWindowTimeRange(item)); + array.Add(MaintenanceWindowTimeRange.DeserializeMaintenanceWindowTimeRange(item, options)); } maintenanceWindowCycles = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/MaintenanceWindowsData.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/MaintenanceWindowsData.Serialization.cs index d8926717ee2f3..618bfceeaddb2 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/MaintenanceWindowsData.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/MaintenanceWindowsData.Serialization.cs @@ -150,7 +150,7 @@ internal static MaintenanceWindowsData DeserializeMaintenanceWindowsData(JsonEle List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(MaintenanceWindowTimeRange.DeserializeMaintenanceWindowTimeRange(item)); + array.Add(MaintenanceWindowTimeRange.DeserializeMaintenanceWindowTimeRange(item, options)); } timeRanges = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedDatabaseRestoreDetailData.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedDatabaseRestoreDetailData.Serialization.cs index 03e1472f68f42..1d1c79ef96b69 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedDatabaseRestoreDetailData.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedDatabaseRestoreDetailData.Serialization.cs @@ -425,7 +425,7 @@ internal static ManagedDatabaseRestoreDetailData DeserializeManagedDatabaseResto List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ManagedDatabaseRestoreDetailBackupSetProperties.DeserializeManagedDatabaseRestoreDetailBackupSetProperties(item)); + array.Add(ManagedDatabaseRestoreDetailBackupSetProperties.DeserializeManagedDatabaseRestoreDetailBackupSetProperties(item, options)); } fullBackupSets = array; continue; @@ -439,7 +439,7 @@ internal static ManagedDatabaseRestoreDetailData DeserializeManagedDatabaseResto List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ManagedDatabaseRestoreDetailBackupSetProperties.DeserializeManagedDatabaseRestoreDetailBackupSetProperties(item)); + array.Add(ManagedDatabaseRestoreDetailBackupSetProperties.DeserializeManagedDatabaseRestoreDetailBackupSetProperties(item, options)); } diffBackupSets = array; continue; @@ -453,7 +453,7 @@ internal static ManagedDatabaseRestoreDetailData DeserializeManagedDatabaseResto List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ManagedDatabaseRestoreDetailBackupSetProperties.DeserializeManagedDatabaseRestoreDetailBackupSetProperties(item)); + array.Add(ManagedDatabaseRestoreDetailBackupSetProperties.DeserializeManagedDatabaseRestoreDetailBackupSetProperties(item, options)); } logBackupSets = array; continue; @@ -467,7 +467,7 @@ internal static ManagedDatabaseRestoreDetailData DeserializeManagedDatabaseResto List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ManagedDatabaseRestoreDetailUnrestorableFileProperties.DeserializeManagedDatabaseRestoreDetailUnrestorableFileProperties(item)); + array.Add(ManagedDatabaseRestoreDetailUnrestorableFileProperties.DeserializeManagedDatabaseRestoreDetailUnrestorableFileProperties(item, options)); } unrestorableFiles = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceData.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceData.Serialization.cs index 22c23af20091e..cd8b76ac79ab6 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceData.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceData.Serialization.cs @@ -320,7 +320,7 @@ internal static ManagedInstanceData DeserializeManagedInstanceData(JsonElement e { continue; } - sku = SqlSku.DeserializeSqlSku(property.Value); + sku = SqlSku.DeserializeSqlSku(property.Value, options); continue; } if (property.NameEquals("tags"u8)) @@ -536,7 +536,7 @@ internal static ManagedInstanceData DeserializeManagedInstanceData(JsonElement e List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ManagedInstancePecProperty.DeserializeManagedInstancePecProperty(item)); + array.Add(ManagedInstancePecProperty.DeserializeManagedInstancePecProperty(item, options)); } privateEndpointConnections = array; continue; @@ -597,7 +597,7 @@ internal static ManagedInstanceData DeserializeManagedInstanceData(JsonElement e { continue; } - administrators = ManagedInstanceExternalAdministrator.DeserializeManagedInstanceExternalAdministrator(property0.Value); + administrators = ManagedInstanceExternalAdministrator.DeserializeManagedInstanceExternalAdministrator(property0.Value, options); continue; } if (property0.NameEquals("servicePrincipal"u8)) @@ -606,7 +606,7 @@ internal static ManagedInstanceData DeserializeManagedInstanceData(JsonElement e { continue; } - servicePrincipal = SqlServicePrincipal.DeserializeSqlServicePrincipal(property0.Value); + servicePrincipal = SqlServicePrincipal.DeserializeSqlServicePrincipal(property0.Value, options); continue; } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceDtcData.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceDtcData.Serialization.cs index 62572d1e20be3..ce4f2b607a0c9 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceDtcData.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceDtcData.Serialization.cs @@ -180,7 +180,7 @@ internal static ManagedInstanceDtcData DeserializeManagedInstanceDtcData(JsonEle { continue; } - securitySettings = ManagedInstanceDtcSecuritySettings.DeserializeManagedInstanceDtcSecuritySettings(property0.Value); + securitySettings = ManagedInstanceDtcSecuritySettings.DeserializeManagedInstanceDtcSecuritySettings(property0.Value, options); continue; } if (property0.NameEquals("externalDnsSuffixSearchList"u8)) diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceOperationData.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceOperationData.Serialization.cs index 1b4f5e9e04ce4..1f5014244541d 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceOperationData.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceOperationData.Serialization.cs @@ -323,7 +323,7 @@ internal static ManagedInstanceOperationData DeserializeManagedInstanceOperation { continue; } - operationParameters = ManagedInstanceOperationParametersPair.DeserializeManagedInstanceOperationParametersPair(property0.Value); + operationParameters = ManagedInstanceOperationParametersPair.DeserializeManagedInstanceOperationParametersPair(property0.Value, options); continue; } if (property0.NameEquals("operationSteps"u8)) @@ -332,7 +332,7 @@ internal static ManagedInstanceOperationData DeserializeManagedInstanceOperation { continue; } - operationSteps = ManagedInstanceOperationSteps.DeserializeManagedInstanceOperationSteps(property0.Value); + operationSteps = ManagedInstanceOperationSteps.DeserializeManagedInstanceOperationSteps(property0.Value, options); continue; } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstancePrivateEndpointConnectionData.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstancePrivateEndpointConnectionData.Serialization.cs index c12c063cebe5a..1a114d34ac05e 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstancePrivateEndpointConnectionData.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstancePrivateEndpointConnectionData.Serialization.cs @@ -164,7 +164,7 @@ internal static ManagedInstancePrivateEndpointConnectionData DeserializeManagedI { continue; } - privateLinkServiceConnectionState = ManagedInstancePrivateLinkServiceConnectionStateProperty.DeserializeManagedInstancePrivateLinkServiceConnectionStateProperty(property0.Value); + privateLinkServiceConnectionState = ManagedInstancePrivateLinkServiceConnectionStateProperty.DeserializeManagedInstancePrivateLinkServiceConnectionStateProperty(property0.Value, options); continue; } if (property0.NameEquals("provisioningState"u8)) diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstancePrivateLinkData.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstancePrivateLinkData.Serialization.cs index 8b6c20c3825eb..77120ebc9296d 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstancePrivateLinkData.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstancePrivateLinkData.Serialization.cs @@ -106,7 +106,7 @@ internal static ManagedInstancePrivateLinkData DeserializeManagedInstancePrivate { continue; } - properties = ManagedInstancePrivateLinkProperties.DeserializeManagedInstancePrivateLinkProperties(property.Value); + properties = ManagedInstancePrivateLinkProperties.DeserializeManagedInstancePrivateLinkProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceStartStopScheduleData.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceStartStopScheduleData.Serialization.cs index c7b8f70f55e02..943b783609c6f 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceStartStopScheduleData.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceStartStopScheduleData.Serialization.cs @@ -184,7 +184,7 @@ internal static ManagedInstanceStartStopScheduleData DeserializeManagedInstanceS List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(SqlScheduleItem.DeserializeSqlScheduleItem(item)); + array.Add(SqlScheduleItem.DeserializeSqlScheduleItem(item, options)); } scheduleList = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceVulnerabilityAssessmentData.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceVulnerabilityAssessmentData.Serialization.cs index dc3605e9175da..bf566cb2cda76 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceVulnerabilityAssessmentData.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/ManagedInstanceVulnerabilityAssessmentData.Serialization.cs @@ -175,7 +175,7 @@ internal static ManagedInstanceVulnerabilityAssessmentData DeserializeManagedIns { continue; } - recurringScans = VulnerabilityAssessmentRecurringScansProperties.DeserializeVulnerabilityAssessmentRecurringScansProperties(property0.Value); + recurringScans = VulnerabilityAssessmentRecurringScansProperties.DeserializeVulnerabilityAssessmentRecurringScansProperties(property0.Value, options); continue; } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/AdministratorListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/AdministratorListResult.Serialization.cs index ce6da8ad28fbf..2ab2ebf61a2a5 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/AdministratorListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/AdministratorListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static AdministratorListResult DeserializeAdministratorListResult(JsonE List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlServerAzureADAdministratorData.DeserializeSqlServerAzureADAdministratorData(item)); + array.Add(SqlServerAzureADAdministratorData.DeserializeSqlServerAzureADAdministratorData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/AzureADOnlyAuthListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/AzureADOnlyAuthListResult.Serialization.cs index 88f9f8cb634b8..7b867a9f4e7c8 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/AzureADOnlyAuthListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/AzureADOnlyAuthListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static AzureADOnlyAuthListResult DeserializeAzureADOnlyAuthListResult(J List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlServerAzureADOnlyAuthenticationData.DeserializeSqlServerAzureADOnlyAuthenticationData(item)); + array.Add(SqlServerAzureADOnlyAuthenticationData.DeserializeSqlServerAzureADOnlyAuthenticationData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/BackupShortTermRetentionPolicyListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/BackupShortTermRetentionPolicyListResult.Serialization.cs index 0bee4ec6d7646..3fd8f844b073e 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/BackupShortTermRetentionPolicyListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/BackupShortTermRetentionPolicyListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static BackupShortTermRetentionPolicyListResult DeserializeBackupShortT List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(BackupShortTermRetentionPolicyData.DeserializeBackupShortTermRetentionPolicyData(item)); + array.Add(BackupShortTermRetentionPolicyData.DeserializeBackupShortTermRetentionPolicyData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DataMaskingRuleListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DataMaskingRuleListResult.Serialization.cs index 5de9a6e6783bf..e9f45b0d61b0c 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DataMaskingRuleListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DataMaskingRuleListResult.Serialization.cs @@ -88,7 +88,7 @@ internal static DataMaskingRuleListResult DeserializeDataMaskingRuleListResult(J List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DataMaskingRule.DeserializeDataMaskingRule(item)); + array.Add(DataMaskingRule.DeserializeDataMaskingRule(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DataWarehouseUserActivitiesListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DataWarehouseUserActivitiesListResult.Serialization.cs index 55fc70ea10e55..f6a0820d62132 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DataWarehouseUserActivitiesListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DataWarehouseUserActivitiesListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static DataWarehouseUserActivitiesListResult DeserializeDataWarehouseUs List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DataWarehouseUserActivityData.DeserializeDataWarehouseUserActivityData(item)); + array.Add(DataWarehouseUserActivityData.DeserializeDataWarehouseUserActivityData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseAdvancedThreatProtectionListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseAdvancedThreatProtectionListResult.Serialization.cs index cab287bc7de62..80a89ba73bede 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseAdvancedThreatProtectionListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseAdvancedThreatProtectionListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static DatabaseAdvancedThreatProtectionListResult DeserializeDatabaseAd List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DatabaseAdvancedThreatProtectionData.DeserializeDatabaseAdvancedThreatProtectionData(item)); + array.Add(DatabaseAdvancedThreatProtectionData.DeserializeDatabaseAdvancedThreatProtectionData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseBlobAuditingPolicyListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseBlobAuditingPolicyListResult.Serialization.cs index 387cd62280ecf..6b144fd2879b6 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseBlobAuditingPolicyListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseBlobAuditingPolicyListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static DatabaseBlobAuditingPolicyListResult DeserializeDatabaseBlobAudi List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlDatabaseBlobAuditingPolicyData.DeserializeSqlDatabaseBlobAuditingPolicyData(item)); + array.Add(SqlDatabaseBlobAuditingPolicyData.DeserializeSqlDatabaseBlobAuditingPolicyData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseColumnListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseColumnListResult.Serialization.cs index a2487143feec8..eb30c40f57f19 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseColumnListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseColumnListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static DatabaseColumnListResult DeserializeDatabaseColumnListResult(Jso List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DatabaseColumnData.DeserializeDatabaseColumnData(item)); + array.Add(DatabaseColumnData.DeserializeDatabaseColumnData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseExportDefinition.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseExportDefinition.Serialization.cs index e4fdca9169e29..e7adad4d1ff60 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseExportDefinition.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseExportDefinition.Serialization.cs @@ -131,7 +131,7 @@ internal static DatabaseExportDefinition DeserializeDatabaseExportDefinition(Jso { continue; } - networkIsolation = NetworkIsolationSettings.DeserializeNetworkIsolationSettings(property.Value); + networkIsolation = NetworkIsolationSettings.DeserializeNetworkIsolationSettings(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseImportDefinition.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseImportDefinition.Serialization.cs index e73a0cc4e24cd..da94d82417dbb 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseImportDefinition.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseImportDefinition.Serialization.cs @@ -175,7 +175,7 @@ internal static DatabaseImportDefinition DeserializeDatabaseImportDefinition(Jso { continue; } - networkIsolation = NetworkIsolationSettings.DeserializeNetworkIsolationSettings(property.Value); + networkIsolation = NetworkIsolationSettings.DeserializeNetworkIsolationSettings(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseListResult.Serialization.cs index 0134ea5ffa2dc..bb5df7b1b5350 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static DatabaseListResult DeserializeDatabaseListResult(JsonElement ele List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlDatabaseData.DeserializeSqlDatabaseData(item)); + array.Add(SqlDatabaseData.DeserializeSqlDatabaseData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseOperationListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseOperationListResult.Serialization.cs index 3ad181348a846..57d5a28246dc7 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseOperationListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseOperationListResult.Serialization.cs @@ -94,7 +94,7 @@ internal static DatabaseOperationListResult DeserializeDatabaseOperationListResu List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DatabaseOperationData.DeserializeDatabaseOperationData(item)); + array.Add(DatabaseOperationData.DeserializeDatabaseOperationData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseSchemaListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseSchemaListResult.Serialization.cs index e7a8e9afca638..636ca71c73bfb 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseSchemaListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseSchemaListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static DatabaseSchemaListResult DeserializeDatabaseSchemaListResult(Jso List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DatabaseSchemaData.DeserializeDatabaseSchemaData(item)); + array.Add(DatabaseSchemaData.DeserializeDatabaseSchemaData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseSecurityAlertListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseSecurityAlertListResult.Serialization.cs index ad0eeb8bbd4a5..7793a8a297818 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseSecurityAlertListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseSecurityAlertListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static DatabaseSecurityAlertListResult DeserializeDatabaseSecurityAlert List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlDatabaseSecurityAlertPolicyData.DeserializeSqlDatabaseSecurityAlertPolicyData(item)); + array.Add(SqlDatabaseSecurityAlertPolicyData.DeserializeSqlDatabaseSecurityAlertPolicyData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseSqlVulnerabilityAssessmentBaselineSetListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseSqlVulnerabilityAssessmentBaselineSetListResult.Serialization.cs index 095b71fa68781..b4dc473d8d6ab 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseSqlVulnerabilityAssessmentBaselineSetListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseSqlVulnerabilityAssessmentBaselineSetListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static DatabaseSqlVulnerabilityAssessmentBaselineSetListResult Deserial List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlVulnerabilityAssessmentBaselineData.DeserializeSqlVulnerabilityAssessmentBaselineData(item)); + array.Add(SqlVulnerabilityAssessmentBaselineData.DeserializeSqlVulnerabilityAssessmentBaselineData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseSqlVulnerabilityAssessmentRuleBaselineListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseSqlVulnerabilityAssessmentRuleBaselineListResult.Serialization.cs index 363291c6c3330..acdd0107547a0 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseSqlVulnerabilityAssessmentRuleBaselineListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseSqlVulnerabilityAssessmentRuleBaselineListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static DatabaseSqlVulnerabilityAssessmentRuleBaselineListResult Deseria List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlVulnerabilityAssessmentBaselineRuleData.DeserializeSqlVulnerabilityAssessmentBaselineRuleData(item)); + array.Add(SqlVulnerabilityAssessmentBaselineRuleData.DeserializeSqlVulnerabilityAssessmentBaselineRuleData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseTableListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseTableListResult.Serialization.cs index b7d1df7deea03..f102bd69eaba5 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseTableListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseTableListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static DatabaseTableListResult DeserializeDatabaseTableListResult(JsonE List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DatabaseTableData.DeserializeDatabaseTableData(item)); + array.Add(DatabaseTableData.DeserializeDatabaseTableData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseUsageListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseUsageListResult.Serialization.cs index 2c0614b7866f8..193dd808a99ca 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseUsageListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseUsageListResult.Serialization.cs @@ -94,7 +94,7 @@ internal static DatabaseUsageListResult DeserializeDatabaseUsageListResult(JsonE List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DatabaseUsage.DeserializeDatabaseUsage(item)); + array.Add(DatabaseUsage.DeserializeDatabaseUsage(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseVulnerabilityAssessmentListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseVulnerabilityAssessmentListResult.Serialization.cs index fd48b748c4ffd..3dbafcad2d2f5 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseVulnerabilityAssessmentListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DatabaseVulnerabilityAssessmentListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static DatabaseVulnerabilityAssessmentListResult DeserializeDatabaseVul List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DatabaseVulnerabilityAssessmentData.DeserializeDatabaseVulnerabilityAssessmentData(item)); + array.Add(DatabaseVulnerabilityAssessmentData.DeserializeDatabaseVulnerabilityAssessmentData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DeletedServerListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DeletedServerListResult.Serialization.cs index 42db3aaa2646a..a0d2cc548e632 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DeletedServerListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DeletedServerListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static DeletedServerListResult DeserializeDeletedServerListResult(JsonE List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DeletedServerData.DeserializeDeletedServerData(item)); + array.Add(DeletedServerData.DeserializeDeletedServerData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DistributedAvailabilityGroupsListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DistributedAvailabilityGroupsListResult.Serialization.cs index 6a49583fe2c7a..9e4554dac7dcc 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DistributedAvailabilityGroupsListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/DistributedAvailabilityGroupsListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static DistributedAvailabilityGroupsListResult DeserializeDistributedAv List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(DistributedAvailabilityGroupData.DeserializeDistributedAvailabilityGroupData(item)); + array.Add(DistributedAvailabilityGroupData.DeserializeDistributedAvailabilityGroupData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/EditionCapability.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/EditionCapability.Serialization.cs index 3791ddbd4926e..d7ce6662a2950 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/EditionCapability.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/EditionCapability.Serialization.cs @@ -134,7 +134,7 @@ internal static EditionCapability DeserializeEditionCapability(JsonElement eleme List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ServiceObjectiveCapability.DeserializeServiceObjectiveCapability(item)); + array.Add(ServiceObjectiveCapability.DeserializeServiceObjectiveCapability(item, options)); } supportedServiceLevelObjectives = array; continue; @@ -154,7 +154,7 @@ internal static EditionCapability DeserializeEditionCapability(JsonElement eleme { continue; } - readScale = ReadScaleCapability.DeserializeReadScaleCapability(property.Value); + readScale = ReadScaleCapability.DeserializeReadScaleCapability(property.Value, options); continue; } if (property.NameEquals("supportedStorageCapabilities"u8)) @@ -166,7 +166,7 @@ internal static EditionCapability DeserializeEditionCapability(JsonElement eleme List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(StorageCapability.DeserializeStorageCapability(item)); + array.Add(StorageCapability.DeserializeStorageCapability(item, options)); } supportedStorageCapabilities = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolActivityListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolActivityListResult.Serialization.cs index 14bfa3e590281..970935e4c352e 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolActivityListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolActivityListResult.Serialization.cs @@ -81,7 +81,7 @@ internal static ElasticPoolActivityListResult DeserializeElasticPoolActivityList List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ElasticPoolActivity.DeserializeElasticPoolActivity(item)); + array.Add(ElasticPoolActivity.DeserializeElasticPoolActivity(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolDatabaseActivityListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolDatabaseActivityListResult.Serialization.cs index 4eeb4177e9688..c2a047ed05f12 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolDatabaseActivityListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolDatabaseActivityListResult.Serialization.cs @@ -81,7 +81,7 @@ internal static ElasticPoolDatabaseActivityListResult DeserializeElasticPoolData List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ElasticPoolDatabaseActivity.DeserializeElasticPoolDatabaseActivity(item)); + array.Add(ElasticPoolDatabaseActivity.DeserializeElasticPoolDatabaseActivity(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolEditionCapability.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolEditionCapability.Serialization.cs index 01afa2c3cdcaf..7dc847e452010 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolEditionCapability.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolEditionCapability.Serialization.cs @@ -117,7 +117,7 @@ internal static ElasticPoolEditionCapability DeserializeElasticPoolEditionCapabi List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ElasticPoolPerformanceLevelCapability.DeserializeElasticPoolPerformanceLevelCapability(item)); + array.Add(ElasticPoolPerformanceLevelCapability.DeserializeElasticPoolPerformanceLevelCapability(item, options)); } supportedElasticPoolPerformanceLevels = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolListResult.Serialization.cs index a2c0233eb4f87..9ed59b2e56ea3 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ElasticPoolListResult DeserializeElasticPoolListResult(JsonEleme List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ElasticPoolData.DeserializeElasticPoolData(item)); + array.Add(ElasticPoolData.DeserializeElasticPoolData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolOperationListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolOperationListResult.Serialization.cs index 543b2c9b7a6b4..1b3f2fce7b7ad 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolOperationListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolOperationListResult.Serialization.cs @@ -94,7 +94,7 @@ internal static ElasticPoolOperationListResult DeserializeElasticPoolOperationLi List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ElasticPoolOperationData.DeserializeElasticPoolOperationData(item)); + array.Add(ElasticPoolOperationData.DeserializeElasticPoolOperationData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolPatch.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolPatch.Serialization.cs index 89e5c8cbc9b30..3410e7e04cc2c 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolPatch.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolPatch.Serialization.cs @@ -149,7 +149,7 @@ internal static ElasticPoolPatch DeserializeElasticPoolPatch(JsonElement element { continue; } - sku = SqlSku.DeserializeSqlSku(property.Value); + sku = SqlSku.DeserializeSqlSku(property.Value, options); continue; } if (property.NameEquals("tags"u8)) @@ -199,7 +199,7 @@ internal static ElasticPoolPatch DeserializeElasticPoolPatch(JsonElement element { continue; } - perDatabaseSettings = ElasticPoolPerDatabaseSettings.DeserializeElasticPoolPerDatabaseSettings(property0.Value); + perDatabaseSettings = ElasticPoolPerDatabaseSettings.DeserializeElasticPoolPerDatabaseSettings(property0.Value, options); continue; } if (property0.NameEquals("zoneRedundant"u8)) diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolPerDatabaseMaxPerformanceLevelCapability.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolPerDatabaseMaxPerformanceLevelCapability.Serialization.cs index 4d4982b7515f8..adbc78b31f815 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolPerDatabaseMaxPerformanceLevelCapability.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolPerDatabaseMaxPerformanceLevelCapability.Serialization.cs @@ -130,7 +130,7 @@ internal static ElasticPoolPerDatabaseMaxPerformanceLevelCapability DeserializeE List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ElasticPoolPerDatabaseMinPerformanceLevelCapability.DeserializeElasticPoolPerDatabaseMinPerformanceLevelCapability(item)); + array.Add(ElasticPoolPerDatabaseMinPerformanceLevelCapability.DeserializeElasticPoolPerDatabaseMinPerformanceLevelCapability(item, options)); } supportedPerDatabaseMinPerformanceLevels = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolPerformanceLevelCapability.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolPerformanceLevelCapability.Serialization.cs index 179fe132771fa..1e645f0bae311 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolPerformanceLevelCapability.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ElasticPoolPerformanceLevelCapability.Serialization.cs @@ -171,7 +171,7 @@ internal static ElasticPoolPerformanceLevelCapability DeserializeElasticPoolPerf { continue; } - performanceLevel = PerformanceLevelCapability.DeserializePerformanceLevelCapability(property.Value); + performanceLevel = PerformanceLevelCapability.DeserializePerformanceLevelCapability(property.Value, options); continue; } if (property.NameEquals("sku"u8)) @@ -180,7 +180,7 @@ internal static ElasticPoolPerformanceLevelCapability DeserializeElasticPoolPerf { continue; } - sku = SqlSku.DeserializeSqlSku(property.Value); + sku = SqlSku.DeserializeSqlSku(property.Value, options); continue; } if (property.NameEquals("supportedLicenseTypes"u8)) @@ -192,7 +192,7 @@ internal static ElasticPoolPerformanceLevelCapability DeserializeElasticPoolPerf List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(LicenseTypeCapability.DeserializeLicenseTypeCapability(item)); + array.Add(LicenseTypeCapability.DeserializeLicenseTypeCapability(item, options)); } supportedLicenseTypes = array; continue; @@ -212,7 +212,7 @@ internal static ElasticPoolPerformanceLevelCapability DeserializeElasticPoolPerf { continue; } - includedMaxSize = MaxSizeCapability.DeserializeMaxSizeCapability(property.Value); + includedMaxSize = MaxSizeCapability.DeserializeMaxSizeCapability(property.Value, options); continue; } if (property.NameEquals("supportedMaxSizes"u8)) @@ -224,7 +224,7 @@ internal static ElasticPoolPerformanceLevelCapability DeserializeElasticPoolPerf List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(MaxSizeRangeCapability.DeserializeMaxSizeRangeCapability(item)); + array.Add(MaxSizeRangeCapability.DeserializeMaxSizeRangeCapability(item, options)); } supportedMaxSizes = array; continue; @@ -238,7 +238,7 @@ internal static ElasticPoolPerformanceLevelCapability DeserializeElasticPoolPerf List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(MaxSizeRangeCapability.DeserializeMaxSizeRangeCapability(item)); + array.Add(MaxSizeRangeCapability.DeserializeMaxSizeRangeCapability(item, options)); } supportedPerDatabaseMaxSizes = array; continue; @@ -252,7 +252,7 @@ internal static ElasticPoolPerformanceLevelCapability DeserializeElasticPoolPerf List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ElasticPoolPerDatabaseMaxPerformanceLevelCapability.DeserializeElasticPoolPerDatabaseMaxPerformanceLevelCapability(item)); + array.Add(ElasticPoolPerDatabaseMaxPerformanceLevelCapability.DeserializeElasticPoolPerDatabaseMaxPerformanceLevelCapability(item, options)); } supportedPerDatabaseMaxPerformanceLevels = array; continue; @@ -275,7 +275,7 @@ internal static ElasticPoolPerformanceLevelCapability DeserializeElasticPoolPerf List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(MaintenanceConfigurationCapability.DeserializeMaintenanceConfigurationCapability(item)); + array.Add(MaintenanceConfigurationCapability.DeserializeMaintenanceConfigurationCapability(item, options)); } supportedMaintenanceConfigurations = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/EncryptionProtectorListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/EncryptionProtectorListResult.Serialization.cs index 3d86d00ddf74c..c7443be8f1e89 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/EncryptionProtectorListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/EncryptionProtectorListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static EncryptionProtectorListResult DeserializeEncryptionProtectorList List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(EncryptionProtectorData.DeserializeEncryptionProtectorData(item)); + array.Add(EncryptionProtectorData.DeserializeEncryptionProtectorData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/EndpointCertificateListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/EndpointCertificateListResult.Serialization.cs index cb8808228d749..5235def72c6e8 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/EndpointCertificateListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/EndpointCertificateListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static EndpointCertificateListResult DeserializeEndpointCertificateList List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(EndpointCertificateData.DeserializeEndpointCertificateData(item)); + array.Add(EndpointCertificateData.DeserializeEndpointCertificateData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ExtendedDatabaseBlobAuditingPolicyListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ExtendedDatabaseBlobAuditingPolicyListResult.Serialization.cs index 6d8286c3f9ed8..088efa7266205 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ExtendedDatabaseBlobAuditingPolicyListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ExtendedDatabaseBlobAuditingPolicyListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ExtendedDatabaseBlobAuditingPolicyListResult DeserializeExtended List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ExtendedDatabaseBlobAuditingPolicyData.DeserializeExtendedDatabaseBlobAuditingPolicyData(item)); + array.Add(ExtendedDatabaseBlobAuditingPolicyData.DeserializeExtendedDatabaseBlobAuditingPolicyData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ExtendedServerBlobAuditingPolicyListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ExtendedServerBlobAuditingPolicyListResult.Serialization.cs index 58f4ec51894ba..343056ff6eebc 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ExtendedServerBlobAuditingPolicyListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ExtendedServerBlobAuditingPolicyListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ExtendedServerBlobAuditingPolicyListResult DeserializeExtendedSe List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ExtendedServerBlobAuditingPolicyData.DeserializeExtendedServerBlobAuditingPolicyData(item)); + array.Add(ExtendedServerBlobAuditingPolicyData.DeserializeExtendedServerBlobAuditingPolicyData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/FailoverGroupListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/FailoverGroupListResult.Serialization.cs index 121fddbe5b566..c5682301617b2 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/FailoverGroupListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/FailoverGroupListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static FailoverGroupListResult DeserializeFailoverGroupListResult(JsonE List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(FailoverGroupData.DeserializeFailoverGroupData(item)); + array.Add(FailoverGroupData.DeserializeFailoverGroupData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/FailoverGroupPatch.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/FailoverGroupPatch.Serialization.cs index cb5014ebe04bd..7cf636b3056fb 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/FailoverGroupPatch.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/FailoverGroupPatch.Serialization.cs @@ -151,7 +151,7 @@ internal static FailoverGroupPatch DeserializeFailoverGroupPatch(JsonElement ele { continue; } - readWriteEndpoint = FailoverGroupReadWriteEndpoint.DeserializeFailoverGroupReadWriteEndpoint(property0.Value); + readWriteEndpoint = FailoverGroupReadWriteEndpoint.DeserializeFailoverGroupReadWriteEndpoint(property0.Value, options); continue; } if (property0.NameEquals("readOnlyEndpoint"u8)) @@ -160,7 +160,7 @@ internal static FailoverGroupPatch DeserializeFailoverGroupPatch(JsonElement ele { continue; } - readOnlyEndpoint = FailoverGroupReadOnlyEndpoint.DeserializeFailoverGroupReadOnlyEndpoint(property0.Value); + readOnlyEndpoint = FailoverGroupReadOnlyEndpoint.DeserializeFailoverGroupReadOnlyEndpoint(property0.Value, options); continue; } if (property0.NameEquals("databases"u8)) @@ -193,7 +193,7 @@ internal static FailoverGroupPatch DeserializeFailoverGroupPatch(JsonElement ele List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(PartnerServerInfo.DeserializePartnerServerInfo(item)); + array.Add(PartnerServerInfo.DeserializePartnerServerInfo(item, options)); } partnerServers = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/FirewallRuleListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/FirewallRuleListResult.Serialization.cs index 687396e1ddb84..a3c9d15db3c8b 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/FirewallRuleListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/FirewallRuleListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static FirewallRuleListResult DeserializeFirewallRuleListResult(JsonEle List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlFirewallRuleData.DeserializeSqlFirewallRuleData(item)); + array.Add(SqlFirewallRuleData.DeserializeSqlFirewallRuleData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/GeoBackupPolicyListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/GeoBackupPolicyListResult.Serialization.cs index df38511c79218..f1d26884bf2c4 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/GeoBackupPolicyListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/GeoBackupPolicyListResult.Serialization.cs @@ -89,7 +89,7 @@ internal static GeoBackupPolicyListResult DeserializeGeoBackupPolicyListResult(J List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(GeoBackupPolicyData.DeserializeGeoBackupPolicyData(item)); + array.Add(GeoBackupPolicyData.DeserializeGeoBackupPolicyData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/IPv6FirewallRuleListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/IPv6FirewallRuleListResult.Serialization.cs index 17b14270c8774..c0eace4bb4dc6 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/IPv6FirewallRuleListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/IPv6FirewallRuleListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static IPv6FirewallRuleListResult DeserializeIPv6FirewallRuleListResult List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(IPv6FirewallRuleData.DeserializeIPv6FirewallRuleData(item)); + array.Add(IPv6FirewallRuleData.DeserializeIPv6FirewallRuleData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ImportExistingDatabaseDefinition.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ImportExistingDatabaseDefinition.Serialization.cs index 12495a86dd858..55366dec2d802 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ImportExistingDatabaseDefinition.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ImportExistingDatabaseDefinition.Serialization.cs @@ -131,7 +131,7 @@ internal static ImportExistingDatabaseDefinition DeserializeImportExistingDataba { continue; } - networkIsolation = NetworkIsolationSettings.DeserializeNetworkIsolationSettings(property.Value); + networkIsolation = NetworkIsolationSettings.DeserializeNetworkIsolationSettings(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ImportExportExtensionsOperationListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ImportExportExtensionsOperationListResult.Serialization.cs index c65a3cef96b83..a4ec33f5dea3c 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ImportExportExtensionsOperationListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ImportExportExtensionsOperationListResult.Serialization.cs @@ -94,7 +94,7 @@ internal static ImportExportExtensionsOperationListResult DeserializeImportExpor List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ImportExportExtensionsOperationResult.DeserializeImportExportExtensionsOperationResult(item)); + array.Add(ImportExportExtensionsOperationResult.DeserializeImportExportExtensionsOperationResult(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ImportExportOperationResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ImportExportOperationResult.Serialization.cs index 6776933e8da6d..48851da57bf11 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ImportExportOperationResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ImportExportOperationResult.Serialization.cs @@ -256,7 +256,7 @@ internal static ImportExportOperationResult DeserializeImportExportOperationResu List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(PrivateEndpointConnectionRequestStatus.DeserializePrivateEndpointConnectionRequestStatus(item)); + array.Add(PrivateEndpointConnectionRequestStatus.DeserializePrivateEndpointConnectionRequestStatus(item, options)); } privateEndpointConnections = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/InstanceFailoverGroupListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/InstanceFailoverGroupListResult.Serialization.cs index 0b2d3726f6fd0..c0ec5101cffcb 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/InstanceFailoverGroupListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/InstanceFailoverGroupListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static InstanceFailoverGroupListResult DeserializeInstanceFailoverGroup List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(InstanceFailoverGroupData.DeserializeInstanceFailoverGroupData(item)); + array.Add(InstanceFailoverGroupData.DeserializeInstanceFailoverGroupData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/InstancePoolEditionCapability.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/InstancePoolEditionCapability.Serialization.cs index e858ad1e65a43..8891457fdbf91 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/InstancePoolEditionCapability.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/InstancePoolEditionCapability.Serialization.cs @@ -111,7 +111,7 @@ internal static InstancePoolEditionCapability DeserializeInstancePoolEditionCapa List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(InstancePoolFamilyCapability.DeserializeInstancePoolFamilyCapability(item)); + array.Add(InstancePoolFamilyCapability.DeserializeInstancePoolFamilyCapability(item, options)); } supportedFamilies = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/InstancePoolFamilyCapability.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/InstancePoolFamilyCapability.Serialization.cs index edc50a3d2e94a..0851549470be2 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/InstancePoolFamilyCapability.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/InstancePoolFamilyCapability.Serialization.cs @@ -122,7 +122,7 @@ internal static InstancePoolFamilyCapability DeserializeInstancePoolFamilyCapabi List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(LicenseTypeCapability.DeserializeLicenseTypeCapability(item)); + array.Add(LicenseTypeCapability.DeserializeLicenseTypeCapability(item, options)); } supportedLicenseTypes = array; continue; @@ -136,7 +136,7 @@ internal static InstancePoolFamilyCapability DeserializeInstancePoolFamilyCapabi List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(InstancePoolVcoresCapability.DeserializeInstancePoolVcoresCapability(item)); + array.Add(InstancePoolVcoresCapability.DeserializeInstancePoolVcoresCapability(item, options)); } supportedVcoresValues = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/InstancePoolListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/InstancePoolListResult.Serialization.cs index 775a684de5d1c..f159d51db1561 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/InstancePoolListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/InstancePoolListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static InstancePoolListResult DeserializeInstancePoolListResult(JsonEle List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(InstancePoolData.DeserializeInstancePoolData(item)); + array.Add(InstancePoolData.DeserializeInstancePoolData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/InstancePoolPatch.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/InstancePoolPatch.Serialization.cs index 8740692a154ab..ac73b71e640a6 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/InstancePoolPatch.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/InstancePoolPatch.Serialization.cs @@ -125,7 +125,7 @@ internal static InstancePoolPatch DeserializeInstancePoolPatch(JsonElement eleme { continue; } - sku = SqlSku.DeserializeSqlSku(property.Value); + sku = SqlSku.DeserializeSqlSku(property.Value, options); continue; } if (property.NameEquals("tags"u8)) diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/InstancePoolUsage.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/InstancePoolUsage.Serialization.cs index 0c14af6bfcf09..45bf0335fb7fe 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/InstancePoolUsage.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/InstancePoolUsage.Serialization.cs @@ -125,7 +125,7 @@ internal static InstancePoolUsage DeserializeInstancePoolUsage(JsonElement eleme { continue; } - name = InstancePoolUsageName.DeserializeInstancePoolUsageName(property.Value); + name = InstancePoolUsageName.DeserializeInstancePoolUsageName(property.Value, options); continue; } if (property.NameEquals("type"u8)) diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/InstancePoolUsageListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/InstancePoolUsageListResult.Serialization.cs index 1d5f3435ef59a..1f6eacb72b285 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/InstancePoolUsageListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/InstancePoolUsageListResult.Serialization.cs @@ -94,7 +94,7 @@ internal static InstancePoolUsageListResult DeserializeInstancePoolUsageListResu List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(InstancePoolUsage.DeserializeInstancePoolUsage(item)); + array.Add(InstancePoolUsage.DeserializeInstancePoolUsage(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/InstancePoolVcoresCapability.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/InstancePoolVcoresCapability.Serialization.cs index 0a06dd32f2be9..2f769bb3d1e48 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/InstancePoolVcoresCapability.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/InstancePoolVcoresCapability.Serialization.cs @@ -118,7 +118,7 @@ internal static InstancePoolVcoresCapability DeserializeInstancePoolVcoresCapabi { continue; } - storageLimit = MaxSizeCapability.DeserializeMaxSizeCapability(property.Value); + storageLimit = MaxSizeCapability.DeserializeMaxSizeCapability(property.Value, options); continue; } if (property.NameEquals("status"u8)) diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobAgentListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobAgentListResult.Serialization.cs index 22868009ed67e..40f9beeaf507c 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobAgentListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobAgentListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static JobAgentListResult DeserializeJobAgentListResult(JsonElement ele List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlServerJobAgentData.DeserializeSqlServerJobAgentData(item)); + array.Add(SqlServerJobAgentData.DeserializeSqlServerJobAgentData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobCredentialListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobCredentialListResult.Serialization.cs index d5ccee1c9d23d..b575b85b0fd83 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobCredentialListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobCredentialListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static JobCredentialListResult DeserializeJobCredentialListResult(JsonE List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlServerJobCredentialData.DeserializeSqlServerJobCredentialData(item)); + array.Add(SqlServerJobCredentialData.DeserializeSqlServerJobCredentialData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobExecutionListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobExecutionListResult.Serialization.cs index fc9662931b6d0..a4ebd9ea45e00 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobExecutionListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobExecutionListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static JobExecutionListResult DeserializeJobExecutionListResult(JsonEle List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlServerJobExecutionData.DeserializeSqlServerJobExecutionData(item)); + array.Add(SqlServerJobExecutionData.DeserializeSqlServerJobExecutionData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobListResult.Serialization.cs index e56b74f471ddc..ff776cd8ec616 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static JobListResult DeserializeJobListResult(JsonElement element, Mode List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlServerJobData.DeserializeSqlServerJobData(item)); + array.Add(SqlServerJobData.DeserializeSqlServerJobData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobStepListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobStepListResult.Serialization.cs index 8d6ab8fb4b22b..4829923aac6bc 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobStepListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobStepListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static JobStepListResult DeserializeJobStepListResult(JsonElement eleme List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlServerJobStepData.DeserializeSqlServerJobStepData(item)); + array.Add(SqlServerJobStepData.DeserializeSqlServerJobStepData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobTargetGroupListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobTargetGroupListResult.Serialization.cs index 5ec5b19b5ff8c..a7ecc9c9973f2 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobTargetGroupListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobTargetGroupListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static JobTargetGroupListResult DeserializeJobTargetGroupListResult(Jso List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlServerJobTargetGroupData.DeserializeSqlServerJobTargetGroupData(item)); + array.Add(SqlServerJobTargetGroupData.DeserializeSqlServerJobTargetGroupData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobVersionListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobVersionListResult.Serialization.cs index fc50a07c259a7..464633732d0b9 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobVersionListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/JobVersionListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static JobVersionListResult DeserializeJobVersionListResult(JsonElement List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlServerJobVersionData.DeserializeSqlServerJobVersionData(item)); + array.Add(SqlServerJobVersionData.DeserializeSqlServerJobVersionData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/LedgerDigestUploadsListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/LedgerDigestUploadsListResult.Serialization.cs index 8c7d41dff3044..167d970f8e3ee 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/LedgerDigestUploadsListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/LedgerDigestUploadsListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static LedgerDigestUploadsListResult DeserializeLedgerDigestUploadsList List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(LedgerDigestUploadData.DeserializeLedgerDigestUploadData(item)); + array.Add(LedgerDigestUploadData.DeserializeLedgerDigestUploadData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/LogicalDatabaseTransparentDataEncryptionListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/LogicalDatabaseTransparentDataEncryptionListResult.Serialization.cs index 587bc00df92d3..d0cc433e16c9d 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/LogicalDatabaseTransparentDataEncryptionListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/LogicalDatabaseTransparentDataEncryptionListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static LogicalDatabaseTransparentDataEncryptionListResult DeserializeLo List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(LogicalDatabaseTransparentDataEncryptionData.DeserializeLogicalDatabaseTransparentDataEncryptionData(item)); + array.Add(LogicalDatabaseTransparentDataEncryptionData.DeserializeLogicalDatabaseTransparentDataEncryptionData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/LogicalServerAdvancedThreatProtectionListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/LogicalServerAdvancedThreatProtectionListResult.Serialization.cs index 7b0dabbb78c74..76ee26f9102cf 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/LogicalServerAdvancedThreatProtectionListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/LogicalServerAdvancedThreatProtectionListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static LogicalServerAdvancedThreatProtectionListResult DeserializeLogic List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ServerAdvancedThreatProtectionData.DeserializeServerAdvancedThreatProtectionData(item)); + array.Add(ServerAdvancedThreatProtectionData.DeserializeServerAdvancedThreatProtectionData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/LogicalServerSecurityAlertPolicyListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/LogicalServerSecurityAlertPolicyListResult.Serialization.cs index 975cb0fe55f09..f2af8ac908107 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/LogicalServerSecurityAlertPolicyListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/LogicalServerSecurityAlertPolicyListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static LogicalServerSecurityAlertPolicyListResult DeserializeLogicalSer List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlServerSecurityAlertPolicyData.DeserializeSqlServerSecurityAlertPolicyData(item)); + array.Add(SqlServerSecurityAlertPolicyData.DeserializeSqlServerSecurityAlertPolicyData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/LongTermRetentionBackupListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/LongTermRetentionBackupListResult.Serialization.cs index 61d740b3c08cd..471d521ce5254 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/LongTermRetentionBackupListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/LongTermRetentionBackupListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static LongTermRetentionBackupListResult DeserializeLongTermRetentionBa List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(LongTermRetentionBackupData.DeserializeLongTermRetentionBackupData(item)); + array.Add(LongTermRetentionBackupData.DeserializeLongTermRetentionBackupData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/LongTermRetentionPolicyListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/LongTermRetentionPolicyListResult.Serialization.cs index 2ca5f642c25c0..b9836b3bbfac0 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/LongTermRetentionPolicyListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/LongTermRetentionPolicyListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static LongTermRetentionPolicyListResult DeserializeLongTermRetentionPo List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(LongTermRetentionPolicyData.DeserializeLongTermRetentionPolicyData(item)); + array.Add(LongTermRetentionPolicyData.DeserializeLongTermRetentionPolicyData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedBackupShortTermRetentionPolicyListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedBackupShortTermRetentionPolicyListResult.Serialization.cs index 245cb67080bff..6ee19acc4e81f 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedBackupShortTermRetentionPolicyListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedBackupShortTermRetentionPolicyListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ManagedBackupShortTermRetentionPolicyListResult DeserializeManag List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedBackupShortTermRetentionPolicyData.DeserializeManagedBackupShortTermRetentionPolicyData(item)); + array.Add(ManagedBackupShortTermRetentionPolicyData.DeserializeManagedBackupShortTermRetentionPolicyData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedDatabaseAdvancedThreatProtectionListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedDatabaseAdvancedThreatProtectionListResult.Serialization.cs index 340baef4d64f2..1d69fab95df56 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedDatabaseAdvancedThreatProtectionListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedDatabaseAdvancedThreatProtectionListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ManagedDatabaseAdvancedThreatProtectionListResult DeserializeMan List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedDatabaseAdvancedThreatProtectionData.DeserializeManagedDatabaseAdvancedThreatProtectionData(item)); + array.Add(ManagedDatabaseAdvancedThreatProtectionData.DeserializeManagedDatabaseAdvancedThreatProtectionData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedDatabaseListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedDatabaseListResult.Serialization.cs index 3fed585433644..7a9c4c60e5c68 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedDatabaseListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedDatabaseListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ManagedDatabaseListResult DeserializeManagedDatabaseListResult(J List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedDatabaseData.DeserializeManagedDatabaseData(item)); + array.Add(ManagedDatabaseData.DeserializeManagedDatabaseData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedDatabaseSecurityAlertPolicyListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedDatabaseSecurityAlertPolicyListResult.Serialization.cs index 8b2c53a3da796..309431bbb7fe1 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedDatabaseSecurityAlertPolicyListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedDatabaseSecurityAlertPolicyListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ManagedDatabaseSecurityAlertPolicyListResult DeserializeManagedD List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedDatabaseSecurityAlertPolicyData.DeserializeManagedDatabaseSecurityAlertPolicyData(item)); + array.Add(ManagedDatabaseSecurityAlertPolicyData.DeserializeManagedDatabaseSecurityAlertPolicyData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceAdministratorListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceAdministratorListResult.Serialization.cs index 2c75a28507c76..462341e2bf3c8 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceAdministratorListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceAdministratorListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ManagedInstanceAdministratorListResult DeserializeManagedInstanc List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedInstanceAdministratorData.DeserializeManagedInstanceAdministratorData(item)); + array.Add(ManagedInstanceAdministratorData.DeserializeManagedInstanceAdministratorData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceAdvancedThreatProtectionListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceAdvancedThreatProtectionListResult.Serialization.cs index 7dbc7ecf0dc5c..7d9b9634c881d 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceAdvancedThreatProtectionListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceAdvancedThreatProtectionListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ManagedInstanceAdvancedThreatProtectionListResult DeserializeMan List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedInstanceAdvancedThreatProtectionData.DeserializeManagedInstanceAdvancedThreatProtectionData(item)); + array.Add(ManagedInstanceAdvancedThreatProtectionData.DeserializeManagedInstanceAdvancedThreatProtectionData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceAzureADOnlyAuthListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceAzureADOnlyAuthListResult.Serialization.cs index 7a377f179d0e1..ebd3293d333cf 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceAzureADOnlyAuthListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceAzureADOnlyAuthListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ManagedInstanceAzureADOnlyAuthListResult DeserializeManagedInsta List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedInstanceAzureADOnlyAuthenticationData.DeserializeManagedInstanceAzureADOnlyAuthenticationData(item)); + array.Add(ManagedInstanceAzureADOnlyAuthenticationData.DeserializeManagedInstanceAzureADOnlyAuthenticationData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceDtcListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceDtcListResult.Serialization.cs index 37ee07099e707..72d615e6fbc12 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceDtcListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceDtcListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ManagedInstanceDtcListResult DeserializeManagedInstanceDtcListRe List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedInstanceDtcData.DeserializeManagedInstanceDtcData(item)); + array.Add(ManagedInstanceDtcData.DeserializeManagedInstanceDtcData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceDtcSecuritySettings.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceDtcSecuritySettings.Serialization.cs index 4004e8c849d64..f953fc51136f8 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceDtcSecuritySettings.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceDtcSecuritySettings.Serialization.cs @@ -104,7 +104,7 @@ internal static ManagedInstanceDtcSecuritySettings DeserializeManagedInstanceDtc { continue; } - transactionManagerCommunicationSettings = ManagedInstanceDtcTransactionManagerCommunicationSettings.DeserializeManagedInstanceDtcTransactionManagerCommunicationSettings(property.Value); + transactionManagerCommunicationSettings = ManagedInstanceDtcTransactionManagerCommunicationSettings.DeserializeManagedInstanceDtcTransactionManagerCommunicationSettings(property.Value, options); continue; } if (property.NameEquals("xaTransactionsEnabled"u8)) diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceEditionCapability.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceEditionCapability.Serialization.cs index 2339c684ca3f1..0e194fb2ece56 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceEditionCapability.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceEditionCapability.Serialization.cs @@ -128,7 +128,7 @@ internal static ManagedInstanceEditionCapability DeserializeManagedInstanceEditi List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedInstanceFamilyCapability.DeserializeManagedInstanceFamilyCapability(item)); + array.Add(ManagedInstanceFamilyCapability.DeserializeManagedInstanceFamilyCapability(item, options)); } supportedFamilies = array; continue; @@ -142,7 +142,7 @@ internal static ManagedInstanceEditionCapability DeserializeManagedInstanceEditi List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(StorageCapability.DeserializeStorageCapability(item)); + array.Add(StorageCapability.DeserializeStorageCapability(item, options)); } supportedStorageCapabilities = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceEncryptionProtectorListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceEncryptionProtectorListResult.Serialization.cs index 19f08cae234b7..d6924bc8b3f89 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceEncryptionProtectorListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceEncryptionProtectorListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ManagedInstanceEncryptionProtectorListResult DeserializeManagedI List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedInstanceEncryptionProtectorData.DeserializeManagedInstanceEncryptionProtectorData(item)); + array.Add(ManagedInstanceEncryptionProtectorData.DeserializeManagedInstanceEncryptionProtectorData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceEndpointDependency.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceEndpointDependency.Serialization.cs index 0b717f9dc93f5..f3cc4f03c921a 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceEndpointDependency.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceEndpointDependency.Serialization.cs @@ -99,7 +99,7 @@ internal static ManagedInstanceEndpointDependency DeserializeManagedInstanceEndp List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedInstanceEndpointDetail.DeserializeManagedInstanceEndpointDetail(item)); + array.Add(ManagedInstanceEndpointDetail.DeserializeManagedInstanceEndpointDetail(item, options)); } endpointDetails = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceFamilyCapability.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceFamilyCapability.Serialization.cs index 880f4204f15fe..0121fda6dd25d 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceFamilyCapability.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceFamilyCapability.Serialization.cs @@ -133,7 +133,7 @@ internal static ManagedInstanceFamilyCapability DeserializeManagedInstanceFamily List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(LicenseTypeCapability.DeserializeLicenseTypeCapability(item)); + array.Add(LicenseTypeCapability.DeserializeLicenseTypeCapability(item, options)); } supportedLicenseTypes = array; continue; @@ -147,7 +147,7 @@ internal static ManagedInstanceFamilyCapability DeserializeManagedInstanceFamily List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedInstanceVcoresCapability.DeserializeManagedInstanceVcoresCapability(item)); + array.Add(ManagedInstanceVcoresCapability.DeserializeManagedInstanceVcoresCapability(item, options)); } supportedVcoresValues = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceKeyListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceKeyListResult.Serialization.cs index 935db87f9b353..14d3dc6ef5bb6 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceKeyListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceKeyListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ManagedInstanceKeyListResult DeserializeManagedInstanceKeyListRe List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedInstanceKeyData.DeserializeManagedInstanceKeyData(item)); + array.Add(ManagedInstanceKeyData.DeserializeManagedInstanceKeyData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceListResult.Serialization.cs index 14449d2ecd625..148783b01b6ba 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ManagedInstanceListResult DeserializeManagedInstanceListResult(J List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedInstanceData.DeserializeManagedInstanceData(item)); + array.Add(ManagedInstanceData.DeserializeManagedInstanceData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceLongTermRetentionBackupListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceLongTermRetentionBackupListResult.Serialization.cs index 56b043d78b07c..22455772c4b33 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceLongTermRetentionBackupListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceLongTermRetentionBackupListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ManagedInstanceLongTermRetentionBackupListResult DeserializeMana List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedInstanceLongTermRetentionBackupData.DeserializeManagedInstanceLongTermRetentionBackupData(item)); + array.Add(ManagedInstanceLongTermRetentionBackupData.DeserializeManagedInstanceLongTermRetentionBackupData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceLongTermRetentionPolicyListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceLongTermRetentionPolicyListResult.Serialization.cs index 28c2c6dd35c4b..1c85b90225ca0 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceLongTermRetentionPolicyListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceLongTermRetentionPolicyListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ManagedInstanceLongTermRetentionPolicyListResult DeserializeMana List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedInstanceLongTermRetentionPolicyData.DeserializeManagedInstanceLongTermRetentionPolicyData(item)); + array.Add(ManagedInstanceLongTermRetentionPolicyData.DeserializeManagedInstanceLongTermRetentionPolicyData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceOperationListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceOperationListResult.Serialization.cs index 8a7a9725e3c13..4944949cd573c 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceOperationListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceOperationListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ManagedInstanceOperationListResult DeserializeManagedInstanceOpe List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedInstanceOperationData.DeserializeManagedInstanceOperationData(item)); + array.Add(ManagedInstanceOperationData.DeserializeManagedInstanceOperationData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceOperationParametersPair.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceOperationParametersPair.Serialization.cs index 73b34260f97e4..8056c211a1986 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceOperationParametersPair.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceOperationParametersPair.Serialization.cs @@ -86,7 +86,7 @@ internal static ManagedInstanceOperationParametersPair DeserializeManagedInstanc { continue; } - currentParameters = UpsertManagedServerOperationParameters.DeserializeUpsertManagedServerOperationParameters(property.Value); + currentParameters = UpsertManagedServerOperationParameters.DeserializeUpsertManagedServerOperationParameters(property.Value, options); continue; } if (property.NameEquals("requestedParameters"u8)) @@ -95,7 +95,7 @@ internal static ManagedInstanceOperationParametersPair DeserializeManagedInstanc { continue; } - requestedParameters = UpsertManagedServerOperationParameters.DeserializeUpsertManagedServerOperationParameters(property.Value); + requestedParameters = UpsertManagedServerOperationParameters.DeserializeUpsertManagedServerOperationParameters(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceOperationSteps.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceOperationSteps.Serialization.cs index 304572bc32335..a3893efd9e703 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceOperationSteps.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceOperationSteps.Serialization.cs @@ -114,7 +114,7 @@ internal static ManagedInstanceOperationSteps DeserializeManagedInstanceOperatio List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(UpsertManagedServerOperationStep.DeserializeUpsertManagedServerOperationStep(item)); + array.Add(UpsertManagedServerOperationStep.DeserializeUpsertManagedServerOperationStep(item, options)); } stepsList = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstancePatch.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstancePatch.Serialization.cs index b6bda727cd853..39c627f24122e 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstancePatch.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstancePatch.Serialization.cs @@ -282,7 +282,7 @@ internal static ManagedInstancePatch DeserializeManagedInstancePatch(JsonElement { continue; } - sku = SqlSku.DeserializeSqlSku(property.Value); + sku = SqlSku.DeserializeSqlSku(property.Value, options); continue; } if (property.NameEquals("identity"u8)) @@ -479,7 +479,7 @@ internal static ManagedInstancePatch DeserializeManagedInstancePatch(JsonElement List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ManagedInstancePecProperty.DeserializeManagedInstancePecProperty(item)); + array.Add(ManagedInstancePecProperty.DeserializeManagedInstancePecProperty(item, options)); } privateEndpointConnections = array; continue; @@ -540,7 +540,7 @@ internal static ManagedInstancePatch DeserializeManagedInstancePatch(JsonElement { continue; } - administrators = ManagedInstanceExternalAdministrator.DeserializeManagedInstanceExternalAdministrator(property0.Value); + administrators = ManagedInstanceExternalAdministrator.DeserializeManagedInstanceExternalAdministrator(property0.Value, options); continue; } if (property0.NameEquals("servicePrincipal"u8)) @@ -549,7 +549,7 @@ internal static ManagedInstancePatch DeserializeManagedInstancePatch(JsonElement { continue; } - servicePrincipal = SqlServicePrincipal.DeserializeSqlServicePrincipal(property0.Value); + servicePrincipal = SqlServicePrincipal.DeserializeSqlServicePrincipal(property0.Value, options); continue; } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstancePecProperty.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstancePecProperty.Serialization.cs index 9b8ed4908ed8f..0488c41091035 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstancePecProperty.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstancePecProperty.Serialization.cs @@ -95,7 +95,7 @@ internal static ManagedInstancePecProperty DeserializeManagedInstancePecProperty { continue; } - properties = ManagedInstancePrivateEndpointConnectionProperties.DeserializeManagedInstancePrivateEndpointConnectionProperties(property.Value); + properties = ManagedInstancePrivateEndpointConnectionProperties.DeserializeManagedInstancePrivateEndpointConnectionProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstancePrivateEndpointConnectionListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstancePrivateEndpointConnectionListResult.Serialization.cs index 9b6380ad66370..6b7bf172f3b7a 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstancePrivateEndpointConnectionListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstancePrivateEndpointConnectionListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ManagedInstancePrivateEndpointConnectionListResult DeserializeMa List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedInstancePrivateEndpointConnectionData.DeserializeManagedInstancePrivateEndpointConnectionData(item)); + array.Add(ManagedInstancePrivateEndpointConnectionData.DeserializeManagedInstancePrivateEndpointConnectionData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstancePrivateEndpointConnectionProperties.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstancePrivateEndpointConnectionProperties.Serialization.cs index dddb3ad5c0764..f89ba1021b50f 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstancePrivateEndpointConnectionProperties.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstancePrivateEndpointConnectionProperties.Serialization.cs @@ -102,7 +102,7 @@ internal static ManagedInstancePrivateEndpointConnectionProperties DeserializeMa { continue; } - privateLinkServiceConnectionState = ManagedInstancePrivateLinkServiceConnectionStateProperty.DeserializeManagedInstancePrivateLinkServiceConnectionStateProperty(property.Value); + privateLinkServiceConnectionState = ManagedInstancePrivateLinkServiceConnectionStateProperty.DeserializeManagedInstancePrivateLinkServiceConnectionStateProperty(property.Value, options); continue; } if (property.NameEquals("provisioningState"u8)) diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstancePrivateLinkListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstancePrivateLinkListResult.Serialization.cs index ae68d5d2ffbdc..426852b614277 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstancePrivateLinkListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstancePrivateLinkListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ManagedInstancePrivateLinkListResult DeserializeManagedInstanceP List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedInstancePrivateLinkData.DeserializeManagedInstancePrivateLinkData(item)); + array.Add(ManagedInstancePrivateLinkData.DeserializeManagedInstancePrivateLinkData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceQueryStatistics.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceQueryStatistics.Serialization.cs index 10704692fbce9..6f2a6138921f4 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceQueryStatistics.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceQueryStatistics.Serialization.cs @@ -94,7 +94,7 @@ internal static ManagedInstanceQueryStatistics DeserializeManagedInstanceQuerySt List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(QueryStatistics.DeserializeQueryStatistics(item)); + array.Add(QueryStatistics.DeserializeQueryStatistics(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceVcoresCapability.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceVcoresCapability.Serialization.cs index 0c28309455041..e562ff481e7f5 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceVcoresCapability.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceVcoresCapability.Serialization.cs @@ -152,7 +152,7 @@ internal static ManagedInstanceVcoresCapability DeserializeManagedInstanceVcores { continue; } - includedMaxSize = MaxSizeCapability.DeserializeMaxSizeCapability(property.Value); + includedMaxSize = MaxSizeCapability.DeserializeMaxSizeCapability(property.Value, options); continue; } if (property.NameEquals("supportedStorageSizes"u8)) @@ -164,7 +164,7 @@ internal static ManagedInstanceVcoresCapability DeserializeManagedInstanceVcores List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(MaxSizeRangeCapability.DeserializeMaxSizeRangeCapability(item)); + array.Add(MaxSizeRangeCapability.DeserializeMaxSizeRangeCapability(item, options)); } supportedStorageSizes = array; continue; @@ -196,7 +196,7 @@ internal static ManagedInstanceVcoresCapability DeserializeManagedInstanceVcores List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedInstanceMaintenanceConfigurationCapability.DeserializeManagedInstanceMaintenanceConfigurationCapability(item)); + array.Add(ManagedInstanceMaintenanceConfigurationCapability.DeserializeManagedInstanceMaintenanceConfigurationCapability(item, options)); } supportedMaintenanceConfigurations = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceVersionCapability.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceVersionCapability.Serialization.cs index f4d7f0ad575ae..cdff649dafefe 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceVersionCapability.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceVersionCapability.Serialization.cs @@ -122,7 +122,7 @@ internal static ManagedInstanceVersionCapability DeserializeManagedInstanceVersi List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedInstanceEditionCapability.DeserializeManagedInstanceEditionCapability(item)); + array.Add(ManagedInstanceEditionCapability.DeserializeManagedInstanceEditionCapability(item, options)); } supportedEditions = array; continue; @@ -136,7 +136,7 @@ internal static ManagedInstanceVersionCapability DeserializeManagedInstanceVersi List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(InstancePoolEditionCapability.DeserializeInstancePoolEditionCapability(item)); + array.Add(InstancePoolEditionCapability.DeserializeInstancePoolEditionCapability(item, options)); } supportedInstancePoolEditions = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceVulnerabilityAssessmentListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceVulnerabilityAssessmentListResult.Serialization.cs index 2596d44e62f49..42e62f68a8c8a 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceVulnerabilityAssessmentListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedInstanceVulnerabilityAssessmentListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ManagedInstanceVulnerabilityAssessmentListResult DeserializeMana List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedInstanceVulnerabilityAssessmentData.DeserializeManagedInstanceVulnerabilityAssessmentData(item)); + array.Add(ManagedInstanceVulnerabilityAssessmentData.DeserializeManagedInstanceVulnerabilityAssessmentData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedLedgerDigestUploadsListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedLedgerDigestUploadsListResult.Serialization.cs index fb79cf3c2afde..ee9a30a6cf547 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedLedgerDigestUploadsListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedLedgerDigestUploadsListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ManagedLedgerDigestUploadsListResult DeserializeManagedLedgerDig List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedLedgerDigestUploadData.DeserializeManagedLedgerDigestUploadData(item)); + array.Add(ManagedLedgerDigestUploadData.DeserializeManagedLedgerDigestUploadData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedServerDnsAliasListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedServerDnsAliasListResult.Serialization.cs index 833a8576058c1..2ddf87366ed34 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedServerDnsAliasListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedServerDnsAliasListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ManagedServerDnsAliasListResult DeserializeManagedServerDnsAlias List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedServerDnsAliasData.DeserializeManagedServerDnsAliasData(item)); + array.Add(ManagedServerDnsAliasData.DeserializeManagedServerDnsAliasData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedServerSecurityAlertPolicyListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedServerSecurityAlertPolicyListResult.Serialization.cs index 57f028db37b7c..a0bbd69f8dbe6 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedServerSecurityAlertPolicyListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedServerSecurityAlertPolicyListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ManagedServerSecurityAlertPolicyListResult DeserializeManagedSer List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedServerSecurityAlertPolicyData.DeserializeManagedServerSecurityAlertPolicyData(item)); + array.Add(ManagedServerSecurityAlertPolicyData.DeserializeManagedServerSecurityAlertPolicyData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedTransparentDataEncryptionListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedTransparentDataEncryptionListResult.Serialization.cs index 5487f4cefd4b5..5c43654fc906a 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedTransparentDataEncryptionListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ManagedTransparentDataEncryptionListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ManagedTransparentDataEncryptionListResult DeserializeManagedTra List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedTransparentDataEncryptionData.DeserializeManagedTransparentDataEncryptionData(item)); + array.Add(ManagedTransparentDataEncryptionData.DeserializeManagedTransparentDataEncryptionData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/MaxSizeRangeCapability.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/MaxSizeRangeCapability.Serialization.cs index f197e0cd8d303..052011ece0bfc 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/MaxSizeRangeCapability.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/MaxSizeRangeCapability.Serialization.cs @@ -110,7 +110,7 @@ internal static MaxSizeRangeCapability DeserializeMaxSizeRangeCapability(JsonEle { continue; } - minValue = MaxSizeCapability.DeserializeMaxSizeCapability(property.Value); + minValue = MaxSizeCapability.DeserializeMaxSizeCapability(property.Value, options); continue; } if (property.NameEquals("maxValue"u8)) @@ -119,7 +119,7 @@ internal static MaxSizeRangeCapability DeserializeMaxSizeRangeCapability(JsonEle { continue; } - maxValue = MaxSizeCapability.DeserializeMaxSizeCapability(property.Value); + maxValue = MaxSizeCapability.DeserializeMaxSizeCapability(property.Value, options); continue; } if (property.NameEquals("scaleSize"u8)) @@ -128,7 +128,7 @@ internal static MaxSizeRangeCapability DeserializeMaxSizeRangeCapability(JsonEle { continue; } - scaleSize = MaxSizeCapability.DeserializeMaxSizeCapability(property.Value); + scaleSize = MaxSizeCapability.DeserializeMaxSizeCapability(property.Value, options); continue; } if (property.NameEquals("logSize"u8)) @@ -137,7 +137,7 @@ internal static MaxSizeRangeCapability DeserializeMaxSizeRangeCapability(JsonEle { continue; } - logSize = LogSizeCapability.DeserializeLogSizeCapability(property.Value); + logSize = LogSizeCapability.DeserializeLogSizeCapability(property.Value, options); continue; } if (property.NameEquals("status"u8)) diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/MetricDefinitionListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/MetricDefinitionListResult.Serialization.cs index 1e11b98d600dc..d80fee7f247ba 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/MetricDefinitionListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/MetricDefinitionListResult.Serialization.cs @@ -81,7 +81,7 @@ internal static MetricDefinitionListResult DeserializeMetricDefinitionListResult List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlMetricDefinition.DeserializeSqlMetricDefinition(item)); + array.Add(SqlMetricDefinition.DeserializeSqlMetricDefinition(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/OutboundFirewallRuleListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/OutboundFirewallRuleListResult.Serialization.cs index 1612e140fa3ed..85f13c79797bb 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/OutboundFirewallRuleListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/OutboundFirewallRuleListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static OutboundFirewallRuleListResult DeserializeOutboundFirewallRuleLi List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(OutboundFirewallRuleData.DeserializeOutboundFirewallRuleData(item)); + array.Add(OutboundFirewallRuleData.DeserializeOutboundFirewallRuleData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/QueryMetricInterval.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/QueryMetricInterval.Serialization.cs index 2feec1e8deba6..b678b23f1090d 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/QueryMetricInterval.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/QueryMetricInterval.Serialization.cs @@ -129,7 +129,7 @@ internal static QueryMetricInterval DeserializeQueryMetricInterval(JsonElement e List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(QueryMetricProperties.DeserializeQueryMetricProperties(item)); + array.Add(QueryMetricProperties.DeserializeQueryMetricProperties(item, options)); } metrics = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/QueryStatistics.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/QueryStatistics.Serialization.cs index 6fe604157b161..df754b54671fa 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/QueryStatistics.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/QueryStatistics.Serialization.cs @@ -193,7 +193,7 @@ internal static QueryStatistics DeserializeQueryStatistics(JsonElement element, List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(QueryMetricInterval.DeserializeQueryMetricInterval(item)); + array.Add(QueryMetricInterval.DeserializeQueryMetricInterval(item, options)); } intervals = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/QueryStatisticsProperties.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/QueryStatisticsProperties.Serialization.cs index a83d55d0746e2..79052701661c7 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/QueryStatisticsProperties.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/QueryStatisticsProperties.Serialization.cs @@ -132,7 +132,7 @@ internal static QueryStatisticsProperties DeserializeQueryStatisticsProperties(J List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(QueryMetricInterval.DeserializeQueryMetricInterval(item)); + array.Add(QueryMetricInterval.DeserializeQueryMetricInterval(item, options)); } intervals = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/RecommendedSensitivityLabelUpdateList.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/RecommendedSensitivityLabelUpdateList.Serialization.cs index 316c9511c53be..9606bf9be7dc6 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/RecommendedSensitivityLabelUpdateList.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/RecommendedSensitivityLabelUpdateList.Serialization.cs @@ -88,7 +88,7 @@ internal static RecommendedSensitivityLabelUpdateList DeserializeRecommendedSens List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RecommendedSensitivityLabelUpdate.DeserializeRecommendedSensitivityLabelUpdate(item)); + array.Add(RecommendedSensitivityLabelUpdate.DeserializeRecommendedSensitivityLabelUpdate(item, options)); } operations = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/RecoverableDatabaseListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/RecoverableDatabaseListResult.Serialization.cs index 8262bae7a78af..228e37f19a83f 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/RecoverableDatabaseListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/RecoverableDatabaseListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static RecoverableDatabaseListResult DeserializeRecoverableDatabaseList List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RecoverableDatabaseData.DeserializeRecoverableDatabaseData(item)); + array.Add(RecoverableDatabaseData.DeserializeRecoverableDatabaseData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/RecoverableManagedDatabaseListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/RecoverableManagedDatabaseListResult.Serialization.cs index 19eb26f1f2c88..d64e84556f42c 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/RecoverableManagedDatabaseListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/RecoverableManagedDatabaseListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static RecoverableManagedDatabaseListResult DeserializeRecoverableManag List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RecoverableManagedDatabaseData.DeserializeRecoverableManagedDatabaseData(item)); + array.Add(RecoverableManagedDatabaseData.DeserializeRecoverableManagedDatabaseData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ReplicationLinkListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ReplicationLinkListResult.Serialization.cs index a37fb0c7f4ca5..1b054e5e7261c 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ReplicationLinkListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ReplicationLinkListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ReplicationLinkListResult DeserializeReplicationLinkListResult(J List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlServerDatabaseReplicationLinkData.DeserializeSqlServerDatabaseReplicationLinkData(item)); + array.Add(SqlServerDatabaseReplicationLinkData.DeserializeSqlServerDatabaseReplicationLinkData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/RestorableDroppedDatabaseListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/RestorableDroppedDatabaseListResult.Serialization.cs index cd74ebb233209..75fe7175fc8c7 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/RestorableDroppedDatabaseListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/RestorableDroppedDatabaseListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static RestorableDroppedDatabaseListResult DeserializeRestorableDropped List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RestorableDroppedDatabaseData.DeserializeRestorableDroppedDatabaseData(item)); + array.Add(RestorableDroppedDatabaseData.DeserializeRestorableDroppedDatabaseData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/RestorableDroppedManagedDatabaseListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/RestorableDroppedManagedDatabaseListResult.Serialization.cs index 1e92d61ce5fdd..9f018c5918b1f 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/RestorableDroppedManagedDatabaseListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/RestorableDroppedManagedDatabaseListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static RestorableDroppedManagedDatabaseListResult DeserializeRestorable List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(RestorableDroppedManagedDatabaseData.DeserializeRestorableDroppedManagedDatabaseData(item)); + array.Add(RestorableDroppedManagedDatabaseData.DeserializeRestorableDroppedManagedDatabaseData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/RestorePointListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/RestorePointListResult.Serialization.cs index ac8478f28ffda..8207be831b984 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/RestorePointListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/RestorePointListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static RestorePointListResult DeserializeRestorePointListResult(JsonEle List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlServerDatabaseRestorePointData.DeserializeSqlServerDatabaseRestorePointData(item)); + array.Add(SqlServerDatabaseRestorePointData.DeserializeSqlServerDatabaseRestorePointData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SecurityEvent.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SecurityEvent.Serialization.cs index 90fbeae3c63c1..ca6a61075ce43 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SecurityEvent.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SecurityEvent.Serialization.cs @@ -242,7 +242,7 @@ internal static SecurityEvent DeserializeSecurityEvent(JsonElement element, Mode { continue; } - securityEventSqlInjectionAdditionalProperties = SecurityEventSqlInjectionAdditionalProperties.DeserializeSecurityEventSqlInjectionAdditionalProperties(property0.Value); + securityEventSqlInjectionAdditionalProperties = SecurityEventSqlInjectionAdditionalProperties.DeserializeSecurityEventSqlInjectionAdditionalProperties(property0.Value, options); continue; } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SecurityEventCollection.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SecurityEventCollection.Serialization.cs index 5ee0781f3e5ae..a44611bf7ed47 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SecurityEventCollection.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SecurityEventCollection.Serialization.cs @@ -94,7 +94,7 @@ internal static SecurityEventCollection DeserializeSecurityEventCollection(JsonE List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SecurityEvent.DeserializeSecurityEvent(item)); + array.Add(SecurityEvent.DeserializeSecurityEvent(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SensitivityLabelListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SensitivityLabelListResult.Serialization.cs index d53c67d6cc439..f3770c188865e 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SensitivityLabelListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SensitivityLabelListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static SensitivityLabelListResult DeserializeSensitivityLabelListResult List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SensitivityLabelData.DeserializeSensitivityLabelData(item)); + array.Add(SensitivityLabelData.DeserializeSensitivityLabelData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SensitivityLabelUpdate.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SensitivityLabelUpdate.Serialization.cs index d7c37ab968d2c..e32f5f27ad9b9 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SensitivityLabelUpdate.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SensitivityLabelUpdate.Serialization.cs @@ -190,7 +190,7 @@ internal static SensitivityLabelUpdate DeserializeSensitivityLabelUpdate(JsonEle { continue; } - sensitivityLabel = SensitivityLabelData.DeserializeSensitivityLabelData(property0.Value); + sensitivityLabel = SensitivityLabelData.DeserializeSensitivityLabelData(property0.Value, options); continue; } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SensitivityLabelUpdateList.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SensitivityLabelUpdateList.Serialization.cs index 174293c6f648d..e259d75da1b8b 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SensitivityLabelUpdateList.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SensitivityLabelUpdateList.Serialization.cs @@ -88,7 +88,7 @@ internal static SensitivityLabelUpdateList DeserializeSensitivityLabelUpdateList List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SensitivityLabelUpdate.DeserializeSensitivityLabelUpdate(item)); + array.Add(SensitivityLabelUpdate.DeserializeSensitivityLabelUpdate(item, options)); } operations = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerBlobAuditingPolicyListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerBlobAuditingPolicyListResult.Serialization.cs index 57dc16ec3011c..069a4b7fd8678 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerBlobAuditingPolicyListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerBlobAuditingPolicyListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ServerBlobAuditingPolicyListResult DeserializeServerBlobAuditing List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlServerBlobAuditingPolicyData.DeserializeSqlServerBlobAuditingPolicyData(item)); + array.Add(SqlServerBlobAuditingPolicyData.DeserializeSqlServerBlobAuditingPolicyData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerCommunicationLinkListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerCommunicationLinkListResult.Serialization.cs index 6b46f98a74fc7..2ecb8ab36d4e8 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerCommunicationLinkListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerCommunicationLinkListResult.Serialization.cs @@ -89,7 +89,7 @@ internal static ServerCommunicationLinkListResult DeserializeServerCommunication List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlServerCommunicationLinkData.DeserializeSqlServerCommunicationLinkData(item)); + array.Add(SqlServerCommunicationLinkData.DeserializeSqlServerCommunicationLinkData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerConfigurationOptionListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerConfigurationOptionListResult.Serialization.cs index c56ce5cd50433..bc2fecb3ac022 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerConfigurationOptionListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerConfigurationOptionListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ServerConfigurationOptionListResult DeserializeServerConfigurati List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedInstanceServerConfigurationOptionData.DeserializeManagedInstanceServerConfigurationOptionData(item)); + array.Add(ManagedInstanceServerConfigurationOptionData.DeserializeManagedInstanceServerConfigurationOptionData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerConnectionPolicyListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerConnectionPolicyListResult.Serialization.cs index de3a9ebf48bbc..7a8a8225b7e2b 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerConnectionPolicyListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerConnectionPolicyListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ServerConnectionPolicyListResult DeserializeServerConnectionPoli List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlServerConnectionPolicyData.DeserializeSqlServerConnectionPolicyData(item)); + array.Add(SqlServerConnectionPolicyData.DeserializeSqlServerConnectionPolicyData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerDevOpsAuditSettingsListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerDevOpsAuditSettingsListResult.Serialization.cs index 76a5178663be0..ece89f72e4810 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerDevOpsAuditSettingsListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerDevOpsAuditSettingsListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ServerDevOpsAuditSettingsListResult DeserializeServerDevOpsAudit List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlServerDevOpsAuditingSettingData.DeserializeSqlServerDevOpsAuditingSettingData(item)); + array.Add(SqlServerDevOpsAuditingSettingData.DeserializeSqlServerDevOpsAuditingSettingData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerDnsAliasListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerDnsAliasListResult.Serialization.cs index 1f4a94db81d7d..6ab3bf5e43457 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerDnsAliasListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerDnsAliasListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ServerDnsAliasListResult DeserializeServerDnsAliasListResult(Jso List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlServerDnsAliasData.DeserializeSqlServerDnsAliasData(item)); + array.Add(SqlServerDnsAliasData.DeserializeSqlServerDnsAliasData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerKeyListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerKeyListResult.Serialization.cs index 5631d1f7778e6..bb9d45bca1e00 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerKeyListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerKeyListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ServerKeyListResult DeserializeServerKeyListResult(JsonElement e List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlServerKeyData.DeserializeSqlServerKeyData(item)); + array.Add(SqlServerKeyData.DeserializeSqlServerKeyData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerListResult.Serialization.cs index f88a077574bb0..6bc7002d96788 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ServerListResult DeserializeServerListResult(JsonElement element List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlServerData.DeserializeSqlServerData(item)); + array.Add(SqlServerData.DeserializeSqlServerData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerOperationListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerOperationListResult.Serialization.cs index 6a01d2da3307c..f535a1f9e3eb8 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerOperationListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerOperationListResult.Serialization.cs @@ -94,7 +94,7 @@ internal static ServerOperationListResult DeserializeServerOperationListResult(J List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ServerOperationData.DeserializeServerOperationData(item)); + array.Add(ServerOperationData.DeserializeServerOperationData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerPrivateEndpointConnectionProperties.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerPrivateEndpointConnectionProperties.Serialization.cs index 2f17e49321f7d..df970bc6df88c 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerPrivateEndpointConnectionProperties.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerPrivateEndpointConnectionProperties.Serialization.cs @@ -127,7 +127,7 @@ internal static ServerPrivateEndpointConnectionProperties DeserializeServerPriva { continue; } - privateLinkServiceConnectionState = SqlPrivateLinkServiceConnectionStateProperty.DeserializeSqlPrivateLinkServiceConnectionStateProperty(property.Value); + privateLinkServiceConnectionState = SqlPrivateLinkServiceConnectionStateProperty.DeserializeSqlPrivateLinkServiceConnectionStateProperty(property.Value, options); continue; } if (property.NameEquals("provisioningState"u8)) diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerTrustCertificatesListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerTrustCertificatesListResult.Serialization.cs index 99c33bd96a9f6..2a16e1b49b126 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerTrustCertificatesListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerTrustCertificatesListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ServerTrustCertificatesListResult DeserializeServerTrustCertific List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ServerTrustCertificateData.DeserializeServerTrustCertificateData(item)); + array.Add(ServerTrustCertificateData.DeserializeServerTrustCertificateData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerTrustGroupListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerTrustGroupListResult.Serialization.cs index bfb656f384d6d..88d7931465120 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerTrustGroupListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerTrustGroupListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ServerTrustGroupListResult DeserializeServerTrustGroupListResult List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlServerTrustGroupData.DeserializeSqlServerTrustGroupData(item)); + array.Add(SqlServerTrustGroupData.DeserializeSqlServerTrustGroupData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerUsageListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerUsageListResult.Serialization.cs index 621a1b421b2b9..016c98c4e11b7 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerUsageListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerUsageListResult.Serialization.cs @@ -81,7 +81,7 @@ internal static ServerUsageListResult DeserializeServerUsageListResult(JsonEleme List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlServerUsage.DeserializeSqlServerUsage(item)); + array.Add(SqlServerUsage.DeserializeSqlServerUsage(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerVulnerabilityAssessmentListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerVulnerabilityAssessmentListResult.Serialization.cs index b673cc41c04e4..c4bb0f6d97700 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerVulnerabilityAssessmentListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServerVulnerabilityAssessmentListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static ServerVulnerabilityAssessmentListResult DeserializeServerVulnera List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlServerVulnerabilityAssessmentData.DeserializeSqlServerVulnerabilityAssessmentData(item)); + array.Add(SqlServerVulnerabilityAssessmentData.DeserializeSqlServerVulnerabilityAssessmentData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServiceObjectiveCapability.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServiceObjectiveCapability.Serialization.cs index bdbf9a2709ea5..c8758f04e3f57 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServiceObjectiveCapability.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServiceObjectiveCapability.Serialization.cs @@ -195,7 +195,7 @@ internal static ServiceObjectiveCapability DeserializeServiceObjectiveCapability List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(MaxSizeRangeCapability.DeserializeMaxSizeRangeCapability(item)); + array.Add(MaxSizeRangeCapability.DeserializeMaxSizeRangeCapability(item, options)); } supportedMaxSizes = array; continue; @@ -206,7 +206,7 @@ internal static ServiceObjectiveCapability DeserializeServiceObjectiveCapability { continue; } - performanceLevel = PerformanceLevelCapability.DeserializePerformanceLevelCapability(property.Value); + performanceLevel = PerformanceLevelCapability.DeserializePerformanceLevelCapability(property.Value, options); continue; } if (property.NameEquals("sku"u8)) @@ -215,7 +215,7 @@ internal static ServiceObjectiveCapability DeserializeServiceObjectiveCapability { continue; } - sku = SqlSku.DeserializeSqlSku(property.Value); + sku = SqlSku.DeserializeSqlSku(property.Value, options); continue; } if (property.NameEquals("supportedLicenseTypes"u8)) @@ -227,7 +227,7 @@ internal static ServiceObjectiveCapability DeserializeServiceObjectiveCapability List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(LicenseTypeCapability.DeserializeLicenseTypeCapability(item)); + array.Add(LicenseTypeCapability.DeserializeLicenseTypeCapability(item, options)); } supportedLicenseTypes = array; continue; @@ -238,7 +238,7 @@ internal static ServiceObjectiveCapability DeserializeServiceObjectiveCapability { continue; } - includedMaxSize = MaxSizeCapability.DeserializeMaxSizeCapability(property.Value); + includedMaxSize = MaxSizeCapability.DeserializeMaxSizeCapability(property.Value, options); continue; } if (property.NameEquals("zoneRedundant"u8)) @@ -256,7 +256,7 @@ internal static ServiceObjectiveCapability DeserializeServiceObjectiveCapability { continue; } - supportedAutoPauseDelay = AutoPauseDelayTimeRange.DeserializeAutoPauseDelayTimeRange(property.Value); + supportedAutoPauseDelay = AutoPauseDelayTimeRange.DeserializeAutoPauseDelayTimeRange(property.Value, options); continue; } if (property.NameEquals("supportedMinCapacities"u8)) @@ -268,7 +268,7 @@ internal static ServiceObjectiveCapability DeserializeServiceObjectiveCapability List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(MinCapacityCapability.DeserializeMinCapacityCapability(item)); + array.Add(MinCapacityCapability.DeserializeMinCapacityCapability(item, options)); } supportedMinCapacities = array; continue; @@ -287,7 +287,7 @@ internal static ServiceObjectiveCapability DeserializeServiceObjectiveCapability List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(MaintenanceConfigurationCapability.DeserializeMaintenanceConfigurationCapability(item)); + array.Add(MaintenanceConfigurationCapability.DeserializeMaintenanceConfigurationCapability(item, options)); } supportedMaintenanceConfigurations = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServiceObjectiveListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServiceObjectiveListResult.Serialization.cs index 89fbeb3f4e1d7..3239b6e5ced68 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServiceObjectiveListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/ServiceObjectiveListResult.Serialization.cs @@ -82,7 +82,7 @@ internal static ServiceObjectiveListResult DeserializeServiceObjectiveListResult List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ServiceObjectiveData.DeserializeServiceObjectiveData(item)); + array.Add(ServiceObjectiveData.DeserializeServiceObjectiveData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlDatabasePatch.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlDatabasePatch.Serialization.cs index 1501128dada70..8efd71a0608fb 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlDatabasePatch.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlDatabasePatch.Serialization.cs @@ -383,7 +383,7 @@ internal static SqlDatabasePatch DeserializeSqlDatabasePatch(JsonElement element { continue; } - sku = SqlSku.DeserializeSqlSku(property.Value); + sku = SqlSku.DeserializeSqlSku(property.Value, options); continue; } if (property.NameEquals("identity"u8)) @@ -392,7 +392,7 @@ internal static SqlDatabasePatch DeserializeSqlDatabasePatch(JsonElement element { continue; } - identity = DatabaseIdentity.DeserializeDatabaseIdentity(property.Value); + identity = DatabaseIdentity.DeserializeDatabaseIdentity(property.Value, options); continue; } if (property.NameEquals("tags"u8)) @@ -655,7 +655,7 @@ internal static SqlDatabasePatch DeserializeSqlDatabasePatch(JsonElement element { continue; } - currentSku = SqlSku.DeserializeSqlSku(property0.Value); + currentSku = SqlSku.DeserializeSqlSku(property0.Value, options); continue; } if (property0.NameEquals("autoPauseDelay"u8)) @@ -757,7 +757,7 @@ internal static SqlDatabasePatch DeserializeSqlDatabasePatch(JsonElement element Dictionary dictionary = new Dictionary(); foreach (var property1 in property0.Value.EnumerateObject()) { - dictionary.Add(property1.Name, SqlDatabaseKey.DeserializeSqlDatabaseKey(property1.Value)); + dictionary.Add(property1.Name, SqlDatabaseKey.DeserializeSqlDatabaseKey(property1.Value, options)); } keys = dictionary; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlLocationCapabilities.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlLocationCapabilities.Serialization.cs index e238a90b9c0d7..c9d4e8319f73d 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlLocationCapabilities.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlLocationCapabilities.Serialization.cs @@ -122,7 +122,7 @@ internal static SqlLocationCapabilities DeserializeSqlLocationCapabilities(JsonE List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlServerVersionCapability.DeserializeSqlServerVersionCapability(item)); + array.Add(SqlServerVersionCapability.DeserializeSqlServerVersionCapability(item, options)); } supportedServerVersions = array; continue; @@ -136,7 +136,7 @@ internal static SqlLocationCapabilities DeserializeSqlLocationCapabilities(JsonE List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedInstanceVersionCapability.DeserializeManagedInstanceVersionCapability(item)); + array.Add(ManagedInstanceVersionCapability.DeserializeManagedInstanceVersionCapability(item, options)); } supportedManagedInstanceVersions = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlMetric.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlMetric.Serialization.cs index 7b3e5ae7a266a..1ce1aa8ebcd71 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlMetric.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlMetric.Serialization.cs @@ -147,7 +147,7 @@ internal static SqlMetric DeserializeSqlMetric(JsonElement element, ModelReaderW { continue; } - name = SqlMetricName.DeserializeSqlMetricName(property.Value); + name = SqlMetricName.DeserializeSqlMetricName(property.Value, options); continue; } if (property.NameEquals("metricValues"u8)) @@ -159,7 +159,7 @@ internal static SqlMetric DeserializeSqlMetric(JsonElement element, ModelReaderW List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlMetricValue.DeserializeSqlMetricValue(item)); + array.Add(SqlMetricValue.DeserializeSqlMetricValue(item, options)); } metricValues = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlMetricDefinition.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlMetricDefinition.Serialization.cs index 6b5e7d0f765fa..67985cf7b9ac9 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlMetricDefinition.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlMetricDefinition.Serialization.cs @@ -109,7 +109,7 @@ internal static SqlMetricDefinition DeserializeSqlMetricDefinition(JsonElement e { continue; } - name = SqlMetricName.DeserializeSqlMetricName(property.Value); + name = SqlMetricName.DeserializeSqlMetricName(property.Value, options); continue; } if (property.NameEquals("primaryAggregationType"u8)) @@ -144,7 +144,7 @@ internal static SqlMetricDefinition DeserializeSqlMetricDefinition(JsonElement e List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlMetricAvailability.DeserializeSqlMetricAvailability(item)); + array.Add(SqlMetricAvailability.DeserializeSqlMetricAvailability(item, options)); } metricAvailabilities = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlMetricListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlMetricListResult.Serialization.cs index 1de7ed8a406bf..a529d96c5c717 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlMetricListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlMetricListResult.Serialization.cs @@ -81,7 +81,7 @@ internal static SqlMetricListResult DeserializeSqlMetricListResult(JsonElement e List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlMetric.DeserializeSqlMetric(item)); + array.Add(SqlMetric.DeserializeSqlMetric(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlOutboundEnvironmentEndpoint.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlOutboundEnvironmentEndpoint.Serialization.cs index 7f50a6c85fee7..bac0137dab97b 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlOutboundEnvironmentEndpoint.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlOutboundEnvironmentEndpoint.Serialization.cs @@ -99,7 +99,7 @@ internal static SqlOutboundEnvironmentEndpoint DeserializeSqlOutboundEnvironment List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedInstanceEndpointDependency.DeserializeManagedInstanceEndpointDependency(item)); + array.Add(ManagedInstanceEndpointDependency.DeserializeManagedInstanceEndpointDependency(item, options)); } endpoints = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlOutboundEnvironmentEndpointCollection.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlOutboundEnvironmentEndpointCollection.Serialization.cs index 29e13b679d94d..2b77c185f0877 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlOutboundEnvironmentEndpointCollection.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlOutboundEnvironmentEndpointCollection.Serialization.cs @@ -94,7 +94,7 @@ internal static SqlOutboundEnvironmentEndpointCollection DeserializeSqlOutboundE List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlOutboundEnvironmentEndpoint.DeserializeSqlOutboundEnvironmentEndpoint(item)); + array.Add(SqlOutboundEnvironmentEndpoint.DeserializeSqlOutboundEnvironmentEndpoint(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlPrivateEndpointConnectionListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlPrivateEndpointConnectionListResult.Serialization.cs index f04498b50f103..231c20a420e42 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlPrivateEndpointConnectionListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlPrivateEndpointConnectionListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static SqlPrivateEndpointConnectionListResult DeserializeSqlPrivateEndp List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlPrivateEndpointConnectionData.DeserializeSqlPrivateEndpointConnectionData(item)); + array.Add(SqlPrivateEndpointConnectionData.DeserializeSqlPrivateEndpointConnectionData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlPrivateLinkResourceListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlPrivateLinkResourceListResult.Serialization.cs index bc7c22669917a..17a6e2c7c776a 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlPrivateLinkResourceListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlPrivateLinkResourceListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static SqlPrivateLinkResourceListResult DeserializeSqlPrivateLinkResour List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlPrivateLinkResourceData.DeserializeSqlPrivateLinkResourceData(item)); + array.Add(SqlPrivateLinkResourceData.DeserializeSqlPrivateLinkResourceData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlServerPatch.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlServerPatch.Serialization.cs index 8914a6f113b54..950a94ca91490 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlServerPatch.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlServerPatch.Serialization.cs @@ -259,7 +259,7 @@ internal static SqlServerPatch DeserializeSqlServerPatch(JsonElement element, Mo List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(SqlServerPrivateEndpointConnection.DeserializeSqlServerPrivateEndpointConnection(item)); + array.Add(SqlServerPrivateEndpointConnection.DeserializeSqlServerPrivateEndpointConnection(item, options)); } privateEndpointConnections = array; continue; @@ -324,7 +324,7 @@ internal static SqlServerPatch DeserializeSqlServerPatch(JsonElement element, Mo { continue; } - administrators = ServerExternalAdministrator.DeserializeServerExternalAdministrator(property0.Value); + administrators = ServerExternalAdministrator.DeserializeServerExternalAdministrator(property0.Value, options); continue; } if (property0.NameEquals("restrictOutboundNetworkAccess"u8)) diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlServerPrivateEndpointConnection.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlServerPrivateEndpointConnection.Serialization.cs index d1d647ad2f0c1..5c69df41b629c 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlServerPrivateEndpointConnection.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlServerPrivateEndpointConnection.Serialization.cs @@ -95,7 +95,7 @@ internal static SqlServerPrivateEndpointConnection DeserializeSqlServerPrivateEn { continue; } - properties = ServerPrivateEndpointConnectionProperties.DeserializeServerPrivateEndpointConnectionProperties(property.Value); + properties = ServerPrivateEndpointConnectionProperties.DeserializeServerPrivateEndpointConnectionProperties(property.Value, options); continue; } if (options.Format != "W") diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlServerVersionCapability.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlServerVersionCapability.Serialization.cs index 218138c594a66..30d50534cbfaa 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlServerVersionCapability.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlServerVersionCapability.Serialization.cs @@ -122,7 +122,7 @@ internal static SqlServerVersionCapability DeserializeSqlServerVersionCapability List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(EditionCapability.DeserializeEditionCapability(item)); + array.Add(EditionCapability.DeserializeEditionCapability(item, options)); } supportedEditions = array; continue; @@ -136,7 +136,7 @@ internal static SqlServerVersionCapability DeserializeSqlServerVersionCapability List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ElasticPoolEditionCapability.DeserializeElasticPoolEditionCapability(item)); + array.Add(ElasticPoolEditionCapability.DeserializeElasticPoolEditionCapability(item, options)); } supportedElasticPoolEditions = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlSynapseLinkWorkspace.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlSynapseLinkWorkspace.Serialization.cs index 9aa20eb201814..2ed52ba75dad5 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlSynapseLinkWorkspace.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlSynapseLinkWorkspace.Serialization.cs @@ -149,7 +149,7 @@ internal static SqlSynapseLinkWorkspace DeserializeSqlSynapseLinkWorkspace(JsonE List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(SqlSynapseLinkWorkspaceInfo.DeserializeSqlSynapseLinkWorkspaceInfo(item)); + array.Add(SqlSynapseLinkWorkspaceInfo.DeserializeSqlSynapseLinkWorkspaceInfo(item, options)); } workspaces = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlVulnerabilityAssessmentBaselineAdjustedResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlVulnerabilityAssessmentBaselineAdjustedResult.Serialization.cs index cd6476b290842..658cca15842ad 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlVulnerabilityAssessmentBaselineAdjustedResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlVulnerabilityAssessmentBaselineAdjustedResult.Serialization.cs @@ -128,7 +128,7 @@ internal static SqlVulnerabilityAssessmentBaselineAdjustedResult DeserializeSqlV { continue; } - baseline = SqlVulnerabilityAssessmentBaselineDetails.DeserializeSqlVulnerabilityAssessmentBaselineDetails(property.Value); + baseline = SqlVulnerabilityAssessmentBaselineDetails.DeserializeSqlVulnerabilityAssessmentBaselineDetails(property.Value, options); continue; } if (property.NameEquals("status"u8)) diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlVulnerabilityAssessmentListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlVulnerabilityAssessmentListResult.Serialization.cs index 6590c3df81bba..272460434001f 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlVulnerabilityAssessmentListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlVulnerabilityAssessmentListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static SqlVulnerabilityAssessmentListResult DeserializeSqlVulnerability List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlVulnerabilityAssessmentData.DeserializeSqlVulnerabilityAssessmentData(item)); + array.Add(SqlVulnerabilityAssessmentData.DeserializeSqlVulnerabilityAssessmentData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlVulnerabilityAssessmentRuleMetadata.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlVulnerabilityAssessmentRuleMetadata.Serialization.cs index 09a9eca87ab8b..f849b7fdbd95c 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlVulnerabilityAssessmentRuleMetadata.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlVulnerabilityAssessmentRuleMetadata.Serialization.cs @@ -176,7 +176,7 @@ internal static SqlVulnerabilityAssessmentRuleMetadata DeserializeSqlVulnerabili { continue; } - queryCheck = SqlVulnerabilityAssessmentQueryCheck.DeserializeSqlVulnerabilityAssessmentQueryCheck(property.Value); + queryCheck = SqlVulnerabilityAssessmentQueryCheck.DeserializeSqlVulnerabilityAssessmentQueryCheck(property.Value, options); continue; } if (property.NameEquals("benchmarkReferences"u8)) @@ -188,7 +188,7 @@ internal static SqlVulnerabilityAssessmentRuleMetadata DeserializeSqlVulnerabili List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlVulnerabilityAssessmentBenchmarkReference.DeserializeSqlVulnerabilityAssessmentBenchmarkReference(item)); + array.Add(SqlVulnerabilityAssessmentBenchmarkReference.DeserializeSqlVulnerabilityAssessmentBenchmarkReference(item, options)); } benchmarkReferences = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlVulnerabilityAssessmentScanListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlVulnerabilityAssessmentScanListResult.Serialization.cs index 3c3542ef0fd67..a8a2044392b9f 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlVulnerabilityAssessmentScanListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlVulnerabilityAssessmentScanListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static SqlVulnerabilityAssessmentScanListResult DeserializeSqlVulnerabi List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlVulnerabilityAssessmentScanResultData.DeserializeSqlVulnerabilityAssessmentScanResultData(item)); + array.Add(SqlVulnerabilityAssessmentScanResultData.DeserializeSqlVulnerabilityAssessmentScanResultData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlVulnerabilityAssessmentScanRecordListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlVulnerabilityAssessmentScanRecordListResult.Serialization.cs index e2507077f016b..2f8bac35b164c 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlVulnerabilityAssessmentScanRecordListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SqlVulnerabilityAssessmentScanRecordListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static SqlVulnerabilityAssessmentScanRecordListResult DeserializeSqlVul List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlVulnerabilityAssessmentScanData.DeserializeSqlVulnerabilityAssessmentScanData(item)); + array.Add(SqlVulnerabilityAssessmentScanData.DeserializeSqlVulnerabilityAssessmentScanData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/StartStopManagedInstanceScheduleListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/StartStopManagedInstanceScheduleListResult.Serialization.cs index a06ef3e2df709..49dacd9c96fa1 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/StartStopManagedInstanceScheduleListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/StartStopManagedInstanceScheduleListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static StartStopManagedInstanceScheduleListResult DeserializeStartStopM List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(ManagedInstanceStartStopScheduleData.DeserializeManagedInstanceStartStopScheduleData(item)); + array.Add(ManagedInstanceStartStopScheduleData.DeserializeManagedInstanceStartStopScheduleData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SubscriptionUsageListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SubscriptionUsageListResult.Serialization.cs index a5ca4339bc372..4bd5c98027aad 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SubscriptionUsageListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SubscriptionUsageListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static SubscriptionUsageListResult DeserializeSubscriptionUsageListResu List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SubscriptionUsageData.DeserializeSubscriptionUsageData(item)); + array.Add(SubscriptionUsageData.DeserializeSubscriptionUsageData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SynapseLinkWorkspaceListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SynapseLinkWorkspaceListResult.Serialization.cs index b599cd3fd29b3..e9d7920978744 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SynapseLinkWorkspaceListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SynapseLinkWorkspaceListResult.Serialization.cs @@ -94,7 +94,7 @@ internal static SynapseLinkWorkspaceListResult DeserializeSynapseLinkWorkspaceLi List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlSynapseLinkWorkspace.DeserializeSqlSynapseLinkWorkspace(item)); + array.Add(SqlSynapseLinkWorkspace.DeserializeSqlSynapseLinkWorkspace(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncAgentLinkedDatabaseListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncAgentLinkedDatabaseListResult.Serialization.cs index 3f4080a841b2c..a7adbe7ffb518 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncAgentLinkedDatabaseListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncAgentLinkedDatabaseListResult.Serialization.cs @@ -94,7 +94,7 @@ internal static SyncAgentLinkedDatabaseListResult DeserializeSyncAgentLinkedData List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SyncAgentLinkedDatabase.DeserializeSyncAgentLinkedDatabase(item)); + array.Add(SyncAgentLinkedDatabase.DeserializeSyncAgentLinkedDatabase(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncAgentListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncAgentListResult.Serialization.cs index cece42167d4a4..7d376caf142ed 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncAgentListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncAgentListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static SyncAgentListResult DeserializeSyncAgentListResult(JsonElement e List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SyncAgentData.DeserializeSyncAgentData(item)); + array.Add(SyncAgentData.DeserializeSyncAgentData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncFullSchemaProperties.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncFullSchemaProperties.Serialization.cs index 23cb975eedebb..d8abb1e3c6a81 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncFullSchemaProperties.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncFullSchemaProperties.Serialization.cs @@ -94,7 +94,7 @@ internal static SyncFullSchemaProperties DeserializeSyncFullSchemaProperties(Jso List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SyncFullSchemaTable.DeserializeSyncFullSchemaTable(item)); + array.Add(SyncFullSchemaTable.DeserializeSyncFullSchemaTable(item, options)); } tables = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncFullSchemaPropertiesListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncFullSchemaPropertiesListResult.Serialization.cs index 0351b3db3e6f8..2b4ca14cb4490 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncFullSchemaPropertiesListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncFullSchemaPropertiesListResult.Serialization.cs @@ -94,7 +94,7 @@ internal static SyncFullSchemaPropertiesListResult DeserializeSyncFullSchemaProp List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SyncFullSchemaProperties.DeserializeSyncFullSchemaProperties(item)); + array.Add(SyncFullSchemaProperties.DeserializeSyncFullSchemaProperties(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncFullSchemaTable.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncFullSchemaTable.Serialization.cs index 4eb683e733e36..4c76cb52cab65 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncFullSchemaTable.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncFullSchemaTable.Serialization.cs @@ -112,7 +112,7 @@ internal static SyncFullSchemaTable DeserializeSyncFullSchemaTable(JsonElement e List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SyncFullSchemaTableColumn.DeserializeSyncFullSchemaTableColumn(item)); + array.Add(SyncFullSchemaTableColumn.DeserializeSyncFullSchemaTableColumn(item, options)); } columns = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncGroupListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncGroupListResult.Serialization.cs index 53997e7e4b82a..9ccaa45a113f3 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncGroupListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncGroupListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static SyncGroupListResult DeserializeSyncGroupListResult(JsonElement e List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SyncGroupData.DeserializeSyncGroupData(item)); + array.Add(SyncGroupData.DeserializeSyncGroupData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncGroupLogListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncGroupLogListResult.Serialization.cs index 5ac6879c44890..961e40cbbedc8 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncGroupLogListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncGroupLogListResult.Serialization.cs @@ -94,7 +94,7 @@ internal static SyncGroupLogListResult DeserializeSyncGroupLogListResult(JsonEle List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SyncGroupLogProperties.DeserializeSyncGroupLogProperties(item)); + array.Add(SyncGroupLogProperties.DeserializeSyncGroupLogProperties(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncGroupSchema.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncGroupSchema.Serialization.cs index ba5bbc1cc8094..8aa8e9cb80169 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncGroupSchema.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncGroupSchema.Serialization.cs @@ -94,7 +94,7 @@ internal static SyncGroupSchema DeserializeSyncGroupSchema(JsonElement element, List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SyncGroupSchemaTable.DeserializeSyncGroupSchemaTable(item)); + array.Add(SyncGroupSchemaTable.DeserializeSyncGroupSchemaTable(item, options)); } tables = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncGroupSchemaTable.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncGroupSchemaTable.Serialization.cs index c8036bb1e0827..151e716ae9bc8 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncGroupSchemaTable.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncGroupSchemaTable.Serialization.cs @@ -94,7 +94,7 @@ internal static SyncGroupSchemaTable DeserializeSyncGroupSchemaTable(JsonElement List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SyncGroupSchemaTableColumn.DeserializeSyncGroupSchemaTableColumn(item)); + array.Add(SyncGroupSchemaTableColumn.DeserializeSyncGroupSchemaTableColumn(item, options)); } columns = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncMemberListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncMemberListResult.Serialization.cs index 1f53f57d28df2..9cc170cd15a7e 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncMemberListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/SyncMemberListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static SyncMemberListResult DeserializeSyncMemberListResult(JsonElement List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SyncMemberData.DeserializeSyncMemberData(item)); + array.Add(SyncMemberData.DeserializeSyncMemberData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/TimeZoneListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/TimeZoneListResult.Serialization.cs index 2765d35de65c8..3dff388e85365 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/TimeZoneListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/TimeZoneListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static TimeZoneListResult DeserializeTimeZoneListResult(JsonElement ele List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlTimeZoneData.DeserializeSqlTimeZoneData(item)); + array.Add(SqlTimeZoneData.DeserializeSqlTimeZoneData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/TopQueries.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/TopQueries.Serialization.cs index b90349170f725..afae7c9a36a54 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/TopQueries.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/TopQueries.Serialization.cs @@ -162,7 +162,7 @@ internal static TopQueries DeserializeTopQueries(JsonElement element, ModelReade List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(QueryStatisticsProperties.DeserializeQueryStatisticsProperties(item)); + array.Add(QueryStatisticsProperties.DeserializeQueryStatisticsProperties(item, options)); } queries = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/TopQueriesListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/TopQueriesListResult.Serialization.cs index 6ddc840c2e0fa..359c239c1fc5e 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/TopQueriesListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/TopQueriesListResult.Serialization.cs @@ -94,7 +94,7 @@ internal static TopQueriesListResult DeserializeTopQueriesListResult(JsonElement List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(TopQueries.DeserializeTopQueries(item)); + array.Add(TopQueries.DeserializeTopQueries(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/VirtualClusterListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/VirtualClusterListResult.Serialization.cs index 0d7e37d66d5ea..93cb4f51389f9 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/VirtualClusterListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/VirtualClusterListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static VirtualClusterListResult DeserializeVirtualClusterListResult(Jso List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(VirtualClusterData.DeserializeVirtualClusterData(item)); + array.Add(VirtualClusterData.DeserializeVirtualClusterData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/VirtualNetworkRuleListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/VirtualNetworkRuleListResult.Serialization.cs index fc8024efaf56c..32b3032fd5a56 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/VirtualNetworkRuleListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/VirtualNetworkRuleListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static VirtualNetworkRuleListResult DeserializeVirtualNetworkRuleListRe List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(SqlServerVirtualNetworkRuleData.DeserializeSqlServerVirtualNetworkRuleData(item)); + array.Add(SqlServerVirtualNetworkRuleData.DeserializeSqlServerVirtualNetworkRuleData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/VulnerabilityAssessmentScanRecordListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/VulnerabilityAssessmentScanRecordListResult.Serialization.cs index 48d243983ceb0..534a67e5e9bd0 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/VulnerabilityAssessmentScanRecordListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/VulnerabilityAssessmentScanRecordListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static VulnerabilityAssessmentScanRecordListResult DeserializeVulnerabi List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(VulnerabilityAssessmentScanRecordData.DeserializeVulnerabilityAssessmentScanRecordData(item)); + array.Add(VulnerabilityAssessmentScanRecordData.DeserializeVulnerabilityAssessmentScanRecordData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/WorkloadClassifierListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/WorkloadClassifierListResult.Serialization.cs index f62823ce7bbbb..3ebe84ba64d1a 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/WorkloadClassifierListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/WorkloadClassifierListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static WorkloadClassifierListResult DeserializeWorkloadClassifierListRe List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(WorkloadClassifierData.DeserializeWorkloadClassifierData(item)); + array.Add(WorkloadClassifierData.DeserializeWorkloadClassifierData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/WorkloadGroupListResult.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/WorkloadGroupListResult.Serialization.cs index d165611300caa..421ef164bb897 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/WorkloadGroupListResult.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/Models/WorkloadGroupListResult.Serialization.cs @@ -95,7 +95,7 @@ internal static WorkloadGroupListResult DeserializeWorkloadGroupListResult(JsonE List array = new List(); foreach (var item in property.Value.EnumerateArray()) { - array.Add(WorkloadGroupData.DeserializeWorkloadGroupData(item)); + array.Add(WorkloadGroupData.DeserializeWorkloadGroupData(item, options)); } value = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RecommendedActionData.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RecommendedActionData.Serialization.cs index 5b75ac340c813..913d93503e704 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RecommendedActionData.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RecommendedActionData.Serialization.cs @@ -361,7 +361,7 @@ internal static RecommendedActionData DeserializeRecommendedActionData(JsonEleme { continue; } - state = RecommendedActionStateInfo.DeserializeRecommendedActionStateInfo(property0.Value); + state = RecommendedActionStateInfo.DeserializeRecommendedActionStateInfo(property0.Value, options); continue; } if (property0.NameEquals("isExecutableAction"u8)) @@ -478,7 +478,7 @@ internal static RecommendedActionData DeserializeRecommendedActionData(JsonEleme { continue; } - implementationDetails = RecommendedActionImplementationInfo.DeserializeRecommendedActionImplementationInfo(property0.Value); + implementationDetails = RecommendedActionImplementationInfo.DeserializeRecommendedActionImplementationInfo(property0.Value, options); continue; } if (property0.NameEquals("errorDetails"u8)) @@ -487,7 +487,7 @@ internal static RecommendedActionData DeserializeRecommendedActionData(JsonEleme { continue; } - errorDetails = RecommendedActionErrorInfo.DeserializeRecommendedActionErrorInfo(property0.Value); + errorDetails = RecommendedActionErrorInfo.DeserializeRecommendedActionErrorInfo(property0.Value, options); continue; } if (property0.NameEquals("estimatedImpact"u8)) @@ -499,7 +499,7 @@ internal static RecommendedActionData DeserializeRecommendedActionData(JsonEleme List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(RecommendedActionImpactRecord.DeserializeRecommendedActionImpactRecord(item)); + array.Add(RecommendedActionImpactRecord.DeserializeRecommendedActionImpactRecord(item, options)); } estimatedImpact = array; continue; @@ -513,7 +513,7 @@ internal static RecommendedActionData DeserializeRecommendedActionData(JsonEleme List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(RecommendedActionImpactRecord.DeserializeRecommendedActionImpactRecord(item)); + array.Add(RecommendedActionImpactRecord.DeserializeRecommendedActionImpactRecord(item, options)); } observedImpact = array; continue; @@ -527,7 +527,7 @@ internal static RecommendedActionData DeserializeRecommendedActionData(JsonEleme List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(RecommendedActionMetricInfo.DeserializeRecommendedActionMetricInfo(item)); + array.Add(RecommendedActionMetricInfo.DeserializeRecommendedActionMetricInfo(item, options)); } timeSeries = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RecoverableDatabaseData.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RecoverableDatabaseData.Serialization.cs index c1d40894d28c5..55563dafac50d 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RecoverableDatabaseData.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RecoverableDatabaseData.Serialization.cs @@ -199,7 +199,7 @@ internal static RecoverableDatabaseData DeserializeRecoverableDatabaseData(JsonE Dictionary dictionary = new Dictionary(); foreach (var property1 in property0.Value.EnumerateObject()) { - dictionary.Add(property1.Name, SqlDatabaseKey.DeserializeSqlDatabaseKey(property1.Value)); + dictionary.Add(property1.Name, SqlDatabaseKey.DeserializeSqlDatabaseKey(property1.Value, options)); } keys = dictionary; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RestorableDroppedDatabaseData.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RestorableDroppedDatabaseData.Serialization.cs index c81fc48abb6d8..8756c75a4bc0d 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RestorableDroppedDatabaseData.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/RestorableDroppedDatabaseData.Serialization.cs @@ -172,7 +172,7 @@ internal static RestorableDroppedDatabaseData DeserializeRestorableDroppedDataba { continue; } - sku = SqlSku.DeserializeSqlSku(property.Value); + sku = SqlSku.DeserializeSqlSku(property.Value, options); continue; } if (property.NameEquals("tags"u8)) @@ -286,7 +286,7 @@ internal static RestorableDroppedDatabaseData DeserializeRestorableDroppedDataba Dictionary dictionary = new Dictionary(); foreach (var property1 in property0.Value.EnumerateObject()) { - dictionary.Add(property1.Name, SqlDatabaseKey.DeserializeSqlDatabaseKey(property1.Value)); + dictionary.Add(property1.Name, SqlDatabaseKey.DeserializeSqlDatabaseKey(property1.Value, options)); } keys = dictionary; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlAdvisorData.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlAdvisorData.Serialization.cs index 977d9f960449f..9ac6fcfe63fea 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlAdvisorData.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlAdvisorData.Serialization.cs @@ -247,7 +247,7 @@ internal static SqlAdvisorData DeserializeSqlAdvisorData(JsonElement element, Mo List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(RecommendedActionData.DeserializeRecommendedActionData(item)); + array.Add(RecommendedActionData.DeserializeRecommendedActionData(item, options)); } recommendedActions = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlDatabaseAutomaticTuningData.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlDatabaseAutomaticTuningData.Serialization.cs index f612e8a85a008..4cb6bfdaf30e5 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlDatabaseAutomaticTuningData.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlDatabaseAutomaticTuningData.Serialization.cs @@ -181,7 +181,7 @@ internal static SqlDatabaseAutomaticTuningData DeserializeSqlDatabaseAutomaticTu Dictionary dictionary = new Dictionary(); foreach (var property1 in property0.Value.EnumerateObject()) { - dictionary.Add(property1.Name, AutomaticTuningOptions.DeserializeAutomaticTuningOptions(property1.Value)); + dictionary.Add(property1.Name, AutomaticTuningOptions.DeserializeAutomaticTuningOptions(property1.Value, options)); } options0 = dictionary; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlDatabaseData.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlDatabaseData.Serialization.cs index de4411a19aa74..d1213d1d5e52d 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlDatabaseData.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlDatabaseData.Serialization.cs @@ -436,7 +436,7 @@ internal static SqlDatabaseData DeserializeSqlDatabaseData(JsonElement element, { continue; } - sku = SqlSku.DeserializeSqlSku(property.Value); + sku = SqlSku.DeserializeSqlSku(property.Value, options); continue; } if (property.NameEquals("kind"u8)) @@ -455,7 +455,7 @@ internal static SqlDatabaseData DeserializeSqlDatabaseData(JsonElement element, { continue; } - identity = DatabaseIdentity.DeserializeDatabaseIdentity(property.Value); + identity = DatabaseIdentity.DeserializeDatabaseIdentity(property.Value, options); continue; } if (property.NameEquals("tags"u8)) @@ -747,7 +747,7 @@ internal static SqlDatabaseData DeserializeSqlDatabaseData(JsonElement element, { continue; } - currentSku = SqlSku.DeserializeSqlSku(property0.Value); + currentSku = SqlSku.DeserializeSqlSku(property0.Value, options); continue; } if (property0.NameEquals("autoPauseDelay"u8)) @@ -849,7 +849,7 @@ internal static SqlDatabaseData DeserializeSqlDatabaseData(JsonElement element, Dictionary dictionary = new Dictionary(); foreach (var property1 in property0.Value.EnumerateObject()) { - dictionary.Add(property1.Name, SqlDatabaseKey.DeserializeSqlDatabaseKey(property1.Value)); + dictionary.Add(property1.Name, SqlDatabaseKey.DeserializeSqlDatabaseKey(property1.Value, options)); } keys = dictionary; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlPrivateEndpointConnectionData.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlPrivateEndpointConnectionData.Serialization.cs index b37f194e619db..7127d533f0182 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlPrivateEndpointConnectionData.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlPrivateEndpointConnectionData.Serialization.cs @@ -189,7 +189,7 @@ internal static SqlPrivateEndpointConnectionData DeserializeSqlPrivateEndpointCo { continue; } - privateLinkServiceConnectionState = SqlPrivateLinkServiceConnectionStateProperty.DeserializeSqlPrivateLinkServiceConnectionStateProperty(property0.Value); + privateLinkServiceConnectionState = SqlPrivateLinkServiceConnectionStateProperty.DeserializeSqlPrivateLinkServiceConnectionStateProperty(property0.Value, options); continue; } if (property0.NameEquals("provisioningState"u8)) diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlPrivateLinkResourceData.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlPrivateLinkResourceData.Serialization.cs index fc73dfb9c6782..c57ba1b9009db 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlPrivateLinkResourceData.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlPrivateLinkResourceData.Serialization.cs @@ -106,7 +106,7 @@ internal static SqlPrivateLinkResourceData DeserializeSqlPrivateLinkResourceData { continue; } - properties = SqlPrivateLinkResourceProperties.DeserializeSqlPrivateLinkResourceProperties(property.Value); + properties = SqlPrivateLinkResourceProperties.DeserializeSqlPrivateLinkResourceProperties(property.Value, options); continue; } if (property.NameEquals("id"u8)) diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlServerAutomaticTuningData.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlServerAutomaticTuningData.Serialization.cs index 2a707f821c127..971e7525a9744 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlServerAutomaticTuningData.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlServerAutomaticTuningData.Serialization.cs @@ -181,7 +181,7 @@ internal static SqlServerAutomaticTuningData DeserializeSqlServerAutomaticTuning Dictionary dictionary = new Dictionary(); foreach (var property1 in property0.Value.EnumerateObject()) { - dictionary.Add(property1.Name, AutomaticTuningServerOptions.DeserializeAutomaticTuningServerOptions(property1.Value)); + dictionary.Add(property1.Name, AutomaticTuningServerOptions.DeserializeAutomaticTuningServerOptions(property1.Value, options)); } options0 = dictionary; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlServerData.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlServerData.Serialization.cs index d6b4413d5eb30..cf1bd0e7a1b8a 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlServerData.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlServerData.Serialization.cs @@ -327,7 +327,7 @@ internal static SqlServerData DeserializeSqlServerData(JsonElement element, Mode List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(SqlServerPrivateEndpointConnection.DeserializeSqlServerPrivateEndpointConnection(item)); + array.Add(SqlServerPrivateEndpointConnection.DeserializeSqlServerPrivateEndpointConnection(item, options)); } privateEndpointConnections = array; continue; @@ -392,7 +392,7 @@ internal static SqlServerData DeserializeSqlServerData(JsonElement element, Mode { continue; } - administrators = ServerExternalAdministrator.DeserializeServerExternalAdministrator(property0.Value); + administrators = ServerExternalAdministrator.DeserializeServerExternalAdministrator(property0.Value, options); continue; } if (property0.NameEquals("restrictOutboundNetworkAccess"u8)) diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlServerJobAgentData.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlServerJobAgentData.Serialization.cs index aac33bf34665a..08dcc8b08c960 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlServerJobAgentData.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlServerJobAgentData.Serialization.cs @@ -136,7 +136,7 @@ internal static SqlServerJobAgentData DeserializeSqlServerJobAgentData(JsonEleme { continue; } - sku = SqlSku.DeserializeSqlSku(property.Value); + sku = SqlSku.DeserializeSqlSku(property.Value, options); continue; } if (property.NameEquals("tags"u8)) diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlServerJobData.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlServerJobData.Serialization.cs index 7dda913cff815..139031fe9c96f 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlServerJobData.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlServerJobData.Serialization.cs @@ -168,7 +168,7 @@ internal static SqlServerJobData DeserializeSqlServerJobData(JsonElement element { continue; } - schedule = SqlServerJobSchedule.DeserializeSqlServerJobSchedule(property0.Value); + schedule = SqlServerJobSchedule.DeserializeSqlServerJobSchedule(property0.Value, options); continue; } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlServerJobExecutionData.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlServerJobExecutionData.Serialization.cs index d7a5ffcff3f5c..26246381785ab 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlServerJobExecutionData.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlServerJobExecutionData.Serialization.cs @@ -314,7 +314,7 @@ internal static SqlServerJobExecutionData DeserializeSqlServerJobExecutionData(J { continue; } - target = JobExecutionTarget.DeserializeJobExecutionTarget(property0.Value); + target = JobExecutionTarget.DeserializeJobExecutionTarget(property0.Value, options); continue; } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlServerJobStepData.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlServerJobStepData.Serialization.cs index f2c10b720e682..5180ebaa481ec 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlServerJobStepData.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlServerJobStepData.Serialization.cs @@ -191,7 +191,7 @@ internal static SqlServerJobStepData DeserializeSqlServerJobStepData(JsonElement { continue; } - action = JobStepAction.DeserializeJobStepAction(property0.Value); + action = JobStepAction.DeserializeJobStepAction(property0.Value, options); continue; } if (property0.NameEquals("output"u8)) @@ -200,7 +200,7 @@ internal static SqlServerJobStepData DeserializeSqlServerJobStepData(JsonElement { continue; } - output = JobStepOutput.DeserializeJobStepOutput(property0.Value); + output = JobStepOutput.DeserializeJobStepOutput(property0.Value, options); continue; } if (property0.NameEquals("executionOptions"u8)) @@ -209,7 +209,7 @@ internal static SqlServerJobStepData DeserializeSqlServerJobStepData(JsonElement { continue; } - executionOptions = JobStepExecutionOptions.DeserializeJobStepExecutionOptions(property0.Value); + executionOptions = JobStepExecutionOptions.DeserializeJobStepExecutionOptions(property0.Value, options); continue; } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlServerJobTargetGroupData.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlServerJobTargetGroupData.Serialization.cs index d1e77f3651fec..dfc185982907a 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlServerJobTargetGroupData.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlServerJobTargetGroupData.Serialization.cs @@ -150,7 +150,7 @@ internal static SqlServerJobTargetGroupData DeserializeSqlServerJobTargetGroupDa List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(JobTarget.DeserializeJobTarget(item)); + array.Add(JobTarget.DeserializeJobTarget(item, options)); } members = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlServerTrustGroupData.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlServerTrustGroupData.Serialization.cs index 874af19554ff6..e4a8a9cf0820a 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlServerTrustGroupData.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlServerTrustGroupData.Serialization.cs @@ -161,7 +161,7 @@ internal static SqlServerTrustGroupData DeserializeSqlServerTrustGroupData(JsonE List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(ServerTrustGroupServerInfo.DeserializeServerTrustGroupServerInfo(item)); + array.Add(ServerTrustGroupServerInfo.DeserializeServerTrustGroupServerInfo(item, options)); } groupMembers = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlServerVulnerabilityAssessmentData.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlServerVulnerabilityAssessmentData.Serialization.cs index e5c6036f9517b..950eb69289cd7 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlServerVulnerabilityAssessmentData.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlServerVulnerabilityAssessmentData.Serialization.cs @@ -175,7 +175,7 @@ internal static SqlServerVulnerabilityAssessmentData DeserializeSqlServerVulnera { continue; } - recurringScans = VulnerabilityAssessmentRecurringScansProperties.DeserializeVulnerabilityAssessmentRecurringScansProperties(property0.Value); + recurringScans = VulnerabilityAssessmentRecurringScansProperties.DeserializeVulnerabilityAssessmentRecurringScansProperties(property0.Value, options); continue; } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlVulnerabilityAssessmentScanData.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlVulnerabilityAssessmentScanData.Serialization.cs index 326bd95f90a7f..fae4e81ff01dd 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlVulnerabilityAssessmentScanData.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlVulnerabilityAssessmentScanData.Serialization.cs @@ -287,7 +287,7 @@ internal static SqlVulnerabilityAssessmentScanData DeserializeSqlVulnerabilityAs List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(SqlVulnerabilityAssessmentScanError.DeserializeSqlVulnerabilityAssessmentScanError(item)); + array.Add(SqlVulnerabilityAssessmentScanError.DeserializeSqlVulnerabilityAssessmentScanError(item, options)); } errors = array; continue; diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlVulnerabilityAssessmentScanResultData.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlVulnerabilityAssessmentScanResultData.Serialization.cs index 945200c5710d2..ec95502251551 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlVulnerabilityAssessmentScanResultData.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SqlVulnerabilityAssessmentScanResultData.Serialization.cs @@ -253,7 +253,7 @@ internal static SqlVulnerabilityAssessmentScanResultData DeserializeSqlVulnerabi { continue; } - remediation = SqlVulnerabilityAssessmentRemediation.DeserializeSqlVulnerabilityAssessmentRemediation(property0.Value); + remediation = SqlVulnerabilityAssessmentRemediation.DeserializeSqlVulnerabilityAssessmentRemediation(property0.Value, options); continue; } if (property0.NameEquals("baselineAdjustedResult"u8)) @@ -262,7 +262,7 @@ internal static SqlVulnerabilityAssessmentScanResultData DeserializeSqlVulnerabi { continue; } - baselineAdjustedResult = SqlVulnerabilityAssessmentBaselineAdjustedResult.DeserializeSqlVulnerabilityAssessmentBaselineAdjustedResult(property0.Value); + baselineAdjustedResult = SqlVulnerabilityAssessmentBaselineAdjustedResult.DeserializeSqlVulnerabilityAssessmentBaselineAdjustedResult(property0.Value, options); continue; } if (property0.NameEquals("ruleMetadata"u8)) @@ -271,7 +271,7 @@ internal static SqlVulnerabilityAssessmentScanResultData DeserializeSqlVulnerabi { continue; } - ruleMetadata = SqlVulnerabilityAssessmentRuleMetadata.DeserializeSqlVulnerabilityAssessmentRuleMetadata(property0.Value); + ruleMetadata = SqlVulnerabilityAssessmentRuleMetadata.DeserializeSqlVulnerabilityAssessmentRuleMetadata(property0.Value, options); continue; } } diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SyncGroupData.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SyncGroupData.Serialization.cs index 72d3ef49599fa..eb559fd32438e 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SyncGroupData.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/SyncGroupData.Serialization.cs @@ -181,7 +181,7 @@ internal static SyncGroupData DeserializeSyncGroupData(JsonElement element, Mode { continue; } - sku = SqlSku.DeserializeSqlSku(property.Value); + sku = SqlSku.DeserializeSqlSku(property.Value, options); continue; } if (property.NameEquals("id"u8)) @@ -278,7 +278,7 @@ internal static SyncGroupData DeserializeSyncGroupData(JsonElement element, Mode { continue; } - schema = SyncGroupSchema.DeserializeSyncGroupSchema(property0.Value); + schema = SyncGroupSchema.DeserializeSyncGroupSchema(property0.Value, options); continue; } if (property0.NameEquals("enableConflictLogging"u8)) diff --git a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/VulnerabilityAssessmentScanRecordData.Serialization.cs b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/VulnerabilityAssessmentScanRecordData.Serialization.cs index b21555828f5be..5e9c9bd920ae2 100644 --- a/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/VulnerabilityAssessmentScanRecordData.Serialization.cs +++ b/sdk/sqlmanagement/Azure.ResourceManager.Sql/src/Generated/VulnerabilityAssessmentScanRecordData.Serialization.cs @@ -233,7 +233,7 @@ internal static VulnerabilityAssessmentScanRecordData DeserializeVulnerabilityAs List array = new List(); foreach (var item in property0.Value.EnumerateArray()) { - array.Add(VulnerabilityAssessmentScanError.DeserializeVulnerabilityAssessmentScanError(item)); + array.Add(VulnerabilityAssessmentScanError.DeserializeVulnerabilityAssessmentScanError(item, options)); } errors = array; continue;